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.

109 lines
3.4 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 2000-2002 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // CTaskUpgradeNT4.h
  7. //
  8. // Description:
  9. // This file contains the declaration of the class CTaskUpgradeNT4.
  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. // CTaskUpgradeNT4.cpp
  15. //
  16. // Maintained By:
  17. // David Potter (DavidP) 25-MAR-2002
  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 CClusOCMApp;
  31. //////////////////////////////////////////////////////////////////////////////
  32. //++
  33. //
  34. // class CTaskUpgradeNT4
  35. //
  36. // Description:
  37. // This class represents the task of upgrading the cluster service on
  38. // a node that had Windows 2000 installed on it.
  39. //
  40. //--
  41. //////////////////////////////////////////////////////////////////////////////
  42. class CTaskUpgradeNT4 : public CTaskUpgrade
  43. {
  44. public:
  45. //////////////////////////////////////////////////////////////////////////
  46. // Public constructors and destructors
  47. //////////////////////////////////////////////////////////////////////////
  48. // Constructor.
  49. CTaskUpgradeNT4( const CClusOCMApp & rAppIn );
  50. // Destructor
  51. virtual ~CTaskUpgradeNT4( void );
  52. //////////////////////////////////////////////////////////////////////////
  53. // Message handlers
  54. //////////////////////////////////////////////////////////////////////////
  55. // Handler for the OC_QUEUE_FILE_OPS message.
  56. virtual DWORD
  57. DwOcQueueFileOps( HSPFILEQ hSetupFileQueueIn );
  58. // Handler for the OC_COMPLETE_INSTALLATION message.
  59. virtual DWORD
  60. DwOcCompleteInstallation( void );
  61. // Handler for the OC_CLEANUP message.
  62. virtual DWORD
  63. DwOcCleanup( void );
  64. protected:
  65. //////////////////////////////////////////////////////////////////////////
  66. // Protected methods
  67. //////////////////////////////////////////////////////////////////////////
  68. // Map ids specified in the INF file to actual directories.
  69. DWORD DwSetDirectoryIds( void );
  70. private:
  71. //////////////////////////////////////////////////////////////////////////
  72. // Forbidden methods
  73. //////////////////////////////////////////////////////////////////////////
  74. //
  75. // Copying an object of this class is not allowed.
  76. //
  77. // Private copy constructor.
  78. CTaskUpgradeNT4( const CTaskUpgradeNT4 & );
  79. // Private assignment operator.
  80. const CTaskUpgradeNT4 & operator =( const CTaskUpgradeNT4 & );
  81. //////////////////////////////////////////////////////////////////////////
  82. // Private types
  83. //////////////////////////////////////////////////////////////////////////
  84. typedef CTaskUpgrade BaseClass;
  85. }; //*** class CTaskUpgradeNT4