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.

57 lines
1.6 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright(C) 2000 Microsoft Corporation all rights reserved.
  4. //
  5. // Module: migratecontent.cpp
  6. //
  7. // Project: Windows 2000 IAS
  8. //
  9. // Description: Win2k and early Whistler mdb to Whistler Migration
  10. // class CMigrateContent
  11. //
  12. // Author: tperraut 06/08/2000
  13. //
  14. // Revision
  15. //
  16. /////////////////////////////////////////////////////////////////////////////
  17. #ifndef _MIGRATECONTENT_H_66418310_AD32_4e40_867E_1705E4373A5A
  18. #define _MIGRATECONTENT_H_66418310_AD32_4e40_867E_1705E4373A5A
  19. #if _MSC_VER > 1000
  20. #pragma once
  21. #endif // _MSC_VER > 1000
  22. #include "nocopy.h"
  23. class CMigrateContent : private NonCopyable
  24. {
  25. public:
  26. explicit CMigrateContent(
  27. CUtils& pUtils,
  28. CGlobalData& pGlobalData
  29. )
  30. : m_Utils(pUtils),
  31. m_GlobalData(pGlobalData)
  32. {
  33. }
  34. void Migrate();
  35. void UpdateWhistler(const bool UpdateChapPasswords);
  36. private:
  37. HRESULT CopyTree(LONG RefId, LONG ParentParam);
  38. void MigrateWin2kRealms();
  39. void MigrateClients();
  40. void MigrateProfilesPolicies();
  41. void MigrateProxyProfilesPolicies();
  42. void MigrateAccounting();
  43. void MigrateEventLog();
  44. void MigrateService();
  45. void MigrateServerGroups();
  46. CUtils& m_Utils;
  47. CGlobalData& m_GlobalData;
  48. };
  49. #endif // _MIGRATECONTENT_H_66418310_AD32_4e40_867E_1705E4373A5A