Udostępnij za pośrednictwem


AtlAxGetControl

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

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

Concepts

Composite Control Fundamentals

Other Resources

Composite Control Global Functions