Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This function is a required function if a driver's network adapter generates interrupts. MiniportHandleInterruptdoes the deferred processing of all outstanding interrupt operations.
VOID MiniportHandleInterrupt( IN NDIS_HANDLE MiniportAdapterContext );
Parameters
Comments
When a network adapter generates an interrupt, a miniport's MiniportISRor MiniportDisableInterruptfunction 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. MiniportHandleInterruptdoes the deferred processing of all outstanding interrupt operations.
When MiniportHandleInterruptis called, interrupts have typically been disabled on the network adapter by the MiniportISRor MiniportDisableInterruptfunction. Before it returns control, MiniportHandleInterruptcan re-enable interrupts on the network adapter.
A miniport can call NdisMDeregisterMiniportfrom its MiniportInitializeor MiniportHaltfunction to release resources that it allocated with NdisMDeregisterInterrupt. After NdisMDeregisterMiniportreturns, NDIS does not call a miniport's MiniportISRor MiniportHandleInterruptfunctions.
Requirements
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 2.0 and later | Ndis.h | Ndislib.lib |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
MiniportDisableInterrupt, MiniportEnableInterrupt, MiniportHalt, MiniportInitialize, MiniportISR, MiniportSend, NdisAdjustBufferLength, NdisAllocateBuffer, NdisAllocateMemory, NdisAllocatePacket, NdisMEthIndicateReceive, NdisMIndicateReceivePacket, NdisMRegisterInterrupt, NdisMSynchronizeWithInterrupt, NdisMWanIndicateReceive