// ntddvol.h
typedef struct _DISK_EXTENT {
ULONG DiskNumber;
LARGE_INTEGER StartingOffset;
LARGE_INTEGER ExtentLength;
} DISK_EXTENT, *PDISK_EXTENT;
View the official Windows Driver Kit DDI reference// winioctl.h
typedef struct _DISK_EXTENT {
DWORD DiskNumber;
LARGE_INTEGER StartingOffset;
LARGE_INTEGER ExtentLength;
} DISK_EXTENT, *PDISK_EXTENT;
View the official Win32 API referenceNo description available.
The DISK_EXTENT structure contains information defining the location and length of a volume extent on a disk.
DiskNumberSpecifies the number of the disk that contains this extent. This is the same disk number that is used to construct the name of the disk (for example, PhysicalDriveX or HarddiskX, where X is the disk number).
StartingOffsetSpecifies the offset, in bytes, from the beginning of the disk.
ExtentLengthSpecifies the number of bytes of this extent.
IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
Represents a disk extent.
DiskNumberThe 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".
StartingOffsetThe offset from the beginning of the disk to the extent, in bytes.
ExtentLengthThe number of bytes in this extent.