Updated registry key flags. Added missing fix.

svn path=/trunk/; revision=4786
This commit is contained in:
Eric Kohl 2003-05-27 23:09:11 +00:00
parent cf33a9ca6e
commit be3c31a2c2

View file

@ -203,9 +203,9 @@ CmiVerifyRootKeyCell(PKEY_CELL RootKeyCell)
if (!(RootKeyCell->Flags & REG_KEY_ROOT_CELL)) if (!(RootKeyCell->Flags & REG_KEY_ROOT_CELL))
{ {
DbgPrint("Type is %.08x (should be %.08x)\n", DbgPrint("Flags is %.08x (should be %.08x)\n",
RootKeyCell->Flags, REG_KEY_ROOT_CELL | REG_KEY_NAME_PACKED); RootKeyCell->Flags, REG_KEY_ROOT_CELL | REG_KEY_NAME_PACKED);
assert(!(RootKeyCell->Type & REG_KEY_ROOT_CELL)); assert(!(RootKeyCell->Flags & (REG_KEY_ROOT_CELL | REG_KEY_NAME_PACKED)));
} }
} }