remove SetupIsActive function
Modified: trunk/reactos/subsys/system/setup/setup.c
_____
Modified: trunk/reactos/subsys/system/setup/setup.c
--- trunk/reactos/subsys/system/setup/setup.c 2005-11-10 13:27:12 UTC
(rev 19117)
+++ trunk/reactos/subsys/system/setup/setup.c 2005-11-10 13:37:56 UTC
(rev 19118)
@@ -57,18 +57,7 @@
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)
{
HMODULE hDll;
@@ -85,8 +74,6 @@
}
DPRINT("Loaded 'syssetup'!\n");
-
- SetupIsActive(1);
InstallReactOS = (PINSTALL_REACTOS)GetProcAddress (hDll,
"InstallReactOS");
if (InstallReactOS == NULL)