Codex API: Archives


The GetExtractableArchivesEx function obtains information on which archive types are supported for decompression operations.


INT GetExtractableArchivesEx(
    LPTSTR lpExtractableArchives  // points to extractable archive types



[out] Pointer to the buffer that receives the archive types supported for extraction. The buffer is formatted as COMMATEXT. Each archive type is identified by its extension. The extension is typically three characters long and may contain file masks.

Pass NULL in this parameter to request the required size for the buffer.

Return Values

The return value specifies the required size of the buffer, excluding the number of bytes necessary for a terminating null character.


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).
Declared in mCodexAPI.h.
Use mCodexAPI.dll.

See Also

Codex API Overview, Codex API Functions, GetCompressibleArchivesEx, GetSupportedArchivesEx