2.2.2.1.4 PROTCAPS_ORDERS

The PROTCAPS_ORDERS structure describes the orders that are supported by a node of an application-sharing session.


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

capID

capSize

capsDisplayDriver (16 bytes)

...

...

capsSaveBitmapSize

capsSaveBitmapXGranularity

capsSaveBitmapYGranularity

capsSaveBitmapMaxSaveLevel

capsMaxOrderLevel

capsNumFonts

capsEncodingLevel

capsOrders (32 bytes)

...

...

capsfFonts

pad1

capsSendSaveBitmapSize

capsReceiveSaveBitmapSize

capsfSendScroll

pad2

capID (2 bytes): MUST be set to 0x0003.

capSize (2 bytes): MUST be set to 0x0054 (84).

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

capsSaveBitmapSize (4 bytes): The bitmap size that the node uses for SaveBitmap orders. MUST be set to 0x00027100 (160000).

capsSaveBitmapXGranularity (2 bytes): MUST be set to 0x0001.

capsSaveBitmapYGranularity (2 bytes): MUST be set to 0x0014 (20).

capsSaveBitmapMaxSaveLevel (2 bytes): MUST be set to 0x0000.

capsMaxOrderLevel (2 bytes): MUST be set to 0x0001.

capsNumFonts (2 bytes): Is 0x0000 when unable to determine fonts in the system ( error ); otherwise it varies depending upon the maximum number of current fonts in the list derived from the system.

capsEncodingLevel (2 bytes): MUST be set to 0x0002.

capsOrders (32 bytes): An array of bytes that contain 1, to indicate support for a specified order; and 0, to indicate lack of support for a specified order.

Value

Meaning

0x00

Support for a DstBlt order that contains a raster transfer of a rectangle.

0x01

Support for a PatBlt order that contains a brush paint.

0x02

Support for a ScreenBlt order that contains a bit-block transfer between regions of the screen.

0x03

Reserved. MUST be set to 1 and ignored upon receipt.

0x04

Reserved. MUST be set to 1 and ignored upon receipt.

0x05

Support for a TextOrder that contains a string.

0x06

Support for an ExtTextOrder that contains a string to be displayed and positions for the individual characters.

0x07

Support for a RectangleOrder that contains a rectangle.

0x08

Support for a LineOrder that contains a line.

0x09

Reserved. MUST be set to zero when sent and MUST be ignored on receipt.

0x0A

Support for an OpaqueRect order that contains an opaque rectangle.

0x0B

Support for a SaveBitmap order that contains a region of the screen that the receiver MUST save or restore.

0x0C

Reserved. MUST be set to zero when sent and MUST be ignored on receipt.

0x0D

Support for a MemBlt order that contains a transfer from the bitmap cache to the screen.

0x0E

Support for a Mem3Blt order that contains a transfer from the bitmap cache to the screen using a brush.

0x0F

Support for a PolygonOrder that contains a polygon.

0x10

Support for a PieOrder that contains a pie wedge.

0x11

Support for an EllipseOrder that contains an ellipse.

0x12

Support for an ArcOrder that contains an arc.

0x13

Support for a ChordOrder that contains a chord.

0x14

Support for a PolyBezierOrder that contains one or more Bezier curves.

0x15

Support for a RoundRectOrder that contains a rectangle with rounded corners.

0x16

The last ten bytes for orders are undefined.

0x17

Reserved. MUST be set to zero when sent and MUST be ignored on receipt.

0x18

Reserved. MUST be set to zero when sent and MUST be ignored on receipt.

0x19

Reserved. MUST be set to zero when sent and MUST be ignored on receipt.

0x1A

Reserved. MUST be set to zero when sent and MUST be ignored on receipt.

0x1B

Reserved. MUST be set to zero when sent and MUST be ignored on receipt.

0x1C

Reserved. MUST be set to zero when sent and MUST be ignored on receipt.

0x1D

Reserved. MUST be set to zero when sent and MUST be ignored on receipt.

0x1E

Reserved. MUST be set to zero when sent and MUST be ignored on receipt.

0x1F

Reserved. MUST be set to zero when sent and MUST be ignored on receipt.

capsfFonts (2 bytes): MUST be set to 0x03B5.

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

capsSendSaveBitmapSize (4 bytes): MUST be set to 0x00027100 (160000).

capsReceiveSaveBitmapSize (4 bytes): MUST be set to 0x00027100 (160000).

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

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