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.

91 lines
2.9 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1999-2002 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // CreateClusterWizard.h
  7. //
  8. // Description:
  9. // Declaration of the CCreateClusterWizard class.
  10. //
  11. // Maintained By:
  12. // John Franco (jfranco) 17-APR-2002
  13. //
  14. //////////////////////////////////////////////////////////////////////////////
  15. #pragma once
  16. //////////////////////////////////////////////////////////////////////////////
  17. //++
  18. //
  19. // class CCreateClusterWizard
  20. //
  21. // Description:
  22. // The Create Cluster Wizard object.
  23. //
  24. //--
  25. //////////////////////////////////////////////////////////////////////////////
  26. class CCreateClusterWizard
  27. : public TDispatchHandler< IClusCfgCreateClusterWizard >
  28. {
  29. private:
  30. CClusCfgWizard * m_pccw;
  31. BSTR m_bstrFirstNodeInCluster;
  32. LONG m_cRef;
  33. // Private constructors and destructors
  34. CCreateClusterWizard( void );
  35. virtual ~CCreateClusterWizard( void );
  36. virtual HRESULT HrInit( void );
  37. // Private copy constructor to prevent copying.
  38. CCreateClusterWizard( const CCreateClusterWizard & );
  39. // Private assignment operator to prevent copying.
  40. CCreateClusterWizard & operator=( const CCreateClusterWizard & );
  41. public:
  42. //
  43. // Public, non interface methods.
  44. //
  45. static HRESULT S_HrCreateInstance( IUnknown ** ppunkOut );
  46. //
  47. // IUnknown
  48. //
  49. STDMETHOD( QueryInterface )( REFIID riidIn, PVOID * ppvOut );
  50. STDMETHOD_( ULONG, AddRef )( void );
  51. STDMETHOD_( ULONG, Release )( void );
  52. //
  53. // IClusCfgCreateClusterWizard
  54. //
  55. STDMETHOD( put_ClusterName )( BSTR bstrClusterNameIn );
  56. STDMETHOD( get_ClusterName )( BSTR * pbstrClusterNameOut );
  57. STDMETHOD( put_ServiceAccountName )( BSTR bstrServiceAccountNameIn );
  58. STDMETHOD( get_ServiceAccountName )( BSTR * pbstrServiceAccountNameOut );
  59. STDMETHOD( put_ServiceAccountDomain )( BSTR bstrServiceAccountDomainIn );
  60. STDMETHOD( get_ServiceAccountDomain )( BSTR * pbstrServiceAccountDomainOut );
  61. STDMETHOD( put_ServiceAccountPassword )( BSTR bstrPasswordIn );
  62. STDMETHOD( put_ClusterIPAddress )( BSTR bstrClusterIPAddressIn );
  63. STDMETHOD( get_ClusterIPAddress )( BSTR * pbstrClusterIPAddressOut );
  64. STDMETHOD( get_ClusterIPSubnet )( BSTR * pbstrClusterIPSubnetOut );
  65. STDMETHOD( get_ClusterIPAddressNetwork )( BSTR * pbstrClusterNetworkNameOut );
  66. STDMETHOD( put_FirstNodeInCluster )( BSTR bstrFirstNodeInClusterIn );
  67. STDMETHOD( get_FirstNodeInCluster )( BSTR * pbstrFirstNodeInClusterOut );
  68. STDMETHOD( put_MinimumConfiguration )( VARIANT_BOOL fMinConfigIn );
  69. STDMETHOD( get_MinimumConfiguration )( VARIANT_BOOL * pfMinConfigOut );
  70. STDMETHOD( ShowWizard )( long lParentWindowHandleIn, VARIANT_BOOL * pfCompletedOut );
  71. }; //*** class CCreateClusterWizard