VDS_LUN_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 LUN.
Syntax
typedef enum _VDS_LUN_STATUS {
VDS_LS_UNKNOWN = 0,
VDS_LS_ONLINE = 1,
VDS_LS_NOT_READY = 2,
VDS_LS_OFFLINE = 4,
VDS_LS_FAILED = 5
} VDS_LUN_STATUS, *PVDS_LUN_STATUS;
Constants
VDS_LS_UNKNOWN Value: 0 This value is reserved. |
VDS_LS_ONLINE Value: 1 The LUN is available. |
VDS_LS_NOT_READY Value: 2 The LUN is busy. |
VDS_LS_OFFLINE Value: 4 The LUN is unavailable. |
VDS_LS_FAILED Value: 5 The LUN has failed. |
Remarks
The IVdsLun::SetStatus method passes a VDS_LUN_STATUS value as an argument to set the status of a LUN, and the VDS_LUN_PROP structure includes a VDS_LUN_STATUS value as a member to indicate the current status.
Note Additional constants might be added to the VDS_LUN_STATUS enumeration in future Windows versions. For this reason, your application must be designed to gracefully handle an unrecognized VDS_LUN_STATUS enumeration constant.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | vdshwprv.h |