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

The RDPGFX_SURFACE_TO_SURFACE message is to instruct client to copy bitmap from source surface to destination surface or same surface.
Inheritance: RdpegfxServerPdu
Mostra file Open project: Microsoft/WindowsProtocolTestSuites

Public Properties

Property Type Description
destPtsCount ushort
destPtsList List
rectSrc RDPGFX_RECT16
surfaceIdDest ushort
surfaceIdSrc ushort

Public Methods

Method Description
AddDestPosition ( RDPGFX_POINT16 destPosition ) : void

Add more position in destination surface to be copied.

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_SURFACE_TO_SURFACE ( ) : System

Constructor

RDPGFX_SURFACE_TO_SURFACE ( ushort srcSID, ushort destSID, RDPGFX_RECT16 srcRect ) : System

Constructor, create a surface to surface message, with only 1 destination copy position.

Method Details

AddDestPosition() public method

Add more position in destination surface to be copied.
public AddDestPosition ( RDPGFX_POINT16 destPosition ) : void
destPosition RDPGFX_POINT16 This is used to specify a destination position of source rectangle bitmap to be copied.
return void

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 decode 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_SURFACE_TO_SURFACE() public method

Constructor
public RDPGFX_SURFACE_TO_SURFACE ( ) : System
return System

RDPGFX_SURFACE_TO_SURFACE() public method

Constructor, create a surface to surface message, with only 1 destination copy position.
public RDPGFX_SURFACE_TO_SURFACE ( ushort srcSID, ushort destSID, RDPGFX_RECT16 srcRect ) : System
srcSID ushort This is used to indicate source surface id.
destSID ushort This is used to indicate destination surface id.
srcRect RDPGFX_RECT16 This is used to indicate source rectangle bitmap area to be copied.
return System

Property Details

destPtsCount public_oe property

A 16-bit unsigned integer that specifies the number of RDPGFX_POINT16 structures in the destPts field.
public ushort destPtsCount
return ushort

destPtsList public_oe property

A RDPGFX_POINT16 array. specifies target points on the destination surface to which to copy the source bitmap.
public List destPtsList
return List

rectSrc public_oe property

A RDPGFX_RECT16 structure. specify the rectangle that bounds the source bitmap.
public RDPGFX_RECT16,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx rectSrc
return RDPGFX_RECT16

surfaceIdDest public_oe property

A 16-bit, unsigned integer. specify the ID of the destination surface.
public ushort surfaceIdDest
return ushort

surfaceIdSrc public_oe property

A 16-bit, unsigned integer. specify the ID of the source surface.
public ushort surfaceIdSrc
return ushort