> There is. There are only 3 version types: Win32s, Win9x and WinNT. > If you want to distinguish Win9x from others (Win32s and WinNT) you just > need to check for Win32s and WinNT.
This is not what I meant. I meant ability to distinguish which particular Win9x system the code is running on. By reading Microsoft's documentation, I have the impression that major (4) and minor (?) version bytes are the same for all of Windows 95/98/Me. Or does "minor version" byte is different on these three? > In most cases you just need to distinguish between NT and non-NT DOS > versions. And for this purpose you can use bit [31] which is documented > by MS. And if you want more granularity to distinguish between different > DOS-based versions (Win9x and Win32s) you can use documented way via > major version (bits [07:00]) where the Win9x has >= 4 value or > undocumented version via bits [31:30] where the Win9x has value > (VER_PLATFORM_WIN32_WINDOWS ^ 0x2). There are no issues distinguishing the platform (NT vs Win9x vs Win32s). - Kirill Makurin _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
