C# Class Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_BITMAPCACHE_CAPABILITYSET_REV2

The TS_BITMAPCACHE_CAPABILITYSET_REV2 structure is used to advertise support for Revision 2 Bitmap Caches (see [MS-RDPEGDI] section 3.1.1.1.1). This capability is only sent from client to server. In addition to specifying bitmap caching parameters in the Revision 2 Bitmap Cache Capability Set, a client MUST also support the MemBlt and Mem3Blt Primary Drawing Orders (see [MS-RDPEGDI] sections 2.2.2.2.1.1.2.9 and 2.2.2.2.1.1.2.10 respectively) in order to receive the Cache Bitmap (Revision 2) Secondary Drawing Order (see [MS-RDPEGDI] section 2.2.2.2.1.2.3).
file:///C:/ts_dev/TestSuites/MS-RDPBCGR/TestSuite/Src/TD/latest_XMLS_16may/RDPBCGR/ _rfc_ms-rdpbcgr2_1_6_1_5_2.xml
Show file Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
BitmapCache1CellInfo TS_BITMAPCACHE_CELL_CACHE_INFO
BitmapCache2CellInfo TS_BITMAPCACHE_CELL_CACHE_INFO
BitmapCache3CellInfo TS_BITMAPCACHE_CELL_CACHE_INFO
BitmapCache4CellInfo TS_BITMAPCACHE_CELL_CACHE_INFO
BitmapCache5CellInfo TS_BITMAPCACHE_CELL_CACHE_INFO
CacheFlags CacheFlags_Values
NumCellCaches byte
Pad3 byte[]
capabilitySetType capabilitySetType_Values
lengthCapability ushort
pad2 byte

Public Methods

Method Description
GetCapabilityType ( ) : capabilitySetType_Values

get the type of this Capability Type

ToBytes ( ) : byte[]

convert this structure to byte array

Method Details

GetCapabilityType() public method

get the type of this Capability Type
public GetCapabilityType ( ) : capabilitySetType_Values
return capabilitySetType_Values

ToBytes() public method

convert this structure to byte array
public ToBytes ( ) : byte[]
return byte[]

Property Details

BitmapCache1CellInfo public property

An array of 5 TS_BITMAPCACHE_CELL_CACHE_INFO structures. Contains information about each of the different caches. The number of valid elements in the array is given by the NumCellCaches field.
public TS_BITMAPCACHE_CELL_CACHE_INFO,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr BitmapCache1CellInfo
return TS_BITMAPCACHE_CELL_CACHE_INFO

BitmapCache2CellInfo public property

An array of 5 TS_BITMAPCACHE_CELL_CACHE_INFO structures. Contains information about each of the different caches. The number of valid elements in the array is given by the NumCellCaches field.
public TS_BITMAPCACHE_CELL_CACHE_INFO,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr BitmapCache2CellInfo
return TS_BITMAPCACHE_CELL_CACHE_INFO

BitmapCache3CellInfo public property

An array of 5 TS_BITMAPCACHE_CELL_CACHE_INFO structures. Contains information about each of the different caches. The number of valid elements in the array is given by the NumCellCaches field.
public TS_BITMAPCACHE_CELL_CACHE_INFO,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr BitmapCache3CellInfo
return TS_BITMAPCACHE_CELL_CACHE_INFO

BitmapCache4CellInfo public property

An array of 5 TS_BITMAPCACHE_CELL_CACHE_INFO structures. Contains information about each of the different caches. The number of valid elements in the array is given by the NumCellCaches field.
public TS_BITMAPCACHE_CELL_CACHE_INFO,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr BitmapCache4CellInfo
return TS_BITMAPCACHE_CELL_CACHE_INFO

BitmapCache5CellInfo public property

An array of 5 TS_BITMAPCACHE_CELL_CACHE_INFO structures. Contains information about each of the different caches. The number of valid elements in the array is given by the NumCellCaches field.
public TS_BITMAPCACHE_CELL_CACHE_INFO,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr BitmapCache5CellInfo
return TS_BITMAPCACHE_CELL_CACHE_INFO

CacheFlags public property

A 16-bit unsigned integer. Properties which apply to all the bitmap caches.
public CacheFlags_Values CacheFlags
return CacheFlags_Values

NumCellCaches public property

An 8-bit unsigned integer. Number of bitmap caches (with a maximum allowed value of 5). This field SHOULD be set to 3. Note that the bitmap cache cell sizes are not specified; they are assumed to be 256, 1024, and 4096 pixels, in order.
public byte NumCellCaches
return byte

Pad3 public property

Padding. An array of 8-bit unsigned integers. Values in this field are ignored.
public byte[] Pad3
return byte[]

capabilitySetType public property

A 16-bit unsigned integer. The type of the capability set. This field MUST be set to CAPSTYPE_BITMAPCACHE_REV2 (19).
public capabilitySetType_Values capabilitySetType
return capabilitySetType_Values

lengthCapability public property

A 16-bit unsigned integer. The length in bytes of the capability data, including the size of the capabilitySetType and lengthCapability fields.
public ushort lengthCapability
return ushort

pad2 public property

An 8-bit unsigned integer. Padding. Values in this field are ignored.
public byte pad2
return byte