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 {
  PVOID                 Context;
  PI8042_MOUSE_ISR      IsrRoutine;
  PI8042_ISR_WRITE_PORT IsrWritePort;
  PI8042_QUEUE_PACKET   QueueMousePacket;
  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

Header

Ntdd8042.h (include Ntdd8042.h)

See also

IOCTL_INTERNAL_I8042_HOOK_MOUSE
MouFilter_IsrHook
PI8042_ISR_WRITE_PORT
PI8042_MOUSE_ISR
PI8042_QUEUE_PACKET

 

 

Send comments about this topic to Microsoft

Mostrar:
© 2014 Microsoft