Windows NT 4.0 Pdh.dll PdhExpandCounterPath API Is Incorrect When Used on Windows 2000 (260234)
The information in this article applies to:
- Microsoft Windows 2000 Server SP1
- Microsoft Windows 2000 Advanced Server SP1
- Microsoft Windows 2000 Professional SP1
This article was previously published under Q260234 SYMPTOMS
When the PdhExpandCounterPath() API (ANSI or UNICODE version) is called by using the redistributable Pdh.dll file in Microsoft Windows NT 4.0 (4.0.1314.1) on Windows 2000-based computers, the following output is generated:
\PhysicalDisk/0 C:)\Current Disk Queue Length
\PhysicalDisk/_Total)\Current Disk Queue Length
IMPORTANT: Note that there is a '\' character instead of a ')' character. The same is true for Process, LogicalDisk objects.
When the PdhExpandCounterPathA() API is called by using the %SystemRoot%\system32\Pdh.dll file on a Windows 2000-based computer, no output is generated.
When the PdhExpandCounterPathW() API (UNICODE version) is called by using
the %SystemRoot%\system32\Pdh.dll file on a Windows 2000-based computer, the API does not work and generates a C0000BBD.
CAUSE
This problem can occur because of incorrect coding in the PdhExpandCounterPath API.
RESOLUTIONTo resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
260910 How to Obtain the Latest Windows 2000 Service Pack
The English version of this fix should have the following file attributes or later:
Date Time Version Size File name Platform
---------------------------------------------------------------
06/09/2000 04:22p 5.0.2195.2096 149,264 Pdh.dll Intel
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 2.
Modification Type: | Minor | Last Reviewed: | 9/26/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbbug kbenv kbfix kbWin2000PreSP2Fix KB260234 |
---|
|