Hi,
I think GetSystemInfo should return x86 even on x64 when running 32-bit applications just like a 32-bit Windows or WOW64 does. But GetNativeSystemInfo could return the actual 64-bit CPU altough I'm not sure that it makes any sense without WOW64.
Kornél
----- Original Message ----- From: "Alexander Nicolaysen Sørnes" alex@thehandofagony.com To: "Alexandre Julliard" julliard@winehq.org; wine-devel@winehq.org Sent: Tuesday, December 11, 2007 12:14 PM Subject: Re: kernel32: cpu: Detect AMD 64bit CPUs
On Tuesday 11 December 2007 12:08:29 you wrote:
Alexander Nicolaysen Sørnes alex@thehandofagony.com writes:
kernel32: cpu: Detect AMD 64bit CPUs
Are you really supposed to return a 64bit CPU in 32-bit mode? Do you have a test case?
It only identifies the model as an AMD x86 64bit CPU, so it doesn't imply that the Windows version is 64 bit. I don't have such a CPU myself; it was a fix for bug 10742 (http://bugs.winehq.org/show_bug.cgi?id=10742)
Alexander