windows-nt/Source/XPSP1/NT/shell/ext/pstore/classfac.h
2020-09-26 16:20:57 +08:00

30 lines
500 B
C++

#ifndef CLASSFAC_H
#define CLASSFAC_H
class CClassFactory : public IClassFactory
{
protected:
LONG m_ObjRefCount;
public:
CClassFactory();
~CClassFactory();
//
// IUnknown methods
//
STDMETHODIMP QueryInterface(REFIID, LPVOID*);
STDMETHODIMP_(DWORD) AddRef();
STDMETHODIMP_(DWORD) Release();
//
// IClassFactory methods
//
STDMETHODIMP CreateInstance(LPUNKNOWN, REFIID, LPVOID*);
STDMETHODIMP LockServer(BOOL);
};
#endif // CLASSFAC_H