IoDisconnectInterruptEx routine

The IoDisconnectInterruptEx routine unregisters an interrupt service routine (ISR) that was registered by a previous call to the IoConnectInterruptEx routine.

Syntax


VOID IoDisconnectInterruptEx(
  _Inout_ PIO_DISCONNECT_INTERRUPT_PARAMETERS Parameters
);

Parameters

Parameters [in, out]

Pointer to an IO_DISCONNECT_INTERRUPT_PARAMETERS structure that contains the connection context for the interrupt being disconnected.

Return value

None.

Remarks

The driver should configure the device to issue interrupts only when these interrupts are connected. Failure to prevent a device from issuing interrupts when the interrupts are disconnected might cause system instability. For example, if a device shares a level-triggered interrupt line with other devices, and the device issues an interrupt request when the device's interrupts are disconnected, the other devices on the line will not acknowledge the interrupt and the interrupt will continue to fire. Before calling IoDisconnectInterruptEx, the driver should configure the device to stop issuing interrupts. After calling IoConnectInterruptEx, the driver should configure the device to start issuing interrupts.

Requirements

Target platform

Universal

Version

Available starting with Windows Vista. Drivers that must also work Microsoft Windows 2000, Windows XP, or Windows Server 2003 can instead link to Iointex.lib to use the routine.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

NtosKrnl.lib;
Iointex.lib

DLL

NtosKrnl.exe

IRQL

PASSIVE_LEVEL

See also

IO_DISCONNECT_INTERRUPT_PARAMETERS
IoConnectInterruptEx

 

 

Send comments about this topic to Microsoft

Show: