2.3.58 FSCTL_QUERY_ON_DISK_VOLUME_INFO Reply

This message returns the results of the FSCTL_QUERY_ON_DISK_VOLUME_INFO request (section 2.3.57) as a FSCTL_QUERY_ON_DISK_VOLUME_INFO_BUFFER structure.


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

DirectoryCount

...

FileCount

...

FsFormatMajVersion

FsFormatMinVersion

FsFormatName (24 bytes)

...

...

FormatTime

...

LastUpdateTime

...

CopyrightInfo (68 bytes)

...

...

AbstractInfo (68 bytes)

...

...

FormattingImplementationInfo (68 bytes)

...

...

LastModifyingImplementationInfo (68 bytes)

...

...

DirectoryCount (8 bytes): A 64-bit signed integer. The number of directories on the specified volume. This member is -1 if the number is unknown.

For UDF file systems with a virtual allocation table, this information is available only if the UDF revision of the volume is greater than 1.50.<51>

FileCount (8 bytes): A 64-bit signed integer. The number of files on the specified volume. Returns -1 if the number is unknown.

For UDF file systems with a virtual allocation table, this information is available only if the UDF revision of the volume is greater than 1.50.

FsFormatMajVersion (2 bytes): A 16-bit signed integer. The major version number of the file system. Returns -1 if the number is unknown or not applicable. For example on UDF 1.02 file systems, 1 is returned.

FsFormatMinVersion (2 bytes): A 16-bit signed integer. The minor version number of the file system. Returns -1 if the number is unknown or not applicable. For example: on UDF 1.02 file systems, 2 is returned.

FsFormatName (24 bytes): Always returns "UDF" in Unicode characters followed by nine Unicode NULL characters.

FormatTime (8 bytes): The time the volume was formatted; see section 2.1.1.

LastUpdateTime (8 bytes): The time the volume was last updated; see section 2.1.1.

CopyrightInfo (68 bytes): A Unicode string containing any copyright notifications associated with the volume. This information is implementation-specific and will be padded with NULLs.<52>

AbstractInfo (68 bytes): A Unicode string containing any abstract information written on the volume. This information is implementation-specific and will be padded with NULLs.<53>

FormattingImplementationInfo (68 bytes): A Unicode string containing the operating system version that the volume was formatted by. This information is implementation-specific and will be padded with NULLs.<54>

LastModifyingImplementationInfo (68 bytes): A Unicode string containing the operating system version that the volume was last modified by. This information is implementation-specific and will be padded with NULLs.<55>

This message returns a status code as specified in section 2.2. Upon success, the status code returned by the function that processes this FSCTL is STATUS_SUCCESS. The most common error codes are listed in the following table.

Error Code

Meaning

STATUS_INVALID_USER_BUFFER

0xC00000E8

An access to a user buffer failed.

STATUS_BUFFER_TOO_SMALL

0xC0000023

The buffer is too small to contain the entry. No information has been written to the buffer.

STATUS_INVALID_PARAMETER

0xC000000D

An invalid parameter was passed to a service or function.