FILE_END_OF_FILE_INFORMATION structure (ntddk.h)
The FILE_END_OF_FILE_INFORMATION structure is used as an argument to the ZwSetInformationFile routine.
Syntax
typedef struct _FILE_END_OF_FILE_INFORMATION {
LARGE_INTEGER EndOfFile;
} FILE_END_OF_FILE_INFORMATION, *PFILE_END_OF_FILE_INFORMATION;
Members
EndOfFile
The absolute new end of file position as a byte offset from the start of the file.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Header | ntddk.h (include Ntddk.h, Ntifs.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for