#ifndef _NTIOAPI_H
// NtQueryVolumeInformation/NtSetVolumeInformation types
typedef struct _FILE_FS_VOLUME_INFORMATION
{
LARGE_INTEGER VolumeCreationTime;
ULONG VolumeSerialNumber;
ULONG VolumeLabelLength;
BOOLEAN SupportsObjects;
_Field_size_bytes_(VolumeLabelLength) WCHAR VolumeLabel[1];
} FILE_FS_VOLUME_INFORMATION, *PFILE_FS_VOLUME_INFORMATION;
View code on GitHubThis structure is documented in Windows Driver Kit.
Structure provides basic information about volume. It's filled in a result of call NtQueryVolumeInformationFile with FileFsVolumeInformation class.
It means time of last Volume Formatting Process.
Serial number of volume, associated in Volume Formatting Process.
Length of VolumeLabel array, in bytes.
If TRUE, Object Files can be stored on specified volume.
Name of volume. Can be set with FileFsLabelInformation.