Freigeben über


NdisMDeregisterInterruptEx (Compact 2013)

3/26/2014

Miniport drivers call NdisMDeregisterInterruptEx to release resources that were previously allocated with the NdisMRegisterInterruptEx function.

Syntax

VOID
  NdisMDeregisterInterruptEx(
    IN NDIS_HANDLE  NdisInterruptHandle
    );

Parameters

  • NdisInterruptHandle
    An interrupt handle that the miniport driver obtained in a previous call to NdisMRegisterInterruptEx.

Return Value

None

Remarks

NdisMDeregisterInterruptEx releases the resources that were allocated in NdisMRegisterInterruptEx. After NdisMDeregisterInterruptEx returns, NDIS will not call the miniport driver's MiniportInterrupt function or MiniportInterruptDPC function.

A miniport driver can call NdisMDeregisterInterruptEx from its MiniportInitializeEx or MiniportHaltEx function only if MiniportInitializeEx previously made a successful call to NdisMRegisterInterruptEx.

The miniport driver should disable its network adapter from generating interrupts before it calls NdisMDeregisterInterruptEx. After NdisMDeregisterInterruptEx returns control, the miniport driver cannot call the NdisMSynchronizeWithInterruptEx function.

Requirements

Header

ndis.h

See Also

Reference

NDIS Functions for Interrupts
MiniportHaltEx
MiniportInitializeEx
NdisMRegisterInterruptEx
NdisMSynchronizeWithInterruptEx