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.

85 lines
2.0 KiB

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name:
  4. ahmsg.mc
  5. Abstract:
  6. Contains message definitions
  7. for event logging.
  8. Notes:
  9. DO NOT change the order of the MessageIds.
  10. The event log service uses these numbers
  11. to determine which strings to pull from
  12. the EXE. If the user has installed a previous
  13. package on the PC and these get changed,
  14. their event log entries will break.
  15. History:
  16. 10/22/2001 dmunsil Created
  17. --*/
  18. //
  19. // Values are 32 bit values layed out as follows:
  20. //
  21. // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  22. // 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
  23. // +---+-+-+-----------------------+-------------------------------+
  24. // |Sev|C|R| Facility | Code |
  25. // +---+-+-+-----------------------+-------------------------------+
  26. //
  27. // where
  28. //
  29. // Sev - is the severity code
  30. //
  31. // 00 - Success
  32. // 01 - Informational
  33. // 10 - Warning
  34. // 11 - Error
  35. //
  36. // C - is the Customer code flag
  37. //
  38. // R - is a reserved bit
  39. //
  40. // Facility - is the facility code
  41. //
  42. // Code - is the facility's status code
  43. //
  44. //
  45. // Define the facility codes
  46. //
  47. //
  48. // Define the severity codes
  49. //
  50. #define STATUS_SEVERITY_WARNING 0x2
  51. #define STATUS_SEVERITY_SUCCESS 0x0
  52. #define STATUS_SEVERITY_INFORMATIONAL 0x1
  53. #define STATUS_SEVERITY_ERROR 0x3
  54. //
  55. // MessageId: ID_APPHELP_TRIGGERED
  56. //
  57. // MessageText:
  58. //
  59. // A compatibility warning message was triggered on launch of application '%1'.
  60. //
  61. #define ID_APPHELP_TRIGGERED ((DWORD)0x40000001L)
  62. //
  63. // MessageId: ID_APPHELP_BLOCK_TRIGGERED
  64. //
  65. // MessageText:
  66. //
  67. // A compatibility error message was triggered on launch of application '%1' and the application was not allowed to launch.
  68. //
  69. #define ID_APPHELP_BLOCK_TRIGGERED ((DWORD)0x40000002L)