Microsoft KB Archive/152145

{|
 * width="100%"|

FIX: QueryPerformanceFrequency Returns Wrong Value on PC 9800

 * }

Q152145

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK), used with:
 * Microsoft Windows 4.0
 * Microsoft Windows 95
 * Microsoft Windows NT Server version 3.51
 * Microsoft Windows NT Workstation version 3.51

-

SYMPTOMS
QueryPerformanceFrequency called from an application running on an NEC PC9800 Series computer with Japanese Win95 (PC9800 version), returns a static value (1193180 Ticks/sec) regardless of the actual frequency of the high-resolution performance counter. On NEC PC 9800 Series computers, the static value can be 2457600 ticks/sec.

RESOLUTION
The same API returns the correct value on NEC PC9800 Series computers running Windows NT PC 9800 version.

This problem does not exist on any other platforms.

STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

This problem was corrected in Windows 2000.

Additional query words: 4.00

Keywords : kbIntl kbOSWinNT351 kbOSWin2000fix kbOSWin95 kbDBCS kbIntlDev

Issue type : kbbug

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch