// hbapiwmi.h
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
);
View the official Windows hardware development documentationNo description available.
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.
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.
Not applicable to WMI methods.
This WMI method belongs to the MS_SM_TargetInformationMethods WMI Class.
| Target platform | Desktop |
| Header | Hbapiwmi.h |