FILE_ZERO_DATA_INFORMATION structure (winioctl.h)

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

Requirement Value
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