2.2.2.6 RDPINPUT_HEADER

The RDPINPUT_HEADER structure is included in all input event PDUs and is used to identify the input event type and to specify the length of the PDU.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

eventId

pduLength

...

eventId (2 bytes):  A 16-bit unsigned integer that identifies the type of the input event PDU.

Value

Meaning

EVENTID_SC_READY

0x0001

RDPINPUT_SC_READY_PDU (section 2.2.3.1).

EVENTID_CS_READY

0x0002

RDPINPUT_CS_READY_PDU (section 2.2.3.2).

EVENTID_TOUCH

0x0003

RDPINPUT_TOUCH_EVENT_PDU (section 2.2.3.3).

EVENTID_SUSPEND_INPUT

0x0004

RDPINPUT_SUSPEND_INPUT_PDU (section 2.2.3.4).

EVENTID_RESUME_INPUT

0x0005

RDPINPUT_RESUME_INPUT_PDU (section 2.2.3.5).

EVENTID_DISMISS_HOVERING_TOUCH_CONTACT

0x0006

RDPINPUT_DISMISS_HOVERING_TOUCH_CONTACT_PDU (section 2.2.3.6).

EVENTID_PEN

0x0008

RDPINPUT_PEN_EVENT_PDU (section 2.2.3.7).

pduLength (4 bytes):  A 32-bit unsigned integer that specifies the length of the input event PDU in bytes. This value MUST include the length of the RDPINPUT_HEADER (6 bytes).