[USETUP] Implement work-in-progress code that allows verifying whether registry hives...
[reactos.git] / base / setup / usetup / registry.h
index 63d2b67..cae50e8 100644 (file)
  *  with this program; if not, write to the Free Software Foundation, Inc.,
  *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
-/* $Id$
+/*
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS text-mode setup
- * FILE:            subsys/system/usetup/registry.h
+ * FILE:            base/setup/usetup/registry.h
  * PURPOSE:         Registry creation functions
- * PROGRAMMER:      Eric Kohl
+ * PROGRAMMER:
  */
 
 #pragma once
 
-BOOLEAN
-ImportRegistryFile(PWSTR Filename,
-                  PWSTR Section,
-                  LCID LocaleId,
-                  BOOLEAN Delete);
+HANDLE
+GetRootKeyByPredefKey(
+    IN HANDLE KeyHandle,
+    OUT PCWSTR* RootKeyMountPoint OPTIONAL);
 
-BOOLEAN
-SetInstallPathValue(PUNICODE_STRING InstallPath);
+HANDLE
+GetRootKeyByName(
+    IN PCWSTR RootKeyName,
+    OUT PCWSTR* RootKeyMountPoint OPTIONAL);
 
 BOOLEAN
-SetMountedDeviceValue(CHAR Letter, ULONG Signature, LARGE_INTEGER StartingOffset);
+ImportRegistryFile(
+    PWSTR Filename,
+    PWSTR Section,
+    LCID LocaleId,
+    BOOLEAN Delete);
+
+NTSTATUS
+VerifyRegistryHives(
+    IN PUNICODE_STRING InstallPath,
+    OUT PBOOLEAN ShouldUpdateRegistry);
+
+NTSTATUS
+RegInitializeRegistry(
+    IN PUNICODE_STRING InstallPath);
+
+VOID
+RegCleanupRegistry(
+    IN PUNICODE_STRING InstallPath);
+
+VOID
+SetDefaultPagefile(
+    WCHAR Drive);
 
 /* EOF */