| Platform SDK: Active Directory, ADSI, and Directory Services |
The DSQUERYINITPARAMS structure describes the information used to initialize a browse dialog in directory service query.
typedef struct
{
DWORD cbStruct;
DWORD dwFlags;
LPWSTR pDefaultScope;
LPWSTR pDefaultSaveLocation;
LPWSTR pUserName;
LPWSTR pPassword;
LPWSTR pServer;
} DSQUERYINITPARAMS, *LPDSQUERYINITPARAMS;
| dwFlags | Description |
|---|---|
| DSQPF_ENABLEADMINFEATURES | Uses features already 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 that is passed to context menus and property pages. |
| DSQPF_HASCREDENTIALS | The pUserName, pPassword and pServer members of this structure may specify server and credential information. |
| DSQPF_NOSAVE | Removes the File/Save menu item. |
| DSQPF_SAVELOCATION | pDefaultSaveLocation is a valid system path. |
This structure is specific to the DsQuery handler. It is used when CLSID_DsQuery is set for the clsidHandler member of the OPENQUERYWINDOW structure. For a code example on how to use this and other related API, see ICommonQuery::OpenQueryWindow.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Dsquery.h.
Active Directory Display Structures, OPENQUERYWINDOW, ICommonQuery::OpenQueryWindow