Bewerken

Delen via


DRIVE_LAYOUT_INFORMATION_GPT structure (ntdddisk.h)

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

Syntax

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 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.

Requirements

Requirement Value
Header ntdddisk.h (include Ntddk.h)

See also

DRIVE_LAYOUT_INFORMATION_EX

IoReadPartitionTable

IoWritePartitionTable