// ndis.h
void NDIS_RAISE_IRQL_TO_DISPATCH(
_pIrql_
);
View the official Windows Driver Kit DDI referenceNo description available.
The NDIS_RAISE_IRQL_TO_DISPATCH macro raises the current IRQL to DISPATCH_LEVEL on the current processor.
_pIrql_A pointer to a KIRQL-type variable where NDIS_RAISE_IRQL_TO_DISPATCH stores the original (that is, unraised) IRQL value. You should use this original IRQL value in a subsequent call to the NDIS_LOWER_IRQL macro.
NDIS network drivers should use the NDIS_RAISE_IRQL_TO_DISPATCH macro to raise the current IRQL.
If the current IRQL is greater than DISPATCH_LEVEL, a bugcheck occurs. Otherwise, the macro sets the current IRQL to DISPATCH_LEVEL.
NDIS_RAISE_IRQL_TO_DISPATCH is an NDIS wrapper for the KeRaiseIrql routine.
The caller should call the NDIS_LOWER_IRQL macro to restore the original IRQL as soon as possible.