#ifndef __BACKUPFACTORY_H_ #define __BACKUPFACTORY_H_ class CSC_BackupFactory : public IClassFactory { public: CSC_BackupFactory(); virtual ~CSC_BackupFactory(); STDMETHODIMP QueryInterface(REFIID refiid, void** ppv); STDMETHODIMP_(ULONG) AddRef(void); STDMETHODIMP_(ULONG) Release(void); STDMETHODIMP CreateInstance(IUnknown* pUnknown, REFIID refiid, void** ppv); STDMETHODIMP LockServer(BOOL); private: DWORD m_dwRefCount; }; #endif