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.
HRESULT GetSite( REFIID riid, void **ppvSite );
Header file: | Atlctl.h |
Platforms: | |
Versions: | Version 2.0 and later |
Complete documentation: | Visual C++ documentation |
IObjectWithSiteImpl Overview, IObjectWithSiteImpl Methods, IObjectWithSite::GetSite, IObjectWithSiteImpl::SetSite