Author: spetreolle
Date: Sat Apr 27 19:33:31 2013
New Revision: 58875
URL:
http://svn.reactos.org/svn/reactos?rev=58875&view=rev
Log:
[MKHIVE]
Set proper parent for registry keys.
Patch by theflash < theflash at sdf dot lonestar dot org >
CORE-7128 #resolve
Modified:
trunk/reactos/tools/mkhive/cmi.c
Modified: trunk/reactos/tools/mkhive/cmi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/mkhive/cmi.c?rev=588…
==============================================================================
--- trunk/reactos/tools/mkhive/cmi.c [iso-8859-1] (original)
+++ trunk/reactos/tools/mkhive/cmi.c [iso-8859-1] Sat Apr 27 19:33:31 2013
@@ -294,7 +294,7 @@
NewKeyCell->Flags = 0;
}
KeQuerySystemTime(&NewKeyCell->LastWriteTime);
- NewKeyCell->Parent = HCELL_NIL;
+ NewKeyCell->Parent = ParentKeyCellOffset;
NewKeyCell->SubKeyCounts[Stable] = 0;
NewKeyCell->SubKeyCounts[Volatile] = 0;
NewKeyCell->SubKeyLists[Stable] = HCELL_NIL;