VDS_PARTITION_STYLE enumeration (vds.h)

[Beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.]

Defines the set of partition style values.

Syntax

typedef enum _VDS_PARTITION_STYLE {
  VDS_PST_UNKNOWN,
  VDS_PST_MBR,
  VDS_PST_GPT
} VDS_PARTITION_STYLE;

Constants

Name Description
VDS_PST_UNKNOWN An uninitialized disk. New disks or newly cleaned disks have this partitioning type.
VDS_PST_MBR The style is master boot record (MBR). If the value is VDS_PST_MBR, a DWORD signature identifies the disk. The identifier is unique on a single computer, but not unique across multiple computers. See the VDS_PARTITION_INFO_MBR structure.
VDS_PST_GPT The style is GUID partition table (GPT). If the value is VDS_PST_GPT, the disk has a GUID identifier. The GUID is guaranteed statistically to be unique across different computers. See the VDS_PARTITION_INFO_GPT structure.

Remarks

The VDS_DISK_PROP and VDS_PARTITION_PROPstructures include a VDS_PARTITION_STYLE value as a member. Additionally, the IVdsDisk::ConvertStyleand IVdsPack::AddDiskmethods pass a VDS_PARTITION_STYLE value as an argument to indicate the partition style on a disk.

Note  Additional constants might be added to the VDS_PARTITION_STYLE enumeration in future Windows versions. For this reason, your application must be designed to gracefully handle an unrecognized VDS_PARTITION_STYLE enumeration constant.
 

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header vds.h

See also

IVdsDisk::ConvertStyle

IVdsPack::AddDisk

VDS Enumerations

VDS_DISK_PROP

VDS_PARTITION_PROP