PI8042_QUEUE_PACKET function pointer

The PI8042_QUEUE_PACKET-typed callback routine queues an input data packet for processing by the ISR DPC of a keyboard or mouse device. I8042prt provides this callback.

Syntax


typedef VOID ( *PI8042_QUEUE_PACKET)(
  _In_ PVOID Context
);

Parameters

Context [in]

Pointer to the function device object that represents a keyboard or mouse device.

Return value

None

Remarks

The PI8042_QUEUE_PACKET callback should only be called by a PI8042_KEYBOARD_ISR callback or aPI8042_MOUSE_ISR callback. I8042prt calls a vendor-supplied ISR callback in the corresponding I8042prt device ISR.

I8042prt specifies the queue packet callback for a keyboard in the QueueKeyboardPacket member of the INTERNAL_I8042_HOOK_KEYBOARD structure that I8042prt uses with an IOCTL_INTERNAL_I8042_HOOK_KEYBOARD request.

I8042prt specifies the queue packet callback for a mouse in the QueueMousePacket member of an INTERNAL_I8042_HOOK_MOUSE structure that I8042prt uses with an IOCTL_INTERNAL_I8042_HOOK_MOUSE request.

The PI8042_QUEUE_PACKET callback runs in kernel mode at the same IRQL as the I8042prt ISR for the device.

Requirements

Target platform

Desktop

Header

Ntdd8042.h (include Ntdd8042.h)

IRQL

See Remarks section.

See also

INTERNAL_I8042_HOOK_KEYBOARD
INTERNAL_I8042_HOOK_MOUSE
IOCTL_INTERNAL_I8042_HOOK_KEYBOARD
IOCTL_INTERNAL_I8042_HOOK_MOUSE

 

 

Send comments about this topic to Microsoft

Показ:
© 2015 Microsoft