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.

79 lines
2.2 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1999-2002 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // AddNodesWizard.h
  7. //
  8. // Description:
  9. // Declaration of the CAddNodesWizard class.
  10. //
  11. // Maintained By:
  12. // John Franco (jfranco) 17-APR-2002
  13. //
  14. //////////////////////////////////////////////////////////////////////////////
  15. #pragma once
  16. //////////////////////////////////////////////////////////////////////////////
  17. //++
  18. //
  19. // class CAddNodesWizard
  20. //
  21. // Description:
  22. // The Cluster Add Nodes Wizard object.
  23. //
  24. //--
  25. //////////////////////////////////////////////////////////////////////////////
  26. class CAddNodesWizard
  27. : public TDispatchHandler< IClusCfgAddNodesWizard >
  28. {
  29. private:
  30. CClusCfgWizard * m_pccw;
  31. LONG m_cRef;
  32. // Private constructors and destructors
  33. CAddNodesWizard( void );
  34. virtual ~CAddNodesWizard( void );
  35. virtual HRESULT HrInit( void );
  36. // Private copy constructor to prevent copying.
  37. CAddNodesWizard( const CAddNodesWizard & );
  38. // Private assignment operator to prevent copying.
  39. CAddNodesWizard & operator=( const CAddNodesWizard & );
  40. public:
  41. //
  42. // Public, non interface methods.
  43. //
  44. static HRESULT S_HrCreateInstance( IUnknown ** ppunkOut );
  45. //
  46. // IUnknown
  47. //
  48. STDMETHOD( QueryInterface )( REFIID riidIn, PVOID * ppvOut );
  49. STDMETHOD_( ULONG, AddRef )( void );
  50. STDMETHOD_( ULONG, Release )( void );
  51. //
  52. // IClusCfgAddNodesWizard
  53. //
  54. STDMETHOD( put_ClusterName )( BSTR bstrClusterNameIn );
  55. STDMETHOD( get_ClusterName )( BSTR * pbstrClusterNameOut );
  56. STDMETHOD( put_ServiceAccountPassword )( BSTR bstrPasswordIn );
  57. STDMETHOD( put_MinimumConfiguration )( VARIANT_BOOL fMinConfigIn );
  58. STDMETHOD( get_MinimumConfiguration )( VARIANT_BOOL * pfMinConfigOut );
  59. STDMETHOD( AddNodeToList )( BSTR bstrNodeNameIn );
  60. STDMETHOD( RemoveNodeFromList )( BSTR bstrNodeNameIn );
  61. STDMETHOD( ClearNodeList )( void );
  62. STDMETHOD( ShowWizard )( long lParentWindowHandleIn, VARIANT_BOOL * pfCompletedOut );
  63. }; //*** class CAddNodesWizard