TecUnzipper_FindFileByExt
ZIP and BASE64 Handling · String encodings
Definition
Windows: ANSI; Unix: UTF-8
INT TecUnzipper_FindFileByExt(HTUNZIPPER htUnzipper, LPCSTR pszExtension, INT nStartIndex, BOOL bCaseInsensitiveSearch);
Windows only: UTF-16
INT TecUnzipper_FindFileByExtW(HTUNZIPPER htUnzipper, LPCWSTR pszExtension, INT nStartIndex, BOOL bCaseInsensitiveSearch);
Contract
Finds the first file in the set of extracted files that matches the specified file extension.
Finds the first file matching the specified file extension contained in an (optional BASE64 encoded) zip file. Usually this function is used to find contained *.tfr or *.tff files. Call this function only if TecUnzipper_Extract returned ErrOk(0).
This function may be changed in the future.
See also
Returns
The index of the first found file or -1 if no file was found (see TecUnzipper_GetFile)
Parameters
| Parameter / type | Description |
|---|---|
htUnzipperHTUNZIPPER |
|
pszExtensionLPCSTR / LPCWSTR |
|
nStartIndexINT |
|
bCaseInsensitiveSearchBOOL |
|
Windows only: UTF-16
Finds the first file in the set of extracted files that matches the specified file-extension.
Finds the first file matching the specified file extension contained in an (optional BASE64 encoded) zip file. Usually this function is used to find contained *.tfr or *.tff files. Call this function only if TecUnzipper_Extract returned ErrOk(0).
This function may be changed in the future.
See also
Returns
The index of the first found file or -1 if no file was found (see TecUnzipper_GetFile)
Parameters
| Parameter / type | Description |
|---|---|
htUnzipperHTUNZIPPER |
|
pszExtensionLPCWSTR |
|
nStartIndexINT |
|
bCaseInsensitiveSearchBOOL |
|