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

Tells Babel to update the sending plug-ins status. You can use this macro or send the PLG_UPDATE_STATUS message explicitly.

Syntax

BOOL Plugin_UpdateStat(

    HWND hBabel,     PBUDDYINFO pMyInfo );

Parameters

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

Return Value

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

Macro Information

Headerplugin.h