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.

40 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name :
  4. globals.h
  5. Abstract:
  6. Globals for Prject
  7. Author:
  8. Christopher Achille (cachille)
  9. Project:
  10. URLScan Update
  11. Revision History:
  12. March 2002: Created
  13. --*/
  14. #define SERVICE_NAME_WEB L"W3SVC"
  15. #define SERVICE_MAXWAIT ( 1000 * 60 * 15 ) // 15 Minutes
  16. #define SERVICE_INTERVALCHECK 100 // 100 ms
  17. #define METABASE_URLSCANFILT_LOC L"LM/W3SVC/FILTERS/URLSCAN"
  18. #define URLSCAN_DEFAULT_FILENAME L"urlscan.dll"
  19. #define URLSCAN_BACKUPKEY L"backup."
  20. #define URLSCAN_INI_EXTENSION L".ini"
  21. #define URLSCAN_UPDATE_DEFAULT_NAME L"urlscan.exe"
  22. #define URLSCAN_TOOL_REGPATH L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\IisUrlScan"
  23. #define URLSCAN_TOOL_KEY_NAME L"DisplayName"
  24. #define URLSCAN_TOOL_KEY_NEWVALUE L"IIS UrlScan Tool 2.5 (Uninstall)"
  25. #define URLSCAN_DLL_INSTALL_INTERVAL 500 // 500 ms
  26. #define URLSCAN_DLL_INSTALL_MAXTRIES 10 // 10 times ( 5 seconds )