KeGetCurrentIrql function (wdm.h)

The KeGetCurrentIrql routine returns the current IRQL. For information about IRQLs, see Managing Hardware Priorities.

Syntax

NTHALAPI KIRQL KeGetCurrentIrql();

Return value

KeGetCurrentIrql returns the current IRQL.

Requirements

Requirement Value
Minimum supported client Available starting with Windows 2000.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL Any level
DDI compliance rules HwStorPortProhibitedDDIs(storport)

See also

KeAcquireSpinLockAtDpcLevel

KeLowerIrql

KeRaiseIrql

  Managing Hardware Priorities