Bewerken

Delen via


EvtIoStopResume rule (kmdf)

The EvtIoStopResume rule specifies that if a driver registers a EvtIoStop callback function and then calls WdfRequestStopAcknowledge with the Requeue parameter equal to FALSE, the driver must register a EvtIoResume callback function. The framework delivers requests to the EvtIoResume callback function when the device enters the D0 state again.

Driver model: KMDF

How to test

At compile time

Run Static Driver Verifier and specify the EvtIoStopResume 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

WdfRequestStopAcknowledge