GetFC4Statistics function
The GetFC4Statistics WMI method reports traffic statistics on a port of type Nx_Port for the indicated FC-4 protocol.
Syntax
void GetFC4Statistics(
[out, HBA_STATUS_QUALIFIERS] HBA_STATUS HBAStatus,
[in, HBAType("HBA_WWN")] uint8 PortWWN,
[in] uint8 FC4Type,
[out] MSFC_FC4STATISTICS FC4Statistics
);
Parameters
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 GetFC4Statistics_OUT structure.
PortWWN
The worldwide name for the local port of type Nx_Port whose traffic statistics are to be reported. This information is delivered to the miniport driver in the PortWWN member of a GetFC4Statistics_IN structure.
FC4Type
A value that indicates the type FC-4 protocol. For an explanation of FC4 types, see the T11 committee's Fibre Channel Generic Services - 4 specification. This information is delivered to the miniport driver in the FC4Type member of a GetFC4Statistics_IN structure.
FC4Statistics
On return, contains a structure of type MSFC_FC4STATISTICS that holds statistics for the specified FC-4 protocol. The miniport driver returns this information in the FC4Statistics member of a GetFC4Statistics_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 |