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.

136 lines
4.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. ; kbdlog.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 _KBDLOG_
  18. ;#define _KBDLOG_
  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. Kbdclass=0x5:FACILITY_KBDCLASS_ERROR_CODE
  56. )
  57. MessageId=0x0001 Facility=Kbdclass Severity=Error SymbolicName=KBDCLASS_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=Kbdclass Severity=Error SymbolicName=KBDCLASS_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=Kbdclass Severity=Informational SymbolicName=KBDCLASS_NOT_ENOUGH_CONFIG_INFO
  66. Language=English
  67. Some firmware configuration information was incomplete, so defaults were used.
  68. .
  69. MessageId=0x0004 Facility=Kbdclass Severity=Informational SymbolicName=KBDCLASS_USER_OVERRIDE
  70. Language=English
  71. User configuration data is overriding firmware configuration data.
  72. .
  73. MessageId=0x0005 Facility=Kbdclass Severity=Warning SymbolicName=KBDCLASS_NO_DEVICEMAP_CREATED
  74. Language=English
  75. Unable to create the device map entry for %1.
  76. .
  77. MessageId=0x0006 Facility=Kbdclass Severity=Warning SymbolicName=KBDCLASS_NO_DEVICEMAP_DELETED
  78. Language=English
  79. Unable to delete the device map entry for %1.
  80. .
  81. MessageId=0x0007 Facility=Kbdclass Severity=Error SymbolicName=KBDCLASS_NO_PORT_DEVICE_OBJECT
  82. Language=English
  83. Could not locate the device object for one or more keyboard port devices.
  84. .
  85. MessageId=0x0008 Facility=Kbdclass Severity=Error SymbolicName=KBDCLASS_NO_PORT_CONNECT
  86. Language=English
  87. Could not connect to port device %1.
  88. .
  89. MessageId=0x0009 Facility=Kbdclass Severity=Error SymbolicName=KBDCLASS_PORT_INTERRUPTS_NOT_ENABLED
  90. Language=English
  91. Could not enable interrupts on connected port device %1.
  92. .
  93. MessageId=0x000A Facility=Kbdclass Severity=Error SymbolicName=KBDCLASS_PORT_INTERRUPTS_NOT_DISABLED
  94. Language=English
  95. Could not disable interrupts on connected port device %1.
  96. .
  97. MessageId=0x000B Facility=Kbdclass Severity=Informational SymbolicName=KBDCLASS_KBD_BUFFER_OVERFLOW
  98. Language=English
  99. The ring buffer that stores incoming keyboard data has overflowed (buffer size is configurable via the registry).
  100. .
  101. MessageId=0x000C Facility=Kbdclass Severity=Error SymbolicName=KBDCLASS_INTERNAL_ERROR
  102. Language=English
  103. The driver for device %1 encountered an internal driver error.
  104. .
  105. MessageId=0x000D Facility=Kbdclass Severity=Error SymbolicName=KBDCLASS_COULD_NOT_CREATE_DEVICE
  106. Language=English
  107. The driver could not create the required device object.
  108. .
  109. MessageId=0x000E Facility=Kbdclass Severity=Warning SymbolicName=KBDCLASS_NO_RESOURCES_FOR_WAITWAKE
  110. Language=English
  111. The driver could not obtain resources required to create a propper WaitWake IRP.
  112. .
  113. MessageId=0x000F Facility=Kbdclass Severity=Error SymbolicName=KBDCLASS_ATTACH_DEVICE_FAILED
  114. Language=English
  115. Could not attach to the PnP device stack.
  116. .
  117. ;#endif /* _KBDLOG_ */