共用方式為


CCF_MULTI_SELECT_SNAPINS clipboard format

The CCF_MULTI_SELECT_SNAPINS clipboard format enables MMC to pass a list of multiselection data objects during some multiselection operations. MMC creates a composite data object that contains the list of multiselection data objects. Snap-ins can call the GetData method of the composite data object and specify the CCF_MULTI_SELECT_SNAPINS clipboard format to retrieve the list of multiselection data objects.

Data Format

SMMCDataObjects structure.

Remarks

The SMMCDataObjects structure contains the array of pointers to the multiselection data objects of each snap-in represented in the set of selected items in the result pane.

If there are n snap-ins whose objects are selected in the result pane, these n data objects will be passed in memory allocated by GlobalAlloc. The first DWORD contains the number of snap-ins; this will be followed by n pointers to the multiselection data objects.

Requirements

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

See also

SMMCDataObjects

Multiselection