次の方法で共有


CCF_OBJECT_TYPES_IN_MULTI_SELECT clipboard format

The CCF_OBJECT_TYPES_IN_MULTI_SELECT clipboard format enables a snap-in to specify the list of the node types represented by that snap-in in the set of selected items in the result pane.

Data Format

SMMCObjectTypes structure. The structure contains the array of node type GUIDs that constitute the multiselection data object. A snap-in's multiselection data object has a list that contains each node type represented in the set of selected items for that particular snap-in in the result pane.

Remarks

During a multiselection operation, MMC calls IComponent::QueryDataObject to request a pointer to the data object that will supply the list of node types (in GUID format) for all the currently selected items owned by the snap-in. MMC then calls IDataObject::GetData with the CCF_OBJECT_TYPES_IN_MULTI_SELECT clipboard format on the IDataObject pointer returned by IComponent::QueryDataObject. In the snap-in's IComponent::QueryDataObject method implementation, the snap-in should create the multiselection data object when MMC passes MMC_MULTI_SELECT_COOKIE as the cookie parameter.

Requirements

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

See also

IComponent::QueryDataObject

SMMCObjectTypes