Windows Dev Center

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_HBAPORT_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 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      = 1,
  VDS_HPS_ONLINE       = 2,
  VDS_HPS_OFFLINE      = 3,
  VDS_HPS_BYPASSED     = 4,
  VDS_HPS_DIAGNOSTICS  = 5,
  VDS_HPS_LINKDOWN     = 6,
  VDS_HPS_ERROR        = 7,
  VDS_HPS_LOOPBACK     = 8
} 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]

Redistributable

VDS 1.1

Header

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

See also

VDS Enumerations
VDS_HBAPORT_PROP

 

 

Community Additions

Show:
© 2015 Microsoft