FILE_LEVEL_TRIM structure

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

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

Requirements

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

FSCTL_FILE_LEVEL_TRIM
FILE_LEVEL_TRIM_OUTPUT
FILE_LEVEL_TRIM_RANGE

 

 

Community Additions

ADD
Show:
© 2014 Microsoft