HBA_GetDiscoveredPortAttributes routine

The HBA_GetDiscoveredPortAttributes routine retrieves the attributes for a specified remote fibre channel port.

Syntax

HBA_STATUS HBA_API HBA_GetDiscoveredPortAttributes(
  _In_  HBA_HANDLE         HbaHandle,
  _In_  HBA_UINT32         PortIndex,
  _In_  HBA_UINT32         DiscoveredPortIndex,
  _Out_ HBA_PORTATTRIBUTES *HbaPortAttributes
);

Parameters

  • HbaHandle [in]
    Contains a value returned by the routine HBA_OpenAdapter that identifies the HBA on which the port is located.

  • PortIndex [in]
    Indicates the index of the local port of type Nx_Port through which to query the discovered remote port. For a definition of Nx_Port, see the T11 committee's Fibre Channel HBA API specification.

  • DiscoveredPortIndex [in]
    Indicates the index of the remote port to query.

  • HbaPortAttributes [out]
    Contains a structure of type HBA_PortAttributes that reports the port attributes.

Return value

The HBA_GetDiscoveredPortAttributes routine returns a value of type HBA_STATUS that indicates the status of the HBA.

Remarks

The HBA_GetDiscoveredPortAttributes library routine corresponds to the GetDiscoveredPortAttributes WMI method.

Requirements

Target platform

Desktop

Header

Hbaapi.h (include Hbaapi.h)

Library

Hbaapi.lib

DLL

Hbaapi.dll

See also

GetDiscoveredPortAttributes

HBA_OpenAdapter

HBA_PortAttributes

 

 

Send comments about this topic to Microsoft