// ntdd8042.h
typedef struct _INTERNAL_I8042_HOOK_MOUSE {
OUT PVOID Context;
OUT PI8042_MOUSE_ISR IsrRoutine;
IN PI8042_ISR_WRITE_PORT IsrWritePort;
IN PI8042_QUEUE_PACKET QueueMousePacket;
IN PVOID CallContext;
} INTERNAL_I8042_HOOK_MOUSE, *PINTERNAL_I8042_HOOK_MOUSE;
View the official Windows Driver Kit DDI referenceNo description available.
INTERNAL_I8042_HOOK_MOUSE is used by I8042prt to connect an optional callback routine that supplements the operation of the mouse ISR. The callback can be supplied by an optional, vendor-supplied, upper-level filter driver.
ContextPointer, if non-NULL, to the context that must be used with the IsrRoutine routine. Otherwise, Context is NULL.
IsrRoutinePointer, if non-NULL, to an optional PI8042_MOUSE_ISR callback that customizes the operation of the I8042prt mouse ISR. Otherwise, IsrRoutine is NULL.
IsrWritePortPointer to the system-supplied mouse PI8042_ISR_WRITE_PORT callback, which writes data to a mouse.
QueueMousePacketPointer to the system-supplied mouse PI8042_QUEUE_PACKET callback, which queues a mouse input data packet for processing by the mouse's ISR deferred procedure call.
CallContextPointer to the context that must be used with the IsrWritePort and QueueMousePacket routines.
This structure is only used with an IOCTL_INTERNAL_I8042_HOOK_MOUSE request.
Context, InitializationRoutine, and IsrRoutine can be supplied by an optional, vendor-supplied, upper-level filter driver.
IsrWritePort, QueueMousePacket, and CallContext are supplied by I8042prt.
IOCTL_INTERNAL_I8042_HOOK_MOUSE