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

Juan Lang juan.lang at gmail.com
Mon Jun 6 11:02:27 CDT 2011


> 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



More information about the wine-devel mailing list