VDS_DRIVE_FLAG 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 flags for a drive object.

Syntax

typedef enum _VDS_DRIVE_FLAG {
  VDS_DRF_HOTSPARE,
  VDS_DRF_ASSIGNED,
  VDS_DRF_UNASSIGNED,
  VDS_DRF_HOTSPARE_IN_USE,
  VDS_DRF_HOTSPARE_STANDBY
} VDS_DRIVE_FLAG, *PVDS_DRIVE_FLAG;

Constants

 
VDS_DRF_HOTSPARE
The drive is reserved for use only as a hot spare.
VDS_DRF_ASSIGNED
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
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
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
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_PROPstructure.

This enumeration provides the values for the ulFlags member of the VDS_DRIVE_PROPstructure.

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

   
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_DRIVE_PROP

VDS_DRIVE_PROP2