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.

39 lines
1.5 KiB

  1. //
  2. // testcounters.h
  3. //
  4. // Offset definition file for exensible counter objects and counters
  5. //
  6. // These "relative" offsets must start at 0 and be multiples of 2 (i.e.
  7. // even numbers). In the Open Procedure, they will be added to the
  8. // "First Counter" and "First Help" values fo the device they belong to,
  9. // in order to determine the absolute location of the counter and
  10. // object names and corresponding help text in the registry.
  11. //
  12. // this file is used by the extensible counter DLL code as well as the
  13. // counter name and help text definition file (.INI) file that is used
  14. // by LODCTR to load the names into the registry.
  15. //
  16. #define PMCOUNTERS_PERF_OBJ 0
  17. #define PM_REQUESTS_SEC 2
  18. #define PM_REQUESTS_TOTAL 4
  19. #define PM_AUTHSUCCESS_SEC 6
  20. #define PM_AUTHSUCCESS_TOTAL 8
  21. #define PM_AUTHFAILURE_SEC 10
  22. #define PM_AUTHFAILURE_TOTAL 12
  23. #define PM_FORCEDSIGNIN_SEC 14
  24. #define PM_FORCEDSIGNIN_TOTAL 16
  25. #define PM_PROFILEUPDATES_SEC 18
  26. #define PM_PROFILEUPDATES_TOTAL 20
  27. #define PM_INVALIDREQUESTS_SEC 22
  28. #define PM_INVALIDREQUESTS_TOTAL 24
  29. #define PM_PROFILECOMMITS_SEC 26
  30. #define PM_PROFILECOMMITS_TOTAL 28
  31. #define PM_VALIDPROFILEREQ_SEC 30
  32. #define PM_VALIDPROFILEREQ_TOTAL 32
  33. #define PM_NEWCOOKIES_SEC 34
  34. #define PM_NEWCOOKIES_TOTAL 36
  35. #define PM_VALIDREQUESTS_SEC 38
  36. #define PM_VALIDREQUESTS_TOTAL 40