IOleObjectImpl::SetClientSite

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

At a Glance

Header file: Atlctl.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

HRESULT SetClientSite( IOleClientSite* pClientSite );