Share via


MiniportHandleInterrupt (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Upper-Edge Functions
MiniportDisableInterrupt
MiniportEnableInterrupt
MiniportHalt
MiniportInitialize
MiniportISR
MiniportSend
NdisAdjustBufferLength
NdisAllocateBuffer
NdisAllocateMemory
NdisAllocatePacket
NdisMDeregisterInterrupt
NdisMEthIndicateReceive
NdisMIndicateReceivePacket
NdisMRegisterInterrupt
NdisMSynchronizeWithInterrupt
NdisMWanIndicateReceive