This function retrieves informations about the operating system version. I saw that:
under win2kmajor version is 5, minor is 0, platform is 2.
under winXP (service pack 2)major version is 5, minor is 1, platform is 2.
Seems the only difference in these OS is in minor version, but what about win9x? Or ME? Or XP with SP 1 only or no SP at all? Since some commands are unique to some versions (e.g. Shutdown exists under WinXP but doesn't in Win2k, where trying to shutdown the system is an afreightening task
😠 ), it would be better to accomodate program behaviour depending on windows version.
Now the question is: is there a place where those values are filed for ALL windows versions (including service packs) or do I have to test by myself on all of them to discover which values this function returns?