Directory Services

CQPAGE

The CQPAGE structure is used to define a query page added to a form in the query dialog box with the CQAddPagesProc callback function.

typedef struct {
DWORD cbStruct;
DWORD dwFlags;
LPCQPAGEPROC pPageProc;
HINSTANCE hInstance;
INT idPageName;
INT idPageTemplate;
DLGPROC pDlgProc;
LPARAM lParam; } CQPAGE,
*LPCQPAGE;

Members

cbStruct
Contains the size, in bytes, of the structure.
dwFlags
Not currently used. This member must be zero.
pPageProc
Pointer to a query page callback function defined by the query form extension. This callback function is used to notify the extension of events in the page and takes the form of the CQPageProc callback function.
hInstance
Contains the instance handle of the module that contains the resources identified by the idPageName and idPageTemplate members.
idPageName
Contains the identifier of the string resource in hInstance that will be used for the title of the page.
idPageTemplate
Contains the identifier of the dialog resource in hInstance that will be used for the page dialog.
pDlgProc
Pointer to the dialog box procedure. For more information, see DialogProc.
lParam
An extension-defined 32-bit value passed in the lParam member of the CQPAGE structure passed as the pPage parameter in the CQPageProc callback function.

Requirements

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

CQAddPagesProc, CQPageProc, DialogProc, IQueryForm::AddPages, Active Directory Display Structures