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

The COMPLGMSG_SENDMSG message is sent to communication plug-ins when there is a chat message to send that is associated with the plug-in.

Syntax

EXTERN EXPORT BOOL PluginCallBack(

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

Parameters

wParam
This parameter is not used.
lParam
A pointer to a MESSAGEINFO structure that contains the chat message to send.

Return Value

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

Message Information

Headerplugin.h