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.
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;
Declared in ntdd8042.h. Include ntdd8042.h.
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.
For more information about connecting to a mouse device and hooking callbacks for a mouse device, see Features of the Kbfiltr and Moufiltr Drivers and Operation of Non-HIDClass Keyboard and Mouse Drivers.
IOCTL_INTERNAL_I8042_HOOK_MOUSE, MouFilter_IsrHook, PI8042_ISR_WRITE_PORT, PI8042_MOUSE_ISR, PI8042_QUEUE_PACKET