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

Syntax


typedef enum  { 
  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;

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Vds.h;
VdsHwPrv.h (for hardware providers)

See also

VDS Enumerations
VDS_DRIVE_PROP
VDS_DRIVE_PROP2

 

 

Community Additions

Show:
© 2014 Microsoft