KeGetCurrentIrql function

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

Syntax

NTHALAPI KIRQL KeGetCurrentIrql(

);

Parameters

This function has no parameters.

Return Value

KeGetCurrentIrql returns the current IRQL.

Requirements

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

See Also

KeAcquireSpinLockAtDpcLevel

KeLowerIrql

KeRaiseIrql

  Managing Hardware Priorities