VOID
NdisRemoveInterrupt(
IN PNDIS_INTERRUPT Interrupt
);
NdisRemoveInterrupt is called by the NIC driver during a network interface card removal operation.
Parameters
Interrupt
Points to an interrupt object that NdisInitializeInterrupt has associated with the driver’s MacInterruptServiceRoutine and MacDeferredProcessingRoutine.
Comments
NdisRemoveInterrupt prevents the NIC driver’s ISR, MacInterruptServiceRoutine, from receiving interrupts. The operating system disconnects the ISR from its associated network interface card interrupt.
A driver should call this function before it calls NdisReleaseAdapterResources and NdisRemoveAdapter.
Callers of NdisRemoveInterrupt run at IRQL PASSIVE_LEVEL.
See Also
MacDeferredProcessingRoutine, MacInterruptServiceRoutine, MacRemoveAdapter, NdisInitializeInterrupt, NdisReleaseAdapterResources