// ntifs.h
typedef struct _FILE_REGION_OUTPUT {
ULONG Flags;
ULONG TotalRegionEntryCount;
ULONG RegionEntryCount;
ULONG Reserved;
FILE_REGION_INFO Region[1];
} FILE_REGION_OUTPUT, *PFILE_REGION_OUTPUT;
View the official Windows Driver Kit DDI referenceNo description available.
FILE_REGION_OUTPUT is the output structure for FSCTL_QUERY_FILE_REGIONS.
FlagsA 32-bit unsigned integer that indicates the flags for this operation. No flags are currently defined so this field should be set to zero and be ignored.
TotalRegionEntryCountA 32-bit unsigned integer that indicates the total number of regions that could be returned.
RegionEntryCountA 32-bit unsigned integer that indicates the number of regions that were actually returned and which are contained in this structure.
ReservedReserved; this field should be set to zero and ignored.
Region[1]One or more FILE_REGION_INFO structures that contain information on the desired ranges based on the desired usage indicated by DesiredUsage.