KeRaiseIrqlToDpcLevel function (wdm.h)
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
_DECL_HAL_KE_IMPORT KIRQL KeRaiseIrqlToDpcLevel();
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
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 2000. |
Target Platform | Universal |
Header | wdm.h (include Wdm.h, Ntddk.h) |
Library | Hal.lib |
DLL | NtosKrnl.exe |
IRQL | <= DISPATCH_LEVEL (see Remarks section) |
DDI compliance rules | HwStorPortProhibitedDDIs(storport) |