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.

114 lines
2.3 KiB

  1. /*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. Copyright (c) 2000-2001 Microsoft Corporation
  3. Module Name:
  4. genctrs.h
  5. (derived from genctrs.mc by the message compiler )
  6. Abstract:
  7. Event message definititions used by routines in WMIPerf.DLL
  8. Created:
  9. davj 17-May-2000
  10. Revision History:
  11. --*/
  12. //
  13. #ifndef _WMIPerfMsg_H_
  14. #define _WMIPerfMsg_H_
  15. //
  16. //
  17. // Perfutil messages
  18. //
  19. //
  20. // Values are 32 bit values layed out as follows:
  21. //
  22. // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  23. // 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  24. // +---+-+-+-----------------------+-------------------------------+
  25. // |Sev|C|R| Facility | Code |
  26. // +---+-+-+-----------------------+-------------------------------+
  27. //
  28. // where
  29. //
  30. // Sev - is the severity code
  31. //
  32. // 00 - Success
  33. // 01 - Informational
  34. // 10 - Warning
  35. // 11 - Error
  36. //
  37. // C - is the Customer code flag
  38. //
  39. // R - is a reserved bit
  40. //
  41. // Facility - is the facility code
  42. //
  43. // Code - is the facility's status code
  44. //
  45. //
  46. // Define the facility codes
  47. //
  48. //
  49. // Define the severity codes
  50. //
  51. //
  52. // MessageId: UTIL_LOG_OPEN
  53. //
  54. // MessageText:
  55. //
  56. // An extensible counter has opened the Event Log for WMIPerf.DLL
  57. //
  58. #define UTIL_LOG_OPEN ((DWORD)0x4000076CL)
  59. //
  60. //
  61. // MessageId: UTIL_CLOSING_LOG
  62. //
  63. // MessageText:
  64. //
  65. // An extensible counter has closed the Event Log for WMIPerf.DLL
  66. //
  67. #define UTIL_CLOSING_LOG ((DWORD)0x400007CFL)
  68. //
  69. //
  70. // MessageId: GENPERF_UNABLE_OPEN_DRIVER_KEY
  71. //
  72. // MessageText:
  73. //
  74. // Unable open "Performance" key of WMIPerf driver in registy. Status code is returned in data.
  75. //
  76. #define GENPERF_UNABLE_OPEN_DRIVER_KEY ((DWORD)0xC00007D0L)
  77. //
  78. //
  79. // MessageId: GENPERF_UNABLE_READ_FIRST_COUNTER
  80. //
  81. // MessageText:
  82. //
  83. // Unable to read the "First Counter" value under the WMIPerf\Performance Key. Status codes retuened in data.
  84. //
  85. #define GENPERF_UNABLE_READ_FIRST_COUNTER ((DWORD)0xC00007D1L)
  86. //
  87. //
  88. // MessageId: GENPERF_UNABLE_READ_FIRST_HELP
  89. //
  90. // MessageText:
  91. //
  92. // Unable to read the "First Help" value under the WMIPerf\Performance Key. Status codes retuened in data.
  93. //
  94. #define GENPERF_UNABLE_READ_FIRST_HELP ((DWORD)0xC00007D2L)
  95. //
  96. #endif // _WMIPerfMsg_H_