Compartilhar via


AtlSetChildSite

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

Important

This function cannot be used in applications that execute in the Windows Runtime.

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