Skip to content

Latest commit

 

History

History
111 lines (78 loc) · 4.46 KB

ns-parallel-_parallel_interrupt_information.md

File metadata and controls

111 lines (78 loc) · 4.46 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:parallel._PARALLEL_INTERRUPT_INFORMATION
_PARALLEL_INTERRUPT_INFORMATION (parallel.h)
The PARALLEL_INTERRUPT_INFORMATION structure specifies information that a kernel-mode driver can use in the context of an ISR that the driver connects to a parallel port.
parports\parallel_interrupt_information.htm
parports
02/15/2018
PARALLEL_INTERRUPT_INFORMATION structure
*PPARALLEL_INTERRUPT_INFORMATION, PARALLEL_INTERRUPT_INFORMATION, PARALLEL_INTERRUPT_INFORMATION structure [Parallel Ports], PPARALLEL_INTERRUPT_INFORMATION, PPARALLEL_INTERRUPT_INFORMATION structure pointer [Parallel Ports], _PARALLEL_INTERRUPT_INFORMATION, cisspd_3912e608-5549-4b0a-a48d-fdc34af7bc04.xml, parallel/PARALLEL_INTERRUPT_INFORMATION, parallel/PPARALLEL_INTERRUPT_INFORMATION, parports.parallel_interrupt_information
parallel.h
Parallel.h
Windows
Windows
PARALLEL_INTERRUPT_INFORMATION, *PPARALLEL_INTERRUPT_INFORMATION
_PARALLEL_INTERRUPT_INFORMATION
parallel/_PARALLEL_INTERRUPT_INFORMATION
PPARALLEL_INTERRUPT_INFORMATION
parallel/PPARALLEL_INTERRUPT_INFORMATION
PARALLEL_INTERRUPT_INFORMATION
parallel/PARALLEL_INTERRUPT_INFORMATION
APIRef
kbSyntax
HeaderDef
parallel.h
_PARALLEL_INTERRUPT_INFORMATION
PPARALLEL_INTERRUPT_INFORMATION
PARALLEL_INTERRUPT_INFORMATION

_PARALLEL_INTERRUPT_INFORMATION structure

-description

The PARALLEL_INTERRUPT_INFORMATION structure specifies information that a kernel-mode driver can use in the context of an ISR that the driver connects to a parallel port.

-struct-fields

-field InterruptObject

Pointer to the parallel port interrupt object.

-field TryAllocatePortAtInterruptLevel

Pointer to the system-supplied PPARALLEL_TRY_ALLOCATE_ROUTINE (ISR) callback routine that a kernel-mode driver can use to attempt to allocate the parallel port at IRQL = DIRQL.

-field FreePortFromInterruptLevel

Pointer to the system-supplied PPARALLEL_FREE_ROUTINE (ISR) callback routine that a kernel-mode driver can use to free the parallel port at IRQL = DIRQL.

-field Context

Pointer to the device extension of a functional device object that represents the parallel port.

-syntax

typedef struct _PARALLEL_INTERRUPT_INFORMATION {
  PKINTERRUPT                    InterruptObject;
  PPARALLEL_TRY_ALLOCATE_ROUTINE TryAllocatePortAtInterruptLevel;
  PPARALLEL_FREE_ROUTINE         FreePortFromInterruptLevel;
  PVOID                          Context;
} PARALLEL_INTERRUPT_INFORMATION, *PPARALLEL_INTERRUPT_INFORMATION;

-remarks

A kernel-mode driver can use the parallel interrupt information in the context of an interrupt service routine (ISR). A driver connects an ISR using an IOCTL_INTERNAL_PARALLEL_CONNECT_INTERRUPT request.

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

-see-also

IOCTL_INTERNAL_PARALLEL_DISCONNECT_INTERRUPT

PARALLEL_INTERRUPT_SERVICE_ROUTINE

IOCTL_INTERNAL_PARALLEL_CONNECT_INTERRUPT

PPARALLEL_TRY_ALLOCATE_ROUTINE (ISR)

PPARALLEL_FREE_ROUTINE (ISR)