Hi Pali and all, I was reading through Microsoft docs for GetVersion[1], GetVersionEx[2] and related stuff.
[1] https://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getversion [2] https://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getversionexw This article[3] lists version numbers for all Windows versions back to Windows 2000; do you know what are these for pre-2000? In particular NT 4.0, NT 3.51, NT 3.5, NT 3.1 and all the Win9x. [3] https://learn.microsoft.com/en-us/windows/win32/sysinfo/operating-system-version Another interesting detail I've noticed is that GetVersionEx sets `dwPlatformId` member of OSVERSIONINFO* structures to `VER_PLATFORM_WIN32_NT`; this makes me wonder if there was a separate value to identify Win9x systems? Also, our lib32/kernel32.def says that GetVersionEx is available in all Win9x and only since NT 3.5, which means in some cases I may need to check for its presence at runtime as well :) - Kirill Makurin _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
