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.

120 lines
3.1 KiB

  1. ;/*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. ;
  3. ;Copyright (c) 1999-2000 Microsoft Corporation
  4. ;
  5. ;Module Name:
  6. ;
  7. ; errlog.mc
  8. ;
  9. ;Abstract:
  10. ;
  11. ; Constant definitions for the I/O error code log values.
  12. ; Stolen from Win 2000 DDK's serial.sys
  13. ;
  14. ;Author:
  15. ;
  16. ; Jeff Midkiff (jeffmi) 10-19-99
  17. ;
  18. ;Revision History:
  19. ;
  20. ;--*/
  21. ;
  22. ;#ifndef _WCEUSBSLOG_
  23. ;#define _WCEUSBSLOG_
  24. ;
  25. ;//
  26. ;// Status values are 32 bit values layed out as follows:
  27. ;//
  28. ;// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  29. ;// 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
  30. ;// +---+-+-------------------------+-------------------------------+
  31. ;// |Sev|C| Facility | Code |
  32. ;// +---+-+-------------------------+-------------------------------+
  33. ;//
  34. ;// where
  35. ;//
  36. ;// Sev - is the severity code
  37. ;//
  38. ;// 00 - Success
  39. ;// 01 - Informational
  40. ;// 10 - Warning
  41. ;// 11 - Error
  42. ;//
  43. ;// C - is the Customer code flag
  44. ;//
  45. ;// Facility - is the facility code
  46. ;//
  47. ;// Code - is the facility's status code
  48. ;//
  49. ;
  50. MessageIdTypedef=NTSTATUS
  51. SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS
  52. Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
  53. Warning=0x2:STATUS_SEVERITY_WARNING
  54. Error=0x3:STATUS_SEVERITY_ERROR
  55. )
  56. FacilityNames=(System=0x0
  57. RpcRuntime=0x2:FACILITY_RPC_RUNTIME
  58. RpcStubs=0x3:FACILITY_RPC_STUBS
  59. Io=0x4:FACILITY_IO_ERROR_CODE
  60. Serial=0x6:FACILITY_SERIAL_ERROR_CODE
  61. )
  62. ;//
  63. ;// Severity=Warning
  64. ;//
  65. ;
  66. MessageId=0x0001 Facility=Serial Severity=Warning SymbolicName=SERIAL_USB_READ_BUFF_OVERRUN
  67. Language=English
  68. The internal USB Read Buffer was overrun.
  69. .
  70. ;//
  71. ;// Severity=Error
  72. ;//
  73. ;
  74. MessageId=0x0002 Facility=Serial Severity=Error SymbolicName=SERIAL_INIT_FAILED
  75. Language=English
  76. Unable to initialize the Driver.
  77. .
  78. MessageId=0x0004 Facility=Serial Severity=Error SymbolicName=SERIAL_NO_SYMLINK_CREATED
  79. Language=English
  80. Unable to create the symbolic link %2 for device %3.
  81. .
  82. MessageId=0x0008 Facility=Serial Severity=Error SymbolicName=SERIAL_INSUFFICIENT_RESOURCES
  83. Language=English
  84. Not enough resources were available for the driver.
  85. .
  86. MessageId=0x0013 Facility=Serial Severity=Error SymbolicName=SERIAL_UNABLE_TO_ACCESS_CONFIG
  87. Language=English
  88. Specific user configuration data is unretrievable.
  89. .
  90. MessageId=0x0019 Facility=Serial Severity=Error SymbolicName=SERIAL_INVALID_USER_CONFIG
  91. Language=English
  92. User configuration for parameter %2 must have %3.
  93. .
  94. MessageId=0x0023 Facility=Serial Severity=Error SymbolicName=SERIAL_GARBLED_PARAMETER
  95. Language=English
  96. Parameter %2 data is unretrievable from the registry.
  97. .
  98. MessageId=0x0029 Facility=Serial Severity=Error SymbolicName=SERIAL_REGISTRY_WRITE_FAILED
  99. Language=English
  100. Error writing to the registry.
  101. .
  102. MessageId=0x002D Facility=Serial Severity=Error SymbolicName=SERIAL_HARDWARE_FAILURE
  103. Language=English
  104. The driver detected a hardware failure on device %2 and will disable this device.
  105. .
  106. ;#endif /* _WCEUSBSLOG_ */