Codex API: Shell


The ForceCodexAssociations function forcefully associates all archive types with the Codex runtime. Whenever a user opens an archive in Windows Explorer, the archive will open with a Codex application.


SHORT ForceCodexAssociations(VOID);



Return Values

This function always returns 0.


This function first obtains the list of all supported archives by currently installed plug-ins, and then registers Codex as the associated application for each of those archive formats.

To enable the user which archive types are associated and which aren't, use the EditCodexAssociations function.

To check if file associations have changed since the last association, use the CheckCodexAssociations function.

This function also registers Codex shell extensions. Codex shell extensions are managed by the Codex runtime.


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, CheckCodexAssociations, EditCodexAssociations