2.2.3.3.9 Server Drive Set Information Request (DR_DRIVE_SET_INFORMATION_REQ)
The server issues a set information request on a redirected file system device.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
DeviceIoRequest (24 bytes) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
FsInformationClass |
|||||||||||||||||||||||||||||||
|
Length |
|||||||||||||||||||||||||||||||
|
Padding (24 bytes) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
SetBuffer (variable) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
DeviceIoRequest (24 bytes): A DR_DEVICE_IOREQUEST (section 2.2.1.4) header. The MajorFunction field in the DR_DEVICE_IOREQUEST header MUST be set to IRP_MJ_SET_INFORMATION.
FsInformationClass (4 bytes): A 32-bit unsigned integer. The possible values for this field are defined in [MS-FSCC] section 2.4. The FsInformationClass field is a 32-bit value, even though the values described in [MS-FSCC] are single byte only. For the purposes of conversion, the highest 24 bits are always set to zero. This field MUST contain one of the following values.
-
Value
Meaning
FileBasicInformation
0x00000004
This information class is used to set file information such as the times of creation, last access, last write, and change, in addition to file attributes.
FileEndOfFileInformation
0x00000014
This information class is used to set end-of-file information for a file.
FileDispositionInformation
0x0000000D
This information class is used to mark a file for deletion.
FileRenameInformation
0x0000000A
This information class is used to rename a file.
FileAllocationInformation
0x00000013
This information class is used to set the allocation size for a file.
Length (4 bytes): A 32-bit unsigned integer that specifies the number of bytes in the SetBuffer field.
Padding (24 bytes): An array of 24 bytes. This field is unused and MUST be ignored.
SetBuffer (variable): A variable-length array of bytes. The size of the array is specified by the Length field. The content of this field is based on the value of the FsInformationClass field, which determines the different structures that MUST be contained in the SetBuffer field. For a complete list of these structures, refer to [MS-FSCC] section 2.4. The "File information class" table defines all the possible values for the FsInformationClass field with the exception of the following values.
-
Value of FsInformationClass
Meaning of content of SetBuffer field
FileDispositionInformation
The buffer is empty. The Length field is set to zero. It is implied that the DeletePending field of the FILE_DISPOSITION_INFORMATION structure, as described in [MS-FSCC], is set to 1.
FileRenameInformation