Share via


FILE_ALLOCATED_RANGE_BUFFER (Compact 2013)

3/26/2014

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

Syntax

typedef struct _FILE_ALLOCATED_RANGE_BUFFER{
  LARGE_INTEGER FileOffset;
  LARGE_INTEGER Length;
} FILE_ALLOCATED_RANGE_BUFFER, *PFILE_ALLOCATED_RANGE_BUFFER;

Members

  • FileOffset
    File offset of the start of a range of bytes in a file, in bytes.
  • Length
    Size of the range, in bytes.

Requirements

Header

fsioctl.h

See Also

Reference

FSD Structures
FS I/O Controls
FSCTL_QUERY_ALLOCATED_RANGES