Directory Services

IQueryForm::AddPages

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

HRESULT AddPages( 
  LPCQADDPAGESPROC pAddPagesProc,
  LPARAM lParam
);

Parameters

pAddPagesProc
[in] 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
[in] 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 Values

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

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, IQueryForm, Active Directory Display Interfaces