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.

60 lines
958 B

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name :
  4. sakit.hxx
  5. Abstract:
  6. Class that is used as a wrapper to install and uninstall the
  7. Server Administration Tool Kit.
  8. Author:
  9. Christopher Achille (cachille)
  10. Project:
  11. Internet Services Setup
  12. Revision History:
  13. August 2001: Created
  14. --*/
  15. #include "sainstallcom.h"
  16. class SAKit {
  17. BOOL m_bCoInit;
  18. ISaInstall *m_pcSaKit;
  19. BOOL QI();
  20. BOOL DoCoInit();
  21. void DoCoUnInit();
  22. BOOL GetDiskName(BSTR &bstrDiskName);
  23. public:
  24. SAKit();
  25. ~SAKit();
  26. BOOL IsInstalled(SA_TYPE sType);
  27. BOOL InstallKit(SA_TYPE sType);
  28. BOOL UninstallKit(SA_TYPE sType);
  29. BOOL IsInstalled_Web()
  30. {
  31. return IsInstalled(WEB);
  32. }
  33. BOOL InstallKit_Web()
  34. {
  35. return InstallKit(WEB);
  36. }
  37. BOOL UninstallKit_Web()
  38. {
  39. return UninstallKit(WEB);
  40. }
  41. };