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.

171 lines
5.3 KiB

  1. ;/*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. ;
  3. ;Copyright (c) 1992, 1993 Microsoft Corporation
  4. ;
  5. ;Module Name:
  6. ;
  7. ; sermlog.mc
  8. ;
  9. ;Abstract:
  10. ;
  11. ; Constant definitions for the I/O error code log values.
  12. ;
  13. ;Revision History:
  14. ;
  15. ;--*/
  16. ;
  17. ;#ifndef _SERMLOG_
  18. ;#define _SERMLOG_
  19. ;
  20. ;//
  21. ;// Status values are 32 bit values layed out as follows:
  22. ;//
  23. ;// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  24. ;// 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
  25. ;// +---+-+-------------------------+-------------------------------+
  26. ;// |Sev|C| Facility | Code |
  27. ;// +---+-+-------------------------+-------------------------------+
  28. ;//
  29. ;// where
  30. ;//
  31. ;// Sev - is the severity code
  32. ;//
  33. ;// 00 - Success
  34. ;// 01 - Informational
  35. ;// 10 - Warning
  36. ;// 11 - Error
  37. ;//
  38. ;// C - is the Customer code flag
  39. ;//
  40. ;// Facility - is the facility code
  41. ;//
  42. ;// Code - is the facility's status code
  43. ;//
  44. ;
  45. MessageIdTypedef=NTSTATUS
  46. SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS
  47. Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
  48. Warning=0x2:STATUS_SEVERITY_WARNING
  49. Error=0x3:STATUS_SEVERITY_ERROR
  50. )
  51. FacilityNames=(System=0x0
  52. RpcRuntime=0x2:FACILITY_RPC_RUNTIME
  53. RpcStubs=0x3:FACILITY_RPC_STUBS
  54. Io=0x4:FACILITY_IO_ERROR_CODE
  55. Sermouse=0x5:FACILITY_SERMOUSE_ERROR_CODE
  56. )
  57. MessageId=0x0001 Facility=Sermouse Severity=Error SymbolicName=SERMOUSE_INSUFFICIENT_RESOURCES
  58. Language=English
  59. Not enough memory was available to allocate internal storage needed for the device %1.
  60. .
  61. MessageId=0x0002 Facility=Sermouse Severity=Error SymbolicName=SERMOUSE_NO_BUFFER_ALLOCATED
  62. Language=English
  63. Not enough memory was available to allocate the ring buffer that holds incoming data for %1.
  64. .
  65. MessageId=0x0003 Facility=Sermouse Severity=Error SymbolicName=SERMOUSE_REGISTERS_NOT_MAPPED
  66. Language=English
  67. The hardware locations for %1 could not be translated to something the memory management system understands.
  68. .
  69. MessageId=0x0004 Facility=Sermouse Severity=Error SymbolicName=SERMOUSE_RESOURCE_CONFLICT
  70. Language=English
  71. The hardware resources for %1 are already in use by another device.
  72. .
  73. MessageId=0x0005 Facility=Sermouse Severity=Informational SymbolicName=SERMOUSE_NOT_ENOUGH_CONFIG_INFO
  74. Language=English
  75. Some firmware configuration information was incomplete, so defaults were used.
  76. .
  77. MessageId=0x0006 Facility=Sermouse Severity=Informational SymbolicName=SERMOUSE_USER_OVERRIDE
  78. Language=English
  79. User configuration data is overriding firmware configuration data.
  80. .
  81. MessageId=0x0007 Facility=Sermouse Severity=Warning SymbolicName=SERMOUSE_NO_DEVICEMAP_CREATED
  82. Language=English
  83. Unable to create the device map entry for %1.
  84. .
  85. MessageId=0x0008 Facility=Sermouse Severity=Warning SymbolicName=SERMOUSE_NO_DEVICEMAP_DELETED
  86. Language=English
  87. Unable to delete the device map entry for %1.
  88. .
  89. MessageId=0x0009 Facility=Sermouse Severity=Error SymbolicName=SERMOUSE_NO_INTERRUPT_CONNECTED
  90. Language=English
  91. Could not connect the interrupt for %1.
  92. .
  93. MessageId=0x000A Facility=Sermouse Severity=Error SymbolicName=SERMOUSE_INVALID_ISR_STATE
  94. Language=English
  95. The ISR has detected an internal state error in the driver for %1.
  96. .
  97. MessageId=0x000C Facility=Sermouse Severity=Informational SymbolicName=SERMOUSE_MOU_BUFFER_OVERFLOW
  98. Language=English
  99. The ring buffer that stores incoming mouse data has overflowed (buffer size is configurable via the registry).
  100. .
  101. MessageId=0x000D Facility=Sermouse Severity=Error SymbolicName=SERMOUSE_INVALID_STARTIO_REQUEST
  102. Language=English
  103. The Start I/O procedure has detected an internal error in the driver for %1.
  104. .
  105. MessageId=0x000E Facility=Sermouse Severity=Error SymbolicName=SERMOUSE_INVALID_INITIATE_STATE
  106. Language=English
  107. The Initiate I/O procedure has detected an internal state error in the driver for %1.
  108. .
  109. MessageId=0x0010 Facility=Sermouse Severity=Error SymbolicName=SERMOUSE_MOU_RESET_COMMAND_FAILED
  110. Language=English
  111. The mouse reset failed.
  112. .
  113. MessageId=0x0012 Facility=Sermouse Severity=Warning SymbolicName=SERMOUSE_MOU_RESET_RESPONSE_FAILED
  114. Language=English
  115. The device sent an incorrect response(s) following a mouse reset.
  116. .
  117. MessageId=0x0016 Facility=Sermouse Severity=Error SymbolicName=SERMOUSE_SET_SAMPLE_RATE_FAILED
  118. Language=English
  119. Could not set the mouse sample rate.
  120. .
  121. MessageId=0x0017 Facility=Sermouse Severity=Error SymbolicName=SERMOUSE_SET_RESOLUTION_FAILED
  122. Language=English
  123. Could not set the mouse resolution.
  124. .
  125. MessageId=0x0018 Facility=Sermouse Severity=Error SymbolicName=SERMOUSE_MOU_ENABLE_XMIT
  126. Language=English
  127. Could not enable transmissions from the mouse.
  128. .
  129. MessageId=0x0019 Facility=Sermouse Severity=Warning SymbolicName=SERMOUSE_NO_SYMLINK_CREATED
  130. Language=English
  131. Unable to create the symbolic link for %1.
  132. .
  133. MessageId=0x001A Facility=Sermouse Severity=Warning SymbolicName=SERMOUSE_NO_SUCH_DEVICE
  134. Language=English
  135. The serial mouse does not exist or was not detected.
  136. .
  137. MessageId=0x001b Facility=Sermouse Severity=Informational SymbolicName=SERMOUSE_NOT_DETECTABLE
  138. Language=English
  139. Cannot detect surprise removal of the mouse on %1.
  140. .
  141. MessageId=0x001c Facility=Sermouse Severity=Error SymbolicName=SERMOUSE_ATTACH_DEVICE_FAILED
  142. Language=English
  143. Could not attach to the PnP device stack.
  144. .
  145. ;#endif /* _SERMLOG_ */