Redigera

Dela via


MarkStartDevice rule (wdm)

The MarkStartDevice rule specifies that the driver pends an IRP_MN_START_DEVICE IRP correctly. This rule only applies to FDO and FIDO drivers.

Driver model: WDM

How to test

At compile time

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

IoAcquireRemoveLock IoAllocateIrp IoCallDriver IoGetDeviceInterfaces IoMarkIrpPending IoRegisterPlugPlayNotification IoSetCompletionRoutine IoSetCompletionRoutineEx PoCallDriver