Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

FILE_QUERY_SPARING_BUFFER structure

Contains defect management properties.

Syntax


typedef struct _FILE_QUERY_SPARING_BUFFER {
  ULONG   SparingUnitBytes;
  BOOLEAN SoftwareSparing;
  ULONG   TotalSpareBlocks;
  ULONG   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

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

DeviceIoControl
FSCTL_QUERY_SPARING_INFO

 

 

Community Additions

ADD
Show:
© 2015 Microsoft