Directory Services |
The DSQUERYINITPARAMS structure describes the data used to initialize a browse dialog box in the directory service query.
typedef struct {
DWORD cbStruct;
DWORD dwFlags;
LPWSTR pDefaultScope;
LPWSTR pDefaultSaveLocation;
LPWSTR pUserName;
LPWSTR pPassword;
LPWSTR pServer; } DSQUERYINITPARAMS,
*LPDSQUERYINITPARAMS;
Value | Meaning |
---|---|
DSQPF_ENABLEADMINFEATURES | Uses features supported by the directory service administration tools, such as Admin Display Specifier for context menus and property pages. |
DSQPF_ENABLEADVANCEDFEATURES | Specifies advanced features in the IDataObject instance passed to context menus and property pages. |
DSQPF_HASCREDENTIALS | The pUserName, pPassword and pServer members of this structure can specify server and credential data. |
DSQPF_NOCHOOSECOLUMNS | Disables the Choose Columns item in the query dialog box View menu. |
DSQPF_NOSAVE | Removes the Save Search item from the query dialog box File menu. |
DSQPF_SAVELOCATION | The pDefaultSaveLocation member contains the default file system path where searches will be saved. |
DSQPF_SHOWHIDDENOBJECTS | Causes the query dialog box to display hidden objects in the query results list. |
This structure is specific to the CLSID_DsQuery query handler. This structure is used for the pHandlerParameters member of the OPENQUERYWINDOW structure when CLSID_DsQuery is set for the clsidHandler member of the OPENQUERYWINDOW structure. For more information, and a code example for using this, and other related APIs, see ICommonQuery::OpenQueryWindow.
Client: Included in Windows XP and
Windows 2000 Professional.
Server: Included in Windows Server 2003 and
Windows 2000 Server.
Header: Declared in Dsquery.h.
IDataObject, OPENQUERYWINDOW, ICommonQuery::OpenQueryWindow, Active Directory Display Structures