VDS_HBAPORT_STATUS enumeration (vds.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 valid statuses for an HBA port. These values are used in the status member of the VDS_HBAPORT_PROP structure. These states correspond to the HBA_PORTSTATE values in the HBA API.

Syntax

typedef enum _VDS_HBAPORT_STATUS {
  VDS_HPS_UNKNOWN,
  VDS_HPS_ONLINE,
  VDS_HPS_OFFLINE,
  VDS_HPS_BYPASSED,
  VDS_HPS_DIAGNOSTICS,
  VDS_HPS_LINKDOWN,
  VDS_HPS_ERROR,
  VDS_HPS_LOOPBACK
} VDS_HBAPORT_STATUS;

Constants

 
VDS_HPS_UNKNOWN
The HBA port status is unknown.


HBA_PORTSTATE_UNKNOWN
VDS_HPS_ONLINE
The HBA port is operational.


HBA_PORTSTATE_ONLINE
VDS_HPS_OFFLINE
The HBA port has been set offline by a user.


HBA_PORTSTATE_OFFLINE
VDS_HPS_BYPASSED
The HBA port is bypassed.


HBA_PORTSTATE_BYPASSED
VDS_HPS_DIAGNOSTICS
The HBA port is in diagnostics mode.


HBA_PORTSTATE_DIAGNOSTICS
VDS_HPS_LINKDOWN
The HBA port link is down.


HBA_PORTSTATE_LINKDOWN
VDS_HPS_ERROR
The HBA port has an error.


HBA_PORTSTATE_ERROR
VDS_HPS_LOOPBACK
The HBA port is loopback.


HBA_PORTSTATE_LOOPBACK

Remarks

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

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 R2 [desktop apps only]
Header vds.h
Redistributable VDS 1.1

See also

VDS Enumerations

VDS_HBAPORT_PROP