DRIVE_LAYOUT_INFORMATION_GPT structure (winioctl.h)

Contains information about a drive's GUID partition table (GPT) partitions.

Syntax

typedef struct _DRIVE_LAYOUT_INFORMATION_GPT {
  GUID          DiskId;
  LARGE_INTEGER StartingUsableOffset;
  LARGE_INTEGER UsableLength;
  DWORD         MaxPartitionCount;
} DRIVE_LAYOUT_INFORMATION_GPT, *PDRIVE_LAYOUT_INFORMATION_GPT;

Members

DiskId

The GUID of the disk.

StartingUsableOffset

The starting byte offset of the first usable block.

UsableLength

The size of the usable blocks on the disk, in bytes.

MaxPartitionCount

The maximum number of partitions that can be defined in the usable block.

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

DRIVE_LAYOUT_INFORMATION_EX

DRIVE_LAYOUT_INFORMATION_MBR

IOCTL_DISK_GET_DRIVE_LAYOUT_EX

IOCTL_DISK_SET_DRIVE_LAYOUT_EX