// parallel.h
typedef struct _PARALLEL_INTERRUPT_SERVICE_ROUTINE {
PKSERVICE_ROUTINE InterruptServiceRoutine;
PVOID InterruptServiceContext;
PPARALLEL_DEFERRED_ROUTINE DeferredPortCheckRoutine;
PVOID DeferredPortCheckContext;
} PARALLEL_INTERRUPT_SERVICE_ROUTINE, *PPARALLEL_INTERRUPT_SERVICE_ROUTINE;
View the official Windows Driver Kit DDI referenceNo description available.
The PARALLEL_INTERRUPT_SERVICE_ROUTINE structure specifies interrupt services that a kernel-mode driver can connect to the operation of a parallel port.
InterruptServiceRoutinePointer to an interrupt service routine.
InterruptServiceContextPointer to a context for the interrupt service routine.
DeferredPortCheckRoutinePointer to an optional deferred port check routine:
VOID
(*DeferredPortCheckRoutine) (
IN PVOID DeferredContext
);
Parameters
Pointer to a context for the deferred port check routine.
DeferredPortCheckContextPointer to an optional context for the deferred port check routine.
typedef struct _PARALLEL_INTERRUPT_SERVICE_ROUTINE {
PKSERVICE_ROUTINE InterruptServiceRoutine;
PVOID InterruptServiceContext;
PPARALLEL_DEFERRED_ROUTINE DeferredPortCheckRoutine;
PVOID DeferredPortCheckContext;
} PARALLEL_INTERRUPT_SERVICE_ROUTINE, *PPARALLEL_INTERRUPT_SERVICE_ROUTINE;
A kernel-mode driver can connect a device-specific interrupt service routine and a deferred port check routine to the parallel port.
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.
IOCTL_INTERNAL_PARALLEL_DISCONNECT_INTERRUPT
IOCTL_INTERNAL_PARALLEL_CONNECT_INTERRUPT
PARALLEL_INTERRUPT_INFORMATION