Source code of Windows XP (NT5)
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
1016 B

  1. /*++
  2. Copyright (C) 2000-2001 Microsoft Corporation
  3. Module Name:
  4. Abstract:
  5. History:
  6. --*/
  7. //
  8. // genctrnm.h
  9. //
  10. // Offset definition file for exensible counter objects and counters
  11. //
  12. // These "relative" offsets must start at 0 and be multiples of 2 (i.e.
  13. // even numbers). In the Open Procedure, they will be added to the
  14. // "First Counter" and "First Help" values fo the device they belong to,
  15. // in order to determine the absolute location of the counter and
  16. // object names and corresponding help text in the registry.
  17. //
  18. // this file is used by the extensible counter DLL code as well as the
  19. // counter name and help text definition file (.INI) file that is used
  20. // by LODCTR to load the names into the registry.
  21. //
  22. #define WMI_OBJECT 0
  23. #define CNT_USER 2
  24. #define CNT_CONNECTION 4
  25. #define CNT_TASKSINPROG 6
  26. #define CNT_TASKSWAITING 8
  27. #define CNT_DELIVERYBACK 10
  28. #define CNT_TOTALAPICALLS 12
  29. #define CNT_INTOBJECT 14
  30. #define CNT_INTSINKS 16
  31.