[USETUP] Moving around some code.
[reactos.git] / base / setup / usetup / registry.h
index 2b23cd8..b48777a 100644 (file)
 /*
  * 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(
+    PCWSTR SourcePath,
+    PWSTR Filename,
+    PWSTR Section,
+    LCID LocaleId,
+    BOOLEAN Delete);
+
+NTSTATUS
+VerifyRegistryHives(
+    IN PUNICODE_STRING InstallPath,
+    OUT PBOOLEAN ShouldRepairRegistry);
+
+NTSTATUS
+RegInitializeRegistry(
+    IN PUNICODE_STRING InstallPath);
+
+VOID
+RegCleanupRegistry(
+    IN PUNICODE_STRING InstallPath);
 
 VOID
-SetDefaultPagefile(WCHAR Drive);
+SetDefaultPagefile(
+    WCHAR Drive);
 
 /* EOF */