2.2.1.3.12 VDS_PARTITION_INFO_GPT

The VDS_PARTITION_INFO_GPT structure provides information about a partition in a GPT.

 typedef struct _VDS_PARTITION_INFO_GPT {
   GUID partitionType;
   GUID partitionId;
   ULONGLONG attributes;
   WCHAR name[36];
 } VDS_PARTITION_INFO_GPT;

partitionType: A GUID indicating the partition type.<21>

partitionId: The GUID of the partition.

attributes: The attributes of the partition; they can have a combination of the following values.

Value

Meaning

GPT_ATTRIBUTE_PLATFORM_REQUIRED

0x0000000000000001

Partition is required for the platform to function properly.<22>

GPT_BASIC_DATA_ATTRIBUTE_READ_ONLY

0x1000000000000000

Partition cannot be written to but can be read from. Used only with the basic data partition type.

GPT_BASIC_DATA_ATTRIBUTE_SHADOW_COPY

0x2000000000000000

Partition is a shadow copy. Used only with the basic data partition type.

GPT_BASIC_DATA_ATTRIBUTE_HIDDEN

0x4000000000000000

Partition is hidden and will not be mounted. Used only with the basic data partition type.

GPT_BASIC_DATA_ATTRIBUTE_NO_DRIVE_LETTER

0x8000000000000000

Partition does not receive a drive letter by default when moving the disk to another machine. Used only with the basic data partition type.

name: Null-terminated Unicode name of the partition.