IComponent::Notify

[This is preliminary documentation and subject to change.]

Notifies the snap-in of actions taken by the user.

HRESULT Notify(
  LPDATAOBJECT lpDataObject,  // pointer to a data object
  MMC_NOTIFY_TYPE event,  // action taken by a user
  long arg,               // depends on event
  long param              // depends on event
);
 

Parameters

lpDataObject
[in] Pointer to the data object of the currently selected item.
event
[in] Identifies an action taken by a user. IComponent::Notify can receive the following notifications:
arg
Depends on the notification type.
param
Depends on the notification type.

Return Values

S_OK
Depends on the notification type.
E_UNEXPECTED
An unexpected error occurred.

Remarks

See individual notifications for detailed information.

See Also

IComponent, IComponentData, IConsole, IExtendControlbar::ControlbarNotify