FILE_END_OF_FILE_INFORMATION

typedef struct _FILE_END_OF_FILE_INFORMATION {
    LARGE_INTEGER EndOfFile;
} FILE_END_OF_FILE_INFORMATION;

Members

EndOfFile
The absolute new end of file position as a byte offset from the start of the file.

Comments

EndOfFile specifies the byte offset to the end of the file. Because this value is zero-based, it actually refers to the first free byte in the file: that is, it is the offset to the byte immediately following the last valid byte in the file.

See Also

ZwQueryInformationFile, ZwSetInformationFile