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.
 
 
 
 
 
 

50 lines
1.2 KiB

//
// 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_