Platform SDK: Active Directory, ADSI, and Directory Services

DSCOLUMN

The DSCOLUMN structure is used to represent a column in display.

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

Members

dwFlags
Flags for the column:
fmt
ListView formatting flags for this column
cx
Default width of the column in pixels
idsName
Resource name for the column to be displayed (loaded via LoadString using the HINSTANCE specified in the DSQUERYPARAMS)
offsetProperty
Offset from the start of the DSQUERYPARAMS structure to a UNICODE attribute name to query for
dwReserved
Reserved.

Requirements

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

See Also

Active Directory Display Structures