HBA_GetPortAttributesByWWN routine
The HBA_GetPortAttributesByWWN routine retrieves the attributes for the port specified by the indicated port name.
Syntax
HBA_STATUS HBA_API HBA_GetPortAttributesByWWN(
_In_ HBA_HANDLE HbaHandle,
_In_ HBA_WWN PortWWN,
_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.PortWWN [in]
Contains the worldwide name (WWN) of the port whose attributes to retrieve. For a definition of worldwide names, see the T11 committee's Fibre Channel HBA API specification .HbaPortAttributes [out]
Contains a structure of type HBA_PortAttributes that holds the port attributes:
Return value
The HBA_GetPortAttributesByWWN routine returns a value of type HBA_STATUS that indicates the status of the HBA.
Remarks
The HBA_GetPortAttributesByWWN routine serves a purpose very similar to the GetDiscoveredPortAttributes WMI method.
Requirements
Target platform |
Desktop |
Header |
Hbaapi.h (include Hbaapi.h) |
Library |
Hbaapi.lib |
DLL |
Hbaapi.dll |
See also