Directory Services |
The CQAddPagesProc callback function is called by a query form extension to add a page to a query form in the query dialog box. A pointer to this function is supplied to the query form extension in the pAddPagesProc parameter of the IQueryForm::AddPages method. CQAddPagesProc is a placeholder for the query handler-defined function name.
HRESULT CALLBACK CQAddPagesProc( LPARAM lParam, REFCLSID clsidForm, LPCQPAGE pPage );
Return Code | Description |
---|---|
S_OK | The page was added successfully. |
E_INVALIDARG | One or more parameters are invalid. |
E_OUTOFMEMORY | A memory allocation failure occurred. |
E_FAIL | An unspecified error occurred. |
Client: Included in Windows XP and
Windows 2000 Professional.
Server: Included in Windows Server 2003 and
Windows 2000 Server.
Header: Declared in Cmnquery.h.