Windows-Server-2003/termsrv/newclient/clshell/rmigrate.h

51 lines
1.1 KiB
C++

//
// rmigrate.h
//
// Implementation of CTscRegMigrate
//
// CTscRegMigrate migrates Tsc settings from the registry
// to .RDP files
//
// Copyright(C) Microsoft Corporation 2000
// Author: Nadim Abdo (nadima)
//
//
#ifndef _rmigrate_h_
#define _rmigrate_h_
#include "setstore.h"
class CTscRegMigrate
{
public:
CTscRegMigrate();
~CTscRegMigrate();
BOOL MigrateAll(LPTSTR szRootDirectory);
BOOL MigrateSession(LPTSTR szSessionName, ISettingsStore* pStore,
BOOL fDeleteUnsafeRegKeys = FALSE);
private:
BOOL MigrateHiveSettings(HKEY hKey,
LPCTSTR szRootName,
ISettingsStore* pSto);
BOOL MigrateAsRealBinary(LPCTSTR szName);
BOOL FilterStringMigrate(LPTSTR szName);
BOOL MungeForWin2kDefaults(ISettingsStore* pSto);
#ifndef OS_WINCE
BOOL ConvertPasswordFormat(ISettingsStore* pSto);
#endif
BOOL DeleteRegValue(HKEY hKeyRoot,
LPCTSTR szRootName,
LPCTSTR szValueName);
BOOL RemoveUnsafeRegEntries(HKEY hKeyRoot,
LPCTSTR szRootName);
};
#endif _rmigrate_h_