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.

84 lines
2.5 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. ; stcusblg.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 __STCUSBLG_H__
  18. ;#define __STCUSBLG_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=STCUSB_NO_DEVICE_FOUND
  58. Language=English
  59. No USB smart card reader found in the system.
  60. .
  61. MessageId=0x0002 Facility=Smartcard Severity=Error SymbolicName=STCUSB_CANT_INITIALIZE_READER
  62. Language=English
  63. The attached reader is not working properly.
  64. .
  65. MessageId=0x0003 Facility=Smartcard Severity=Error SymbolicName=STCUSB_INSUFFICIENT_RESOURCES
  66. Language=English
  67. Insufficient system resources to start device.
  68. .
  69. MessageId=0x0006 Facility=Smartcard Severity=Error SymbolicName=STCUSB_ERROR_CLAIM_RESOURCES
  70. Language=English
  71. Resources can not be claimed or an resource conflict exists.
  72. .
  73. MessageId=0x0007 Facility=Io Severity=Error SymbolicName=STCUSB_NO_MEMORY
  74. Language=English
  75. The system does not have enough memory.
  76. .
  77. MessageId=0x0008 Facility=Io Severity=Error SymbolicName=STCUSB_TOO_MANY_ERRORS
  78. Language=English
  79. The error threshold while detecting a smart card was reached.
  80. .
  81. ;#endif // __STCUSBLG_H__