2.2.1.2.20 VDS_DISK_STATUS

The VDS_DISK_STATUS enumeration defines the status of a disk.

 typedef enum _VDS_DISK_STATUS
 {
   VDS_DS_UNKNOWN = 0x00000000,
   VDS_DS_ONLINE = 0x00000001,
   VDS_DS_NOT_READY = 0x00000002,
   VDS_DS_NO_MEDIA = 0x00000003,
   VDS_DS_OFFLINE = 0x00000004,
   VDS_DS_FAILED = 0x00000005,
   VDS_DS_MISSING = 0x00000006
 } VDS_DISK_STATUS;

VDS_DS_UNKNOWN:  The disk status is unknown.

VDS_DS_ONLINE:  The disk is online.

VDS_DS_NOT_READY:  The disk is not ready.

VDS_DS_NO_MEDIA:  The disk has no media.

VDS_DS_OFFLINE:  The disk is offline. Offline disks have no volume devices exposed.

VDS_DS_FAILED:  The disk failed.

VDS_DS_MISSING:  The disk is missing; it is no longer available to the operating system.