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.

50 lines
1020 B

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 2000, Microsoft Corp. All rights reserved.
  4. //
  5. // FILE
  6. //
  7. // setup.h
  8. //
  9. // SYNOPSIS
  10. //
  11. // exported function
  12. //
  13. // MODIFICATION HISTORY
  14. //
  15. // 04/13/2000 Original version.
  16. // 06/13/2000 class CIASUpgrade added
  17. //
  18. ///////////////////////////////////////////////////////////////////////////////
  19. #ifndef _SETUP_H_
  20. #define _SETUP_H_
  21. #if _MSC_VER >= 1000
  22. #pragma once
  23. #endif
  24. class CIASUpgrade
  25. {
  26. public:
  27. CIASUpgrade();
  28. HRESULT IASUpgrade(BOOL FromNetshell = FALSE);
  29. protected:
  30. LONG GetVersionNumber(LPCWSTR DatabaseName);
  31. void DoWin2kUpgradeFromNetshell();
  32. void DoNT4UpgradeOrCleanInstall();
  33. void DoWin2kUpgrade();
  34. void DoWhistlerUpgrade();
  35. enum _UpgradeType
  36. {
  37. Win2kUpgradeFromNetshell,
  38. NT4UpgradeOrCleanInstall,
  39. Win2kUpgrade,
  40. WhistlerUpgrade
  41. } UpgradeType;
  42. _bstr_t m_pIASNewMdb, m_pIASMdb, m_pIASOldMdb;
  43. };
  44. #endif // _SETUP_H_