FILE_LEVEL_TRIM structure

The FILE_LEVEL_TRIM structure contains an array of byte ranges to trim for a file.

Syntax


typedef struct _FILE_LEVEL_TRIM {
  ULONG                 Key;
  ULONG                 NumRanges;
  FILE_LEVEL_TRIM_RANGE Ranges[1];
} FILE_LEVEL_TRIM, *PFILE_LEVEL_TRIM;

Members

Key

The key for the byte range locks. Most callers will set this to 0. Remote file systems use Key for tagging a set of range locks.

NumRanges

Total number of range structures in Ranges.

Ranges

Array of trim ranges for a file.

Requirements

Version

Available in Windows 8 and later versions of Windows.

Header

Ntifs.h (include Ntifs.h)

See also

FILE_LEVEL_TRIM_RANGE
FSCTL_FILE_LEVEL_TRIM

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft