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

Tells Babel to remove a buddy from the buddy tree. You can use this macro or send the PLG_REMOVE_BUDDY message explicitly.

Syntax

BOOL Plugin_RemBuddy(

    HWND hBabel,     PBUDDYINFO pBudInfo );

Parameters

hBabel
Handle to Babel Instant Messenger (passed on PLGMSG_INITPLUGIN).
pBudInfo
A pointer to a BUDDYINFO structure that describes the buddy to remove.

Return Value

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

Macro Information

Headerplugin.h