FILE_LEVEL_TRIM_OUTPUT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntifs.h

typedef struct _FILE_LEVEL_TRIM_OUTPUT {
  ULONG NumRangesProcessed;
} FILE_LEVEL_TRIM_OUTPUT, *PFILE_LEVEL_TRIM_OUTPUT;
View the official Windows Driver Kit DDI reference
// winioctl.h

typedef struct _FILE_LEVEL_TRIM_OUTPUT {
  DWORD NumRangesProcessed;
} FILE_LEVEL_TRIM_OUTPUT, *PFILE_LEVEL_TRIM_OUTPUT;
View the official Win32 API reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntifs-_file_level_trim_output)

_FILE_LEVEL_TRIM_OUTPUT structure

Description

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

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.

See also

FSCTL_FILE_LEVEL_TRIM


Win32 API reference (ns-winioctl-file_level_trim_output)

FILE_LEVEL_TRIM_OUTPUT structure

Description

Used as output to the FSCTL_FILE_LEVEL_TRIM control code.

Members

NumRangesProcessed

Contains the number of ranges that were successfully processed. This may be less than the value passed in the NumRanges member of the FILE_LEVEL_TRIM structure. If it is then the last ranges in the array were not processed.

See also

FSCTL_FILE_LEVEL_TRIM