Поделиться через


MiniportHandleInterrupt (Compact 2013)

3/26/2014

This function is a required function if a driver's network adapter generates interrupts. MiniportHandleInterrupt does the deferred processing of all outstanding interrupt operations.

Syntax

VOID MiniportHandleInterrupt(
  NDIS_HANDLE MiniportAdapterContext
);

Parameters

  • MiniportAdapterContext
    [in] Specifies the handle to a miniport-allocated context area in which the driver maintains per-network adapter state, set up by MiniportInitialize

Return Value

None

Remarks

When a network adapter generates an interrupt, a miniport's MiniportISR or MiniportDisableInterrupt function dismisses the interrupt on the network adapter, saves any necessary state about the operation, and returns control as quickly as possible, thereby deferring most interrupt-driven I/O operations to MiniportHandleInterrupt. MiniportHandleInterrupt does the deferred processing of all outstanding interrupt operations.

When MiniportHandleInterrupt is called, interrupts have typically been disabled on the network adapter by the MiniportISR or MiniportDisableInterrupt function. Before it returns control, MiniportHandleInterrupt can re-enable interrupts on the network adapter.

Requirements

Header

externs.h

See Also

Reference

NDIS 5.x Legacy Functions
MiniportDisableInterrupt
MiniportEnableInterrupt
MiniportHalt
MiniportInitialize
MiniportISR
MiniportSend
NdisAdjustBufferLength
NdisAllocateBuffer
NdisAllocateMemory
NdisAllocatePacket
NdisMDeregisterInterrupt
NdisMIndicateReceivePacket
NdisMRegisterInterrupt
NdisMSynchronizeWithInterrupt
NDIS 5.x Legacy Reference