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(
  LPCQADDPAGESPROC pAddPagesProc,
  LPARAM           lParam
);

Parameters

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.

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

   
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