GetPortAttributesByWWN function

The GetPortAttributesByWWN method retrieves the attributes for the port specified by Port Name.

Syntax

void GetPortAttributesByWWN(
   [in, HBAType("HBA_WWN")] uint8                                     wwn[8],
   [out, HBA_STATUS_QUALIFIERS] HBA_STATUS                            HBAStatus,
   [out, HBAType("HBA_PORTATTRIBUTES")] MSFC_HBAPortAttributesResults PortAttributes
);

Parameters

wwn[8]
The name of the port whose attributes are to be queried. This information is delivered to the miniport driver in the wwn member of a GetPortAttributesByWWN_IN structure.

HBAStatus
On return, contains the status of the operation. For a list of allowed values and their descriptions, see HBA_STATUS. The miniport driver returns this information in the HBAStatus member of a GetPortAttributesByWWN_OUT structure.

PortAttributes
A structure of type MSFC_HBAPortAttributesResults in which attributes for the discovered FC_Port may be returned. The miniport driver returns this information in the PortAttributes member of a GetDiscoveredPortAttributes_OUT structure.

Return value

Not applicable to WMI methods.

Remarks

This WMI method belongs to the MSFC_HBAAdapterMethods WMI Class.

Requirements

Target platform

Desktop

Header

Hbapiwmi.h (include Hbapiwmi.h, Hbaapi.h, or Hbaapi.h)

Library

Hbaapi.lib

See also

GetPortAttributesByWWN_IN

GetPortAttributesByWWN_OUT

MSFC_HBAPortAttributesResults