PI8042_ISR_WRITE_PORT callback function

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

Syntax

PI8042_ISR_WRITE_PORT Pi8042IsrWritePort;

void Pi8042IsrWritePort(
  PVOID Context,
  UCHAR Value
)
{...}

Parameters

Context

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

Value

Specifies the data to write to an i8042 port.

Return Value

None

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.

Requirements

   
Target Platform Desktop
Header ntdd8042.h (include Ntdd8042.h)
IRQL See Remarks section.

See Also

INTERNAL_I8042_HOOK_MOUSE

IOCTL_INTERNAL_I8042_HOOK_KEYBOARD

IOCTL_INTERNAL_I8042_HOOK_MOUSE

Send comments about this topic to Microsoft