开发者

Under what legitimate circumstances might GetVersionEx produce dwMajorVersion == 7 when running under Windows XP?

开发者 https://www.devze.com 2022-12-22 11:56 出处:网络
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 -- ru开发者_StackOverfl

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 -- ru开发者_StackOverflow社区nning under Windows XP -- might it have the value 7?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号