From f51faa4a0f5d5235e8cd40608ace729f9de8afc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Wed, 31 May 2017 00:03:33 +0000 Subject: [PATCH] [NTOS]: Underline the fact that CmpGetRegistryPath (especially when being run in 1st-stage text mode) is just a big hack (introduced in r3794 and r3795). I however need to monitor its output for the moment... svn path=/trunk/; revision=74709 --- reactos/ntoskrnl/config/cmsysini.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reactos/ntoskrnl/config/cmsysini.c b/reactos/ntoskrnl/config/cmsysini.c index b2002bc978a..616ed8c6ffe 100644 --- a/reactos/ntoskrnl/config/cmsysini.c +++ b/reactos/ntoskrnl/config/cmsysini.c @@ -1192,6 +1192,8 @@ CmpGetRegistryPath(OUT PWCHAR ConfigPath) /* Check if we are booted in setup */ if (ExpInTextModeSetup) { + DPRINT1("CmpGetRegistryPath TextMode setup HACK!!\n"); + /* Setup the object attributes */ InitializeObjectAttributes(&ObjectAttributes, &KeyName, @@ -1245,6 +1247,8 @@ CmpGetRegistryPath(OUT PWCHAR ConfigPath) /* Add registry path */ wcscat(ConfigPath, L"\\System32\\Config\\"); + DPRINT1("CmpGetRegistryPath: ConfigPath = '%S'\n", ConfigPath); + /* Done */ return STATUS_SUCCESS; }