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

Tells Babel to load an option pane to the main options dialog. You can use this macro or send the PLG_ADD_OPT_PAGE message explicitly.

Syntax

BOOL Plugin_AddOptPage(

    HWND hBabel,     POPTPAGEINSERTSTRUCT pOptPage );

Parameters

hBabel
Handle to Babel Instant Messenger (passed on PLGMSG_INITPLUGIN).
pOptPage
A pointer to OPTPAGEINSERTSTRUCT that describes the option pane to install.

Return Value

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

Macro Information

Headerplugin.h