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

Tells Babel to remove all the buddies for a plug-in from the buddy tree. You can use this macro or send the PLG_REM_ALL_BUDDIES message explicitly.

Syntax

BOOL Plugin_RemAllBuddies(

    HWND hBabel,     char * pszPluginName );

Parameters

hBabel
Handle to Babel Instant Messenger (passed on PLGMSG_INITPLUGIN).
pszPluginName
A pointer to a NULL terminated string that contains the plug-in whose buddies should be removed from the buddy tree.

Return Value

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

Macro Information

Headerplugin.h