Partager via


2.2.2.1 Orders Update (TS_UPDATE_ORDERS_PDU_DATA)

The TS_UPDATE_ORDERS_PDU_DATA structure contains primary, secondary, and alternate secondary drawing orders aligned on byte boundaries. This structure conforms to the layout of a Slow Path Graphics Update (see [MS-RDPBCGR] section 2.2.9.1.1.3.1) and is encapsulated within a Graphics Update PDU (see [MS-RDPBCGR] section 2.2.9.1.1.3.1.1).


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

shareDataHeader (18 bytes)

...

...

...

updateType

pad2OctetsA

numberOrders

pad2OctetsB

orderData (variable)

...

shareDataHeader (18 bytes): Share Data Header (see [MS-RDPBCGR], section 2.2.8.1.1.1.2) containing information about the packet. The type subfield of the pduType field of the Share Control Header (section 2.2.8.1.1.1.1) MUST be set to PDUTYPE_DATAPDU (7). The pduType2 field of the Share Data Header MUST be set to PDUTYPE2_UPDATE (2).

updateType (2 bytes): A 16-bit, unsigned integer. The field contains the graphics update type. This field MUST be set to UPDATETYPE_ORDERS (0x0000).

pad2OctetsA (2 bytes): A 16-bit, unsigned integer used as a padding field. Values in this field are arbitrary and MUST be ignored.

numberOrders (2 bytes): A 16-bit, unsigned integer. The number of Drawing Order (section 2.2.2.1.1) structures contained in the orderData field.

pad2OctetsB (2 bytes): A 16-bit, unsigned integer used as a padding field. Values in this field are arbitrary and MUST be ignored.

orderData (variable): A variable-sized array of Drawing Order (section 2.2.2.1.1) structures packed on byte boundaries. Each structure contains a primary, secondary, or alternate secondary drawing order. The controlFlags field of the Drawing Order identifies the type of drawing order.