Platform SDK: Hardware

FILE_ZERO_DATA_INFORMATION

The FILE_ZERO_DATA_INFORMATION structure is used with the FSCTL_SET_ZERO_DATA control code to indicate a range of a file to set to zeroes.

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

Members

FileOffset
Indicates the file offset, in bytes, of the start of the range to set to zeroes.
BeyondFinalZero
Indicates the byte offset of the first byte beyond the last zeroed byte.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Winioctl.h.

See Also

Device Input and Output Overview, Device Input and Output Structures, FSCTL_SET_ZERO_DATA, Sparse Files