Contains GUID partition table (GPT) partition information.
Syntaxtypedef struct _PARTITION_INFORMATION_GPT {
GUID PartitionType;
GUID PartitionId;
DWORD64 Attributes;
WCHAR Name[36];
} PARTITION_INFORMATION_GPT, *PPARTITION_INFORMATION_GPT;
Members
PartitionType
A GUID that identifies the partition type.
Each partition type that the EFI specification supports is identified by its own GUID, which is published by the developer of the partition.
This member can be one of the following values.
Value MeaningOnly partitions of this type can be assigned drive letters, receive volume GUID paths, host mounted folders (also called volume mount points), and be enumerated by calls to FindFirstVolume and FindNextVolume.
This value can be set only for basic disks, with one exception. If both PARTITION_BASIC_DATA_GUID and GPT_ATTRIBUTE_PLATFORM_REQUIRED are set for a partition on a basic disk that is subsequently converted to a dynamic disk, the partition remains a basic partition, even though the rest of the disk is a dynamic disk. This is because the partition is considered to be an OEM partition on a GPT disk.
This value can be set for basic and dynamic disks.
This value can be set for basic and dynamic disks.
This value can be set for basic and dynamic disks.
This value can be set only for dynamic disks.
This value can be set only for dynamic disks.
This value can be set for basic and dynamic disks.
PartitionId
The GUID of the partition.
Attributes
The Extensible Firmware Interface (EFI) attributes of the partition.
This member can be one or more of the following values.
Value MeaningFor example, this attribute must be set for OEM partitions. Note that if this attribute is set, you can use the DiskPart.exe utility to perform partition operations such as deleting the partition. However, because the partition is not a volume, you cannot use the DiskPart.exe utility to perform volume operations on the partition.
This attribute can be set for basic and dynamic disks. If it is set for a partition on a basic disk and the disk is converted to a dynamic disk, the partition remains a basic partition, even though the rest of the disk is a dynamic disk. This is because the partition is considered to be an OEM partition on a GPT disk.
This attribute is useful in storage area network (SAN) environments.
Despite its name, this attribute can be set for basic and dynamic disks.
As a result, the partition does not receive a drive letter, does not receive a volume GUID path, does not host mounted folders (also called volume mount points), and is not enumerated by calls to FindFirstVolume and FindNextVolume. This ensures that applications such as Disk Defragmenter do not access the partition. The Volume Shadow Copy Service (VSS) uses this attribute.
Despite its name, this attribute can be set for basic and dynamic disks.
VSS uses this attribute. This attribute is an indication for file system filter driver-based software (such as antivirus programs) to avoid attaching to the volume.
An application can use the attribute to differentiate a shadow copy volume from a production volume. An application that does a fast recovery, for example, will break a shadow copy LUN and clear the read-only and hidden attributes and this attribute. This attribute is set when the shadow copy is created and cleared when the shadow copy is broken.
Despite its name, this attribute can be set for basic and dynamic disks.
Windows Server 2003: This attribute is not supported before Windows Server 2003 with SP1.
Writes to the partition will fail. IOCTL_DISK_IS_WRITABLE will fail with the ERROR_WRITE_PROTECT Win32 error code, which causes the file system to mount as read only, if a file system is present.
VSS uses this attribute.
Do not set this attribute for dynamic disks. Setting it can cause I/O errors and prevent the file system from mounting properly.
Name[36]
A wide-character string that describes the partition.
The GPT partition format is required for disks that are used to boot computers that use Extended Firmware Interface (EFI) firmware. GPT data disks can reside on x86, x64, and Itanium-based architectures.
Starting with Windows Server 2003 with SP1, GPT is supported on all Windows platforms, not only platforms that use EFI.
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 alsoIOCTL_DISK_GET_PARTITION_INFO_EX
IOCTL_DISK_SET_PARTITION_INFO_EX
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4