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.

75 lines
1.8 KiB

  1. ;/*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. ;
  3. ;Copyright (c) 1991 Microsoft Corporation
  4. ;
  5. ;Module Name:
  6. ;
  7. ; ntapmlog.mc generates ntapmlog.h
  8. ;
  9. ;Abstract:
  10. ;
  11. ; Constant definitions for NTAPM error code log values.
  12. ;
  13. ;Author:
  14. ;
  15. ; Bob Rinne (BobRi) 11-Nov-1992
  16. ; Bryan Willman (bryanwi) 10-Aug-1998
  17. ;
  18. ;Revision History:
  19. ;
  20. ;--*/
  21. ;
  22. ;#ifndef _NTAPMLOG_
  23. ;#define _NTAPMLOG_
  24. ;
  25. ;//
  26. ;// Status values are 32 bit values layed out as follows:
  27. ;//
  28. ;// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  29. ;// 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
  30. ;// +---+-+-------------------------+-------------------------------+
  31. ;// |Sev|C| Facility | Code |
  32. ;// +---+-+-------------------------+-------------------------------+
  33. ;//
  34. ;// where
  35. ;//
  36. ;// Sev - is the severity code
  37. ;//
  38. ;// 00 - Success
  39. ;// 01 - Informational
  40. ;// 10 - Warning
  41. ;// 11 - Error
  42. ;//
  43. ;// C - is the Customer code flag
  44. ;//
  45. ;// Facility - is the facility code
  46. ;//
  47. ;// Code - is the facility's status code
  48. ;//
  49. ;
  50. MessageIdTypedef=NTSTATUS
  51. SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS
  52. Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
  53. Warning=0x2:STATUS_SEVERITY_WARNING
  54. Error=0x3:STATUS_SEVERITY_ERROR
  55. )
  56. FacilityNames=(System=0x0
  57. RpcRuntime=0x2:FACILITY_RPC_RUNTIME
  58. RpcStubs=0x3:FACILITY_RPC_STUBS
  59. Io=0x4:FACILITY_IO_ERROR_CODE
  60. Ft=0x5:FACILITY_FT_ERROR_CODE
  61. NtApm=0x6:FACILITY_NTAPM
  62. )
  63. MessageId=0x0001 Facility=NtApm Severity=Error SymbolicName=NTAPM_SET_POWER_FAILURE
  64. Language=English
  65. An attempt to set power state using the APM legacy bios failed.
  66. APM Return = [%2]
  67. .
  68. ;#endif /* _NTAPMLOG_ */