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 = 0,
VDS_PST_MBR = 1,
VDS_PST_GPT = 2
} VDS_PARTITION_STYLE;
Constants
VDS_PST_UNKNOWN Value: 0 An uninitialized disk. New disks or newly cleaned disks have this partitioning type. |
VDS_PST_MBR Value: 1 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 Value: 2 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_PROP structures include a VDS_PARTITION_STYLE value as a member. Additionally, the IVdsDisk::ConvertStyle and IVdsPack::AddDisk methods 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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | vds.h |