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

The RDPGFX_RESET_GRAPHICS message is sent from the server to reset size of virtual desktop on client.
Inheritance: RdpegfxServerPdu
Show file Open project: Microsoft/WindowsProtocolTestSuites

Public Properties

Property Type Description
height uint
monitorCount uint
monitorDefArray Collection
pad byte[]
width uint

Public Methods

Method Description
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_RESET_GRAPHICS ( ) : System

Constructor

RDPGFX_RESET_GRAPHICS ( uint w, uint h, uint monitorCount ) : System

Constructor, create a default reset graphic message with one monitor only.

Method Details

Decode() public method

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 encode the fields of this PDU.
return bool

Encode() public method

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.
return void

RDPGFX_RESET_GRAPHICS() public method

Constructor
public RDPGFX_RESET_GRAPHICS ( ) : System
return System

RDPGFX_RESET_GRAPHICS() public method

Constructor, create a default reset graphic message with one monitor only.
public RDPGFX_RESET_GRAPHICS ( uint w, uint h, uint monitorCount ) : System
w uint This is used to indicate width of virtual desktop.
h uint This is used to indicate height of virtual desktop.
monitorCount uint This is used to indicate total monitor count
return System

Property Details

height public property

A 32-bit, unsigned integer. specify new height of the virtual desktop.
public uint height
return uint

monitorCount public property

A 32-bit, unsigned integer. The number of display monitor definitions in the monitorDefArray field (the maximum allowed is 10).
public uint monitorCount
return uint

monitorDefArray public property

A variable-length array containing a series of TS_MONITOR_DEF structures (section 2.2.1.3.6.1) which describe the display monitor layout of the client. The number of TS_MONITOR_DEF structures is given by the monitorCount field.
public Collection monitorDefArray
return Collection

pad public property

A variable-length byte array that is used for padding
public byte[] pad
return byte[]

width public property

A 32-bit, unsigned integer. specify new width of the virtual desktop.
public uint width
return uint