// winioctl.h
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;
View the official Win32 API referenceNo description available.
Receives the volume information from a call to FSCTL_QUERY_ON_DISK_VOLUME_INFO.
DirectoryCountThe 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.
FileCountThe 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.
FsFormatMajVersionThe 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.
FsFormatMinVersionThe 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.
FsFormatNameAlways returns UDF.
FormatTimeThe time the media was formatted.
LastUpdateTimeThe time the media was last updated.
CopyrightInfoAny copyright information associated with the volume.
AbstractInfoAny abstract information written on the media.
FormattingImplementationInfoImplementation-specific information; in some cases, it is the operating system version that the media was formatted by.
LastModifyingImplementationInfoThe 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.
FSCTL_QUERY_ON_DISK_VOLUME_INFO