IComponentData::Notify method (mmc.h)

The IComponentData::Notify method notifies the snap-in of actions performed by the user.

Syntax

HRESULT Notify(
  [in] LPDATAOBJECT    lpDataObject,
  [in] MMC_NOTIFY_TYPE event,
  [in] LPARAM          arg,
  [in] LPARAM          param
);

Parameters

[in] lpDataObject

A pointer to the data object of the currently selected item.

[in] event

Identifies an action taken by a user. IComponentData::Notify can receive the following notifications:

MMCN_BTN_CLICK

MMCN_DELETE

MMCN_EXPAND

MMCN_EXPANDSYNC

MMCN_PRELOAD

MMCN_PROPERTY_CHANGE

MMCN_REMOVE_CHILDREN

MMCN_RENAME

[in] arg

Depends on the notification type.

[in] param

Depends on the notification type.

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

See also

IComponent

IComponentData

IConsole2