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

20 lines
469 B
C++

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;