Codex API: Plug-Ins


The GetArchives function obtains the list of supported archives by all installed plug-ins on the system.

Note This function is provided for backwards compatibility only. Newer applications should use the GetArchivesEx function.


LPCTSTR GetArchives(VOID);


This function has no parameters.

Return Values

The function returns the names of all archives supported by plug-ins installed on the system formatted as COMMATEXT.

The archive types are represented as file masks. For example, CAB archives will be represented as "*.CAB" (without the quotes). SZDD archives (archives created using Microsoft's COMPRESS.EXE program) will be represented as "*.??_". This assures that archives will always be correctly identified, even if the archive extension is variable, as in the SZDD archive type.


This function does not return the actual list of archives which you may work with. The user may disable or reassign the mappings from plug-ins to the archive types they support. Certain archive types may therefore be partially or entirely disabled.

See the GetSupportedArchives and EditPlugInBindings functions for more information.


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, GetPlugIns, GetSupportedArchives, EditPlugInBindings