The IQueryForm interface is implemented by a query form extension object to allow the form object to add forms and pages to the system-supplied directory service query dialog box.
Syntax
|
interface IQueryForm : IUnknown
|
Methods
The IQueryForm interface inherits the methods of the IUnknown interface.
In addition, IQueryForm defines the following methods.
Remarks
A query form extension object must be registered in the Windows registry to be available to the query handler. This is accomplished by adding the following registry key.
HKEY_CLASSES_ROOT
CLSID
<query handler CLSID>
Forms
<name of query form extension>
The <query handler CLSID> key is the class identifier of the form handler. The <name of query form extension> key is the unique name of the query form extension. This name must be unique within the Forms key. It is suggested that the string form of the class identifier of the query form extension be used for the name.
The following table lists the registry entries under the above key.
| Registry Entry | Description |
| CLSID | A string value that contains the class identifier of the object that implements IQueryForm. |
| Flags | A numeric value that contains a set of flags that define the behavior of the form. This can be zero or a combination of one or more of the following values. - QUERYFORM_CHANGESFORMLIST
The form should be visible in the normal form list. - QUERYFORM_CHANGESOPTFORMLIST
The form should be visible in the optional form list. |
Requirements
| Client | Requires Windows Vista, Windows XP, or Windows 2000 Professional. |
| Server | Requires Windows Server 2008, Windows Server 2003, or Windows 2000 Server. |
| Redistributable | Requires Active Directory Client Extension on Windows NT 4.0 and Windows Me/98/95. |
| Header | Declared in Cmnquery.h. |
| Library | Use Uuid.lib. |
| DLL | Requires Dsquery.dll. |
| IID | IID_IQueryForm is defined as 8cfcee30-39bd-11d0-b8d1-00a024ab2dbb. |
See Also
Display Interfaces in Active Directory Domain Services
Send comments about this topic to Microsoft
Build date: 4/17/2008