When GetVersionEx returns successfully on Windows XP, the dwMajorVersion field of the structure it produces is supposed to have the value 5. Under what legitimate circumstances — running under Windows XP — might it have the value 7?
When GetVersionEx returns successfully on Windows XP, the dwMajorVersion field of the structure it
Share
Not under legitimate circumstances.
But: The Appverifier from Microsoft often changes those fields for the apps your testing to make sure your app works on future versions of Windows correctly.