This topic has not yet been rated - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 4/16/2013

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.