Compartilhar via


2.2.1.3.6.1 Monitor Definition (TS_MONITOR_DEF)

The TS_MONITOR_DEF packet describes the configuration of a client-side display monitor. The x and y coordinates used to describe the monitor position MUST be relative to the upper-left corner of the monitor designated as the "primary display monitor" (the upper-left corner of the primary monitor is always (0, 0)).


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

left

top

right

bottom

flags

left (4 bytes): A 32-bit, signed integer. Specifies the x-coordinate of the upper-left corner of the display monitor.

top (4 bytes): A 32-bit, signed integer. Specifies the y-coordinate of the upper-left corner of the display monitor.

right (4 bytes): A 32-bit, signed integer. Specifies the inclusive x-coordinate of the lower-right corner of the display monitor.

bottom (4 bytes): A 32-bit, signed integer. Specifies the inclusive y-coordinate of the lower-right corner of the display monitor.

flags (4 bytes): A 32-bit, unsigned integer. Monitor configuration flags.

Flag

Meaning

TS_MONITOR_PRIMARY

0x00000001

The top, left, right, and bottom fields describe the position of the primary monitor.