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.

114 lines
3.2 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. ; STCLog.mc
  8. ;
  9. ;Abstract:
  10. ;
  11. ; Constant definitions for the I/O error code log values.
  12. ;
  13. ;Revision History:
  14. ;
  15. ;--*/
  16. ;
  17. ;;/*++ BUILD Version: 0001 // Increment this if a change has global effects
  18. ;
  19. ;Copyright (c) 1993 Microsoft Corporation
  20. ;
  21. ;Module Name:
  22. ;
  23. ; STCLog.mc
  24. ;
  25. ;Abstract:
  26. ;
  27. ; Constant definitions for the I/O error code log values.
  28. ;
  29. ;Revision History:
  30. ;
  31. ;--*/
  32. ;
  33. ;#if !defined( __STCLOG_H__ )
  34. ;#define __STCLOG_H__
  35. ;
  36. ;//
  37. ;// Status values are 32 bit values layed out as follows:
  38. ;//
  39. ;// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  40. ;// 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
  41. ;// +---+-+-------------------------+-------------------------------+
  42. ;// |Sev|C| Facility | Code |
  43. ;// +---+-+-------------------------+-------------------------------+
  44. ;//
  45. ;// where
  46. ;//
  47. ;// Sev - is the severity code
  48. ;//
  49. ;// 00 - Success
  50. ;// 01 - Informational
  51. ;// 10 - Warning
  52. ;// 11 - Error
  53. ;//
  54. ;// C - is the Customer code flag
  55. ;//
  56. ;// Facility - is the facility code
  57. ;//
  58. ;// Code - is the facility's status code
  59. ;//
  60. ;
  61. MessageIdTypedef=NTSTATUS
  62. SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS
  63. Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
  64. Warning=0x2:STATUS_SEVERITY_WARNING
  65. Error=0x3:STATUS_SEVERITY_ERROR
  66. )
  67. FacilityNames=(System=0x0
  68. RpcRuntime=0x2:FACILITY_RPC_RUNTIME
  69. RpcStubs=0x3:FACILITY_RPC_STUBS
  70. Io=0x4:FACILITY_IO_ERROR_CODE
  71. Smartcard=0x10:FACILITY_SCARD
  72. )
  73. MessageId=0x0001 Facility=Io Severity=Error SymbolicName=STC_CANT_CREATE_DEVICE
  74. Language=English
  75. A new device cannot be created due to a system call failure.
  76. .
  77. MessageId=0x0002 Facility=Io Severity=Error SymbolicName=STC_NO_MEMORY
  78. Language=English
  79. The system does not have enough memory.
  80. .
  81. MessageId=0x0003 Facility=Smartcard Severity=Error SymbolicName=STC_BUFFER_TOO_SMALL
  82. Language=English
  83. An internal i/o buffer is too small.
  84. .
  85. MessageId=0x0004 Facility=Io Severity=Error SymbolicName=STC_CANT_CONNECT_TO_ASSIGNED_PORT
  86. Language=English
  87. Internal error: Cannot connect to assigned serial port.
  88. .
  89. MessageId=0x0005 Facility=Io Severity=Error SymbolicName=STC_CANT_CREATE_MORE_DEVICES
  90. Language=English
  91. The maximum number of devices has already been created.
  92. A new device cannot be created.
  93. .
  94. MessageId=0x0006 Facility=Io Severity=Error SymbolicName=STC_WRONG_LIB_VERSION
  95. Language=English
  96. The version of the dependency driver smclib.sys is not compatbile to this driver.
  97. .
  98. MessageId=0x0007 Facility=Io Severity=Error SymbolicName=STC_CONNECT_FAILS
  99. Language=English
  100. The device cannot connect to the serial port.
  101. Make sure the port is not used by another device.
  102. .
  103. MessageId=0x0008 Facility=Io Severity=Error SymbolicName=STC_ERROR_INIT_INTERFACE
  104. Language=English
  105. The serial port could not be initialized.
  106. .
  107. MessageId=0x0009 Facility=Io Severity=Error SymbolicName=STC_NO_READER_FOUND
  108. Language=English
  109. The smart card reader could not be initialized.
  110. .
  111. ;#endif /* !__STCLOG_H__ */