FILE_ZERO_DATA_INFORMATION structure

Contains a range of a file to set to zeros. This structure is used by the FSCTL_SET_ZERO_DATA control code

Syntax


typedef struct _FILE_ZERO_DATA_INFORMATION {
  LARGE_INTEGER FileOffset;
  LARGE_INTEGER BeyondFinalZero;
} FILE_ZERO_DATA_INFORMATION, *PFILE_ZERO_DATA_INFORMATION;

Members

FileOffset

The file offset of the start of the range to set to zeros, in bytes.

BeyondFinalZero

The byte offset of the first byte beyond the last zeroed byte.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

WinIoCtl.h (include Windows.h)

See also

FSCTL_SET_ZERO_DATA
Sparse Files

 

 

Community Additions

ADD
Show:
© 2014 Microsoft