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

Tells Babel to send a chat message. You can use this macro or send the PLG_SEND_CHATMSG message explicitly.

Syntax

BOOL Plugin_SendChatMsg(

    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 to send.

Return Value

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

Macro Information

Headerplugin.h