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

The PLG_RECV_CHATMSG message is sent to Babel by a plug-in that has recieved a chat message. You can send this message explicitly or use the Plugin_RecvChatMsg macro.

Syntax

SendMessage(

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

Parameters

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

Return Value

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

Message Information

Headerplugin.h