Поделиться через


IObjectWithSiteImpl::SetChildSite

Provides the object with the site's IUnknown pointer.

HRESULT SetChildSite(
   IUnknown* pUnkSite 
);

Параметры

  • 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.

Возвращаемое значение

Returns S_OK.

Требования

Header: atlcom.h

См. также

Основные понятия

IObjectWithSiteImpl Class

IObjectWithSiteImpl Members

IObjectWithSiteImpl::GetSite