다음을 통해 공유


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 
);

Parameters

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

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

Return Value

A standard HRESULT value.

Requirements

Header: atlcomcli.h

See Also

Concepts

Composite Control Global Functions