IComponentData::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. IComponentData::Notify can receive the following notifications:
arg
[in] Depends on the notification type.
param
[in] 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