VDS_VOLUME_TYPE 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 valid types for a volume object.
Syntax
typedef enum _VDS_VOLUME_TYPE {
VDS_VT_UNKNOWN = 0,
VDS_VT_SIMPLE = 10,
VDS_VT_SPAN = 11,
VDS_VT_STRIPE = 12,
VDS_VT_MIRROR = 13,
VDS_VT_PARITY = 14
} VDS_VOLUME_TYPE;
Constants
VDS_VT_UNKNOWN Value: 0 The volume type is unknown. |
VDS_VT_SIMPLE Value: 10 The volume type is simple—it is composed of extents from exactly one disk. |
VDS_VT_SPAN Value: 11 The volume type is spanned—it is composed of extents from more than one disk. |
VDS_VT_STRIPE Value: 12 The volume type is striped, which is equivalent to RAID 0. |
VDS_VT_MIRROR Value: 13 The volume type is mirrored, which is equivalent to RAID 1. |
VDS_VT_PARITY Value: 14 The volume type is striped with parity, which accounts for RAID levels 3, 4, 5, and 6. |
Remarks
The IVdsPack::CreateVolume method passes a VDS_VOLUME_TYPE value as an argument to set a new volume type, and the VDS_VOLUME_PROP structure includes a VDS_VOLUME_TYPE value as a member to indicate the existing volume type.
Note Additional constants might be added to the VDS_VOLUME_TYPE enumeration in future Windows versions. For this reason, your application must be designed to gracefully handle an unrecognized VDS_VOLUME_TYPE 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 |