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 (321203)
The information in this article applies to:
- Microsoft Windows Management Instrumentation 1.5
This article was previously published under Q321203 SUMMARYThis article describes how to use performance counters that are available in Microsoft Windows Management Instrumentation (WMI).MORE INFORMATIONWhen you use Win32_PerfRawData_ServiceName_ObjectName 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.REFERENCESFor more information, visit the following Microsoft Developer Network (MSDN) Web sites:
Modification Type: | Major | Last Reviewed: | 11/19/2004 |
---|
Keywords: | kbhowto kbinfo KB321203 kbAudDeveloper |
---|
|