LowerDriverReturn rule (wdm)
The LowerDriverReturn rule specifies that after using PoCallDriver or IoCallDriver to call a lower driver, the driver saves the return status from the call and passes the return status that it received to the dispatch routine.
These conditions are not applied if the driver calls IoCompleteRequest or IoMarkIrpPending.
Driver model: WDM
How to test
At compile time |
---|
Run Static Driver Verifier and specify the LowerDriverReturn 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. |
Applies to
IoCallDriver IoMarkIrpPending IoSetCompletionRoutine IoSetCompletionRoutineEx IoSetDeviceInterfaceState IoWMIRegistrationControl KeWaitForSingleObject PoCallDriver