IExtendControlbar::ControlbarNotify method (mmc.h)
The IExtendControlbar::ControlbarNotify method specifies the notification sent to the snap-in from the console as a result of user action.
Syntax
HRESULT ControlbarNotify(
[in] MMC_NOTIFY_TYPE event,
[in] LPARAM arg,
[in] LPARAM param
);
Parameters
[in] event
A value that specifies one of the following:
MMCN_BTN_CLICK
A button on the toolbar was clicked.
MMCN_DESELECT_ALL
All items of a virtual list are deselected.
MMCN_SELECT
An item was selected and the snap-in should update the toolbar options.
MMCN_MENU_BTNCLICK
A menu button on the toolbar is clicked.
[in] arg
Depends on the event parameter. For more information, see MMC Notifications.
[in] param
Depends on the event parameter. For more information, see MMC Notifications.
Return value
This method can return one of these values.
Remarks
For more information, see the individual notifications. The snap-in should return S_FALSE for any notification it does not handle.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | mmc.h |