IQueryForm::AddPages method (cmnquery.h)

The IQueryForm::AddPages method is called to allow a query form object to add pages to an existing form.

Syntax

HRESULT AddPages(
  [in] LPCQADDPAGESPROC pAddPagesProc,
  [in] LPARAM           lParam
);

Parameters

[in] pAddPagesProc

Pointer to a callback function of the form CQAddPagesProc. The query form extension calls this function with the supplied lParam one time for each page to be added to a form.

[in] lParam

Contains a 32-bit value that is defined by the query handler. This value must be passed as the lParam parameter in the CQAddPagesProc call.

Return value

Returns S_OK if successful or a standard HRESULT failure code otherwise.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header cmnquery.h
Library Uuid.lib
DLL Dsquery.dll

See also

CQAddPagesProc

Display Interfaces in Active Directory Domain Services

IQueryForm