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.

93 lines
1.9 KiB

  1. //============================================================================
  2. // Copyright (C) Microsoft Corporation, 1997 - 1999
  3. //
  4. // File: IGMPstats.h
  5. //
  6. // History:
  7. // 07/22/97 Kenn M. Takara Created.
  8. //
  9. // IP Statistics
  10. //
  11. //============================================================================
  12. #ifndef _IGMPSTATS_H_
  13. #define _IGMPSTATS_H_
  14. #ifndef _INFO_H
  15. #include "info.h"
  16. #endif
  17. #ifndef _STATSDLG_H
  18. #include "statsdlg.h"
  19. #endif
  20. #ifndef _IPSTATS_H
  21. #include "ipstats.h"
  22. #endif
  23. enum
  24. {
  25. MVR_IGMPGROUP_INTERFACE = 0,
  26. MVR_IGMPGROUP_GROUPADDR,
  27. MVR_IGMPGROUP_LASTREPORTER,
  28. MVR_IGMPGROUP_EXPIRYTIME,
  29. MVR_IGMPGROUP_COUNT,
  30. };
  31. enum
  32. {
  33. MVR_IGMPINTERFACE_GROUPADDR=0,
  34. MVR_IGMPINTERFACE_LASTREPORTER,
  35. MVR_IGMPINTERFACE_EXPIRYTIME,
  36. MVR_IGMPINTERFACE_COUNT,
  37. };
  38. class IGMPGroupStatistics : public IPStatisticsDialog
  39. {
  40. public:
  41. IGMPGroupStatistics();
  42. // Override the OnInitDialog so that we can set the caption
  43. virtual BOOL OnInitDialog();
  44. // Override the RefreshData to provide sample data
  45. virtual HRESULT RefreshData(BOOL fGrabNewData);
  46. // Override this so that we can free up out item data
  47. virtual void PreDeleteAllItems();
  48. // Override these to provide sorting
  49. virtual PFNLVCOMPARE GetSortFunction();
  50. virtual PFNLVCOMPARE GetInverseSortFunction();
  51. protected:
  52. };
  53. class IGMPInterfaceStatistics : public IPStatisticsDialog
  54. {
  55. public:
  56. IGMPInterfaceStatistics();
  57. // Override the OnInitDialog so that we can set the caption
  58. virtual BOOL OnInitDialog();
  59. // Override the RefreshData to provide sample data
  60. virtual HRESULT RefreshData(BOOL fGrabNewData);
  61. // Override this so that we can free up out item data
  62. virtual void PreDeleteAllItems();
  63. // Override these to provide sorting
  64. virtual PFNLVCOMPARE GetSortFunction();
  65. virtual PFNLVCOMPARE GetInverseSortFunction();
  66. protected:
  67. };
  68. #endif _IGMPSTATS_H_