Source code of Windows XP (NT5)
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.

63 lines
1.9 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 2000 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // IPSubnetPage.h
  7. //
  8. // Maintained By:
  9. // Geoffrey Pease (GPease) 12-MAY-2000
  10. //
  11. //////////////////////////////////////////////////////////////////////////////
  12. #pragma once
  13. class CIPSubnetPage
  14. {
  15. friend class CClusCfgWizard;
  16. private: // data
  17. HWND m_hwnd; // Our HWND
  18. IServiceProvider * m_psp; // Service Manager
  19. ULONG * m_pulIPSubnet; // Subnet mask
  20. BSTR * m_pbstrNetworkName; // Network name for address
  21. ULONG * m_pulIPAddress; // IP Address
  22. BSTR * m_pbstrClusterName; // Cluster Name
  23. private: // methods
  24. CIPSubnetPage( IServiceProvider * pspIn,
  25. ECreateAddMode ecamCreateAddModeIn,
  26. ULONG * pulIPSubnetInout,
  27. BSTR * pbstrNetworkNameInout,
  28. ULONG * pulIPAddressIn,
  29. BSTR * pbstrClusterNameIn
  30. );
  31. virtual ~CIPSubnetPage();
  32. LRESULT
  33. OnInitDialog( void );
  34. LRESULT
  35. OnNotify( WPARAM idCtrlIn, LPNMHDR pnmhdrIn );
  36. LRESULT
  37. OnNotifyQueryCancel( void );
  38. LRESULT
  39. OnNotifySetActive( void );
  40. LRESULT
  41. OnNotifyKillActive( void );
  42. LRESULT
  43. OnNotifyWizNext( void );
  44. LRESULT
  45. OnCommand( UINT idNotificationIn, UINT idControlIn, HWND hwndSenderIn );
  46. HRESULT
  47. HrUpdateWizardButtons( void );
  48. HRESULT
  49. HrAddNetworksToComboBox( HWND hwndCBIn );
  50. HRESULT
  51. HrMatchNetwork( IClusCfgNetworkInfo * pccniIn, BSTR bstrNetworkNameIn );
  52. public: // methods
  53. static INT_PTR CALLBACK
  54. S_DlgProc( HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam );
  55. }; //*** class CIPSubnetPage