PARALLEL_INTERRUPT_INFORMATION structure (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.
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;
Members
InterruptObject
Pointer to the parallel port interrupt object.
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.
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.
Context
Pointer to the device extension of a functional device object that represents the parallel port.
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.
Requirements
Requirement | Value |
---|---|
Header | parallel.h (include Parallel.h) |
See also
IOCTL_INTERNAL_PARALLEL_DISCONNECT_INTERRUPT
PARALLEL_INTERRUPT_SERVICE_ROUTINE
IOCTL_INTERNAL_PARALLEL_CONNECT_INTERRUPT