Поделиться через


IConsole2::QueryResultView method

The IConsole2::QueryResultView method queries IConsole2 for the result view object IUnknown interface pointer.

Syntax

HRESULT QueryResultView(
  [out] LPUNKNOWN *pUnknown
);

Parameters

  • pUnknown [out]
    A pointer to the location of the IUnknown interface pointer to the result view object.

Return value

This method can return one of these values.

  • S_OK
    The IUnknown pointer was successfully returned.

  • E_UNEXPECTED
    An unexpected error occurred.

  • E_POINTER
    This may indicate a NULL pointer.

Remarks

QueryResultView can be used when the result view is an OLE custom control (OCX) that implements the IDispatch interface. The user should call QueryResultView to get the IUnknown pointer to the OCX. This is necessary because the Node Manager handles the creation of the OCX.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Mmc.h

DLL

Mmcndmgr.dll

See also

IConsole3

IConsole2