VDS_DRIVE_FLAG enumeration (vdshwprv.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 flags for a drive object.
Syntax
typedef enum _VDS_DRIVE_FLAG {
VDS_DRF_HOTSPARE = 0x1,
VDS_DRF_ASSIGNED = 0x2,
VDS_DRF_UNASSIGNED = 0x4,
VDS_DRF_HOTSPARE_IN_USE = 0x8,
VDS_DRF_HOTSPARE_STANDBY = 0x10
} VDS_DRIVE_FLAG, *PVDS_DRIVE_FLAG;
Constants
VDS_DRF_HOTSPARE Value: 0x1 The drive is reserved for use only as a hot spare. |
VDS_DRF_ASSIGNED Value: 0x2 The drive is assigned to a RAID group or storage pool. Windows Server 2008, Windows Vista and Windows Server 2003: This value is not supported. |
VDS_DRF_UNASSIGNED Value: 0x4 The drive is not assigned to a RAID group or storage pool. Windows Server 2008, Windows Vista and Windows Server 2003: This value is not supported. |
VDS_DRF_HOTSPARE_IN_USE Value: 0x8 The drive is in use as a hot spare. Windows Server 2008, Windows Vista and Windows Server 2003: This value is not supported. |
VDS_DRF_HOTSPARE_STANDBY Value: 0x10 The drive is on standby as a hot spare. Windows Server 2008, Windows Vista and Windows Server 2003: This value is not supported. |
Remarks
This enumeration provides the values for the ulFlags member of the VDS_DRIVE_PROP structure.
This enumeration provides the values for the ulFlags member of the VDS_DRIVE_PROP structure.
Note Additional constants might be added to the VDS_DRIVE_FLAG enumeration in future Windows versions. For this reason, your application must be designed to gracefully handle an unrecognized VDS_DRIVE_FLAG enumeration constant.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | vdshwprv.h |