次の方法で共有


MMCN_DELETE message

The MMCN_DELETE notification message is sent to the snap-in's IComponent and IComponentData implementations to inform the snap-in that the object should be deleted.

Parameters

lpDataObject [in]

A pointer to the data object of the currently selected scope or result item, provided by the snap-in.

arg

Not used.

param

Not used.

Return value

S_OK

The snap-in successfully handled the notification.

S_FALSE

The snap-in does not handle the notification. MMC then performs a default operation for the notification.

Remarks

This message is generated when the user presses the delete key or uses the mouse to click the toolbar's delete button.

The snap-in should delete the items specified in the data object.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Mmc.h

See also

IComponent::Notify

IComponentData::Notify