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

This header initiates a create 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_1.xml
Inheritance: DR_DEVICE_IOREQUEST
Show file Open project: Microsoft/WindowsProtocolTestSuites

Public Properties

Property Type Description
AllocationSize ulong
CreateDisposition uint
CreateOptions uint
DesiredAccess uint
FileAttributes uint
Path byte[]
PathLength uint
SharedAccess uint

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

AllocationSize public property

A 64-bit unsigned integer that specifies the initial allocation size for the file.
public ulong AllocationSize
return ulong

CreateDisposition public property

A 32-bit unsigned integer that specifies the action that the client MUST take if the file already exists. This field is specified in [MS-SMB2] section 2.2.13.
public uint CreateDisposition
return uint

CreateOptions public property

A 32-bit unsigned integer that specifies the options for creating the file. This field is specified in [MS-SMB2] section 2.2.13.
public uint CreateOptions
return uint

DesiredAccess public property

A DR_DEVICE_IOREQUEST header. The MajorFunction field in this header MUST be set to IRP_MJ_CREATE. A 32-bit unsigned integer that specifies the level of access that is wanted. This field is specified in [MS-SMB2] section 2.2.13.
public uint DesiredAccess
return uint

FileAttributes public property

A 32-bit unsigned integer that specifies the attributes for the file being created. This field is specified in [MS-SMB2] section 2.2.13.
public uint FileAttributes
return uint

Path public property

A variable-length array of Unicode characters, including null-terminator, whose size is specified by the PathLength field.
public byte[] Path
return byte[]

PathLength public property

A 32-bit unsigned integer that specifies the number of bytes in the Path field.
public uint PathLength
return uint

SharedAccess public property

A 32-bit unsigned integer that specifies the sharing mode for the file being opened. This field is specified in [MS-SMB2] section 2.2.13.
public uint SharedAccess
return uint