IQueryForm Interface

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.

Methods

The IQueryForm interface inherits the methods of the IUnknown interface.

In addition, IQueryForm defines the following methods.

MethodDescription

Initialize

Initializes the query form object.

AddForms

Add forms.

AddPages

Add pages.

 

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 EntryDescription
CLSIDA string value that contains the class identifier of the object that implements IQueryForm.
FlagsA 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

Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
RedistributableActive Directory Client Extension onWindows NT 4.0andWindows Me/98/95
HeaderCmnquery.h
LibraryUuid.lib
DLLDsquery.dll
IIDIID_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: 11/12/2009

Tags :


Page view tracker