Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SMMCObjectTypes structure

The SMMCObjectTypes structure defines the format of the data for the CCF_OBJECT_TYPES_IN_MULTI_SELECT clipboard format. 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.

Syntax


typedef struct _SMMCObjectTypes {
  DWORD count;
  GUID  guid[1];
} SMMCObjectTypes;

Members

count

The count of selected items.

guid

Array of GUIDs for the node types of the selected items.

Remarks

During a multiselection operation, MMC calls IComponent::QueryDataObject to request a pointer to the data object that supplies 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

SMMCDataObjects
CCF_OBJECT_TYPES_IN_MULTI_SELECT
IComponent::QueryDataObject
IS_SPECIAL_COOKIE
Multiselection

 

 

Show: