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.

147 lines
5.0 KiB

  1. #define MAX_ISSUES_COUNT 64
  2. #define AVS_APP_STARTED 1
  3. #define AVS_APP_STARTED_R 2
  4. #define AVS_APP_STARTED_URL 3
  5. #define AVS_HARDCODED_GETTEMPPATH 4
  6. #define AVS_HARDCODED_GETTEMPPATH_R 5
  7. #define AVS_HARDCODED_GETTEMPPATH_URL 6
  8. #define AVS_PAGEHEAP_DOUBLEFREE 7
  9. #define AVS_PAGEHEAP_DOUBLEFREE_R 8
  10. #define AVS_PAGEHEAP_DOUBLEFREE_URL 9
  11. // ------------
  12. // Reg warnings
  13. // ------------
  14. //
  15. // Keys that apps shouldn't attemp to read the values of.
  16. //
  17. #define AVS_HKCU_AppEvents_READ 10
  18. #define AVS_HKCU_AppEvents_READ_R 11
  19. #define AVS_HKCU_AppEvents_READ_URL 12
  20. #define AVS_HKCU_Console_READ 13
  21. #define AVS_HKCU_Console_READ_R 14
  22. #define AVS_HKCU_Console_READ_URL 15
  23. #define AVS_HKCU_ControlPanel_READ 16
  24. #define AVS_HKCU_ControlPanel_READ_R 17
  25. #define AVS_HKCU_ControlPanel_READ_URL 18
  26. #define AVS_HKCU_Environment_READ 19
  27. #define AVS_HKCU_Environment_READ_R 20
  28. #define AVS_HKCU_Environment_READ_URL 21
  29. #define AVS_HKCU_Identities_READ 22
  30. #define AVS_HKCU_Identities_READ_R 23
  31. #define AVS_HKCU_Identities_READ_URL 24
  32. #define AVS_HKCU_KeyboardLayout_READ 25
  33. #define AVS_HKCU_KeyboardLayout_READ_R 26
  34. #define AVS_HKCU_KeyboardLayout_READ_URL 27
  35. #define AVS_HKCU_Printers_READ 28
  36. #define AVS_HKCU_Printers_READ_R 29
  37. #define AVS_HKCU_Printers_READ_URL 30
  38. #define AVS_HKCU_RemoteAccess_READ 31
  39. #define AVS_HKCU_RemoteAccess_READ_R 32
  40. #define AVS_HKCU_RemoteAccess_READ_URL 33
  41. #define AVS_HKCU_SessionInformation_READ 34
  42. #define AVS_HKCU_SessionInformation_READ_R 35
  43. #define AVS_HKCU_SessionInformation_READ_URL 36
  44. #define AVS_HKCU_UNICODEProgramGroups_READ 37
  45. #define AVS_HKCU_UNICODEProgramGroups_READ_R 38
  46. #define AVS_HKCU_UNICODEProgramGroups_READ_URL 39
  47. #define AVS_HKCU_VolatileEnvironment_READ 40
  48. #define AVS_HKCU_VolatileEnvironment_READ_R 41
  49. #define AVS_HKCU_VolatileEnvironment_READ_URL 42
  50. #define AVS_HKCU_Windows31MigrationStatus_READ 43
  51. #define AVS_HKCU_Windows31MigrationStatus_READ_R 44
  52. #define AVS_HKCU_Windows31MigrationStatus_READ_URL 45
  53. #define AVS_HKLM_HARDWARE_READ 46
  54. #define AVS_HKLM_HARDWARE_READ_R 47
  55. #define AVS_HKLM_HARDWARE_READ_URL 48
  56. #define AVS_HKLM_SAM_READ 49
  57. #define AVS_HKLM_SAM_READ_R 50
  58. #define AVS_HKLM_SAM_READ_URL 51
  59. #define AVS_HKLM_SECURITY_READ 52
  60. #define AVS_HKLM_SECURITY_READ_R 53
  61. #define AVS_HKLM_SECURITY_READ_URL 54
  62. #define AVS_HKLM_SYSTEM_READ 55
  63. #define AVS_HKLM_SYSTEM_READ_R 56
  64. #define AVS_HKLM_SYSTEM_READ_URL 57
  65. // HKEY_CURRENT_CONFIG
  66. #define AVS_HKCC_READ 58
  67. #define AVS_HKCC_READ_R 59
  68. #define AVS_HKCC_READ_URL 60
  69. // HKEY_USERS
  70. #define AVS_HKUS_READ 61
  71. #define AVS_HKUS_READ_R 62
  72. #define AVS_HKUS_READ_URL 63
  73. //
  74. // Apps shouldn't attempt to write to any keys except
  75. // the ones under HKCU when they are running.
  76. //
  77. #define AVS_NON_HKCU_WRITE 64
  78. #define AVS_NON_HKCU_WRITE_R 65
  79. #define AVS_NON_HKCU_WRITE_URL 66
  80. //
  81. // path errors
  82. //
  83. #define AVS_HARDCODED_WINDOWSPATH 100
  84. #define AVS_HARDCODED_WINDOWSPATH_R 101
  85. #define AVS_HARDCODED_WINDOWSPATH_URL 102
  86. #define AVS_HARDCODED_SYSWINDOWSPATH 103
  87. #define AVS_HARDCODED_SYSWINDOWSPATH_R 104
  88. #define AVS_HARDCODED_SYSWINDOWSPATH_URL 105
  89. #define AVS_HARDCODED_SYSTEMPATH 106
  90. #define AVS_HARDCODED_SYSTEMPATH_R 107
  91. #define AVS_HARDCODED_SYSTEMPATH_URL 108
  92. #define AVS_HARDCODED_PERSONALPATH 109
  93. #define AVS_HARDCODED_PERSONALPATH_R 110
  94. #define AVS_HARDCODED_PERSONALPATH_URL 111
  95. #define AVS_HARDCODED_COMMONPROGRAMS 112
  96. #define AVS_HARDCODED_COMMONPROGRAMS_R 113
  97. #define AVS_HARDCODED_COMMONPROGRAMS_URL 114
  98. #define AVS_HARDCODED_COMMONSTARTMENU 115
  99. #define AVS_HARDCODED_COMMONSTARTMENU_R 116
  100. #define AVS_HARDCODED_COMMONSTARTMENU_URL 117
  101. #define AVS_HARDCODED_PROGRAMS 118
  102. #define AVS_HARDCODED_PROGRAMS_R 119
  103. #define AVS_HARDCODED_PROGRAMS_URL 120
  104. #define AVS_HARDCODED_STARTMENU 121
  105. #define AVS_HARDCODED_STARTMENU_R 122
  106. #define AVS_HARDCODED_STARTMENU_URL 123
  107. #define AVS_APP_TERMINATED 190
  108. #define AVS_APP_TERMINATED_R 191
  109. #define AVS_APP_TERMINATED_URL 192