Compartilhar via


2.2.2.7.4 Client Window Move PDU (TS_RAIL_ORDER_WINDOWMOVE)

The Client Window Move PDU packet is sent from the client to the server when a local window is ending a move or resize. The client communicates the locally moved or resized window's position to the server by using this packet. The server uses this information to reposition its window.

Window positions sent using this packet SHOULD include hit-testable margins (see section 3.2.5.1.6).


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

Hdr

WindowId

Left

Top

Right

Bottom

Hdr (4 bytes): A TS_RAIL_PDU_HEADER header. The orderType field of the header MUST be set to TS_RAIL_ORDER_WINDOWMOVE (0x0008).

WindowId (4 bytes): An unsigned 32-bit integer. The ID of the window on the server corresponding to the local window that was moved or resized.

Left (2 bytes): A signed 16-bit integer. The x-coordinate of the top-left corner of the window's new position.

Top (2 bytes): A signed 16-bit integer. The y-coordinate of the top-left corner of the window's new position.

Right (2 bytes): A signed 16-bit integer. The x-coordinate of the bottom-right corner of the window's new position.

Bottom (2 bytes): A signed 16-bit integer. The y-coordinate of the bottom-right corner of the window's new position.