GetDiscoveredPortAttributes function
The GetDiscoveredPortAttributes WMI method retrieves the attributes for a specified remote Fibre Channel port.
Syntax
void GetDiscoveredPortAttributes(
[in] uint32 PortIndex,
[in] uint32 DiscoveredPortIndex,
[out, HBA_STATUS_QUALIFIERS] HBA_STATUS HBAStatus,
[out, HBAType("HBA_PORTATTRIBUTES")] MSFC_HBAPortAttributesResults PortAttributes
);
Parameters
PortIndex
The index of the local port of type Nx_Port through which to query the discovered remote port. This information is delivered to the miniport driver in the PortIndex member of a GetDiscoveredPortAttributes_IN structure.
DiscoveredPortIndex
The index of the remote port to be queried. This information is delivered to the miniport driver in the DiscoveredPortIndex member of a GetDiscoveredPortAttributes_IN structure.
HBAStatus
On return, contains a WMI qualifier value that indicates 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 GetDiscoveredPortAttributes_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
GetDiscoveredPortAttributes_IN