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.

70 lines
2.1 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation, 1997 - 1998 **/
  4. /**********************************************************************/
  5. /*
  6. AddExcl.h
  7. dialog to add an exclusion range
  8. FILE HISTORY:
  9. */
  10. #if !defined(AFX_ADDEXCL_H__7B0D5D15_B501_11D0_AB8E_00C04FC3357A__INCLUDED_)
  11. #define AFX_ADDEXCL_H__7B0D5D15_B501_11D0_AB8E_00C04FC3357A__INCLUDED_
  12. #if _MSC_VER >= 1000
  13. #pragma once
  14. #endif // _MSC_VER >= 1000
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CAddExclusion dialog
  17. class CAddExclusion : public CBaseDialog
  18. {
  19. // Construction
  20. public:
  21. CAddExclusion(ITFSNode * pScopeNode,
  22. BOOL bMulticast = FALSE,
  23. CWnd* pParent = NULL); // standard constructor
  24. // Dialog Data
  25. //{{AFX_DATA(CAddExclusion)
  26. enum { IDD = IDD_EXCLUSION_NEW };
  27. // NOTE: the ClassWizard will add data members here
  28. //}}AFX_DATA
  29. CWndIpAddress m_ipaStart; // Start Address
  30. CWndIpAddress m_ipaEnd; // End Address
  31. // Context Help Support
  32. virtual DWORD * GetHelpMap() { return DhcpGetHelpMap(CAddExclusion::IDD); }
  33. // Overrides
  34. // ClassWizard generated virtual function overrides
  35. //{{AFX_VIRTUAL(CAddExclusion)
  36. protected:
  37. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  38. //}}AFX_VIRTUAL
  39. DWORD IsValidExclusion(CDhcpIpRange & dhcpExclusionRange);
  40. DWORD AddExclusion(CDhcpIpRange & dhcpExclusionRange);
  41. // Implementation
  42. protected:
  43. // Generated message map functions
  44. //{{AFX_MSG(CAddExclusion)
  45. virtual BOOL OnInitDialog();
  46. virtual void OnOK();
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. SPITFSNode m_spScopeNode;
  50. BOOL m_bMulticast;
  51. };
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  54. #endif // !defined(AFX_ADDEXCL_H__7B0D5D15_B501_11D0_AB8E_00C04FC3357A__INCLUDED_)