Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

KeRaiseIrql routine

The KeRaiseIrql routine raises the hardware priority to the specified IRQL value, thereby masking off interrupts of equivalent or lower IRQL on the current processor.

Syntax


VOID KeRaiseIrql(
  _In_  KIRQL  NewIrql,
  _Out_ PKIRQL OldIrql
);

Parameters

NewIrql [in]

Specifies the new IRQL to which the hardware priority is to be raised.

OldIrql [out]

Pointer to the storage for the original (unraised) IRQL value to be used in a subsequent call to KeLowerIrql.

Return value

None

Remarks

If the new IRQL is less than the current IRQL, a bug check occurs. Otherwise, the current IRQL is set to the specified value.

Callers of this routine can be running at any IRQL. Any caller should restore the original IRQL with KeLowerIrql as soon as possible.

A call to KeLowerIrql is valid if it specifies NewIrql <= CurrentIrql. A call to KeRaiseIrql is valid if the caller specifies NewIrql >= CurrentIrql.

Requirements

Target platform

Universal

Version

Available starting with Windows 2000.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Hal.lib

IRQL

Any level (see Remarks section)

DDI compliance rules

IrqlKeRaiseLower, IrqlKeRaiseLower2, HwStorPortProhibitedDDIs

See also

KeGetCurrentIrql
KeLowerIrql

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft