Microsoft KB Archive/274853

{|
 * width="100%"|

BUG: PdhExpandWildCardPath ANSI Version May Fail on Windows 2000

 * }

Q274853

-

The information in this article applies to:


 * Microsoft Win32 Application Programming Interface (API), on platform(s):
 * the operating system: Microsoft Windows 2000

-

SYMPTOMS
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.

RESOLUTION
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, please see the following article in the Microsoft Knowledge Base:

"Q260910 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 --  10/03/00    03:13p  5.0.2195.2408 149,776 Pdh.dll

STATUS
Microsoft has confirmed this to be a problem in Microsoft Windows 2000. This problem was first corrected in Windows 2000 Service Pack 2.

MORE INFORMATION
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:

"Q249149 Installing Microsoft Windows 2000 and Windows 2000 Hotfixes" The Unicode version of the PdhExpandWildCardPathW function works as expected on Windows 2000.