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

Tells Babel to send a message to a plug-in. You can use this macro or send the PLG_SEND_PLUGIN_MSG message explicitly.

Syntax

BOOL Plugin_SendPluginMsg(

    HWND hBabel,     PPLUGINMSG pPluginMsg );

Parameters

hBabel
Handle to Babel Instant Messenger (passed on PLGMSG_INITPLUGIN).
pPluginMsg
A pointer to a PLUGINMSG structure that describes the message to send.

Return Value

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

Macro Information

Headerplugin.h