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 via ppvSite. Otherwise, ppvSite is set to NULL.

Syntax

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

At a Glance

Header file: Atlctl.h
Platforms:
Versions: Version 2.0 and later
Complete documentation: Visual C++ documentation

See Also

IObjectWithSiteImpl Overview, IObjectWithSiteImpl Methods, IObjectWithSite::GetSite, IObjectWithSiteImpl::SetSite