次の方法で共有


MMCN_CUTORMOVE message

The MMCN_CUTORMOVE notification message is sent to the snap-in's IComponent after items owned by the snap-in have been cut or moved.

Parameters

lpDataObject

NULL.

arg [in]

A pointer to a data object for the cut or moved items.

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

When moving items from a source to a destination, a data object that lists the items to be moved is passed from the source to the destination. The destination should copy the items and then return a data object that lists the successfully copied items. That data object is then passed to the source, along with the MMCN_CUTORMOVE notification. The source should then delete the items that were successfully copied.

Requirements

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

See also

Drag and Drop

Multiselection