Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1999 Microsoft Corporation
  3. Abstract:
  4. @doc
  5. @module tsub.h | Declaration of the transient subscriber
  6. @end
  7. Author:
  8. Adi Oltean [aoltean] 08/18/1999
  9. TBD:
  10. Add comments.
  11. Revision History:
  12. Name Date Comments
  13. aoltean 08/18/1999 Created
  14. mikejohn 09/18/2000 176860: Added calling convention methods where missing
  15. --*/
  16. #ifndef __VSS_TSUB_WRITER_H_
  17. #define __VSS_TSUB_WRITER_H_
  18. #ifdef _DEBUG
  19. #define _ATL_DEBUG_INTERFACES
  20. #define _ATL_DEBUG_QI
  21. #define _ATL_DEBUG_REFCOUNT
  22. #endif // _DEBUG
  23. /////////////////////////////////////////////////////////////////////////////
  24. // Utility functions
  25. LPWSTR QueryString(LPWSTR wszPrompt);
  26. INT QueryInt(LPWSTR wszPrompt);
  27. /////////////////////////////////////////////////////////////////////////////
  28. // CVssWriter
  29. class CVssTSubWriter : public CVssWriter
  30. {
  31. // Constructors and destructors
  32. public:
  33. CVssTSubWriter();
  34. // Ovverides
  35. public:
  36. virtual bool STDMETHODCALLTYPE OnPrepareSnapshot();
  37. virtual bool STDMETHODCALLTYPE OnFreeze();
  38. virtual bool STDMETHODCALLTYPE OnThaw();
  39. virtual bool STDMETHODCALLTYPE OnAbort();
  40. };
  41. #endif //__VSS_TSUB_WRITER_H_