Export (0) Print
Expand All

CAxWindow::QueryHost 

Returns the specified interface of the host.


HRESULT QueryHost(
   REFIID iid,
   void** ppUnk 
);
template <class Q>
HRESULT QueryHost(
   Q** ppUnk 
);

Parameters

iid

[in] Specifies the IID of the control's interface.

ppUnk

[out] A pointer to the interface on the host. In the template version of this method, there is no need for a reference ID as long as a typed interface with an associated UUID is passed.

Q

[in] The interface that is being queried for.

A standard HRESULT value.

The interface of the host allows access to the underlying functionality of the window-hosting code, implemented by AxWin.

Community Additions

ADD
Show:
© 2015 Microsoft