*/
#include "cmlib.h"
+#define NDEBUG
+#include <debug.h>
ULONG CmlibTraceLevel = 0;
for (i = 0; i < IndexCell->Count; i++)
{
PCM_KEY_INDEX SubIndexCell = HvGetCell(RegistryHive, IndexCell->List[i]);
- CmpPrepareIndexOfKeys(RegistryHive, SubIndexCell);
+ if (SubIndexCell->Signature == CM_KEY_NODE_SIGNATURE)
+ CmpPrepareKey(RegistryHive, (PCM_KEY_NODE)SubIndexCell);
+ else
+ CmpPrepareIndexOfKeys(RegistryHive, SubIndexCell);
}
}
else if (IndexCell->Signature == CM_KEY_FAST_LEAF ||
}
else
{
- DbgPrint("IndexCell->Signature %x\n", IndexCell->Signature);
+ DPRINT1("IndexCell->Signature %x\n", IndexCell->Signature);
ASSERT(FALSE);
}
}