Directory Services |
The CQAddFormsProc callback function is called by a query form extension to add a form to the query dialog box. A pointer to this function is supplied to the query form extension in the pAddFormsProc parameter of the IQueryForm::AddForms method. CQAddFormsProc is a placeholder for the query handler-defined function name.
HRESULT CALLBACK CQAddFormsProc( LPARAM lParam, LPCQFORM pForm );
Return Code | Description |
---|---|
S_OK | The form 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.