INTERNAL_I8042_HOOK_MOUSE structure (ntdd8042.h)
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.
Syntax
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;
Members
Context
Pointer, if non-NULL, to the context that must be used with the IsrRoutine routine. Otherwise, Context is NULL.
IsrRoutine
Pointer, if non-NULL, to an optional PI8042_MOUSE_ISR callback that customizes the operation of the I8042prt mouse ISR. Otherwise, IsrRoutine is NULL.
IsrWritePort
Pointer to the system-supplied mouse PI8042_ISR_WRITE_PORT callback, which writes data to a mouse.
QueueMousePacket
Pointer 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.
CallContext
Pointer to the context that must be used with the IsrWritePort and QueueMousePacket routines.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Header | ntdd8042.h (include Ntdd8042.h) |