Platform SDK: Performance Monitoring |
The PdhVbGetDoubleCounterValue function returns the current value of the specified counter as a double-precision floating point value. You should check CounterStatus before using the returned number, because the counter may not be valid when it is read. To check the counter status, call the PdhVbIsGoodStatus function.
PdhVbGetDoubleCounterValue( ByVal CounterHandle as Long, ByRef CounterStatus as Long ) as Double
The function returns the double-precision floating point value of the current counter, computed and formatted as defined by the counter type.
Windows NT/2000: Requires Windows NT 4.0 or later.
Library: Use Pdh.lib.