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

The PLG_REMOVE_BUDDY message is sent to Babel by a plug-in that wants to remove a buddy from the buddy tree. You can send this message explicitly or use the Plugin_RemBuddy macro.

Syntax

SendMessage(

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

Parameters

hBabel
Handle to Babel.
wParam
The PLG_REMOVE_BUDDY message.
lParam
A pointer to a BUDDYINFO structure that describes the buddy to be removed.

Return Value

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

Message Information

Headerplugin.h