NDIS_RAISE_IRQL_TO_DISPATCH - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ndis.h

void NDIS_RAISE_IRQL_TO_DISPATCH(
  _pIrql_
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ndis-ndis_raise_irql_to_dispatch)

NDIS_RAISE_IRQL_TO_DISPATCH macro

Description

The NDIS_RAISE_IRQL_TO_DISPATCH macro raises the current IRQL to DISPATCH_LEVEL on the current processor.

Parameters

_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.

Remarks

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.

See also

KeRaiseIrql

NDIS_LOWER_IRQL