VERIFY_IS_IRQL_PASSIVE_LEVEL - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdfassert.h

VOID VERIFY_IS_IRQL_PASSIVE_LEVEL(void);
View the official Windows hardware development documentation

NtDoc

No description available.

Windows hardware development documentation (verify-is-irql-passive-level)

VERIFY_IS_IRQL_PASSIVE_LEVEL macro

[Applies to KMDF only]

The VERIFY_IS_IRQL_PASSIVE_LEVEL macro breaks into the kernel debugger if the driver is not executing at IRQL = PASSIVE_LEVEL.

Parameters

This macro has no parameters.

Return value

None

Remarks

The code for the VERIFY_IS_IRQL_PASSIVE_LEVEL macro is included in your driver's binary when you build your driver in a release configuration or a debug configuration.

The VERIFY_IS_IRQL_PASSIVE_LEVEL code breaks into a kernel debugger if one of the following is true:

For more information about registry entries that you can use to debug your driver, see Registry Entries for Debugging Framework-Based Drivers.

For more information about debugging your driver, see Debugging a KMDF Driver.

Examples

The following code example breaks into the kernel debugger if the driver is not executing at IRQL = PASSIVE_LEVEL.

VERIFY_IS_IRQL_PASSIVE_LEVEL();

Requirements

Target platform Universal
Minimum KMDF version 1.0
Header Wdfassert.h (include Wdf.h)

See also

WDFVERIFY