DISK_EXTENT structure (winioctl.h)

Represents a disk extent.

Syntax

typedef struct _DISK_EXTENT {
  DWORD         DiskNumber;
  LARGE_INTEGER StartingOffset;
  LARGE_INTEGER ExtentLength;
} DISK_EXTENT, *PDISK_EXTENT;

Members

DiskNumber

The number of the disk that contains this extent.

This is the same number that is used to construct the name of the disk, for example, the X in "\\?\PhysicalDriveX" or "\\?\\HarddiskX".

StartingOffset

The offset from the beginning of the disk to the extent, in bytes.

ExtentLength

The number of bytes in this extent.

Requirements

Requirement Value
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