Platform SDK: Active Directory, ADSI, and Directory Services

DSQUERYPARAMS

This format returns the query parameter information used by the Directory Service Query when searching the DS. The caller of ICommonQuery::OpenQueryWindow can use this to retrieve the filter, column information used by the result view when issuing a query against the server.

typedef struct
{
  DWORD  cbStruct;
  DWORD  dwFlags;
  HINSTANCE hInstance;
  LONG   offsetQuery;
  LONG   iColumns;
  DWORD  dwReserved;
  DSCOLUMN  aColumns[1];
} DSQUERYPARAMS, *LPDSQUERYPARAMS;

Members

cbStruct
Size of the structure, used for versioning
dwFlags
Flags can be one of more of the following:
hInstance
instance handle used for extracting resources
offsetQuery
offset from the start of the structure to a UNICODE LDAP filter.
iColumns
Column count.
dsReserved
Reserved.
aColumns
array of default column information. The result view can and will override this

Requirements

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

See Also

Active Directory Display Structures