2.2.2.2.1.3.1.1 Alternate Secondary Drawing Order Header (ALTSEC_DRAWING_ORDER_HEADER)

The ALTSEC_DRAWING_ORDER_HEADER structure is included in all alternate secondary drawing 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

controlFlags

controlFlags (1 byte): An 8-bit, unsigned integer. The control byte that identifies the class and type of the drawing order.

The format of the controlFlags byte is described by the following bitmask diagram.


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

class

orderType

class (2 bits): A 2-bit, unsigned integer. This field MUST contain only the TS_SECONDARY (0x02) flag to indicate that the order is an alternate secondary drawing order (see section 2.2.2.2.1).

orderType (6 bits): A 6-bit, unsigned integer. Identifies the type of alternate secondary drawing order.

Value

Meaning

TS_ALTSEC_SWITCH_SURFACE

0x00

Switch Surface Alternate Secondary Drawing Order (see section 2.2.2.2.1.3.3).

TS_ALTSEC_CREATE_OFFSCR_BITMAP

0x01

Create Offscreen Bitmap Alternate Secondary Drawing Order (see section 2.2.2.2.1.3.2).

TS_ALTSEC_STREAM_BITMAP_FIRST

0x02

Stream Bitmap First (Revision 1 and 2) Alternate Secondary Drawing Order (see section 2.2.2.2.1.3.5.1).

TS_ALTSEC_STREAM_BITMAP_NEXT

0x03

Stream Bitmap Next Alternate Secondary Drawing Order (see section 2.2.2.2.1.3.5.2).

TS_ALTSEC_CREATE_NINEGRID_BITMAP

0x04

Create NineGrid Bitmap Alternate Secondary Drawing Order (see section 2.2.2.2.1.3.4).

TS_ALTSEC_GDIP_FIRST

0x05

Draw GDI+ First Alternate Secondary Drawing Order (see section 2.2.2.2.1.3.6.2).

TS_ALTSEC_GDIP_NEXT

0x06

Draw GDI+ Next Alternate Secondary Drawing Order (see section 2.2.2.2.1.3.6.3).

TS_ALTSEC_GDIP_END

0x07

Draw GDI+ End Alternate Secondary Drawing Order (see section 2.2.2.2.1.3.6.4).

TS_ALTSEC_GDIP_CACHE_FIRST

0x08

Draw GDI+ First Alternate Secondary Drawing Order (see section 2.2.2.2.1.3.6.2).

TS_ALTSEC_GDIP_CACHE_NEXT

0x09

Draw GDI+ Cache Next Alternate Secondary Drawing Order (see section 2.2.2.2.1.3.6.3).

TS_ALTSEC_GDIP_CACHE_END

0x0A

Draw GDI+ Cache End Alternate Secondary Drawing Order (see section 2.2.2.2.1.3.6.4).

TS_ALTSEC_WINDOW

0x0B

Windowing Alternate Secondary Drawing Order (see [MS-RDPERP] section 2.2.1.3).

TS_ALTSEC_COMPDESK_FIRST

0x0C

Desktop Composition Alternate Secondary Drawing Order (see [MS-RDPEDC] section 2.2.1.1).

TS_ALTSEC_FRAME_MARKER

0x0D

Frame Marker Alternate Secondary Drawing Order (see section 2.2.2.2.1.3.7).