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

The TS_BITMAPCACHE_CAPABILITYSET structure is used to advertise support for Revision 1 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 1 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 1) Secondary Drawing Order (see [MS-RDPEGDI] section 2.2.2.2.1.2.2).
file:///C:/ts_dev/TestSuites/MS-RDPBCGR/TestSuite/Src/TD/latest_XMLS_16may/RDPBCGR/ _rfc_ms-rdpbcgr2_1_6_1_5_1.xml
显示文件 Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
Cache1Entries ushort
Cache1MaximumCellSize ushort
Cache2Entries ushort
Cache2MaximumCellSize ushort
Cache3Entries ushort
Cache3MaximumCellSize ushort
capabilitySetType capabilitySetType_Values
lengthCapability ushort
pad1 uint
pad2 uint
pad3 uint
pad4 uint
pad5 uint
pad6 uint

Public Methods

Method Description
GetCapabilityType ( ) : capabilitySetType_Values

to get the type of this struct.

ToBytes ( ) : byte[]

convert this structure to byte array

Method Details

GetCapabilityType() public method

to get the type of this struct.
public GetCapabilityType ( ) : capabilitySetType_Values
return capabilitySetType_Values

ToBytes() public method

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

Property Details

Cache1Entries public_oe property

A 16-bit unsigned integer. The number of entries in Bitmap Cache 1 (maximum allowed value is 200 entries).
public ushort Cache1Entries
return ushort

Cache1MaximumCellSize public_oe property

A 16-bit unsigned integer. The maximum cell size in Bitmap Cache 1. This field SHOULD be set to 256, corresponding to the number of pixels in a 16 x 16 bitmap.
public ushort Cache1MaximumCellSize
return ushort

Cache2Entries public_oe property

A 16-bit unsigned integer. The number of entries in Bitmap Cache 2 (maximum allowed value is 600 entries).
public ushort Cache2Entries
return ushort

Cache2MaximumCellSize public_oe property

A 16-bit unsigned integer. The maximum cell size in Bitmap Cache 2. This field SHOULD be set to 1024, corresponding to the number of pixels in a 32 x 32 bitmap.
public ushort Cache2MaximumCellSize
return ushort

Cache3Entries public_oe property

A 16-bit unsigned integer. The number of entries in Bitmap Cache 3 (maximum allowed value is 65535 entries).
public ushort Cache3Entries
return ushort

Cache3MaximumCellSize public_oe property

A 16-bit unsigned integer. The maximum cell size in Bitmap Cache 3. This field SHOULD be set to 4096, corresponding to the number of pixels in a 64 x 64 bitmap.
public ushort Cache3MaximumCellSize
return ushort

capabilitySetType public_oe property

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

lengthCapability public_oe 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

pad1 public_oe property

A 32-bit unsigned integer. Padding. Values in this field are ignored.
public uint pad1
return uint

pad2 public_oe property

A 32-bit unsigned integer. Padding. Values in this field are ignored.
public uint pad2
return uint

pad3 public_oe property

A 32-bit unsigned integer. Padding. Values in this field are ignored.
public uint pad3
return uint

pad4 public_oe property

A 32-bit unsigned integer. Padding. Values in this field are ignored.
public uint pad4
return uint

pad5 public_oe property

A 32-bit unsigned integer. Padding. Values in this field are ignored.
public uint pad5
return uint

pad6 public_oe property

A 32-bit unsigned integer. Padding. Values in this field are ignored.
public uint pad6
return uint