_DS_SELECTION_LIST structure

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

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

   
Windows version Windows Vista Windows Server 2008
Header objsel.h

See Also

CFSTR_DSOP_DS_SELECTION_LIST

DS_SELECTION

Directory Object Picker

IDataObject

IDsObjectPicker::InvokeDialog