Platform SDK: Active Directory, ADSI, and Directory Services

DS_SELECTION_LIST

The DS_SELECTION_LIST structure contains information about the objects the user selected from an object picker dialog box.

To retrieve a DS_SELECTION_LIST structure, request the CFSTR_DSOP_DS_SELECTION_LIST clipboard format from the data object returned by the IDsObjectPicker::InvokeDialog method.

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

Members

cItems
Indicates the number of elements in the aDsSelection array.
cFetchedAttributes
Indicates the number of elements returned in the avarFetchedAttributes member of each DS_SELECTION structure.
aDsSelection
An array of DS_SELECTION structures, one for each object selected by the user. The cItems member indicates the number of elements in the array.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Objsel.h.

See Also

DS_SELECTION, IDsObjectPicker::InvokeDialog, Object Picker Dialog Box Overview, Object Picker Dialog Box Structures