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.

116 lines
3.7 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 2000-2002 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // CTaskUpgradeWin2k.h
  7. //
  8. // Description:
  9. // This file contains the declaration of the class CTaskUpgradeWindows2000.
  10. // This class represents the task of upgrading the cluster service on
  11. // a node that had Windows 2000 installed on it.
  12. //
  13. // Implementation Files:
  14. // CTaskUpgradeWin2k.cpp
  15. //
  16. // Maintained By:
  17. // David Potter (DavidP) 07-SEP-2001
  18. // Vij Vasu (Vvasu) 26-JUL-2000
  19. //
  20. //////////////////////////////////////////////////////////////////////////////
  21. #pragma once
  22. //////////////////////////////////////////////////////////////////////////////
  23. // Include Files
  24. //////////////////////////////////////////////////////////////////////////////
  25. // For the base class
  26. #include "CTaskUpgrade.h"
  27. //////////////////////////////////////////////////////////////////////////////
  28. // Forward Declarations
  29. //////////////////////////////////////////////////////////////////////////////
  30. class CTaskUpgradeWindows2000;
  31. //////////////////////////////////////////////////////////////////////////////
  32. // External Declarations
  33. //////////////////////////////////////////////////////////////////////////////
  34. class CClusOCMApp;
  35. //////////////////////////////////////////////////////////////////////////////
  36. //++
  37. //
  38. // class CTaskUpgradeWindows2000
  39. //
  40. // Description:
  41. // This class represents the task of upgrading the cluster service on
  42. // a node that had Windows 2000 installed on it.
  43. //
  44. //--
  45. //////////////////////////////////////////////////////////////////////////////
  46. class CTaskUpgradeWindows2000 : public CTaskUpgrade
  47. {
  48. public:
  49. //////////////////////////////////////////////////////////////////////////
  50. // Public constructors and destructors
  51. //////////////////////////////////////////////////////////////////////////
  52. // Constructor.
  53. CTaskUpgradeWindows2000( const CClusOCMApp & rAppIn );
  54. // Destructor
  55. virtual ~CTaskUpgradeWindows2000( void );
  56. //////////////////////////////////////////////////////////////////////////
  57. // Message handlers
  58. //////////////////////////////////////////////////////////////////////////
  59. // Handler for the OC_QUEUE_FILE_OPS message.
  60. virtual DWORD
  61. DwOcQueueFileOps( HSPFILEQ hSetupFileQueueIn );
  62. // Handler for the OC_COMPLETE_INSTALLATION message.
  63. virtual DWORD
  64. DwOcCompleteInstallation( void );
  65. // Handler for the OC_CLEANUP message.
  66. virtual DWORD
  67. DwOcCleanup( void );
  68. protected:
  69. //////////////////////////////////////////////////////////////////////////
  70. // Protected methods
  71. //////////////////////////////////////////////////////////////////////////
  72. // Map ids specified in the INF file to actual directories.
  73. DWORD DwSetDirectoryIds( void );
  74. private:
  75. //////////////////////////////////////////////////////////////////////////
  76. // Forbidden methods
  77. //////////////////////////////////////////////////////////////////////////
  78. //
  79. // Copying an object of this class is not allowed.
  80. //
  81. // Private copy constructor.
  82. CTaskUpgradeWindows2000( const CTaskUpgradeWindows2000 & );
  83. // Private assignment operator.
  84. const CTaskUpgradeWindows2000 & operator =( const CTaskUpgradeWindows2000 & );
  85. //////////////////////////////////////////////////////////////////////////
  86. // Private types
  87. //////////////////////////////////////////////////////////////////////////
  88. typedef CTaskUpgrade BaseClass;
  89. }; //*** class CTaskUpgradeWindows2000