Directory Services


The DSCOLUMN structure is used to represent a column in the directory services query dialog box. An array of this structure is contained in the DSQUERYPARAMS structure.

typedef struct {
DWORD dwFlags;
INT fmt;
INT cx;
INT idsName;
LONG offsetProperty;
DWORD dwReserved; } DSCOLUMN,


Not currently used.
Contains one of the list view column formatting values that indicates how the column is displayed. The possible values are defined for the fmt member of the LVCOLUMN structure.
Contains the width, in pixels, of the column.
Contains the string table identifier for the column header string. To retrieve this string, call LoadString with the hInstance member of the DSQUERYPARAMS structure and this member for the string identifier.
Indicates the name of the attribute displayed in the column. This can be one of the following values.
Value Meaning
DSCOLUMNPROP_ADSPATH The column displays the value of the ADsPath of the object.
DSCOLUMNPROP_OBJECTCLASS The column displays the value of the objectClass of the object.

If this member does not contain one of these values, this member contains the offset, in bytes, from the address of the DSQUERYPARAMS structure to a null-terminated Unicode string that contains the name of the attribute value displayed in this column.

Reserved for future use.


Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Header: Declared in Dsquery.h.

See Also

DSQUERYPARAMS, LVCOLUMN, LoadString, ICommonQuery::OpenQueryWindow, Active Directory Display Structures