mirror of
https://github.com/reactos/reactos.git
synced 2024-11-02 21:09:15 +00:00
- Remove corresponding kernel hack.
svn path=/trunk/; revision=26984
This commit is contained in:
parent
caa2fdd5fa
commit
eb63aa49cc
|
@ -251,14 +251,6 @@ CmpCreateControlSet(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||||
NULL,
|
NULL,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
/* The key has been created by mkhive */
|
|
||||||
if ((CmpMiniNTBoot) && (CmpShareSystemHives))
|
|
||||||
{
|
|
||||||
Status = NtOpenKey(&KeyHandle, KEY_READ | KEY_WRITE, &ObjectAttributes);
|
|
||||||
if (!NT_SUCCESS(Status)) return Status;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Status = NtCreateKey(&KeyHandle,
|
Status = NtCreateKey(&KeyHandle,
|
||||||
KEY_CREATE_LINK,
|
KEY_CREATE_LINK,
|
||||||
&ObjectAttributes,
|
&ObjectAttributes,
|
||||||
|
@ -270,7 +262,6 @@ CmpCreateControlSet(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||||
|
|
||||||
/* Sanity check */
|
/* Sanity check */
|
||||||
ASSERT(Disposition == REG_CREATED_NEW_KEY);
|
ASSERT(Disposition == REG_CREATED_NEW_KEY);
|
||||||
}
|
|
||||||
|
|
||||||
/* Initialize the symbolic link name */
|
/* Initialize the symbolic link name */
|
||||||
sprintf(Buffer,
|
sprintf(Buffer,
|
||||||
|
|
Loading…
Reference in a new issue