[1/3] kernel32/heap: Emulate Win9x if appropriate in GlobalMemoryStatusEx(). (try 2)

Adam Martinson amartinson at codeweavers.com
Mon Jun 6 11:06:42 CDT 2011

On 06/06/2011 11:02 AM, Juan Lang wrote:
>> Ha!  Quite right, thanks!
> If that's what you want, then an easier check is to use GetVersion()
> rather than GetVersionEx.  (GetVersion()&  0x80000000) is true under
> Win9x, false under any NT version.  See many checks like this in e.g.
> kernel32.
> --Juan
GetVersionEx() is used in GlobalMemoryStatus() also, after these are in 
I'll pull it out and make it static, and then just do it once and use it 
for both.

More information about the wine-devel mailing list