Share via


IAxWinHostWindow::QueryControl

Returns the specified interface pointer provided by the hosted control.

STDMETHOD( QueryControl )( 
   REFIID riid, 
   void** ppvObject  
);

Parameters

  • riid
    [in] The ID of an interface on the control being requested.

  • ppvObject
    [out] The address of a pointer that will receive the specified interface of the created control.

Return Value

A standard HRESULT value.

Requirements

Header: atliface.h

See Also

Reference

IAxWinHostWindow Interface

CAxWindow::QueryControl

AtlAxGetControl