Babel Home > Babel Plug-in API > Plug-in Reference > Plug-in Macros > Plugin_UnInstallHook
Plugin_UnInstallHook Macro

Tells Babel to remove a hook event notification from the chain. You can use this macro or send the PLG_UNINSTALL_HOOK message explicitly.

Syntax

BOOL Plugin_UnInstallHook(

    HWND hBabel,     PHOOKINSTALLSTRUCT pHookInfo );

Parameters

hBabel
Handle to Babel Instant Messenger (passed on PLGMSG_INITPLUGIN).
pHookInfo
A pointer to a HOOKINSTALLSTRUCT structure that describes the hook to remove from the chain.

Return Value

Returns a BOOL value, TRUE on success and FALSE on failure.

Macro Information

Headerplugin.h