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


AtlSetChildSite

Call this function to set the site of the child object to the IUnknown of the parent object.

HRESULT AtlSetChildSite(
   IUnknown* punkChild,
   IUnknown* punkParent 
);

Параметры

  • punkChild
    [in] A pointer to the IUnknown interface of the child.

  • punkParent
    [in] A pointer to the IUnknown interface of the parent.

Возвращаемое значение

A standard HRESULT value.

Требования

Header: atlcomcli.h

См. также

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

Composite Control Global Functions