20 lines
469 B
C
Raw Normal View History

2001-01-01 00:00:00 +01:00
class CVirusFactory : IClassFactory
{
public:
CVirusFactory() { cRef = 0; };
//IUnknown things
STDMETHODIMP QueryInterface(REFIID riid, void **ppv);
STDMETHODIMP_(ULONG) AddRef(void);
STDMETHODIMP_(ULONG) Release(void);
//IClassFactory Things
STDMETHODIMP CreateInstance(IUnknown *pUnkOuter, REFIID riid, void **ppv);
STDMETHODIMP LockServer(BOOL fLock);
private:
UINT cRef;
};
extern CVirusFactory *pcf;