Codex API: Installation

UnBindPlugIn

The UnBindPlugIn function un-registers a plug-in from use with an archive type it supports. This function is primarily intended to be used during plug-in uninstallation. It should be used before any plug-in files are removed from the system.

 

VOID BindPlugIn(
    LPCTSTR lpName,    // name of plug-in
    LPCTSTR lpArchive  // archive format
);

Parameters

lpName

[in] Pointer to a null-terminated string that specifies the name of the plug-in being un-registered for the archive type. This must be the same name that the plug-in previously registered with under the Codex runtime.

lpArchive

[in] Pointer to a null-terminated string that specifies the archive format for which the plug-in is being un-registered as a handler. This must be the same value as used during plug-in registration. See the BindPlugIn function for more information.

Return Values

This function does not return any values.

Remarks

UnBindPlugIn does not automatically re-associate the selected archive with other plug-ins present on the system which have support for the archive. Therefore, some or all archive functions may be disabled after UnBindPlugIn returns.

The user may manually edit the mapping of functions between archives and plug-ins. See the EditPlugInBindings function for more 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

Codex API Overview, Codex API Functions, BindPlugIn, EditPlugInBindings