SM_GetLUNStatistics function

The SMHBA_GetLUNStatistics method returns traffic statistics for a specific SCSI logical unit that is provided by using the FCP protocol or SSP protocol on a specific local HBA.

Syntax

void SM_GetLUNStatistics(
   [in, HBAType("HBA_SCSIID")] HBAScsiID                                     Lunit,
   [out, HBA_STATUS_QUALIFIERS] HBA_STATUS                                   HBAStatus,
   [out, HBAType("MS_SMHBA_PROTOCOLSTATISTICS")] MS_SMHBA_PROTOCOLSTATISTICS ProtocolStatistics
);

Parameters

Lunit
A structure of type HBA_ScsiId that contains information that is used by the operating system to identify a SCSI logical unit.

HBAStatus
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 SM_GetLUNStatistics_OUT structure.

ProtocolStatistics
A structure of type MS_SMHBA_PROTOCOLSTATISTICS that is used to report protocol traffic statistics on a port.

Return value

Not applicable to WMI methods.

Remarks

This WMI method belongs to the MS_SM_TargetInformationMethods WMI Class.

Requirements

Target platform

Desktop

Header

Hbapiwmi.h

See also

HBA_STATUS

SM_GetLUNStatistics_IN

SM_GetLUNStatistics_OUT