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

The RDPGFX_SURFACE_TO_CACHE message is to instruct client to copy bitmap data from a source surface to the bitmap cache
Inheritance: RdpegfxServerPdu
Show file Open project: Microsoft/WindowsProtocolTestSuites

Public Properties

Property Type Description
cacheKey ulong
cacheSlot ushort
rectSrc RDPGFX_RECT16
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_SURFACE_TO_CACHE ( ) : System

Constructor

RDPGFX_SURFACE_TO_CACHE ( ushort sid, ulong key, ushort slot, RDPGFX_RECT16 rect ) : System

Constructor, create a surface to cache message.

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

Constructor
public RDPGFX_SURFACE_TO_CACHE ( ) : System
return System

RDPGFX_SURFACE_TO_CACHE() public method

Constructor, create a surface to cache message.
public RDPGFX_SURFACE_TO_CACHE ( ushort sid, ulong key, ushort slot, RDPGFX_RECT16 rect ) : System
sid ushort This is used to indicate surface id.
key ulong This is used to indicate a key to associate with the bitmap cache entry.
slot ushort This is used to indicate the index of the bitmap cache entry in which /// the source bitmap data is stored.
rect RDPGFX_RECT16 This is used to indicate rectangle that bounds the source bitmap.
return System

Property Details

cacheKey public property

A 64-bit, unsigned integer. specify the key to associate with the bitmap cache entry that will store the bitmap.
public ulong cacheKey
return ulong

cacheSlot public property

A 16-bit, unsigned integer. specify the index of the bitmap cache entry in which the source bitmap data is stored.
public ushort cacheSlot
return ushort

rectSrc public 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

surfaceId public property

A 16-bit, unsigned integer. specify the ID of the surface which contains source bitmap.
public ushort surfaceId
return ushort