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.

AtlAxGetControl

 

Obtains a direct interface pointer to the control contained inside a specified window given its handle.

System_CAPS_importantImportant

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


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

h

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

pp

[out] The IUnknown of the control being hosted.

One of the standard HRESULT values.

Requirements

Header: atlhost.h

Show: