Skip to content

Latest commit

 

History

History
106 lines (60 loc) · 2.02 KB

File metadata and controls

106 lines (60 loc) · 2.02 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
CounterItem.GetValue method
Retrieves the last value of the counter.
cf50d878-a119-42b0-bc59-b0e37ed15321
GetValue method SysMon
GetValue method SysMon , CounterItem class
CounterItem class SysMon , GetValue method
apiref
CounterItem.GetValue
Sysmon.ocx
COM
reference
05/31/2018

CounterItem.GetValue method

Retrieves the last value of the counter.

Syntax

CounterItem.GetValue( _
  ByRef value As Double, _
  ByRef status As Long _
)

Parameters

value [out]

Last sampled value of the counter.

status [out]

Indicates if the value is valid.

Value Meaning
0
The value is valid.
0xC0000BBA (3221228474)
The value is not valid.

Return value

This method does not return a value.

Remarks

If the source of the counter data is from a log file, the value is the last counter value in the log file.

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.GetStatistics

CounterItem.Value