Share via


NdisMDeregisterInterrupt

This function stops a Miniport's interrupt service routine (ISR) from being called to handle NIC interrupts.

VOID NdisMDeregisterInterrupt( 
IN PNDIS_MINIPORT_INTERRUPT Interrupt );

Parameters

  • Interrupt
    Pointer to an interrupt object previously registered with the NdisMRegisterInterrupt function.

Remarks

This function releases the association between the initialized interrupt object at Interrupt and the caller's MiniportISR function. It also releases the driver's claim on the interrupt vector or level in the registry.

This function can be called from the MiniportInitialize or the MiniportHalt function only if MiniportInitialize previously made a successful call to NdisMRegisterInterrupt.

The miniport should disable its NIC from generating interrupts before it calls this function. After this function returns control, the miniport cannot call the NdisMSynchronizeWithInterrupt function.

A driver that calls this function runs at IRQL PASSIVE_LEVEL.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Ndis.h    

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

NdisMRegisterInterrupt, NdisMSynchronizeWithInterrupt

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.