Directory Services


The CQFORM structure is used to define a query form added to the query dialog box with the CQAddFormsProc callback function.

typedef struct {
DWORD cbStruct;
DWORD dwFlags;
CLSID clsid;
HICON hIcon;
LPWSTR pszTitle; } CQFORM,


Contains the size, in bytes, of the structure.
Contains a set of flags that modify the behavior of the query form. This can be zero or a combination of one or more of the following values.
Value Meaning
CQFF_ISOPTIONAL Specifies that this query form is optional and is only displayed if optional forms are requested.
CQFF_NOGLOBALPAGES Specifies that this form should not have the global pages added to it.
Contains the class identifier used to identify the query form.
Contains the handle of the icon to be displayed with the query form.
Pointer to a null-terminated Unicode string that contains the title of the query form.


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

See Also

CQAddFormsProc, IQueryForm::AddForms, Active Directory Display Structures