BackupFactory.h 457 B

1234567891011121314151617181920
  1. #ifndef __BACKUPFACTORY_H_
  2. #define __BACKUPFACTORY_H_
  3. class CSC_BackupFactory : public IClassFactory
  4. {
  5. public:
  6. CSC_BackupFactory();
  7. virtual ~CSC_BackupFactory();
  8. STDMETHODIMP QueryInterface(REFIID refiid, void** ppv);
  9. STDMETHODIMP_(ULONG) AddRef(void);
  10. STDMETHODIMP_(ULONG) Release(void);
  11. STDMETHODIMP CreateInstance(IUnknown* pUnknown, REFIID refiid, void** ppv);
  12. STDMETHODIMP LockServer(BOOL);
  13. private:
  14. DWORD m_dwRefCount;
  15. };
  16. #endif