Share via


MiniportDisableInterrupt

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

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

Syntax

VOID MiniportDisableInterrupt(
  NDIS_HANDLE MiniportAdapterContext
);

Parameters

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

Return Value

None.

Remarks

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 NdisMRegisterInterrupt. 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

Header externs.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

MiniportEnableInterrupt
MiniportHandleInterrupt
MiniportInitialize
MiniportISR
NdisMRegisterMiniport
NdisMRegisterInterrupt
NdisMSynchronizeWithInterrupt