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.

158 lines
4.4 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. regconst.h
  5. Abstract:
  6. Common place to put registry strings and keys.
  7. Author:
  8. EmilyK 4/4/2001
  9. Revision History:
  10. --*/
  11. #ifndef _REGCONST_H_
  12. #define _REGCONST_H_
  13. //
  14. // Service names
  15. //
  16. #define WEB_ADMIN_SERVICE_NAME_A "w3svc"
  17. // Generic registry keys
  18. #define REGISTRY_SERVICES_KEY_A \
  19. "System\\CurrentControlSet\\Services"
  20. //
  21. // Registry key strings for the different services parameter keys.
  22. //
  23. #define REGISTRY_KEY_W3SVC_PARAMETERS_A \
  24. "System\\CurrentControlSet\\Services\\W3SVC\\Parameters"
  25. #define REGISTRY_KEY_W3SVC_PARAMETERS_W \
  26. L"System\\CurrentControlSet\\Services\\W3SVC\\Parameters"
  27. #define REGISTRY_KEY_IISADMIN_W \
  28. L"System\\CurrentControlSet\\Services\\IISAdmin"
  29. #define REGISTRY_KEY_IISADMIN_PARAMETERS_W \
  30. L"System\\CurrentControlSet\\Services\\IISAdmin\\Parameters"
  31. #define REGISTRY_KEY_INETINFO_PARAMETERS_A \
  32. "System\\CurrentControlSet\\Services\\InetInfo\\Parameters"
  33. #define REGISTRY_KEY_INETINFO_PARAMETERS_W \
  34. L"System\\CurrentControlSet\\Services\\InetInfo\\Parameters"
  35. #define REGISTRY_KEY_HTTPFILTER_PARAMETERS_W \
  36. L"System\\CurrentControlSet\\Services\\HTTPFilter\\Parameters"
  37. //
  38. // Registry key strings for the different services performance keys.
  39. //
  40. #define REGISTRY_KEY_W3SVC_PERFORMANCE_KEY_A \
  41. "System\\CurrentControlSet\\Services\\W3SVC\\Performance"
  42. #define REGISTRY_KEY_W3SVC_PERFORMANCE_KEY_W \
  43. L"System\\CurrentControlSet\\Services\\W3SVC\\Performance"
  44. //
  45. // W3SVC Performance values
  46. //
  47. #define REGISTRY_VALUE_W3SVC_PERF_FRESH_TIME_FOR_COUNTERS_W \
  48. L"FreshTimeForCounters"
  49. #define REGISTRY_VALUE_W3SVC_PERF_CHECK_COUNTERS_EVERY_N_MS_W \
  50. L"CheckCountersEveryNMiliseconds"
  51. #define REGISTRY_VALUE_W3SVC_PERF_NUM_TIMES_TO_CHECK_COUNTERS_W \
  52. L"NumberOfTimesToCheckCounters"
  53. #define REGISTRY_VALUE_W3SVC_PERF_EVENT_LOG_DELAY_OVERRIDE_W \
  54. L"PerfCounterLoggingDelaySeconds"
  55. //
  56. // IISAdmin values
  57. //
  58. #define REGISTRY_VALUE_IISADMIN_W3CORE_LAUNCH_EVENT_W \
  59. L"InetinfoW3CoreLaunchEventName"
  60. //
  61. // IISAdmin Parameter values
  62. //
  63. #define REGISTRY_VALUE_IISADMIN_MS_TO_WAIT_FOR_SHUTDOWN_AFTER_INETINFO_CRASH_W \
  64. L"MillisecondsToWaitForShutdownAfterCrash"
  65. #define REGISTRY_VALUE_IISADMIN_MS_TO_WAIT_FOR_RESTART_AFTER_INETINFO_CRASH_W \
  66. L"MillisecondsToWaitForInetinfoRestartAfterCrash"
  67. #define REGISTRY_VALUE_IISADMIN_MS_CHECK_INTERVAL_FOR_INETINFO_TO_RESTART_W \
  68. L"MillisecondsCheckIntervalForInetinfoToRestart"
  69. //
  70. // Generic Service Values
  71. //
  72. #define REGISTRY_VALUE_IISSERVICE_DLL_PATH_NAME_A \
  73. "IISDllPath"
  74. //
  75. // Inetinfo Parameter values
  76. //
  77. #define REGISTRY_VALUE_INETINFO_DISPATCH_ENTRIES_A \
  78. "DispatchEntries"
  79. #define REGISTRY_VALUE_INETINFO_PRELOAD_DLLS_A \
  80. "PreloadDlls"
  81. //
  82. // W3SVC Parameter values
  83. //
  84. #define REGISTRY_VALUE_W3SVC_PERF_COUNT_DISABLED_W \
  85. L"PerformanceCountersDisabled"
  86. #define REGISTRY_VALUE_W3SVC_BREAK_ON_STARTUP_W \
  87. L"BreakOnStartup"
  88. #define REGISTRY_VALUE_W3SVC_BREAK_ON_FAILURE_CAUSING_SHUTDOWN_W \
  89. L"BreakOnFailureCausingShutdown"
  90. #define REGISTRY_VALUE_W3SVC_BREAK_ON_WP_ERROR \
  91. L"BreakOnWPError"
  92. #define REGISTRY_VALUE_W3SVC_STARTUP_WAIT_HINT \
  93. L"StartupWaitHintInMilliseconds"
  94. #define REGISTRY_VALUE_W3SVC_ALWAYS_LOG_EVENTS_W \
  95. L"AlwaysLogEvents"
  96. #define REGISTRY_VALUE_W3SVC_ALLOW_WMS_SPEW \
  97. L"AllowWMSSpew"
  98. #define REGISTRY_VALUE_INETINFO_W3WP_IPM_NAME_W \
  99. L"IIS5IsolationModeIpmName"
  100. #define REGISTRY_VALUE_W3SVC_USE_SHARED_WP_DESKTOP_W \
  101. L"UseSharedWPDesktop"
  102. //
  103. // HTTPFilter Parameter values
  104. //
  105. #define REGISTRY_VALUE_HTTPFILTER_STARTUP_WAIT_HINT \
  106. L"StartupWaitHintInMilliseconds"
  107. #define REGISTRY_VALUE_HTTPFILTER_STOP_WAIT_HINT \
  108. L"StopWaitHintInMilliseconds"
  109. #define REGISTRY_VALUE_CURRENT_MODE \
  110. L"CurrentMode"
  111. #endif // _REGCONST_H_