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.

71 lines
1.9 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. ; kbdhidm.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 _KBDHIDM_
  18. ;#define _KBDHIDM_
  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. KbdHID=0x5:FACILITY_KBDHID_ERROR_CODE
  56. )
  57. MessageId=0x0001 Facility=KbdHID Severity=Warning SymbolicName=KBDHID_CHATTERY_KEYBOARD
  58. Language=English
  59. The driver has detected that this HID keyboard has bad firmware. It is issuing redundant report packets.
  60. .
  61. MessageId=0x0002 Facility=KbdHID Severity=Error SymbolicName=KBDHID_ATTACH_DEVICE_FAILED
  62. Language=English
  63. Could not attach to the PnP device stack.
  64. .
  65. ;#endif /* _KBDHIDM_ */
  66.