AtlAxGetControl
Obtains a direct interface pointer to the control contained inside a specified window given its handle.
Important
This function cannot be used in applications that execute in the Windows Runtime.
Syntax
ATLAPI AtlAxGetControl(
HWND h,
IUnknown** pp
);
Parameters
h
[in] A handle to the window that is hosting the control.pp
[out] The IUnknown of the control being hosted.
Return Value
One of the standard HRESULT values.
Requirements
Header: atlhost.h
See Also
Composite Control Global Functions
ATL Composite Control Fundamentals