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_LUN_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 LUN.

Syntax


typedef enum  { 
  VDS_LS_UNKNOWN    = 0,
  VDS_LS_ONLINE     = 1,
  VDS_LS_NOT_READY  = 2,
  VDS_LS_OFFLINE    = 4,
  VDS_LS_FAILED     = 5
} VDS_LUN_STATUS;

Constants

VDS_LS_UNKNOWN

This value is reserved.

VDS_LS_ONLINE

The LUN is available.

VDS_LS_NOT_READY

The LUN is busy.

VDS_LS_OFFLINE

The LUN is unavailable.

VDS_LS_FAILED

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Vds.h;
VdsHwPrv.h (for hardware providers)

See also

VDS Enumerations
VDS_LUN_PROP
IVdsLun::SetStatus

 

 

Community Additions

Show:
© 2015 Microsoft