FILE_QUERY_SPARING_BUFFER - NtDoc

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

NtDoc

No description available.

Win32 API reference (ns-winioctl-file_query_sparing_buffer)

FILE_QUERY_SPARING_BUFFER structure

Description

Contains defect management properties.

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.

See also

DeviceIoControl

FSCTL_QUERY_SPARING_INFO