Skip to content

Latest commit

 

History

History
166 lines (127 loc) · 5.26 KB

ns-wdm-_io_disconnect_interrupt_parameters.md

File metadata and controls

166 lines (127 loc) · 5.26 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NS:wdm._IO_DISCONNECT_INTERRUPT_PARAMETERS
_IO_DISCONNECT_INTERRUPT_PARAMETERS (wdm.h)
The IO_DISCONNECT_INTERRUPT_PARAMETERS structure describes the parameters when unregistering an interrupt-handling routine with IoDisconnectInterruptEx.
kernel\io_disconnect_interrupt_parameters.htm
kernel
04/30/2018
IO_DISCONNECT_INTERRUPT_PARAMETERS structure
*PIO_DISCONNECT_INTERRUPT_PARAMETERS, IO_DISCONNECT_INTERRUPT_PARAMETERS, IO_DISCONNECT_INTERRUPT_PARAMETERS structure [Kernel-Mode Driver Architecture], PIO_DISCONNECT_INTERRUPT_PARAMETERS, PIO_DISCONNECT_INTERRUPT_PARAMETERS structure pointer [Kernel-Mode Driver Architecture], _IO_DISCONNECT_INTERRUPT_PARAMETERS, kernel.io_disconnect_interrupt_parameters, kstruct_b_f8b627a3-a9ce-4a6c-8e3a-c0354ecdff7f.xml, wdm/IO_DISCONNECT_INTERRUPT_PARAMETERS, wdm/PIO_DISCONNECT_INTERRUPT_PARAMETERS
wdm.h
Wdm.h, Ntddk.h, Ntifs.h
Windows
Windows
IO_DISCONNECT_INTERRUPT_PARAMETERS, *PIO_DISCONNECT_INTERRUPT_PARAMETERS
_IO_DISCONNECT_INTERRUPT_PARAMETERS
wdm/_IO_DISCONNECT_INTERRUPT_PARAMETERS
PIO_DISCONNECT_INTERRUPT_PARAMETERS
wdm/PIO_DISCONNECT_INTERRUPT_PARAMETERS
IO_DISCONNECT_INTERRUPT_PARAMETERS
wdm/IO_DISCONNECT_INTERRUPT_PARAMETERS
APIRef
kbSyntax
HeaderDef
Wdm.h
_IO_DISCONNECT_INTERRUPT_PARAMETERS
PIO_DISCONNECT_INTERRUPT_PARAMETERS
IO_DISCONNECT_INTERRUPT_PARAMETERS

_IO_DISCONNECT_INTERRUPT_PARAMETERS structure

-description

The IO_DISCONNECT_INTERRUPT_PARAMETERS structure describes the parameters when unregistering an interrupt-handling routine with IoDisconnectInterruptEx.

-struct-fields

-field Version

Specifies the particular operation to be performed by IoDisconnectInterruptEx. The value for Version depends on the value specified for Parameters->Version when IoConnectInterruptEx registered the interrupt handing routine, as shown in the following table.

IO_CONNECT_INTERRUPT_PARAMETERS Version value IO_DISCONNECT_INTERRUPT_PARAMETERS Version value
CONNECT_LINE_BASED CONNECT_LINE_BASED
CONNECT_MESSAGE_BASED The value of Version output by IoConnectInterruptEx.
CONNECT_FULLY_SPECIFIED CONNECT_FULLY_SPECIFIED

-field ConnectionContext

A pointer to the KINTERRUPT or IO_INTERRUPT_MESSAGE_INFO structure that was provided by IoConnectInterruptEx when the interrupt was connected. The value for ConnectionContext depends on the value specified for Parameters->Version when IoConnectInterruptEx registered the interrupt handling routine, as shown in the following table.

IoConnectInterruptEx Version value IoDisconnectInterruptEx ConnectionContext value
CONNECT_LINE_BASED The value stored in LineBased.InterruptObject.
CONNECT_MESSAGE_BASED The value stored in MessageBased.ConnectionContext.
CONNECT_FULLY_SPECIFIED The value stored in FullySpecified.InterruptObject.
 

To minimize casting, ConnectionContext is defined as a union. Use ConnectionContext.Generic to specify the value as a PVOID. Use ConnectionContext.InterruptObject and ConnectionContext.InterruptMessageTable to specify the value as a pointer to a KINTERRUPT or IO_INTERRUPT_MESSAGE_INFO structure.

-field ConnectionContext.Generic

A pointer to a data structure of unspecified type.

-field ConnectionContext.InterruptObject

A pointer to a KINTERRUPT structure.

-field ConnectionContext.InterruptMessageTable

A pointer to an IO_INTERRUPT_MESSAGE_INFO structure.

-see-also

IO_INTERRUPT_MESSAGE_INFO

IoDisconnectInterruptEx

KINTERRUPT