2.2.3.7 RDPINPUT_PEN_EVENT_PDU

The RDPINPUT_PEN_EVENT_PDU message is sent by the client endpoint and is used to remote a collection of pen frames.


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

header

...

encodeTime (variable)

...

frameCount (variable)

...

frames (variable)

...

header (6 bytes): An RDPINPUT_HEADER (section 2.2.2.6) structure. The eventId field MUST be set to EVENTID_PEN (0x0008).

encodeTime (variable): A FOUR_BYTE_UNSIGNED_INTEGER (section 2.2.2.3) structure that specifies the time that has elapsed (in milliseconds) from when the oldest pen frame was generated to when it was encoded for transmission by the client.

frameCount (variable): A TWO_BYTE_UNSIGNED_INTEGER (section 2.2.2.1) structure that specifies the number of RDPINPUT_PEN_FRAME (section 2.2.3.7.1) structures in the frames field.

frames (variable): An array of RDPINPUT_PEN_FRAME structures ordered from the oldest in time to the most recent in time. The number of structures in this array is specified by the frameCount field.