MprUISetContext

[This is preliminary documentation and subject to change.]

The MprUISetContext ActiveX® control is called by the Routing and Remote Access Administrator after a third-party routing protocol plugin control is created. MprUISetContext specifies what information should be displayed for the third-party routing protocol.

// MprUISetContext is called by MPRADMIN after the control
        // is created in order to specify exactly what information
        // should be displayed.
 
[id(1)] long MprUISetContext(
                    // The following parameter is the pMprUIPlugin
                    // interface that the control is associated with.
                long pMprUIPlugin,
                    // The following parameter will be zero if the
                    // control is to be displayed in the Right Hand
                    // Pane.  If the control is to be displayed in a
                    // floating window then this parameter is the same
                    // value set to IMprUIHost::FloatWindow(…).
                long lContext
                );
[id(2)] long MprUIRefresh(
                );
 

Parameters

pMprUIPlugin
Pointer to the MprUIPlugin interface with which the plugin control is associated.
lContext
Determines whether the plugin control will be displayed in the right-hand frame of the Routing and Remote Access Administrator user interface, or if it will be displayed in a floating window. If the plugin control will be displayed in the right-hand frame, lContext will be zero. If the control is to be displayed in a floating window, lContext will be the same value set to iMprUIHost::FloatWindow.

See Also

FloatWindow