// wdm.h
BOOLEAN KeAreAllApcsDisabled();
View the official Windows Driver Kit DDI reference
No description available.
The KeAreAllApcsDisabled routine indicates whether the calling thread is inside a guarded region or running at IRQL >= APC_LEVEL, which disables all APC delivery.
KeAreAllApcsDisabled returns TRUE if the calling thread is inside a guarded region or running at IRQL >= APC_LEVEL, and FALSE otherwise.
A thread inside a guarded region or running at IRQL >= APC_LEVEL has all APCs disabled, including special kernel APCs.