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.

79 lines
1.9 KiB

  1. ;/*++
  2. ;
  3. ;Copyright (c) 1998 Specialix International Ltd.
  4. ;
  5. ;Abstract:
  6. ;
  7. ; Constant definitions for the I/O error code log values.
  8. ;
  9. ;--*/
  10. ;
  11. ;#ifndef IO8_LOG_H
  12. ;#define IO8_LOG_H
  13. ;
  14. ;//
  15. ;// Status values are 32 bit values layed out as follows:
  16. ;//
  17. ;// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  18. ;// 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
  19. ;// +---+-+-------------------------+-------------------------------+
  20. ;// |Sev|C| Facility | Code |
  21. ;// +---+-+-------------------------+-------------------------------+
  22. ;//
  23. ;// where
  24. ;//
  25. ;// Sev - is the severity code
  26. ;//
  27. ;// 00 - Success
  28. ;// 01 - Informational
  29. ;// 10 - Warning
  30. ;// 11 - Error
  31. ;//
  32. ;// C - is the Customer code flag
  33. ;//
  34. ;// Facility - is the facility code
  35. ;//
  36. ;// Code - is the facility's status code
  37. ;//
  38. ;
  39. ;
  40. MessageIdTypedef=NTSTATUS
  41. SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS
  42. Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
  43. Warning=0x2:STATUS_SEVERITY_WARNING
  44. Error=0x3:STATUS_SEVERITY_ERROR
  45. )
  46. FacilityNames=(System=0x0
  47. RpcRuntime=0x2:FACILITY_RPC_RUNTIME
  48. RpcStubs=0x3:FACILITY_RPC_STUBS
  49. Io=0x4:FACILITY_IO_ERROR_CODE
  50. Serial=0x6:FACILITY_SERIAL_ERROR_CODE
  51. )
  52. MessageId=0001 Facility=Serial Severity=Success SymbolicName=SPX_SEVERITY_SUCCESS
  53. Language=English
  54. %2
  55. .
  56. MessageId=+1 Facility=Serial Severity=Informational SymbolicName=SPX_SEVERITY_INFORMATIONAL
  57. Language=English
  58. %2
  59. .
  60. MessageId=+1 Facility=Serial Severity=Warning SymbolicName=SPX_SEVERITY_WARNING
  61. Language=English
  62. %2
  63. .
  64. MessageId=+1 Facility=Serial Severity=Error SymbolicName=SPX_SEVERITY_ERROR
  65. Language=English
  66. %2
  67. .
  68. ;
  69. ;#endif // End of IO8_LOG.H