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

The RDPGFX_CREATE_SURFACE message is sent from server to instruct client to create a surface.
Inheritance: RdpegfxServerPdu
Datei anzeigen Open project: Microsoft/WindowsProtocolTestSuites

Public Properties

Property Type Description
height ushort
pixFormat PixelFormat
surfaceId ushort
width ushort

Public Methods

Method Description
Decode ( Microsoft.Protocols.TestTools.StackSdk.PduMarshaler marshaler ) : bool

Encode this PDU to the PduMarshaler.

Encode ( Microsoft.Protocols.TestTools.StackSdk.PduMarshaler marshaler ) : void

Decode this PDU from the PduMarshaler.

RDPGFX_CREATE_SURFACE ( ) : System

Constructor

RDPGFX_CREATE_SURFACE ( ushort sid, ushort w, ushort h, PixelFormat pix ) : System

constructor, create a CreatSurface message

Method Details

Decode() public method

Encode this PDU to the PduMarshaler.
public Decode ( Microsoft.Protocols.TestTools.StackSdk.PduMarshaler marshaler ) : bool
marshaler Microsoft.Protocols.TestTools.StackSdk.PduMarshaler This is used to encode the fields of this PDU.
return bool

Encode() public method

Decode this PDU from 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_CREATE_SURFACE() public method

Constructor
public RDPGFX_CREATE_SURFACE ( ) : System
return System

RDPGFX_CREATE_SURFACE() public method

constructor, create a CreatSurface message
public RDPGFX_CREATE_SURFACE ( ushort sid, ushort w, ushort h, PixelFormat pix ) : System
sid ushort This is used to indicate surface id.
w ushort This is used to indicate width of surface.
h ushort This is used to indicate height of surface.
pix PixelFormat This is used to indicate pixel format of surface.
return System

Property Details

height public_oe property

A 16-bit, unsigned integer. specify new height of the surface to be created.
public ushort height
return ushort

pixFormat public_oe property

A 8-bit, unsigned integer. specify the pixel format of the surface to be created.
public PixelFormat pixFormat
return PixelFormat

surfaceId public_oe property

A 16-bit, unsigned integer. specify the ID of the surface to be created.
public ushort surfaceId
return ushort

width public_oe property

A 16-bit, unsigned integer. specify new width of the surface to be created.
public ushort width
return ushort