[USETUP] Implement work-in-progress code that allows verifying whether registry hives...
[reactos.git] / base / setup / usetup / registry.h
index 5064bb9..cae50e8 100644 (file)
 
 #pragma once
 
+HANDLE
+GetRootKeyByPredefKey(
+    IN HANDLE KeyHandle,
+    OUT PCWSTR* RootKeyMountPoint OPTIONAL);
+
+HANDLE
+GetRootKeyByName(
+    IN PCWSTR RootKeyName,
+    OUT PCWSTR* RootKeyMountPoint OPTIONAL);
+
 BOOLEAN
 ImportRegistryFile(
     PWSTR Filename,
@@ -33,9 +43,18 @@ ImportRegistryFile(
     LCID LocaleId,
     BOOLEAN Delete);
 
-BOOLEAN
-SetInstallPathValue(
-    PUNICODE_STRING InstallPath);
+NTSTATUS
+VerifyRegistryHives(
+    IN PUNICODE_STRING InstallPath,
+    OUT PBOOLEAN ShouldUpdateRegistry);
+
+NTSTATUS
+RegInitializeRegistry(
+    IN PUNICODE_STRING InstallPath);
+
+VOID
+RegCleanupRegistry(
+    IN PUNICODE_STRING InstallPath);
 
 VOID
 SetDefaultPagefile(