Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AtlSetChildSite

 

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

System_CAPS_importantImportant

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


      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.

Requirements

Header: atlcomcli.h

Show: