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.

42 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 2002 Microsoft Corporation
  3. Module Name :
  4. disblwww.hxx
  5. Abstract:
  6. Determine if IIS should be disabled on upgrade.
  7. Author:
  8. Christopher Achille (cachille)
  9. Project:
  10. IIS Compatability Dll
  11. Revision History:
  12. May 2002: Created
  13. --*/
  14. #define LOCKDOWN_REGISTRY_LOCATION _T("Software\\Microsoft")
  15. #define LOCKDOWN_REGISTRY_KEY _T("IIS Lockdown Wizard")
  16. #define SERVICE_DISABLE_BLOCK_LOCATION _T("SYSTEM\\CurrentControlSet\\Services\\W3SVC")
  17. #define SERVICE_DISABLE_BLOCK_KEY _T("RetainW3SVCStatus")
  18. #define W3SVC_SERVICENAME _T("W3SVC")
  19. #define IISADMIN_SERVICENAME _T("IISADMIN")
  20. #define REGISTR_IISSETUP_LOCATION _T("SOFTWARE\\Microsoft\\InetStp")
  21. #define REGISTR_IISSETUP_DISABLEW3SVC _T("DisableW3SVC")
  22. BOOL ShouldW3SVCBeDisabledOnUpgrade( LPBOOL pbDisable );
  23. BOOL HasLockdownBeenRun( LPBOOL pbBeenRun );
  24. BOOL IsW3SVCDisabled( LPBOOL pbDisabled );
  25. BOOL HasRegistryBlockEntryBeenSet( LPBOOL pbIsSet );
  26. BOOL IsIISInstalled( LPBOOL pbIsIISInstalled );
  27. BOOL IsWin2kUpgrade( LPBOOL pbIsWin2k );
  28. BOOL QueryServiceStartType( LPTSTR szServiceName, LPDWORD pdwStartType );
  29. BOOL NotifyIISToDisableW3SVCOnUpgrade( BOOL pbDisable );