Windows2000/private/shell/ext/settings/comobj.h
2020-09-30 17:12:32 +02:00

35 lines
513 B
C++

#ifndef __COM_OBJECT_H
#define __COM_OBJECT_H
class ComObject : public IUnknown
{
private:
LONG m_cRef;
public:
ComObject(VOID)
: m_cRef(0) { }
virtual ~ComObject(VOID) { }
// IUnknown methods.
STDMETHODIMP
QueryInterface(
REFIID riid,
LPVOID *ppvOut);
STDMETHODIMP_(ULONG)
AddRef(
VOID);
STDMETHODIMP_(ULONG)
Release(
VOID);
};
#endif // __COM_OBJECT_H