FILE_FS_VOLUME_INFORMATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#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;

#endif

View code on GitHub

This 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.

VolumeCreationTime

It means time of last Volume Formatting Process.

VolumeSerialNumber

Serial number of volume, associated in Volume Formatting Process.

VolumeLabelLength

Length of VolumeLabel array, in bytes.

SupportsObjects

If TRUE, Object Files can be stored on specified volume.

VolumeLabel[1]

Name of volume. Can be set with FileFsLabelInformation.

Documented by

See also