IObjectWithSiteImpl::GetSite

 

Queries the site for a pointer to the interface identified by riid.

Syntax

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

Remarks

If the site supports this interface, the pointer is returned via ppvSite. Otherwise, ppvSite is set to NULL.

See IObjectWithSite::GetSite in the Windows SDK.

Requirements

Header: atlcom.h

See Also

IObjectWithSiteImpl Class
IObjectWithSiteImpl::SetSite