| 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 |
|
|
|
|
|
reference |
05/31/2018 |
Retrieves the last value of the counter.
CounterItem.GetValue( _
ByRef value As Double, _
ByRef status As Long _
)-
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.
This method does not return a value.
If the source of the counter data is from a log file, the value is the last counter value in the log file.
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows 2000 Professional [desktop apps only] |
| Minimum supported server |
Windows 2000 Server [desktop apps only] |
| DLL |
|