GetFCPStatistics function

The GetFCPStatistics WMI method returns FCP traffic statistics for the indicated SCSI logical unit on the indicated local HBA.

Syntax

void GetFCPStatistics(
   [out, HBA_STATUS_QUALIFIERS] HBA_STATUS HBAStatus,
   [in] HBAScsiID                          ScsiId,
   [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 GetFCPStatistics_OUT structure.

ScsiId
On return, contains a structure of type HBAScsiID that holds information that identifies the device. This information is delivered to the miniport driver in the ScsiId member of a GetFCPStatistics_IN structure.

FC4Statistics
On return, contains a structure of type MSFC_FC4STATISTICS that holds statistics for the indicated SCSI logical unit. The miniport driver returns this information in the FC4Statistics member of a GetFCPStatistics_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

GetFCPStatistics_IN

GetFCPStatistics_OUT

MSFC_FC4STATISTICS