FILE_QUERY_ON_DISK_VOL_INFO_BUFFER structure (winioctl.h)

Receives the volume information from a call to FSCTL_QUERY_ON_DISK_VOLUME_INFO.

Syntax

typedef struct _FILE_QUERY_ON_DISK_VOL_INFO_BUFFER {
  LARGE_INTEGER DirectoryCount;
  LARGE_INTEGER FileCount;
  WORD          FsFormatMajVersion;
  WORD          FsFormatMinVersion;
  WCHAR         FsFormatName[12];
  LARGE_INTEGER FormatTime;
  LARGE_INTEGER LastUpdateTime;
  WCHAR         CopyrightInfo[34];
  WCHAR         AbstractInfo[34];
  WCHAR         FormattingImplementationInfo[34];
  WCHAR         LastModifyingImplementationInfo[34];
} FILE_QUERY_ON_DISK_VOL_INFO_BUFFER, *PFILE_QUERY_ON_DISK_VOL_INFO_BUFFER;

Members

DirectoryCount

The number of directories on the specified disk. 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 is greater than 1.50.

FileCount

The number of files on the specified disk. 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 is greater than 1.50.

FsFormatMajVersion

The major version number of the file system. Returns -1 if the number is unknown or not applicable. On UDF 1.02 file systems, 1 is returned.

FsFormatMinVersion

The minor version number of the file system. Returns -1 if the number is unknown or not applicable. On UDF 1.02 file systems, 02 is returned.

FsFormatName[12]

Always returns UDF.

FormatTime

The time the media was formatted.

LastUpdateTime

The time the media was last updated.

CopyrightInfo[34]

Any copyright information associated with the volume.

AbstractInfo[34]

Any abstract information written on the media.

FormattingImplementationInfo[34]

Implementation-specific information; in some cases, it is the operating system version that the media was formatted by.

LastModifyingImplementationInfo[34]

The last implementation that modified the disk. This information is implementation specific; in some cases, it is the operating system version that the media was last modified by.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header winioctl.h (include Windows.h)

See also

FSCTL_QUERY_ON_DISK_VOLUME_INFO