IConsole::QueryResultView

[This is preliminary documentation and subject to change.]

Queries IConsole for the result view object's IUnknown interface pointer.

HRESULT QueryResultView(
  LPUNKNOWN * pUnknown  // Address of the returned pointer.
);
 

Parameter

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

Return Values

S_OK
The IUnknown pointer was successfully returned.
E_UNEXPECTED
An unexpected error occurred.
E_POINTER
This may indicate a NULL pointer.

Remarks

For example, QueryResultView can be used when the result view is a custom 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.

See Also

IConsole