VOID
CmpCleanUpKcbCacheWithLock(
      PCM_KEY_CONTROL_BLOCK KeyControlBlock,
      BOOLEAN RegLockHeldEx
  );

Routine Description:

    Clean up all cached allocations that are associated to this key.
    If the parent is still open just because of this one, Remove the parent as well.

Arguments:

    KeyControlBlock - pointer to a key control block.

Return Value:

    NONE.