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

Tells Babel to that the sending plugin has recieved a chat message. You can use this macro or send the PLG_RECV_CHATMSG message explicitly.

Syntax

BOOL Plugin_RecvChatMsg(

    HWND hBabel,     PMESSAGEINFO pMsgInfo );

Parameters

hBabel
Handle to Babel Instant Messenger (passed on PLGMSG_INITPLUGIN).
pMsgInfo
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.

Macro Information

Headerplugin.h