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.

59 lines
1.9 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 2001 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // SelNodesPageCommon.h
  7. //
  8. // Maintained By:
  9. // David Potter (DavidP) 05-JUL-2001
  10. //
  11. //////////////////////////////////////////////////////////////////////////////
  12. #pragma once
  13. //////////////////////////////////////////////////////////////////////////////
  14. // Include Files
  15. //////////////////////////////////////////////////////////////////////////////
  16. //////////////////////////////////////////////////////////////////////////////
  17. //++
  18. //
  19. // class CSelNodesPage
  20. //
  21. // Description:
  22. // Class to implement base functionality for selecting nodes to be
  23. // added to the cluster or for creating the cluster. This class
  24. // assumes the control ID for the browse button and the computer
  25. // name edit control.
  26. //
  27. //--
  28. //////////////////////////////////////////////////////////////////////////////
  29. class CSelNodesPageCommon
  30. {
  31. private: // data
  32. HWND m_hwnd; // Our HWND.
  33. UINT m_cfDsObjectPicker; // Object picker clipboard format.
  34. HRESULT HrInitNodeSelections( CClusCfgWizard* pccwIn );
  35. protected: // methods
  36. CSelNodesPageCommon( void );
  37. virtual ~CSelNodesPageCommon( void );
  38. LRESULT OnInitDialog( HWND hDlgIn, CClusCfgWizard* pccwIn );
  39. HRESULT HrBrowse( bool fMultipleNodesIn );
  40. HRESULT HrInitObjectPicker( IDsObjectPicker * piopIn, bool fMultipleNodesIn );
  41. HRESULT HrGetSelections( IDataObject * pidoIn, bool fMultipleNodesIn );
  42. virtual void OnFilteredNodesWithBadDomains( PCWSTR pwcszNodeListIn );
  43. virtual void OnProcessedNodeWithBadDomain( PCWSTR pwcszNodeNameIn );
  44. virtual void OnProcessedValidNode( PCWSTR pwcszNodeNameIn );
  45. virtual HRESULT HrSetDefaultNode( PCWSTR pwcszNodeNameIn ) = 0;
  46. public: // methods
  47. }; //*** class CSelNodesPageCommon