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.

118 lines
2.1 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. spmsgs.h
  5. Abstract:
  6. Definitions for SPMgr Event-log worthy events
  7. Author:
  8. RichardW, 3 Mar 95
  9. Revision History:
  10. Notes:
  11. This file is generated by the MC tool from the spmsgs.mc file.
  12. --*/
  13. #ifndef __SPMSGS_H__
  14. #define __SPMSGS_H__
  15. //
  16. // Values are 32 bit values layed out as follows:
  17. //
  18. // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  19. // 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
  20. // +---+-+-+-----------------------+-------------------------------+
  21. // |Sev|C|R| Facility | Code |
  22. // +---+-+-+-----------------------+-------------------------------+
  23. //
  24. // where
  25. //
  26. // Sev - is the severity code
  27. //
  28. // 00 - Success
  29. // 01 - Informational
  30. // 10 - Warning
  31. // 11 - Error
  32. //
  33. // C - is the Customer code flag
  34. //
  35. // R - is a reserved bit
  36. //
  37. // Facility - is the facility code
  38. //
  39. // Code - is the facility's status code
  40. //
  41. //
  42. // Define the facility codes
  43. //
  44. //
  45. // Define the severity codes
  46. //
  47. #define STATUS_SEVERITY_WARNING 0x2
  48. #define STATUS_SEVERITY_SUCCESS 0x0
  49. #define STATUS_SEVERITY_INFORMATIONAL 0x1
  50. #define STATUS_SEVERITY_ERROR 0x3
  51. //
  52. // MessageId: CATEGORY_SPM
  53. //
  54. // MessageText:
  55. //
  56. // Security Package Manager
  57. //
  58. #define CATEGORY_SPM 0x00000001L
  59. //
  60. // MessageId: CATEGORY_LOCATOR
  61. //
  62. // MessageText:
  63. //
  64. // Locator
  65. //
  66. #define CATEGORY_LOCATOR 0x00000002L
  67. //
  68. // MessageId: CATEGORY_MAX_CATEGORY
  69. //
  70. // MessageText:
  71. //
  72. // Max
  73. //
  74. #define CATEGORY_MAX_CATEGORY 0x00000003L
  75. //
  76. // MessageId: SPMEVENT_SUPPCRED_FAILED
  77. //
  78. // MessageText:
  79. //
  80. // The supplemental credentials for security package %1 for user %2%3 could not
  81. // updated. The return code is the data.
  82. //
  83. #define SPMEVENT_SUPPCRED_FAILED 0x80000FA0L
  84. //
  85. // MessageId: SPMEVENT_PACKAGE_FAULT
  86. //
  87. // MessageText:
  88. //
  89. // The security package %1 generated an exception. The package is now disabled.
  90. // The exception information is the data.
  91. //
  92. #define SPMEVENT_PACKAGE_FAULT 0xC0001388L
  93. #endif // __SPMSGS_H__