FILE_LEVEL_TRIM structure (winioctl.h)

Used as input to the FSCTL_FILE_LEVEL_TRIM control code.

Syntax

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

Members

Key

Reserved. Set to zero (0).

NumRanges

Number of FILE_LEVEL_TRIM_RANGE entries in the Ranges member. On return should be compared with the NumRangesProcessed member of the FILE_LEVEL_TRIM_OUTPUT structure.

Ranges[1]

Array of ranges that describe the portions of the file that are to be trimmed.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header winioctl.h (include Windows.h)

See also

FILE_LEVEL_TRIM_OUTPUT

FILE_LEVEL_TRIM_RANGE

FSCTL_FILE_LEVEL_TRIM