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.

72 lines
2.1 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1993 **/
  4. /**********************************************************************/
  5. /*
  6. winsctrs.h
  7. Offset definitions for the WINS Server's counter objects & counters.
  8. These offsets *must* start at 0 and be multiples of 2. In the
  9. WinsOpenPerformanceData procedure, they will be added to the
  10. WINS Server's "First Counter" and "First Help" values in order to
  11. determine the absolute location of the counter & object names
  12. and corresponding help text in the registry.
  13. This file is used by the WINSCTRS.DLL DLL code as well as the
  14. WINSCTRS.INI definition file. WINSCTRS.INI is parsed by the
  15. LODCTR utility to load the object & counter names into the
  16. registry.
  17. FILE HISTORY:
  18. PradeepB 20-July-1993 Created.
  19. */
  20. #ifndef _WINSCTRS_H_
  21. #define _WINSCTRS_H_
  22. //
  23. // The range given by Hon-Wah Chan (2/22/94) is the following
  24. //
  25. #define WINSCTRS_FIRST_COUNTER 920
  26. #define WINSCTRS_FIRST_HELP 921
  27. #define WINSCTRS_LAST_COUNTER 950
  28. #define WINSCTRS_LAST_HELP 951
  29. //
  30. // The WINS Server counter object.
  31. //
  32. #define WINSCTRS_COUNTER_OBJECT 0
  33. //
  34. // The individual counters.
  35. //
  36. #define WINSCTRS_UNIQUE_REGISTRATIONS 2
  37. #define WINSCTRS_GROUP_REGISTRATIONS 4
  38. #define WINSCTRS_TOTAL_REGISTRATIONS 6
  39. #define WINSCTRS_UNIQUE_REFRESHES 8
  40. #define WINSCTRS_GROUP_REFRESHES 10
  41. #define WINSCTRS_TOTAL_REFRESHES 12
  42. #define WINSCTRS_RELEASES 14
  43. #define WINSCTRS_QUERIES 16
  44. #define WINSCTRS_UNIQUE_CONFLICTS 18
  45. #define WINSCTRS_GROUP_CONFLICTS 20
  46. #define WINSCTRS_TOTAL_CONFLICTS 22
  47. #define WINSCTRS_SUCC_RELEASES 24
  48. #define WINSCTRS_FAIL_RELEASES 26
  49. #define WINSCTRS_SUCC_QUERIES 28
  50. #define WINSCTRS_FAIL_QUERIES 30
  51. #endif // _WINSCTRS_H_