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. // CTaskUpgradeWhistler.h
  7. //
  8. // Implementation Files:
  9. // CTaskUpgradeWhistler.cpp
  10. //
  11. // Description:
  12. // This file contains the declaration of the class CTaskUpgradeWindowsDotNet.
  13. // This class represents the task of upgrading the cluster service on
  14. // a node that had Windows 2000 installed on it.
  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 CTaskUpgradeWindowsDotNet;
  31. //////////////////////////////////////////////////////////////////////////////
  32. // External Declarations
  33. //////////////////////////////////////////////////////////////////////////////
  34. class CClusOCMApp;
  35. //////////////////////////////////////////////////////////////////////////////
  36. //++
  37. //
  38. // class CTaskUpgradeWindowsDotNet
  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 CTaskUpgradeWindowsDotNet : public CTaskUpgrade
  47. {
  48. public:
  49. //////////////////////////////////////////////////////////////////////////
  50. // Public constructors and destructors
  51. //////////////////////////////////////////////////////////////////////////
  52. // Constructor.
  53. CTaskUpgradeWindowsDotNet( const CClusOCMApp & rAppIn );
  54. // Destructor
  55. virtual ~CTaskUpgradeWindowsDotNet( 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. CTaskUpgradeWindowsDotNet( const CTaskUpgradeWindowsDotNet & );
  83. // Private assignment operator.
  84. const CTaskUpgradeWindowsDotNet & operator =( const CTaskUpgradeWindowsDotNet & );
  85. //////////////////////////////////////////////////////////////////////////
  86. // Private types
  87. //////////////////////////////////////////////////////////////////////////
  88. typedef CTaskUpgrade BaseClass;
  89. }; //*** class CTaskUpgradeWindowsDotNet