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

The TS_UPDATE_PALETTE_DATA encapsulates the palette data that defines a Palette Update (section 2.2.9.1.1.3.1.1).
Exibir arquivo Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
numberColors uint
pad2Octets ushort
paletteEntries Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_PALETTE_ENTRY[]
updateType updateType_Values

Property Details

numberColors public_oe property

A 32-bit unsigned integer. The number of RGB triplets in the paletteData field. This field MUST be set to NUM_8BPP_PAL_ENTRIES (256).
public uint numberColors
return uint

pad2Octets public_oe property

A 16-bit unsigned integer. Padding. Values in this field are ignored.
public ushort pad2Octets
return ushort

paletteEntries public_oe property

Array of TS_PALETTE_ENTRY structures. Array of palette entries in RGB triplet format (see section ) packed on byte boundaries. The number of triplet entries is given by the numberColors field - there must be NUM_8BPP_PAL_ENTRIES (256) entries.
public TS_PALETTE_ENTRY[],Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr paletteEntries
return Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_PALETTE_ENTRY[]

updateType public_oe property

A 16-bit unsigned integer. The graphics update type. This field MUST be set to UPDATETYPE_PALETTE (0x0002).
public updateType_Values updateType
return updateType_Values