Babel Home > Babel Plug-in API > Plug-in Reference > Plug-in Messages > CHATPLGMSG_ADDBUDDY
COMPLGMSG_ADDBUDDY Message

The COMPLGMSG_ADDBUDDY message is sent to communication plug-ins when the user has ask to add a buddy that is associated with the plug-in.

Syntax

EXTERN EXPORT BOOL PluginCallBack(

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

Parameters

wParam
This parameter is not used.
lParam
A pointer to a NULL terminated string that identifies the buddy to add.

Return Value

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

Message Information

Headerplugin.h