mirror of
https://github.com/reactos/reactos.git
synced 2024-12-25 16:50:57 +00:00
remove SetupIsActive function
svn path=/trunk/; revision=19118
This commit is contained in:
parent
e4c507c2f5
commit
1f024441f0
1 changed files with 0 additions and 13 deletions
|
@ -57,17 +57,6 @@ LPTSTR lstrchr(LPCTSTR s, TCHAR c)
|
|||
return (LPTSTR)NULL;
|
||||
}
|
||||
|
||||
|
||||
static VOID
|
||||
SetupIsActive( DWORD dw )
|
||||
{
|
||||
HKEY hKey = 0;
|
||||
if (RegOpenKeyEx( HKEY_LOCAL_MACHINE, _T("SYSTEM\\Setup"), 0, KEY_WRITE, &hKey ) == ERROR_SUCCESS) {
|
||||
RegSetValueEx( hKey, _T("SystemSetupInProgress"), 0, REG_DWORD, (CONST BYTE *)&dw, sizeof(dw) );
|
||||
RegCloseKey( hKey );
|
||||
}
|
||||
}
|
||||
|
||||
static VOID
|
||||
RunNewSetup (HINSTANCE hInstance)
|
||||
{
|
||||
|
@ -85,8 +74,6 @@ RunNewSetup (HINSTANCE hInstance)
|
|||
}
|
||||
|
||||
DPRINT("Loaded 'syssetup'!\n");
|
||||
|
||||
SetupIsActive(1);
|
||||
InstallReactOS = (PINSTALL_REACTOS)GetProcAddress (hDll, "InstallReactOS");
|
||||
|
||||
if (InstallReactOS == NULL)
|
||||
|
|
Loading…
Reference in a new issue