Sdílet prostřednictvím


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

Other Resources

Composite Control Global Functions