Article ID: 274853 - View products that this article applies to.
This article was previously published under Q274853
This article has been archived. It is offered "as is" and will no longer be updated.
The ANSI version of the PdhExpandWildCardPath function may fail with a random error code on a computer that is running Windows 2000. Only the ANSI version, PdhExpandWildCardPathA, exhibits this behavior.
To 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:
260910The English version of this fix should have the following file attributes or later:
(http://support.microsoft.com/kb/260910/EN-US/ )How to Obtain the Latest Windows 2000 Service Pack
Date Time Version Size File name -------------------------------------------------- 10/03/00 03:13p 5.0.2195.2408 149,776 Pdh.dll
Microsoft has confirmed that this is a problem in Microsoft Windows 2000. This problem was first corrected in Windows 2000 Service Pack 2.
For additional information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the article number below to view the article in the Microsoft Knowledge Base:
249149The Unicode version of the PdhExpandWildCardPathW function works as expected on Windows 2000.
(http://support.microsoft.com/kb/249149/EN-US/ )Installing Microsoft Windows 2000 and Windows 2000 Hotfixes
For detailed information about retrieving the counter paths by using the PDH functions, refer to the Performance Monitoring topic in Microsoft Platform SDK or the Microsoft Developer Network (MSDN) documentation under Base Services.
Article ID: 274853 - Last Review: February 28, 2014 - Revision: 4.2
Contact us for more help
Connect with Answer Desk for expert help.