Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
Read in English
Read in English Edit
Twitter LinkedIn Facebook Email

IrqlExApcLte2 rule (wdm)

  • Article
  • 12/15/2021

In this article

The IrqlExApcLte2 rule specifies that the driver calls the following routines only at IRQL less than or equal to APC_LEVEL.

  • CmRegisterCallback

  • CmUnRegisterCallback

  • ExAllocateFromPagedLookasideList

  • ExAllocatePoolWithQuota

  • ExAllocatePoolWithQuotaTag

  • ExDeletePagedLookasideList

  • ExFreeToPagedLookasideList

  • ExInitializePagedLookasideList

  • ExRegisterCallback

  • ExSetTimerResolution

  • ExUnregisterCallback

  • ProbeForRead

  • ProbeForWrite

Driver model: WDM

Bug check(s) found with this rule: Bug Check 0xC4: DRIVER_VERIFIER_DETECTED_VIOLATION (0x00020006), Bug Check 0xA: IRQL_NOT_LESS_OR_EQUAL

How to test

At compile time

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

At run time

Run Driver Verifier and select the DDI compliance checking option.

Applies to

CmRegisterCallback CmRegisterCallbackEx CmUnRegisterCallback ExDeletePagedLookasideList ExInitializePagedLookasideList ExRegisterCallback ExSetTimerResolution ExUnregisterCallback ProbeForRead ProbeForWrite

Feedback

Submit and view feedback for

This product This page
View all page feedback

Additional resources

  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023

Additional resources

In this article

  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023