[NTOS:CM] Implement more support for force-unloading registry hives.

CORE-13448 CORE-10705
This commit is contained in:
Hermès Bélusca-Maïto 2018-10-21 23:08:51 +02:00
parent 16752875db
commit d61c00c252
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
3 changed files with 64 additions and 12 deletions

View file

@ -1357,9 +1357,10 @@ CmUnloadKey(
ULONG
NTAPI
CmCountOpenSubKeys(
CmpEnumerateOpenSubKeys(
IN PCM_KEY_CONTROL_BLOCK RootKcb,
IN BOOLEAN RemoveEmptyCacheEntries
IN BOOLEAN RemoveEmptyCacheEntries,
IN BOOLEAN DereferenceOpenedEntries
);
HCELL_INDEX