Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AtlAxGetHost

 

Obtains a direct interface pointer to the container for a specified window (if any), given its handle.

System_CAPS_importantImportant

This function cannot be used in applications that execute in the Windows Runtime.


      ATLAPI AtlAxGetHost(
HWND h,
IUnknown** pp 
);

h

[in] A handle to the window that is hosting the control.

pp

[out] The IUnknown of the container of the control.

One of the standard HRESULT values.

Requirements

Header: atlhost.h

Show: