C# Class Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx.RDPGFX_SOLIDFILL

The RDPGFX_SOLIDFILL message is to instruct the client to fill a collection of rectangles on a destination surface with a solid color.
Inheritance: RdpegfxServerPdu
ファイルを表示 Open project: Microsoft/WindowsProtocolTestSuites

Public Properties

Property Type Description
fillPixel RDPGFX_COLOR32
fillRectCount ushort
fillRectList List
surfaceId ushort

Public Methods

Method Description
Decode ( Microsoft.Protocols.TestTools.StackSdk.PduMarshaler marshaler ) : bool

Decode this PDU from the PduMarshaler.

Encode ( Microsoft.Protocols.TestTools.StackSdk.PduMarshaler marshaler ) : void

Encode this PDU to the PduMarshaler.

RDPGFX_SOLIDFILL ( ) : System

Constructor

RDPGFX_SOLIDFILL ( ushort sid, RDPGFX_COLOR32 pixel ) : System

Constructor, create a RDPGFX_SOLIDFILL message with one rectangle to fill default.

addFillRect ( RDPGFX_RECT16 rect ) : void

Add more rectangle to be filled in destination surface.

Method Details

Decode() public method

Decode this PDU from the PduMarshaler.
public Decode ( Microsoft.Protocols.TestTools.StackSdk.PduMarshaler marshaler ) : bool
marshaler Microsoft.Protocols.TestTools.StackSdk.PduMarshaler This is used to encode the fields of this PDU.
return bool

Encode() public method

Encode this PDU to the PduMarshaler.
public Encode ( Microsoft.Protocols.TestTools.StackSdk.PduMarshaler marshaler ) : void
marshaler Microsoft.Protocols.TestTools.StackSdk.PduMarshaler This is used to encode the fields of this PDU.
return void

RDPGFX_SOLIDFILL() public method

Constructor
public RDPGFX_SOLIDFILL ( ) : System
return System

RDPGFX_SOLIDFILL() public method

Constructor, create a RDPGFX_SOLIDFILL message with one rectangle to fill default.
public RDPGFX_SOLIDFILL ( ushort sid, RDPGFX_COLOR32 pixel ) : System
sid ushort This is used to indicate surface id to be filled.
pixel RDPGFX_COLOR32 This is used to indicate color to fill.
return System

addFillRect() public method

Add more rectangle to be filled in destination surface.
public addFillRect ( RDPGFX_RECT16 rect ) : void
rect RDPGFX_RECT16 This is to specify a rectangle area of surface.
return void

Property Details

fillPixel public_oe property

A RDPGFX_COLOR32 structure. specify the color that MUST be used to fill the destination rectangles specified in the fillRects field.
public RDPGFX_COLOR32,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx fillPixel
return RDPGFX_COLOR32

fillRectCount public_oe property

A 16-bit, unsigned integer. specify the number of RDPGFX_RECT16 structures in the fillRects field.
public ushort fillRectCount
return ushort

fillRectList public_oe property

A variable-length array. specify rectangles on the destination surface to be filled.
public List fillRectList
return List

surfaceId public_oe property

A 16-bit, unsigned integer. specify the ID of the surface to be created.
public ushort surfaceId
return ushort