Codex SDK: Plug-In DLL Functions

GetArchiveInfoEx

The GetArchiveInfoEx function returns basic archive information. The GetArchiveSizeEx function will be called before this function is called. This is a plug-in defined function.

 

VOID GetArchiveInfoEx(
    LPTSTR lpItems,      // points to file names inside archive
    LPTSTR lpPwdItems,   // points to password protected file names inside archive
    LPTSTR lpDateTimes,  // points to dates and times of files inside archive
    LPTSTR lpSizes,      // points to sizes of files inside archive
    LPTSTR lpCompSizes   // points to compressed sizes of files inside archive
);

Parameters

lpItems

[out] Pointer to the buffer that receives the names of all the files inside the archive.

lpPwdItems

[out] Pointer to the buffer that receives the names of all the password protected files inside the archive.

lpDateTimes

[out] Pointer to the buffer that receives the dates and times of all the files inside the archive.
The dates and times are already formatted as strings with textual date and time information.

lpSizes

[out] Pointer to the buffer that receives the original sizes of all the files inside the archive.
For archive types which cannot support this value, expect a return of 0 for each of the files inside the archive. An example to such archive types might be single-file compressors such as GZIP.

lpCompSizes

[out] Pointer to the buffer that receives the compressed sizes of all the files inside the archive.
For archive types which cannot support this value, expect a return of 0 for each of the files inside the archive. An example to such archive types might be solid compressors such as CAB.

Return Values

This function does not return any values.

Remarks

The buffers filled in by this function are formatted as COMMATEXT to facilitate the representation of a collection of items in a single buffer.

Applications will first call the GetArchiveSizeEx function to determine the length of the buffers they need to allocate to receive archive information. If the GetArchiveSizeEx function succeeds, applications will then call the GetArchiveInfoEx function to retrieve the actual archive information.

Requirements

Windows NT/2000/XP: Requires Windows NT 4.0 SP4 or later.
Windows 95/98/Me:
Requires Windows 98 (or Windows 95 with DCOM 1.2).
Header:
Declared in mCodexAPI.h.
Library:
Use mCodexAPI.dll.

See Also

SDK Overview, Plug-In Features, GetArchiveSizeEx, GetArchiveErrorEx, COMMATEXT