CompleteRequest rule (wdm)

The CompleteRequest rule verifies that the IoCompleteRequest routine is not called after a completion routine runs and that it does not return STATUS_MORE_PROCESSING_REQUIRED.

This rule reports a defect if:

Driver modelWDM

How to test

At compile time

Run Static Driver Verifier and specify the CompleteRequest rule.

Use the following steps to run an analysis of your code:
  1. Prepare your code (use role type declarations).
  2. Run Static Driver Verifier.
  3. View and analyze the results.

For more information, see Using Static Driver Verifier to Find Defects in Drivers.

Applies to

IoCompleteRequest
IoSetCompletionRoutine
IoSetCompletionRoutineEx
RemoveHeadList

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft