Share via


MiniportDisableInterrupt

MiniportDisableInterrupt is an optional function, supplied by drivers of network adapters that support dynamic enabling and disabling of interrupts but do not share an IRQ.

VOID 
MiniportDisableInterrupt(
IN NDIS_HANDLE MiniportAdapterContext ); 

Parameters

  • MiniportAdapterContext
    Specifies the handle to a miniport-allocated context area in which the driver maintains per-network adapter state, set up by MiniportInitialize.

Comments

MiniportDisableInterrupt typically disables interrupts by writing a mask to the network adapter. If a driver does not have this function, typically its MiniportISR disables interrupts on the network adapter.

If its network adapter does not support dynamic enabling and disabling of interrupts, the network adapter driver must register a MiniportISR function and set RequestIsr to TRUE when it calls NdisMRegisterMiniport. Such a driver's MiniportISR function must acknowledge each interrupt generated by the network adapter and save any necessary interrupt information for the driver's MiniportHandleInterrupt function.

Requirements

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

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

MiniportEnableInterrupt, MiniportHandleInterrupt, MiniportInitialize, MiniportISR, NdisMRegisterMiniport, NdisRegisterInterrupt, NdisMSynchronizeWithInterrupt

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.