Microsoft KB Archive/321203

= You may receive negative values when you use Win32_PerfRawData_ServiceName_ObjectName to obtain raw counter data in the Performance Counter provider in Windows Management Instrumentation =

Article ID: 321203

Article Last Modified on 11/19/2004

-

APPLIES TO


 * Microsoft Windows Management Instrumentation 1.5

-



This article was previously published under Q321203



SUMMARY
This article describes how to use performance counters that are available in Microsoft Windows Management Instrumentation (WMI).



MORE INFORMATION
When you use Win32_PerfRawData_ _ in the Performance Counter provider to obtain raw counter data for the object, you may receive negative values for your returned counters.

The return values may be negative values because the underlying performance data helper (PDH) interface that WMI uses is not formatted and is not examined for negative values.

