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.

96 lines
3.0 KiB

  1. ;/*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. ;
  3. ;Copyright (c) 1997 SCM Microsystems, Inc
  4. ;
  5. ;Module Name:
  6. ;
  7. ; PscrLog.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 __PSCRLOG_H__
  18. ;#define __PSCRLOG_H__
  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=Smartcard Severity=Error SymbolicName=PSCR_NO_DEVICE_FOUND
  58. Language=English
  59. No PSCR Smart Card reader found in the system.
  60. .
  61. MessageId=0x0002 Facility=Smartcard Severity=Error SymbolicName=PSCR_CANT_INITIALIZE_READER
  62. Language=English
  63. The reader inserted is not working properly.
  64. Please try to change the 'Input/Output Range' and/or 'Interrupt Request'
  65. settings in Device Manager.
  66. .
  67. MessageId=0x0003 Facility=Smartcard Severity=Error SymbolicName=PSCR_INSUFFICIENT_RESOURCES
  68. Language=English
  69. Insufficient system resources to start device.
  70. .
  71. MessageId=0x0004 Facility=Smartcard Severity=Error SymbolicName=PSCR_ERROR_INTERRUPT
  72. Language=English
  73. Can't connect to the interrupt provided by the system.
  74. Please try to change the 'Interrupt Request' setting in Device Manager.
  75. .
  76. MessageId=0x0005 Facility=Smartcard Severity=Error SymbolicName=PSCR_ERROR_IO_PORT
  77. Language=English
  78. No I/O port specified or port can not be mapped.
  79. Please try to change the 'Input/Output Range' setting in the Device Manager.
  80. .
  81. MessageId=0x0006 Facility=Smartcard Severity=Error SymbolicName=PSCR_ERROR_CLAIM_RESOURCES
  82. Language=English
  83. Resources can not be claimed or an resource conflict exists.
  84. .
  85. MessageId=0x0007 Facility=Io Severity=Error SymbolicName=PSCR_NO_MEMORY
  86. Language=English
  87. The system does not have enough memory.
  88. .
  89. MessageId=0x0007 Facility=Smartcard Severity=Warning SymbolicName=PSCR_WRONG_FIRMWARE
  90. Language=English
  91. Your reader needs firmware version 2.30 or higher to work with this driver.
  92. .
  93. ;#endif // __PSCRLOG_H__