Article ID: 188769
Article Last Modified on 11/21/2006
APPLIES TO
- Microsoft Win32 Application Programming Interface, when used with:
- Microsoft Windows 2000 Standard Edition
This article was previously published under Q188769
SYMPTOMS
The LoadPerfCounterTextStrings Win32 API fails with return code 87
(ERROR_INVALID_PARAMETER) when you use it as prescribed in the Platform SDK
documentation.
CAUSE
The first parameter needs more information in addition to the .ini filename
to qualify parameter validation.
RESOLUTION
To work around this problem, pre-pend characters and a space to the
filename specification for the first parameter. Then
LoadPerfCounterTextStrings will qualify the first parameter, but ignore the
pre-pended characters.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. We are researching this bug and will post
new information here in the Microsoft Knowledge Base as it becomes
available.
REFERENCES
For more information about LoadPerfCounterTextStrings see:
Platform SDK: Windows Base Services; Windows NT Features; Performance Data
Helper; Performance Data Helper; Adding Performance Counters
Keywords: kbapi kbbug kberrmsg kbkernbase kbpending kbperfmon KB188769