Previous Next

DRIVE_LAYOUT_INFORMATION_GPT

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

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

Members

DiskId
Contains a GUID that uniquely identifies the drive. The GUID data type is described on the LPGUID 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.

Headers

Declared in ntddk.h. Include ntddk.h.

Comments

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