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_DISK_STATUS 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 object status values for a disk.

Syntax


typedef enum  { 
  VDS_DS_UNKNOWN    = 0,
  VDS_DS_ONLINE     = 1,
  VDS_DS_NOT_READY  = 2,
  VDS_DS_NO_MEDIA   = 3,
  VDS_DS_OFFLINE    = 4,
  VDS_DS_FAILED     = 5,
  VDS_DS_MISSING    = 6
} VDS_DISK_STATUS;

Constants

VDS_DS_UNKNOWN

The provider failed to get the disk properties from the driver (unknown status, unknown health), or the provider cannot access the disk (unknown status, healthy).

VDS_DS_ONLINE

The disk is available. The disk status value can be VDS_DS_ONLINE, even if the status of the containing pack is VDS_PS_OFFLINE.

VDS_DS_NOT_READY

The disk is currently not ready to use. For example, if you use ACPI Power Management to request that a disk hibernate (spin down), the disk becomes temporarily unavailable.

VDS_DS_NO_MEDIA

The disk is removable media, such as a CD-ROM drive, or contains no media.

VDS_DS_OFFLINE

The disk is offline.

Windows Vista and Windows Server 2003:  This flag is not supported.

VDS_DS_FAILED

The disk is unavailable and cannot be used.

VDS_DS_MISSING

No physical device is present for the disk object, even though the pack configuration information lists the disk. This status value applies to dynamic disks only.

Remarks

The VDS_DISK_PROP structure includes a VDS_DISK_STATUS value as a member to indicate the current status of a disk.

Note  Additional constants might be added to the VDS_DISK_STATUS enumeration in future Windows versions. For this reason, your application must be designed to gracefully handle an unrecognized VDS_DISK_STATUS 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
IVdsService::QueryUnallocatedDisks
VDS_DISK_PROP
VDS_HEALTH
VDS_PACK_STATUS

 

 

Show: