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