Freigeben über


NdisMDeregisterInterrupt function

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

NdisMDeregisterInterrupt releases resources previously allocated with NdisMRegisterInterrupt.

Syntax

VOID NdisMDeregisterInterrupt(
  _In_ PNDIS_MINIPORT_INTERRUPT Interrupt
);

Parameters

  • Interrupt [in]
    Pointer to an interrupt object previously registered with NdisMRegisterInterrupt.

Return value

None

Remarks

NdisMDeregisterInterrupt releases the association between the initialized interrupt object at Interrupt and the caller's MiniportISR function. After NdisMDeregisterInterrupt returns, NDIS will not call the miniport driver's MiniportISR function or MiniportHandleInterrupt function.

A miniport driver can call NdisMDeregisterInterrupt from its MiniportInitialize or MiniportHalt function only if MiniportInitialize previously made a successful call to NdisMRegisterInterrupt.

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

Requirements

Target platform

Universal

Version

Not supported for NDIS 6.0 drivers in Windows Vista. Use NdisMDeregisterInterruptExinstead. Supported for NDIS 5.1 drivers in Windows Vista and Windows XP.

Header

Ndis.h (include Ndis.h)

Library

Ndis.lib

IRQL

PASSIVE_LEVEL

See also

MiniportDisableInterrupt

MiniportHalt

MiniportHandleInterrupt

MiniportInitialize

MiniportISR

NdisMRegisterInterrupt

NdisMSynchronizeWithInterrupt

 

 

Send comments about this topic to Microsoft