IObjectWithSiteImpl::GetSite

This method queries the site for a pointer to the interface identified by riid. If the site supports this interface, the pointer is returned by means of ppvSite. Otherwise, ppvSite is set to NULL.

At a Glance

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

Syntax

HRESULT GetSite( REFIID riid, void **ppvSite );

See Also

IObjectWithSiteImpl::SetSite