Skip to content

Latest commit

 

History

History
111 lines (71 loc) · 4.02 KB

ni-parallel-ioctl_internal_parallel_disconnect_interrupt.md

File metadata and controls

111 lines (71 loc) · 4.02 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
NI:parallel.IOCTL_INTERNAL_PARALLEL_DISCONNECT_INTERRUPT
IOCTL_INTERNAL_PARALLEL_DISCONNECT_INTERRUPT (parallel.h)
The IOCTL_INTERNAL_PARALLEL_DISCONNECT_INTERRUPT request disconnects an interrupt service routine (and an optional deferred port check service routine) that was connected by using an IOCTL_INTERNAL_PARALLEL_CONNECT_INTERRUPT request.
parports\ioctl_internal_parallel_disconnect_interrupt.htm
parports
02/15/2018
IOCTL_INTERNAL_PARALLEL_DISCONNECT_INTERRUPT IOCTL
IOCTL_INTERNAL_PARALLEL_DISCONNECT_INTERRUPT, IOCTL_INTERNAL_PARALLEL_DISCONNECT_INTERRUPT control code [Parallel Ports], cisspd_d98e5171-686e-41de-96fd-4615eaad82f3.xml, parallel/IOCTL_INTERNAL_PARALLEL_DISCONNECT_INTERRUPT, parports.ioctl_internal_parallel_disconnect_interrupt
parallel.h
Parallel.h
Windows
Windows
RILGBATOKEN, *LPRILGBATOKEN
IOCTL_INTERNAL_PARALLEL_DISCONNECT_INTERRUPT
parallel/IOCTL_INTERNAL_PARALLEL_DISCONNECT_INTERRUPT
APIRef
kbSyntax
HeaderDef
parallel.h
IOCTL_INTERNAL_PARALLEL_DISCONNECT_INTERRUPT

IOCTL_INTERNAL_PARALLEL_DISCONNECT_INTERRUPT IOCTL

Major Code:

IRP_MJ_DEVICE_CONTROL

-description

The IOCTL_INTERNAL_PARALLEL_DISCONNECT_INTERRUPT request disconnects an interrupt service routine (and an optional deferred port check service routine) that was connected by using an IOCTL_INTERNAL_PARALLEL_CONNECT_INTERRUPT request. Only kernel-mode drivers can connect and disconnect an interrupt routine.

Note   Microsoft does not recommend using a client-supplied interrupt routine. The use of interrupts might cause system instability. By default, the connect interrupt request is disabled. For more information, see Connecting an Interrupt Service Routine to a ParallelPort.
 

-ioctlparameters

-ioctl-major-code

IRP_MJ_INTERNAL_DEVICE_CONTROL

-input-buffer

The AssociatedIrp.SystemBuffer member points to a PARALLEL_INTERRUPT_SERVICE_ROUTINE structure that the client allocates for the input of interrupt service information.

-input-buffer-length

The Parameters.DeviceIoControl.InputBufferLength member is set to the size, in bytes, of a PARALLEL_INTERRUPT_SERVICE_ROUTINE structure.

-output-buffer

None.

-output-buffer-length

None.

-in-out-buffer

-inout-buffer-length

-status-block

The Information member is set to zero.

The Status member is set to one of the generic status values returned by internal device control requests for parallel ports or to one of the following values:

STATUS_BUFFER_TOO_SMALL

The value of the Parameters.DeviceIoControl.InputBufferLength member is less than the size, in bytes, of a PARALLEL_INTERRUPT_SERVICE_ROUTINE structure.

STATUS_INVALID_PARAMETER

The specified interrupt service routine is not connected.

-see-also

PARALLEL_INTERRUPT_SERVICE_ROUTINE

IOCTL_INTERNAL_PARALLEL_CONNECT_INTERRUPT

PARALLEL_INTERRUPT_INFORMATION