DRIVE_LAYOUT_INFORMATION_GPT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntdddisk.h

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

View the official Windows Driver Kit DDI reference
// winioctl.h

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

View the official Win32 API reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntdddisk-_drive_layout_information_gpt)

_DRIVE_LAYOUT_INFORMATION_GPT structure

Description

The DRIVE_LAYOUT_INFORMATION_GPT structure reports the drive signature for a GUID Partition Table partition.

Members

DiskId

Contains a GUID that uniquely identifies the drive. The GUID data type is described on the Using GUIDs in Drivers reference page.

StartingUsableOffset

Contains an offset in bytes to the location immediately following the primary partition table. This offset begins the region on the drive where partitions reside, but partition one is not necessarily located precisely at this offset.

UsableLength

Indicates the total usable space in bytes available on the drive.

MaxPartitionCount

Indicates the maximum number of partitions allowed on the drive.

Remarks

This structure contains the drive layout information that is specific to a drive with a GUID Partition Table partition. It is encapsulated within the DRIVE_LAYOUT_INFORMATION_EX structure. For further information see Intel's Extensible Firmware Interface specification.

See also

DRIVE_LAYOUT_INFORMATION_EX

IoReadPartitionTable

IoWritePartitionTable


Win32 API reference (ns-winioctl-drive_layout_information_gpt)

DRIVE_LAYOUT_INFORMATION_GPT structure

Description

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

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.

See also

DRIVE_LAYOUT_INFORMATION_EX

DRIVE_LAYOUT_INFORMATION_MBR

IOCTL_DISK_GET_DRIVE_LAYOUT_EX

IOCTL_DISK_SET_DRIVE_LAYOUT_EX