Hugh McMaster hugh.mcmaster@outlook.com writes:
The return values aren't broken in the sense that it is only one Windows version returning a different value. In this case, it is Vista, 7, 8/8.1, 10. I have no problem implementing the XP version in kernel32 -
- in fact, I'll send a patch to do that -- but I'd like other opinions
(Alexandre?) on the overall issue, as it seems to be a special case.
There are many differences between Windows versions, we can't afford to have a version check for every difference. So it should be done only when strictly necessary, i.e. there's an actual app that checks the version and expects different behaviors based on that.