PARALLEL_INTERRUPT_SERVICE_ROUTINE structure

The PARALLEL_INTERRUPT_SERVICE_ROUTINE structure specifies interrupt services that a kernel-mode driver can connect to the operation of a parallel port.

Syntax

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;

Members

InterruptServiceRoutine

Pointer to an interrupt service routine.

InterruptServiceContext

Pointer to a context for the interrupt service routine.

DeferredPortCheckRoutine

Pointer to an optional deferred port check routine:

VOID
(*DeferredPortCheckRoutine) (
    IN PVOID DeferredContext
);
Parameters

DeferredContext

Pointer to a context for the deferred port check routine.

DeferredPortCheckContext

Pointer to an optional context for the deferred port check routine.

Remarks

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.
 

Requirements

   
Header parallel.h (include Parallel.h)

See Also

IOCTL_INTERNAL_PARALLEL_DISCONNECT_INTERRUPT

IOCTL_INTERNAL_PARALLEL_CONNECT_INTERRUPT

PARALLEL_INTERRUPT_INFORMATION