IOleObjectImpl::SetClientSite

HRESULT SetClientSite( IOleClientSite* pClientSite );

See IOleObject::SetClientSite in the Win32 SDK.

Remarks

Uses pClientSite as the pointer to the control's client site and stores pClientSite in the control class data member m_spClientSite. The method then returns S_OK.

IOleObjectImpl OverviewClass Members

See Also   IOleObjectImpl::GetClientSite