OUTPUT_PACKET - NtDoc

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

typedef struct _OUTPUT_PACKET {
  PUCHAR         Bytes;
  ULONG          CurrentByte;
  ULONG          ByteCount;
  TRANSMIT_STATE State;
} OUTPUT_PACKET, *POUTPUT_PACKET;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntdd8042-_output_packet)

_OUTPUT_PACKET structure

Description

OUTPUT_PACKET contains information about the data that is being written to a keyboard or mouse device by I8042prt.

Members

Bytes

Pointer to an array of bytes being written to an i8042 port device.

CurrentByte

Specifies the index of the next byte to write.

ByteCount

Specifies the number of bytes in the array of bytes located at Bytes.

State

Specifies one of the following write states:

typedef enum _TRANSMIT_STATE {
    Idle = 0,
    SendingBytes
} TRANSMIT_STATE;

Idle

Identifies that a write is not in progress.

SendingBytes

Identifies that a write is in progress.

Remarks

This structure is used with a PI8042_KEYBOARD_ISR callback routine and a PI8042_MOUSE_ISR callback routine.

See also

KbFilter_IsrHook

MouFilter_IsrHook

PI8042_KEYBOARD_ISR

PI8042_MOUSE_ISR