INT TecUnzipper_FindFileByExt ( HTUNZIPPER  htUnzipper,
LPCSTR  pszExtension,
INT  nStartIndex,
BOOL  bCaseInsensitiveSearch 
)

Finds the first file in the set of extracted files that matches the specified file extension.

Remarks:
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. Only call this function if TecUnzipper_Extract returned ErrOk(0)

This function may be changed in the future.

See also:
TecUnzipper_GetFile

TecUnzipper_Extract

Returns:
- The index of the first found file or -1 if no file was found (see TecUnzipper_GetFile).
Parameters:
[in] htUnzipper TECUnzipper-handle - see TecUnzipper_Alloc.
[in] pszExtension Search file with this file extension only (the file extension must be specified without a dot at the beginning - e.g. tff)
[in] nStartIndex Start index to start the search with (-1 for start at the beginning)
[in] bCaseInsensitiveSearch TRUE if the case should be case insensitive


© 2006-2009 - all rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Wed Sep 2 16:01:09 2009 for TFORMer Runtime DLL/Shared Library with doxygen 1.5.8