IRP
MDL
Expand Minimize
This topic has not yet been rated - Rate this topic

FILE_END_OF_FILE_INFORMATION structure

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

Header

Ntddk.h (include Ntddk.h or Ntifs.h)

See also

ZwQueryInformationFile
ZwSetInformationFile

 

 

Send comments about this topic to Microsoft

Build date: 5/22/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.