Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ICommonQuery interface

The ICommonQuery interface is used to programmatically display the system-supplied directory service query dialog box.To create an instance of this interface, call CoCreateInstance with the CLSID_CommonQuery class identifier as shown in the following code example.


HRESULT hr;
ICommonQuery *pCommonQuery;
 
hr = CoCreateInstance(CLSID_CommonQuery,
    NULL,
    CLSCTX_INPROC_SERVER,
    IID_ICommonQuery,
    (LPVOID*)&pCommonQuery);

Members

The ICommonQuery interface inherits from the IUnknown interface. ICommonQuery also has these types of members:

Methods

The ICommonQuery interface has these methods.

MethodDescription
OpenQueryWindow

Displays the directory service query dialog box.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Cmnquery.h

Library

Uuid.lib

DLL

Dsquery.dll

IID

IID_ICommonQuery is defined as ab50dec0-6f1d-11d0-a1c4-00aa00c16e65

See also

Display Interfaces in Active Directory Domain Services

 

 

Show:
© 2015 Microsoft