// 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 referenceNo description available.
OUTPUT_PACKET contains information about the data that is being written to a keyboard or mouse device by I8042prt.
BytesPointer to an array of bytes being written to an i8042 port device.
CurrentByteSpecifies the index of the next byte to write.
ByteCountSpecifies the number of bytes in the array of bytes located at Bytes.
StateSpecifies one of the following write states:
typedef enum _TRANSMIT_STATE {
Idle = 0,
SendingBytes
} TRANSMIT_STATE;
Identifies that a write is not in progress.
Identifies that a write is in progress.
This structure is used with a PI8042_KEYBOARD_ISR callback routine and a PI8042_MOUSE_ISR callback routine.