VDS_STORAGE_POOL_STATUS 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 object status values for a storage pool.

Syntax

typedef enum _VDS_STORAGE_POOL_STATUS {
  VDS_SPS_UNKNOWN = 0,
  VDS_SPS_ONLINE = 1,
  VDS_SPS_NOT_READY = 2,
  VDS_SPS_OFFLINE = 4
} VDS_STORAGE_POOL_STATUS;

Constants

 
VDS_SPS_UNKNOWN
Value: 0
The provider failed to get the storage pool properties or could not access the storage pool.
VDS_SPS_ONLINE
Value: 1
The storage pool is available.
VDS_SPS_NOT_READY
Value: 2
The storage pool is busy.
VDS_SPS_OFFLINE
Value: 4
The storage pool is not available.

Remarks

The VDS_STORAGE_POOL_PROP structure uses a VDS_STORAGE_POOL_STATUS value in the status member to indicate the current status of the storage pool.

Note  Additional constants might be added to the VDS_STORAGE_POOL_STATUS enumeration in future Windows versions. For this reason, your application must be designed to gracefully handle an unrecognized VDS_STORAGE_POOL_STATUS enumeration constant.
 

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header vdshwprv.h

See also

VDS_STORAGE_POOL_PROP