Codex API: Archives


The GetCompressibleArchivesEx function obtains information on which archive types are supported for compression operations.


INT GetCompressibleArchivesEx(
    LPTSTR lpCompressibleArchives  // points to compressible archive types



[out] Pointer to the buffer that receives the archive types supported for compression. 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.


Whether existing archives of a given type may be updated or only created from scratch is not specified.


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, GetExtractableArchivesEx, GetSupportedArchivesEx