Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

VDS_PARTITION_STYLE enumeration

[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_PST_UNKNOWN  = 0,
  VDS_PST_MBR      = 1,
  VDS_PST_GPT      = 2
} VDS_PARTITION_STYLE;

Constants

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Vds.h

See also

VDS Enumerations
VDS_DISK_PROP
VDS_PARTITION_PROP
IVdsDisk::ConvertStyle
IVdsPack::AddDisk

 

 

Community Additions

Show:
© 2016 Microsoft