Skip to content

Latest commit

 

History

History
122 lines (70 loc) · 2.3 KB

File metadata and controls

122 lines (70 loc) · 2.3 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
CounterItem.GetStatistics method
Retrieves the average, maximum, and minimum values for the counter.
fb55d68b-1dbe-48b1-88c8-51f33048ec24
GetStatistics method SysMon
GetStatistics method SysMon , CounterItem class
CounterItem class SysMon , GetStatistics method
apiref
CounterItem.GetStatistics
Sysmon.ocx
COM
reference
05/31/2018

CounterItem.GetStatistics method

Retrieves the average, maximum, and minimum values for the counter.

Syntax

CounterItem.GetStatistics( _
  ByRef max As Double, _
  ByRef min As Double, _
  ByRef average As Double, _
  ByRef status As Long _
)

Parameters

max [out]

Maximum value of the counter.

min [out]

Minimum value of the counter.

average [out]

Average value of the counter.

status [out]

Indicates if the values are valid.

Value Meaning
0
The values are valid.
0xC0000BBA (3221228474)
The values are not valid.

Return value

This method does not return a value.

Remarks

Only those counter values that are visible in the graph window are used to calculate the statistical values.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
DLL
Sysmon.ocx

See also

CounterItem

CounterItem.GetDataAt

CounterItem.GetValue