StartDeviceWait rule (wdm)
The StartDeviceWait rule specifies that the driver should not call KeWaitForSingleObject in the context of start device IRP.
How to test
|At compile time|
Run Static Driver Verifier and specify the StartDeviceWait 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.