On Mon Nov 28 21:35:09 2022 +0000, Zebediah Figura wrote:
Why do we need this?
This cancels the thread pool timer on reset, so it won't call any pending callbacks. Otherwise it only removes the pending timers, which is not enough to stop the pending callbacks. This also allows us to remove the blocking KeCancelTimer() call from KeSetTimerEx(), which uses the thread pool implementation.