The TS_GRAPHICS_UPDATE structure is used to describe the type and encapsulate the data for a slow-path graphics update sent from server to client. All slow-path graphic updates conform to this basic structure (see sections 2.2.9.1.1.3.1.1 to 2.2.9.1.1.3.1.4).
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
|
|
...
|
|
...
|
|
...
|
|
...
|
updateType
|
|
updateData (variable)
|
|
...
|
-
shareDataHeader (18 bytes):
Share Data Header (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. Type of the graphics update.
-
|
Value
|
Meaning
|
|---|
|
UPDATETYPE_ORDERS 0x0000
|
Indicates an Orders Update (see [MS-RDPEGDI] section 2.2.2.2).
|
|
UPDATETYPE_BITMAP 0x0001
|
Indicates a Bitmap Graphics Update (see section 2.2.9.1.1.3.1.2).
|
|
UPDATETYPE_PALETTE 0x0002
|
Indicates a Palette Update (see section 2.2.9.1.1.3.1.1).
|
|
UPDATETYPE_SYNCHRONIZE 0x0003
|
Indicates a Synchronize Update (see section 2.2.9.1.1.3.1.3).
|
|
UPDATETYPE_SURFCMDS 0x0004
|
Indicates a Surface Command Update (see section 2.2.9.1.1.3.1.4).
|
-
updateData (variable): Variable-length data specific to the graphics update.