IExtendControlbar::ControlbarNotify

[This is preliminary documentation and subject to change.]

Specifies notification sent to the snap-in from the console as a result of user action.

HRESULT ControlbarNotify(
  MMC_NOTIFY_TYPE event,  // User action
  long arg,               // Depends on the event parameter
  long param              // Depends on the event parameter
);
 

Parameters

event
[in] Specifies one of the following:
Value Meaning
MMCN_BTN_CLICK A button on the toolbar was clicked.
MMCN_SELECT An item was selected and the user should update the toolbar options.

arg
[in] Depends on the event parameter. For more information, see MMC Notifications.
param
[in] Depends on the event parameter. For more information, see MMC Notifications.

Return Values

S_OK
The buttons were successfully added.

See Also

IToolbar