mirror of
https://github.com/reactos/reactos.git
synced 2025-07-02 06:11:21 +00:00
[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
This commit is contained in:
parent
3ef498a4de
commit
f51faa4a0f
1 changed files with 4 additions and 0 deletions
|
@ -1192,6 +1192,8 @@ CmpGetRegistryPath(OUT PWCHAR ConfigPath)
|
||||||
/* Check if we are booted in setup */
|
/* Check if we are booted in setup */
|
||||||
if (ExpInTextModeSetup)
|
if (ExpInTextModeSetup)
|
||||||
{
|
{
|
||||||
|
DPRINT1("CmpGetRegistryPath TextMode setup HACK!!\n");
|
||||||
|
|
||||||
/* Setup the object attributes */
|
/* Setup the object attributes */
|
||||||
InitializeObjectAttributes(&ObjectAttributes,
|
InitializeObjectAttributes(&ObjectAttributes,
|
||||||
&KeyName,
|
&KeyName,
|
||||||
|
@ -1245,6 +1247,8 @@ CmpGetRegistryPath(OUT PWCHAR ConfigPath)
|
||||||
/* Add registry path */
|
/* Add registry path */
|
||||||
wcscat(ConfigPath, L"\\System32\\Config\\");
|
wcscat(ConfigPath, L"\\System32\\Config\\");
|
||||||
|
|
||||||
|
DPRINT1("CmpGetRegistryPath: ConfigPath = '%S'\n", ConfigPath);
|
||||||
|
|
||||||
/* Done */
|
/* Done */
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue