C# Class Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpefs.DR_WRITE_REQ

This header initiates a write request. This message can have different purposes depending on the device for which it is issued. The device type is determined by the DeviceId field in the DR_DEVICE_IOREQUEST header.
file:///D:/programs/RFSPAC/XML-RDPEFS/_rfc_ms-rdpefs2_2_1_4_4.xml
Inheritance: DR_DEVICE_IOREQUEST
Exibir arquivo Open project: Microsoft/WindowsProtocolTestSuites

Public Properties

Property Type Description
Length uint
Offset ulong
Padding byte[]
WriteData byte[]

Public Methods

Method Description
Decode ( PduMarshaler marshaler ) : bool
Encode ( PduMarshaler marshaler ) : void

Method Details

Decode() public method

public Decode ( PduMarshaler marshaler ) : bool
marshaler PduMarshaler
return bool

Encode() public method

public Encode ( PduMarshaler marshaler ) : void
marshaler PduMarshaler
return void

Property Details

Length public_oe property

A DR_DEVICE_IOREQUEST header. The MajorFunction field in this header MUST be set to IRP_MJ_WRITE. A 32-bit unsigned integer that specifies the number of bytes in the WriteData field.
public uint Length
return uint

Offset public_oe property

A 64-bit unsigned integer. This field specifies the file offset at which the data is written.
public ulong Offset
return ulong

Padding public_oe property

An array of 20 bytes. Reserved. This field can be set to any value, and MUST be ignored on receipt.
public byte[] Padding
return byte[]

WriteData public_oe property

A variable-length array of bytes, where the length is specified by the Length field in this packet. This array contains data to be written on the target device.
public byte[] WriteData
return byte[]