FILE_ALLOCATED_RANGE_BUFFER

[This is preliminary documentation and subject to change.]

The FILE_ALLOCATED_RANGE_BUFFER structure is used with the FSCTL_QUERY_ALLOCATED_RANGES operation to indicate a range of bytes in a file. On input to the FSCTL_QUERY_ALLOCATED_RANGES operation, the structure indicates the range of the file to search. On output, the operation returns an array of FILE_ALLOCATED_RANGE_BUFFER structures to indicate the allocated ranges within the search range.

typedef struct _FILE_ALLOCATED_RANGE_BUFFER {
    LARGE_INTEGER FileOffset;
    LARGE_INTEGER Length;
} FILE_ALLOCATED_RANGE_BUFFER;
 

Members

FileOffset
Indicates the file offset, in bytes, of the start of a range of bytes in a file.
Length
Indicates the size, in bytes, of the range.

QuickInfo

  Windows NT: Requires version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in winioctl.h.

See Also

Device Input and Output Overview, Device Input and Output Structures, FSCTL_QUERY_ALLOCATED_RANGES, Sparse Files