Поделиться через


AtlAxGetHost

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

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.

Требования

Header: atlhost.h

См. также

Основные понятия

Composite Control Global Functions

Composite Control Fundamentals