windows-nt/Source/XPSP1/NT/net/ias/iasjet/setup/migratecontent.h
2020-09-26 16:20:57 +08:00

58 lines
1.6 KiB
C++

/////////////////////////////////////////////////////////////////////////////
//
// Copyright(C) 2000 Microsoft Corporation all rights reserved.
//
// Module: migratecontent.cpp
//
// Project: Windows 2000 IAS
//
// Description: Win2k and early Whistler mdb to Whistler Migration
// class CMigrateContent
//
// Author: tperraut 06/08/2000
//
// Revision
//
/////////////////////////////////////////////////////////////////////////////
#ifndef _MIGRATECONTENT_H_66418310_AD32_4e40_867E_1705E4373A5A
#define _MIGRATECONTENT_H_66418310_AD32_4e40_867E_1705E4373A5A
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "nocopy.h"
class CMigrateContent : private NonCopyable
{
public:
explicit CMigrateContent(
CUtils& pUtils,
CGlobalData& pGlobalData
)
: m_Utils(pUtils),
m_GlobalData(pGlobalData)
{
}
void Migrate();
void UpdateWhistler(const bool UpdateChapPasswords);
private:
HRESULT CopyTree(LONG RefId, LONG ParentParam);
void MigrateWin2kRealms();
void MigrateClients();
void MigrateProfilesPolicies();
void MigrateProxyProfilesPolicies();
void MigrateAccounting();
void MigrateEventLog();
void MigrateService();
void MigrateServerGroups();
CUtils& m_Utils;
CGlobalData& m_GlobalData;
};
#endif // _MIGRATECONTENT_H_66418310_AD32_4e40_867E_1705E4373A5A