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.

106 lines
3.3 KiB

  1. ;/*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. ;
  3. ;Copyright (c) 1993 Microsoft Corporation
  4. ;
  5. ;Module Name:
  6. ;
  7. ; RbScLog.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 _RBSCLOG_
  18. ;#define _RBSCLOG_
  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. Smartcard=0x10:FACILITY_SCARD
  56. )
  57. MessageId=0x0001 Facility=Io Severity=Error SymbolicName=RBSC_CANT_CONNECT_TO_SERIAL_PORT
  58. Language=English
  59. Can't open COM%2. It is either not available or used by another device.
  60. .
  61. MessageId=0x0002 Facility=Io Severity=Error SymbolicName=RBSC_CANT_CREATE_DEVICE
  62. Language=English
  63. Device for Smart Card Reader cannot be created due to an internal error.
  64. .
  65. MessageId=0x0003 Facility=Io Severity=Error SymbolicName=RBSC_NO_MEMORY
  66. Language=English
  67. Not enough memory available to create device.
  68. .
  69. MessageId=0x0004 Facility=Smartcard Severity=Error SymbolicName=RBSC_BUFFER_TOO_SMALL
  70. Language=English
  71. Smart Card Data Buffer too small.
  72. The internal data buffer for sending and receiving data is too small to hold all data.
  73. .
  74. MessageId=0x0005 Facility=Smartcard Severity=Warning SymbolicName=RBSC_CANNOT_OPEN_DEVICE
  75. Language=English
  76. Can't open device %2.
  77. .
  78. MessageId=0x0006 Facility=Smartcard Severity=Warning SymbolicName=RBSC_NO_SUCH_DEVICE
  79. Language=English
  80. No Rainbow Technologies Serial Smart Card Reader SCR3531 found.
  81. .
  82. MessageId=0x0007 Facility=Smartcard Severity=Error SymbolicName=RBSC_WRONG_LIB_VESION
  83. Language=English
  84. Wrong Version of Smart Card Library used.
  85. .
  86. MessageId=0x0008 Facility=Io Severity=Error SymbolicName=RBSC_CANT_CREATE_MORE_DEVICES
  87. Language=English
  88. No more devices for Smart Card Reader can be created.
  89. .
  90. MessageId=0x0009 Facility=Io Severity=Error SymbolicName=RBSC_CANT_ATTACH_TO_SERIAL_PORT
  91. Language=English
  92. Can't attach to %2.
  93. .
  94. MessageId=0x000A Facility=Io Severity=Error SymbolicName=RBSC_CANT_SHARE_IRQ
  95. Language=English
  96. The current serial port cannot be used because it uses a shared interrupt which is already in use.
  97. Please connect the smart card reader to a different serial port.
  98. .
  99. MessageId=0x000B Facility=Io Severity=Error SymbolicName=RBSC_IRQ_BUSY
  100. Language=English
  101. Serial port IRQ in use.
  102. .
  103. ;#endif /* _RBSCLOG_ */