WithinCriticalRegion rule (wdm)
The affected synchronization functions are the following:
This rule does not recognize other methods of disabling normal APC delivery. For more information, see Disabling APCs.
How to test
|At compile time|
Run Static Driver Verifier and specify the WithinCriticalRegion rule.Use the following steps to run an analysis of your code:
For more information, see Using Static Driver Verifier to Find Defects in Drivers.