This topic has not yet been rated - Rate this topic

AtlAxGetHost

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

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

Parameters

h
[in] A handle to the window that is hosting the control.
pp
[out] The IUnknown of the container of the control.

Return Value

One of the standard HRESULT values.

See Also

Composite Control Global Functions | Composite Control Fundamentals

Did you find this helpful?
(1500 characters remaining)