// wdm.h
LOGICAL KeShouldYieldProcessor();
View the official Windows Driver Kit DDI referenceNo description available.
This function advises the caller if it should break out of a work loop running at DISPATCH_LEVEL or higher to allow other processing to take place.
Returns TRUE if the caller should lower IRQL to below DISPATCH_LEVEL.
When this function returns TRUE: