FILE_ZERO_DATA_INFORMATION structure (ntifs.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
Minimum supported server Windows Server 2003
Header ntifs.h (include Ntifs.h)

See also

FILE_ZERO_DATA_INFORMATION_EX

FSCTL_SET_ZERO_DATA

FltFsControlFile