#include <cafe/szfile.h> int SZFILE_FindInArc(SZFILE_ARC *apArc, char const *apFileName, SZFILE_ENTRY ** apRetEntryPtr);
|apArc||Pointer to archive control structure for the 7-Zip file.|
|apFileName||Pointer to null-terminated file or path + file name of the file to find. Any leading slashes are ignored.|
|apRetEntryPtr||Pointer to pointer to receive address of
Returns zero for success or an error code to indicate failure. Error codes are:
|ERRCODE_SZFILE_FILENOTFOUND||The specified file was not found|
|ERRCODE_SZFILE_PATHNOTFOUND||At least part of the path specified was not found.|
|ERRCODE_SZFILE_BADARG||A bad argument was passed to a function|
This function allows you to find a file by its full path in an archive. It returns via an output parameter a pointer to the entry for the file if it is found.
|Multiple threads||This function is not thread-safe.|
2013/05/06 Initial version.