Partager via


2.2.8.1.2.2.3 Fast-Path Mouse Event (TS_FP_POINTER_EVENT)

 The TS_FP_POINTER_EVENT structure is the fast-path variant of the TS_POINTER_EVENT (section 2.2.8.1.1.3.1.1.3) structure.


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

eventHeader

pointerFlags

xPos

...

yPos

eventHeader (1 byte): An 8-bit, unsigned integer. The format of this field is the same as the eventHeader byte field, specified in section 2.2.8.1.2.2. The eventCode bitfield (3 bits in size) MUST be set to FASTPATH_INPUT_EVENT_MOUSE (1). The eventFlags bitfield (5 bits in size) MUST be zeroed out.

pointerFlags (2 bytes): A 16-bit, unsigned integer. Contains flags that describe the pointer event. The possible flags are identical to those found in the pointerFlags field of the TS_POINTER_EVENT structure.

xPos (2 bytes): A 16-bit, unsigned integer. The x-coordinate of the pointer relative to the top-left corner of the server's desktop. This field SHOULD be ignored by the server if either the PTRFLAGS_WHEEL (0x0200) or the PTRFLAGS_HWHEEL (0x0400) flag is specified in the pointerFlags field.

yPos (2 bytes): A 16-bit, unsigned integer. The y-coordinate of the pointer relative to the top-left corner of the server's desktop. This field SHOULD be ignored by the server if either the PTRFLAGS_WHEEL (0x0200) or the PTRFLAGS_HWHEEL (0x0400) flag is specified in the pointerFlags field.