Share via


IObjectWithSiteImpl::GetSite

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

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

Reference

IObjectWithSiteImpl Class

IObjectWithSiteImpl::SetSite

Other Resources

IObjectWithSiteImpl Members