This topic has not yet been rated - Rate this topic

NdisMDeregisterInterruptEx function

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

Syntax


VOID NdisMDeregisterInterruptEx(
  _In_  NDIS_HANDLE NdisInterruptHandle
);

Parameters

NdisInterruptHandle [in]

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 NIC from generating interrupts before it calls NdisMDeregisterInterruptEx. After NdisMDeregisterInterruptEx returns control, the miniport driver cannot call the NdisMSynchronizeWithInterruptEx function.

Requirements

Version

Supported for NDIS 6.0 drivers in Windows Vista.

Header

Ndis.h (include Ndis.h)

IRQL

PASSIVE_LEVEL

DDI compliance rules

Init_DeRegisterInterrupt, Init_RegisterInterrupt, Irql_Interrupt_Function, NdisMDeregisterInterruptEx

See also

MiniportHaltEx
MiniportInterruptDPC
MiniportInitializeEx
MiniportInetrrupt
NdisMRegisterInterruptEx
NdisMSynchronizeWithInterruptEx

 

 

Send comments about this topic to Microsoft

Build date: 5/7/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.