2.2.3.3.6 Server Drive Query Volume Information Request (DR_DRIVE_QUERY_VOLUME_INFORMATION_REQ)

The server issues a query volume information request on a redirected file system device.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

DeviceIoRequest (24 bytes)

...

...

FsInformationClass

Length

Padding (24 bytes)

...

...

QueryVolumeBuffer (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_QUERY_VOLUME_INFORMATION.

FsInformationClass (4 bytes): A 32-bit unsigned integer. The possible values for this field are specified in [MS-FSCC] section 2.5. This field MUST contain one of the following values.

Value

Meaning

FileFsVolumeInformation

0x00000001

Used to query information for a volume on which a file system is mounted. The Reserved field of the FileFsVolumeInformation structure ([MS-FSCC] section 2.5.9) MUST NOT be present.

FileFsSizeInformation

0x00000003

Used to query sector size information for a file system volume.

FileFsAttributeInformation

0x00000005

Used to query attribute information for a file system.

FileFsFullSizeInformation

0x00000007

Used to query sector size information for a file system volume.

FileFsDeviceInformation

0x00000004

Used to query device information for a file system volume.

Length (4 bytes): A 32-bit unsigned integer that specifies the number of bytes in the QueryVolumeBuffer field.

Padding (24 bytes): An array of 24 bytes. This field is unused and MUST be ignored.

QueryVolumeBuffer (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 QueryVolumeBuffer field. For a complete list of these structures, refer to [MS-FSCC] section 2.5. The "File system information class" table defines all the possible values for the FsInformationClass field.