Partager via


2.2.2.7.1 Server Min Max Info PDU (TS_RAIL_ORDER_MINMAXINFO)

The Server Min Max Info PDU is sent from a server to a client when a window move or resize on the server is being initiated. This PDU contains information about the minimum and maximum extents to which the window can be moved or sized.


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

MaxWidth

MaxHeight

MaxPosX

MaxPosY

MinTrackWidth

MinTrackHeight

MaxTrackWidth

MaxTrackHeight

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

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

MaxWidth (2 bytes): A signed 16-bit integer. The width of the maximized window.

MaxHeight (2 bytes): A signed 16-bit integer. The height of the maximized window.

MaxPosX (2 bytes): A signed 16-bit integer. The x-coordinate of the top-left corner of the maximized window.

MaxPosY (2 bytes): A signed 16-bit integer. The y-coordinate of the top-left corner of the maximized window.

MinTrackWidth (2 bytes): A signed 16-bit integer. The minimum width to which the window can be resized.

MinTrackHeight (2 bytes): A signed 16-bit integer. The minimum height to which the window can be resized.

MaxTrackWidth (2 bytes): A signed 16-bit integer. The maximum width to which the window can be resized.

MaxTrackHeight (2 bytes): A signed 16-bit integer. The maximum height to which the window can be resized.