PI8042_QUEUE_PACKET - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntdd8042.h

PI8042_QUEUE_PACKET Pi8042QueuePacket;

VOID Pi8042QueuePacket(
  [in] PVOID Context
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-ntdd8042-pi8042_queue_packet)

PI8042_QUEUE_PACKET callback function

Description

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.

Parameters

Context [in]

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

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.

See also

INTERNAL_I8042_HOOK_KEYBOARD

INTERNAL_I8042_HOOK_MOUSE

IOCTL_INTERNAL_I8042_HOOK_KEYBOARD

IOCTL_INTERNAL_I8042_HOOK_MOUSE