TecUnzipper_GetFile

ZIP and BASE64 Handling · String encodings

Definition

Windows: ANSI; Unix: UTF-8

LPCSTR TecUnzipper_GetFile(HTUNZIPPER htUnzipper, INT nIndex);

Windows only: UTF-16

LPCWSTR TecUnzipper_GetFileW(HTUNZIPPER htUnzipper, INT nIndex);

Contract

Returns the filename with the specified index (0..TecUnzipper_GetFileCount - 1).

Returns the absolute filename for the file with the specified index. The index starts at 0 and must be smaller than the return value of TecUnzipper_GetFileCount. This function may be changed in the future.

Returns

The absolute filename or NULL if the index is out of range. The returned string is only temporary available and should be copied immediately!

Parameters

Parameter / typeDescription
htUnzipperHTUNZIPPER


TECUnzipper-handle - see TecUnzipper_Alloc

nIndexINT


0-based file index

Search documentation

Search in
More scopes
Additional scopes

All contents