Windows2000/private/shell/shdocvw/objwsite.h
2020-09-30 17:12:32 +02:00

25 lines
536 B
C++

#ifndef OBJWSITE_H_
#define OBJWSITE_H_
class CObjWithSite : public IObjectWithSite
{
public:
CObjWithSite();
~CObjWithSite();
// IUnknown (we multiply inherit from IUnknown, disambiguate here)
STDMETHOD(QueryInterface)(REFIID riid, LPVOID * ppvObj) PURE;
STDMETHOD_(ULONG, AddRef)() PURE;
STDMETHOD_(ULONG, Release)() PURE;
// IObjectWithSite
STDMETHOD(SetSite)(IUnknown *punkSite);
STDMETHOD(GetSite)(REFIID riid, void **ppvSite);
protected:
IUnknown *_punkSite;
};
#endif // OBJWSITE_H_