FILE_LEVEL_TRIM_OUTPUT structure (ntifs.h)

The FILE_LEVEL_TRIM_OUTPUT structure contains the results of a trim operation performed by an FSCTL_FILE_LEVEL_TRIM request.

Syntax

typedef struct _FILE_LEVEL_TRIM_OUTPUT {
  ULONG NumRangesProcessed;
} FILE_LEVEL_TRIM_OUTPUT, *PFILE_LEVEL_TRIM_OUTPUT;

Members

NumRangesProcessed

The number or trim ranges processed.

Remarks

This structure is optionally included as the output buffer for an FSCTL_FILE_LEVEL_TRIM request. NumRangesProcessed indicates how many ranges of the in the array given in FILE_LEVEL_TRIM were processed.

All trim ranges in the array in FILE_LEVEL_TRIM were successfully processed if NumRangesProcessed is equivalent to the NumRanges member of FILE_LEVEL_TRIM. Otherwise, the value in NumRangesProcessed is the starting index of the trim ranges that were not processed.

Requirements

Requirement Value
Minimum supported client Windows 8
Header ntifs.h (include Ntifs.h)

See also

FSCTL_FILE_LEVEL_TRIM