The KeRaiseIrqlToDpcLevel routine raises the hardware priority to IRQL = DISPATCH_LEVEL, thereby masking off interrupts of equivalent or lower IRQL on the current processor.
_DECL_HAL_KE_IMPORT KIRQL KeRaiseIrqlToDpcLevel( );
This function has no parameters.
KeRaiseIrqlToDpcLevel returns the IRQL at which the call occurred.
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.
|Minimum supported client||Available starting with Windows 2000.|
|Header||wdm.h (include Wdm.h, Ntddk.h)|
|IRQL||<= DISPATCH_LEVEL (see Remarks section)|
|DDI compliance rules||HwStorPortProhibitedDDIs|