FILE_LEVEL_TRIM_RANGE structure

Contains the offset and length of a trim range for a file.

Syntax


typedef struct _FILE_LEVEL_TRIM_RANGE {
  ULONGLONG Offset;
  ULONGLONG Length;
} FILE_LEVEL_TRIM_RANGE, *PFILE_LEVEL_TRIM_RANGE;

Members

Offset

Byte offset from the front of the given file to trim at.

Length

Length in bytes to trim from the given offset.

Remarks

Due to alignment requirements, the file system may reduce the of the the trim range to a multiple of PAGE_SIZE <= Length. Also, Offset will be adjusted to the next page boundary if its initial value is not on page boundary.

Requirements

Header

Ntifs.h (include Ntifs.h)

See also

FILE_LEVEL_TRIM

 

 

Send comments about this topic to Microsoft

显示:
© 2014 Microsoft