Bewerken

Delen via


FILE_LEVEL_TRIM_RANGE structure (ntifs.h)

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 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

Requirement Value
Header ntifs.h (include Ntifs.h)

See also

FILE_LEVEL_TRIM