CQFORM structure (cmnquery.h)

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

Syntax

typedef struct {
  DWORD   cbStruct;
  DWORD   dwFlags;
  CLSID   clsid;
  HICON   hIcon;
  LPCWSTR pszTitle;
} CQFORM, *LPCQFORM;

Members

cbStruct

Contains the size, in bytes, of the structure.

dwFlags

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.

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.

clsid

Contains the class identifier used to identify the query form.

hIcon

Contains the handle of the icon to be displayed with the query form.

pszTitle

Pointer to a null-terminated Unicode string that contains the title of the query form.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header cmnquery.h

See also

CQAddFormsProc

Display Structures in Active Directory Domain Services

IQueryForm::AddForms