#ifndef _NTIOAPI_H
typedef struct _FILE_FS_SIZE_INFORMATION
{
LARGE_INTEGER TotalAllocationUnits;
LARGE_INTEGER AvailableAllocationUnits;
ULONG SectorsPerAllocationUnit;
ULONG BytesPerSector;
} FILE_FS_SIZE_INFORMATION, *PFILE_FS_SIZE_INFORMATION;
View code on GitHub
This structure is documented in Windows Driver Kit.
Structure provides detailed information about volume physical size. Is returned in call to NtQueryVolumeInformationFile
with FileFsSizeInformation
information class.