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

The PLG_SEND_CHATMSG message is sent to Babel by a plug-in that wants to send a chat message. You can send this message explicitly or use the Plugin_SendChatMsg macro.

Syntax

SendMessage(

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

Parameters

hBabel
Handle to Babel.
wParam
The PLG_SEND_CHATMSG message.
lParam
A pointer to a MESSAGEINFO structure that describes the chat message to send.

Return Value

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

Message Information

Headerplugin.h