PI8042_ISR_WRITE_PORT - NtDoc

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

PI8042_ISR_WRITE_PORT Pi8042IsrWritePort;

VOID Pi8042IsrWritePort(
  [in] PVOID Context,
  [in] UCHAR Value
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

PI8042_ISR_WRITE_PORT callback function

Description

The PI8042_ISR_WRITE_PORT-typed callback routine writes data to an i8042 port. I8042prt provides this callback.

Parameters

Context [in]

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

Value [in]

Specifies the data to write to an i8042 port.

Remarks

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

I8042prt specifies the keyboard write port callback in the IsrWritePort member of the INTERNAL_I8042_HOOK_KEYBOARD structure that I8042prt uses with an IOCTL_INTERNAL_I8042_HOOK_KEYBOARD request.

I8042prt specifies the mouse write port callback in the IsrWritePort member of the INTERNAL_I8042_HOOK_MOUSE structure that I8042prt uses with an IOCTL_INTERNAL_I8042_HOOK_KEYBOARD request.

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

See also

INTERNAL_I8042_HOOK_MOUSE

IOCTL_INTERNAL_I8042_HOOK_KEYBOARD

IOCTL_INTERNAL_I8042_HOOK_MOUSE