Compartilhar via


IObjectWithSiteImpl::SetChildSite

Provides the object with the site's IUnknown pointer.

HRESULT SetChildSite( 
   IUnknown* pUnkSite  
);

Parameters

  • pUnkSite
    [in] Pointer to the IUnknown interface pointer of the site managing this object. If NULL, the object should call IUnknown::Release on any existing site at which point the object no longer knows its site.

Return Value

Returns S_OK.

Requirements

Header: atlcom.h

See Also

Reference

IObjectWithSiteImpl Class

IObjectWithSiteImpl::GetSite