Babel Home > Babel Plug-in API > Plug-in Reference > Plug-in Messages > PLG_INSTALL_HOOK
PLG_INSTALL_HOOK Message

The PLG_INSTALL_HOOK message is sent to Babel by a plug-in that wants to be notified of a hook event. You can send this message explicitly or use the Plugin_InstallHook macro.

Syntax

SendMessage(

    (HWND) hBabel,     PLUGIN_MSG,     (WPARAM) PLG_INSTALL_HOOK,     (LPARAM) lParam );

Parameters

hBabel
Handle to Babel.
wParam
The PLG_INSTALL_HOOK message.
lParam
A pointer to a HOOKINSTALLSTRUCT structure that describes hook event to be notified about.

Return Value

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

Message Information

Headerplugin.h