FILE_QUERY_SPARING_BUFFER structure (winioctl.h)
Contains defect management properties.
Syntax
typedef struct _FILE_QUERY_SPARING_BUFFER {
DWORD SparingUnitBytes;
BOOLEAN SoftwareSparing;
DWORD TotalSpareBlocks;
DWORD FreeSpareBlocks;
} FILE_QUERY_SPARING_BUFFER, *PFILE_QUERY_SPARING_BUFFER;
Members
SparingUnitBytes
The size of a sparing packet and the underlying error check and correction (ECC) block size of the volume.
SoftwareSparing
If TRUE, indicates that sparing behavior is software-based; if FALSE, it is hardware-based.
TotalSpareBlocks
The total number of blocks allocated for sparing.
FreeSpareBlocks
The number of blocks available for sparing.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | winioctl.h (include Windows.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for