C# 클래스 Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx.RDPGFX_WIRE_TO_SURFACE_PDU_1

The RDPGFX_WIRE_TO_SURFACE_PDU_1 message is to used to transfer encoded bitmap data from the server to a client-side destination surface. it support NSCodec, RemoteFX Codec, ClearCodec, and Planar Codec.
상속: RdpegfxServerPdu
파일 보기 프로젝트 열기: Microsoft/WindowsProtocolTestSuites

공개 프로퍼티들

프로퍼티 타입 설명
bitmapData byte[]
bitmapDataLength uint
codecId CodecType
destRect RDPGFX_RECT16
pixelFormat PixelFormat
surfaceId ushort

공개 메소드들

메소드 설명
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_WIRE_TO_SURFACE_PDU_1 ( ) : System

Constructor

RDPGFX_WIRE_TO_SURFACE_PDU_1 ( ushort sId, CodecType cId, PixelFormat pixFormat, RDPGFX_RECT16 bmRect, byte bmData ) : System

Constructor, create a wire to surface message to transfer a bitmap.

메소드 상세

Decode() 공개 메소드

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.
리턴 bool

Encode() 공개 메소드

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.
리턴 void

RDPGFX_WIRE_TO_SURFACE_PDU_1() 공개 메소드

Constructor
public RDPGFX_WIRE_TO_SURFACE_PDU_1 ( ) : System
리턴 System

RDPGFX_WIRE_TO_SURFACE_PDU_1() 공개 메소드

Constructor, create a wire to surface message to transfer a bitmap.
public RDPGFX_WIRE_TO_SURFACE_PDU_1 ( ushort sId, CodecType cId, PixelFormat pixFormat, RDPGFX_RECT16 bmRect, byte bmData ) : System
sId ushort This is used to indicate the target surface id.
cId CodecType This is used to indicate the codecId.
pixFormat PixelFormat This is used to indicate the pixel format to fill target surface.
bmRect RDPGFX_RECT16 This is used to indicate border of bitmap on target surface.
bmData byte This is used to indicate the bitmap data encoded by cId codec.
리턴 System

프로퍼티 상세

bitmapData 공개적으로 프로퍼티

A variable-length array of bytes. specify bitmap data encoded using the codec identified by the ID in the codecId field.
public byte[] bitmapData
리턴 byte[]

bitmapDataLength 공개적으로 프로퍼티

A 32-bit, unsigned integer. Specify the length, in bytes, of the bitmapData field.
public uint bitmapDataLength
리턴 uint

codecId 공개적으로 프로퍼티

A 16-bit, unsigned integer. specify the codec that was used to encode the bitmap data. encapsulated in the bitmapData field.
public CodecType codecId
리턴 CodecType

destRect 공개적으로 프로퍼티

A RDPGFX_RECT16 structure(8 bytes). the target point on the destination surface to which to copy the decoded bitmap and the dimensions (width and height) of the bitmap data.
public RDPGFX_RECT16,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx destRect
리턴 RDPGFX_RECT16

pixelFormat 공개적으로 프로퍼티

A 8-bit, unsigned integer. specify the pixel format of the decoded bitmap data.
public PixelFormat pixelFormat
리턴 PixelFormat

surfaceId 공개적으로 프로퍼티

A 16-bit, unsigned integer. specify the ID of the destination surface. A 16-bit, unsigned integer. specify the ID of the destination surface.
public ushort surfaceId
리턴 ushort