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.

57 lines
1.1 KiB

  1. //============================================================================
  2. // Copyright (C) Microsoft Corporation, 1997 - 1999
  3. //
  4. // File: ripstats.h
  5. //
  6. // History:
  7. // 07/22/97 Kenn M. Takara Created.
  8. //
  9. // IP Statistics
  10. //
  11. //============================================================================
  12. #ifndef _RIPSTATS_H_
  13. #define _RIPSTATS_H_
  14. #ifndef _INFO_H
  15. #include "info.h"
  16. #endif
  17. #ifndef _STATSDLG_H
  18. #include "statsdlg.h"
  19. #endif
  20. #ifndef _IPXSTATS_H
  21. #include "ipxstats.h"
  22. #endif
  23. enum
  24. {
  25. MVR_RIPPARAMS_OPER_STATE = 0,
  26. MVR_RIPPARAMS_SENT_PKTS,
  27. MVR_RIPPARAMS_RCVD_PKTS,
  28. MVR_RIPPARAMS_COUNT,
  29. };
  30. class RIPParamsStatistics : public IPXStatisticsDialog
  31. {
  32. public:
  33. RIPParamsStatistics();
  34. // Override the OnInitDialog so that we can set the caption
  35. virtual BOOL OnInitDialog();
  36. // Override the RefreshData to provide sample data
  37. virtual HRESULT RefreshData(BOOL fGrabNewData);
  38. // Override the Sort to provide the ability to do sorting
  39. // actually we don't do any sorting (this is a vertical format)
  40. virtual void Sort(UINT nColumnId);
  41. protected:
  42. };
  43. #endif _RIPSTATS_H_