Export (0) Print
Expand All
Expand Minimize

KeRaiseIrqlToDpcLevel routine

The KeRaiseIrqlToDpcLevel routine raises the hardware priority to IRQL = DISPATCH_LEVEL, thereby masking off interrupts of equivalent or lower IRQL on the current processor.

Syntax


KIRQL KeRaiseIrqlToDpcLevel(void);

Parameters

This routine has no parameters.

Return value

KeRaiseIrqlToDpcLevel returns the IRQL at which the call occurred.

Remarks

Any caller of KeRaiseIrqlToDpcLevel should save the returned IRQL value. Every such caller must restore the original IRQL as quickly as possible by passing this returned IRQL in a subsequent call to KeLowerIrql.

Callers of KeRaiseIrqlToDpcLevel must be running at IRQL <= DISPATCH_LEVEL. Otherwise, a call to this routine causes a bug check.

Requirements

Target platform

Universal

Version

Available starting with Windows 2000.

Header

Ntddk.h (include Ntddk.h)

Library

Hal.lib

IRQL

<= DISPATCH_LEVEL (see Remarks section)

DDI compliance rules

HwStorPortProhibitedDDIs

See also

KeGetCurrentIrql
KeLowerIrql
KeRaiseIrql

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft