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

The PLGMSG_INITPLUGIN message is sent to all plug-ins while Babel loads them. This is the first message sent to a plug-in

Syntax

EXTERN EXPORT BOOL PluginCallBack(

    PLGMSG_INITPLUGIN,     (WPARAM) wParam,     (LPARAM) lParam );

Parameters

wParam
This parameter is not used.
lParam
A pointer to a PLUGININFO structure. The plug-in is expected to fill out this structure properly (if it does not it will not be loaded).

Return Value

The plug-in should return a BOOL value, TRUE on success and FALSE on failure.

Message Information

Headerplugin.h