2.2.9.1.2.1.10.1 Surface Command (TS_SURFCMD)

The TS_SURFCMD structure is used to specify the Surface Command type and to encapsulate the data for a Surface Command sent from a server to a client. All Surface Commands in section 2.2.9.2 conform to this structure.


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

cmdType

cmdData (variable)

...

cmdType (2 bytes): A 16-bit unsigned integer. Surface Command type.

Value

Meaning

CMDTYPE_SET_SURFACE_BITS

0x0001

Indicates a Set Surface Bits Command (section 2.2.9.2.1).

CMDTYPE_FRAME_MARKER

0x0004

Indicates a Frame Marker Command (section 2.2.9.2.3).

CMDTYPE_STREAM_SURFACE_BITS

0x0006

Indicates a Stream Surface Bits Command (section 2.2.9.2.2).

cmdData (variable): Variable-length data specific to the Surface Command.