INTERNAL_I8042_HOOK_MOUSE structure

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-<b>NULL</b>, to the context that must be used with the <b>IsrRoutine</b> routine. Otherwise, <b>Context</b> is <b>NULL</b>.
    
    
        `IsrRoutine`

        Pointer, if non-<b>NULL</b>, to an optional <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/ntdd8042/nc-ntdd8042-pi8042_mouse_isr">PI8042_MOUSE_ISR</a> callback that customizes the operation of the I8042prt mouse ISR. Otherwise, <b>IsrRoutine </b>is <b>NULL</b>.
    
    
        `IsrWritePort`

        Pointer to the system-supplied mouse <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/ntdd8042/nc-ntdd8042-pi8042_isr_write_port">PI8042_ISR_WRITE_PORT</a> callback, which writes data to a mouse.
    
    
        `QueueMousePacket`

        Pointer to the system-supplied mouse <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/ntdd8042/nc-ntdd8042-pi8042_queue_packet">PI8042_QUEUE_PACKET</a> 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 <b>IsrWritePort</b> and <b>QueueMousePacket</b> routines.
    

## Remarks
    This structure is only used with an <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/ntdd8042/ni-ntdd8042-ioctl_internal_i8042_hook_mouse">IOCTL_INTERNAL_I8042_HOOK_MOUSE</a> 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

   
Header ntdd8042.h (include Ntdd8042.h)
## See Also

    <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/ntdd8042/ni-ntdd8042-ioctl_internal_i8042_hook_mouse">IOCTL_INTERNAL_I8042_HOOK_MOUSE</a>

MouFilter_IsrHook

PI8042_ISR_WRITE_PORT

PI8042_MOUSE_ISR

PI8042_QUEUE_PACKET