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


AtlAxGetControl

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

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.

Требования

Header: atlhost.h

См. также

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

Composite Control Global Functions

Composite Control Fundamentals