// winioctl.h
typedef struct _FILE_QUERY_SPARING_BUFFER {
DWORD SparingUnitBytes;
BOOLEAN SoftwareSparing;
DWORD TotalSpareBlocks;
DWORD FreeSpareBlocks;
} FILE_QUERY_SPARING_BUFFER, *PFILE_QUERY_SPARING_BUFFER;
View the official Win32 API referenceNo description available.
Contains defect management properties.
SparingUnitBytesThe size of a sparing packet and the underlying error check and correction (ECC) block size of the volume.
SoftwareSparingIf TRUE, indicates that sparing behavior is software-based; if FALSE, it is hardware-based.
TotalSpareBlocksThe total number of blocks allocated for sparing.
FreeSpareBlocksThe number of blocks available for sparing.