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.

94 lines
2.3 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: rtfltdlg.h
  8. //
  9. //--------------------------------------------------------------------------
  10. // RtFltDlg.h : header file
  11. //
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CRouteFltDlg dialog
  14. class CRouteFltDlg : public CBaseDialog
  15. {
  16. // Construction
  17. public:
  18. CRouteFltDlg(BOOL bOutputDlg, IInfoBase *pInfoBase, CWnd* pParent = NULL); // standard constructor
  19. // Dialog Data
  20. //{{AFX_DATA(CRouteFltDlg)
  21. enum {
  22. IDD_INPUT = IDD_ROUTE_FILTERS_INPUT,
  23. IDD_OUTPUT = IDD_ROUTE_FILTERS_OUTPUT
  24. };
  25. CListCtrl m_FilterList;
  26. BOOL m_fActionDeny; // TRUE==deny, FALSE==permit
  27. //}}AFX_DATA
  28. SPIInfoBase m_spInfoBase;
  29. CString m_sIfName;
  30. // Overrides
  31. // ClassWizard generated virtual function overrides
  32. //{{AFX_VIRTUAL(CRouteFltDlg)
  33. protected:
  34. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  35. //}}AFX_VIRTUAL
  36. // Implementation
  37. protected:
  38. static DWORD m_dwHelpMap[];
  39. BOOL m_bOutput;
  40. // Generated message map functions
  41. //{{AFX_MSG(CRouteFltDlg)
  42. virtual BOOL OnInitDialog();
  43. afx_msg void OnAdd();
  44. afx_msg void OnDelete();
  45. afx_msg void OnEdit();
  46. afx_msg void OnOK();
  47. afx_msg void OnItemchangedFilterList(NMHDR* pNMHDR, LRESULT* pResult);
  48. afx_msg void OnListDblClk(NMHDR *pNmHdr, LRESULT *pResult);
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. };
  52. /////////////////////////////////////////////////////////////////////////////
  53. // CRouteFilter dialog
  54. class CRouteFilter : public CBaseDialog
  55. {
  56. // Construction
  57. public:
  58. CRouteFilter(CWnd* pParent = NULL); // standard constructor
  59. // Dialog Data
  60. //{{AFX_DATA(CRouteFilter)
  61. enum { IDD = IDD_ROUTE_FILTER };
  62. CString m_sIfName;
  63. CString m_sNetMask;
  64. CString m_sNetwork;
  65. //}}AFX_DATA
  66. // Overrides
  67. // ClassWizard generated virtual function overrides
  68. //{{AFX_VIRTUAL(CRouteFilter)
  69. protected:
  70. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  71. //}}AFX_VIRTUAL
  72. // Implementation
  73. protected:
  74. static DWORD m_dwHelpMap[];
  75. // Generated message map functions
  76. //{{AFX_MSG(CRouteFilter)
  77. //}}AFX_MSG
  78. DECLARE_MESSAGE_MAP()
  79. };