ICommonQuery interface (cmnquery.h)
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);
Inheritance
The ICommonQuery interface inherits from the IUnknown interface. ICommonQuery also has these types of members:
Methods
The ICommonQuery interface has these methods.
ICommonQuery::OpenQueryWindow The ICommonQuery::OpenQueryWindow method displays the directory service query dialog. This method does not return until the dialog box has been closed by the user. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | cmnquery.h |