// ntifs.h
typedef struct {
ULONG ByteCount;
ULONG MajorVersion;
ULONG MinorVersion;
ULONG BytesPerPhysicalSector;
LARGE_INTEGER VolumeSerialNumber;
LARGE_INTEGER NumberSectors;
LARGE_INTEGER TotalClusters;
LARGE_INTEGER FreeClusters;
LARGE_INTEGER TotalReserved;
ULONG BytesPerSector;
ULONG BytesPerCluster;
LARGE_INTEGER MaximumSizeOfResidentFile;
USHORT FastTierDataFillRatio;
USHORT SlowTierDataFillRatio;
ULONG DestagesFastTierToSlowTierRate;
USHORT MetadataChecksumType;
UCHAR Reserved0[6];
ULONG DriverMajorVersion;
ULONG DriverMinorVersion;
LARGE_INTEGER Reserved[7];
} REFS_VOLUME_DATA_BUFFER, *PREFS_VOLUME_DATA_BUFFER;
View the official Windows Driver Kit DDI referenceNo description available.
The REFS_VOLUME_DATA_BUFFER structure contains information about an ReFS volume.
ByteCountSize in bytes of this structure.
MajorVersionMajor version number of the ReFS volume.
MinorVersionMinor version number of the ReFS volume.
BytesPerPhysicalSectorNumber of bytes per physical sector on the volume.
VolumeSerialNumberUnique serial number of the volume.
NumberSectorsTotal number of sectors on the volume.
TotalClustersTotal number of clusters on the volume.
FreeClustersNumber of free clusters available on the volume.
TotalReservedTotal number of reserved clusters on the volume.
BytesPerSectorNumber of bytes per sector.
BytesPerClusterNumber of bytes per cluster.
MaximumSizeOfResidentFileMaximum size of a file that can reside entirely within a single cluster.
FastTierDataFillRatioFill ratio for the fast tier, expressed as a value between 0 and 10000.
SlowTierDataFillRatioFill ratio for the slow tier, expressed as a value between 0 and 10000.
DestagesFastTierToSlowTierRateRate at which data is destaged from the fast tier to the slow tier, measured in clusters per second.
MetadataChecksumTypeType of checksum used for metadata.
Reserved0[6]Reserved0: Reserved for future use.
DriverMajorVersionMajor version number of the file system driver.
DriverMinorVersionMinor version number of the file system driver.
Reserved[7]Reserved for future use.