// 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 referenceNo description available.
The FILE_LEVEL_TRIM_OUTPUT structure contains the results of a trim operation performed by an FSCTL_FILE_LEVEL_TRIM request.
NumRangesProcessedThe number or trim ranges processed.
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.
Used as output to the FSCTL_FILE_LEVEL_TRIM control code.
NumRangesProcessedContains 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.