Export (0) Print
Expand All

IrqlKeWaitForMutexObject rule (wdm)

The IrqlKeWaitForMutexObject rule specifies the driver to call the KeWaitForMutexObject routine at the proper IRQL based on the value of the Timeout parameter:

  • If Timeout points to a zero value, the driver is executing at IRQL = DISPATCH_LEVEL.

  • If Timeout is NULL, or points to any value other than zero, the driver is executing at IRQL <= APC_LEVEL.

Driver modelWDM

How to test

At compile time

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

KeWaitForSingleObject

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft