2.2.2.4.10 Update Orders

The Update Orders packet contains one or more update orders.


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

updateType

padding

cOrders

sendBPP

data (variable)

...

updateType (2 bytes): One of the following values, which indicate the type of update orders that are contained in the structure.

Value

Meaning

UPD_ORDERS

0x0000

The packet can contain one or more of the orders that are defined in the Order Type enumeration. Possible values for the Order Type enumeration are defined in section 2.2.2.4.10.1.20.

UPD_SCREEN_DATA

0x0001

Contains an UpdateBitmapPDU order that updates a region of the screen.

UPD_PALETTE

0x0002

Contains an UpdatePalettePDU order that describes the palette of UpdateBitmapPDU orders.

UPD_SYNC

0x0003

Contains an UpdateSynchronizePDU order that resets the state of the connection.

If this field is set to 0x0000, this packet can contain any of the following orders:

Name

Description

ArcOrder

Contains an arc.

CacheBitmapOrder

Contains a bitmap to be cached.

CacheColorTableOrder

Contains a color table to be cached.

ChordOrder

Contains a chord.

DesktopScroll

Contains a desktop scroll.

DstBlt

Contains a raster transfer of a rectangle.

EllipseOrder

Contains an ellipse.

ExtTextOrder

Contains a string to be displayed and positions for the individual characters.

LineOrder

Contains a line.

MemBlt

Contains a transfer from the bitmap cache to the screen.

Mem3Blt

Contains a transfer from the bitmap cache to the screen through a brush.

OpaqueRect

Contains an opaque rectangle.

PatBlt

Contains a brush paint.

PieOrder

Contains a pie wedge.

PolyBezierOrder

Contains one or more Bezier curves.

PolygonOrder

Contains a polygon.

RectangleOrder

Contains a rectangle.

RoundRectOrder

Contains a rectangle that has rounded corners.

SaveBitmap

Contains a region of the screen that the receiver SHOULD save or restore.

ScreenBlt

Contains a bit-block transfer between regions of the screen.

TextOrder

Contains a string.

padding (2 bytes): Reserved. MUST be set to zero when sent and MUST be ignored on receipt.

cOrders (2 bytes): The number of orders that are contained in data.

sendBPP (2 bytes): The bits per pixel that are in use by the sending application-sharing session node.

data (variable): An array of orders that are appropriate to the value of updateType.