Export (0) Print
Expand All
Expand Minimize

FILE_ALLOCATED_RANGE_BUFFER structure

Indicates a range of bytes in a file. This structure is used with the FSCTL_QUERY_ALLOCATED_RANGES control code. 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

The file offset of the start of a range of bytes in a file, in bytes.

Length

The size of the range, in bytes.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

WinIoCtl.h (include Windows.h)

See also

FSCTL_QUERY_ALLOCATED_RANGES
Sparse Files

 

 

Community Additions

ADD
Show:
© 2014 Microsoft