Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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_UNKNOWNValue: 0 This value is reserved. |
VDS_LS_ONLINEValue: 1 The LUN is available. |
VDS_LS_NOT_READYValue: 2 The LUN is busy. |
VDS_LS_OFFLINEValue: 4 The LUN is unavailable. |
VDS_LS_FAILEDValue: 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.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Header | vds.h |