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.

45 lines
1.1 KiB

  1. //
  2. // sfmctrnm.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 SFMOBJ 0
  17. #define MAXPAGD 2
  18. #define CURPAGD 4
  19. #define MAXNONPAGD 6
  20. #define CURNONPAGD 8
  21. #define CURSESSIONS 10
  22. #define MAXSESSIONS 12
  23. #define CURFILESOPEN 14
  24. #define MAXFILESOPEN 16
  25. #define NUMFAILEDLOGINS 18
  26. #define DATAREAD 20
  27. #define DATAWRITTEN 22
  28. #define DATAIN 24
  29. #define DATAOUT 26
  30. #define CURQUEUELEN 28
  31. #define MAXQUEUELEN 30
  32. #define CURTHREADS 32
  33. #define MAXTHREADS 34
  34.