2.2.2.4 RDPGFX_SOLIDFILL_PDU

The RDPGFX_SOLIDFILL_PDU message is used to instruct the client to fill a collection of rectangles on a destination surface with a solid color.


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

header

...

surfaceId

fillPixel

...

fillRectCount

fillRects (variable)

...

...

header (8 bytes):  An RDPGFX_HEADER (section 2.2.1.5) structure. The cmdId field MUST be set to RDPGFX_CMDID_SOLIDFILL (0x0004), while the flags field MUST be set to zero.

surfaceId (2 bytes):  A 16-bit unsigned integer that specifies the ID of the destination surface.

fillPixel (4 bytes):  An RDPGFX_COLOR32 (section 2.2.1.3) structure that specifies the color that MUST be used to fill the destination rectangles specified in the fillRects field.

fillRectCount (2 bytes):  A 16-bit unsigned integer that specifies the number of RDPGFX_RECT16 (section 2.2.1.2) structures in the fillRects field.

fillRects (variable):  A variable-length array of RDPGFX_RECT16 structures that specifies rectangles on the destination surface to be filled. The number of structures in this array is specified by the fillRectCount field.