FILE_LEVEL_TRIM structure (ntifs.h)
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[1]
Array of trim ranges for a file.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Header | ntifs.h (include Ntifs.h) |