VDS_HBAPORT_TYPE 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 types for an HBA port. These types correspond to the HBA_PORTTYPE values in the HBA API.

Syntax

typedef enum _VDS_HBAPORT_TYPE {
  VDS_HPT_UNKNOWN = 1,
  VDS_HPT_OTHER = 2,
  VDS_HPT_NOTPRESENT = 3,
  VDS_HPT_NPORT = 5,
  VDS_HPT_NLPORT = 6,
  VDS_HPT_FLPORT = 7,
  VDS_HPT_FPORT = 8,
  VDS_HPT_EPORT = 9,
  VDS_HPT_GPORT = 10,
  VDS_HPT_LPORT = 20,
  VDS_HPT_PTP = 21
} VDS_HBAPORT_TYPE;

Constants

 
VDS_HPT_UNKNOWN
Value: 1
The port type is unknown.


HBA_PORTTYPE_UNKNOWN
VDS_HPT_OTHER
Value: 2
The port type is another (undefined) type.


HBA_PORTTYPE_OTHER
VDS_HPT_NOTPRESENT
Value: 3
The port type is not present.


HBA_PORTTYPE_NOTPRESENT
VDS_HPT_NPORT
Value: 5
The port type is a fabric.


HBA_PORTTYPE_NPORT
VDS_HPT_NLPORT
Value: 6
The port type is a public loop.


HBA_PORTTYPE_NLPORT
VDS_HPT_FLPORT
Value: 7
The port type is a fabric on a loop.


HBA_PORTTYPE_FLPORT
VDS_HPT_FPORT
Value: 8
The port type is a fabric port.


HBA_PORTTYPE_FPORT
VDS_HPT_EPORT
Value: 9
The port type is a fabric expansion port.
VDS_HPT_GPORT
Value: 10
The port type is a generic fabric port.
VDS_HPT_LPORT
Value: 20
The port type is a private loop.


HBA_PORTTYPE_LPORT
VDS_HPT_PTP
Value: 21
The port type is point-to-point.


HBA_PORTTYPE_PTP

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 R2 [desktop apps only]
Header vds.h

See also

VDS Enumerations