DS_SELECTION_LIST structure (objsel.h)

The DS_SELECTION_LIST structure contains data about the objects the user selected from an object picker dialog box. This structure is supplied by the IDataObject interface supplied by the IDsObjectPicker::InvokeDialog method in the CFSTR_DSOP_DS_SELECTION_LIST data format.

Syntax

typedef struct _DS_SELECTION_LIST {
  ULONG        cItems;
  ULONG        cFetchedAttributes;
  DS_SELECTION aDsSelection[ANYSIZE_ARRAY];
} DS_SELECTION_LIST, *PDS_SELECTION_LIST;

Members

cItems

Contains the number of elements in the aDsSelection array.

cFetchedAttributes

Contains the number of elements returned in the pvarFetchedAttributes member of each DS_SELECTION structure.

aDsSelection[ANYSIZE_ARRAY]

Contains an array of DS_SELECTION structures, one for each object selected by the user. The cItems member indicates the number of elements in this array.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header objsel.h

See also

CFSTR_DSOP_DS_SELECTION_LIST

DS_SELECTION

Directory Object Picker

IDataObject

IDsObjectPicker::InvokeDialog