Windows 8.1 后弃用 WinAPI [英] WinAPI deprecation after Windows 8.1

查看:17
本文介绍了Windows 8.1 后弃用 WinAPI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用 GetVersionEx 并且它在运行 Windows 8.1 的机器上失败.查看一些信息后发现 GetVersionEx 自 8.1 版本起已弃用.

I have been using GetVersionEx and it failed in machine which runs with Windows 8.1. After looking some information found out that GetVersionEx is depracated since 8.1 version.

我想问哪里可以找到已弃用 API 的完整列表,因为我不想再使用它了.

I want to ask where could I find full list of deprecated APIs because I don't want to use it anymore.

我不是问要使用什么来代替 GetVersionEx,我要的是已弃用 API 的完整列表.

I'm not asking what to use instead of GetVersionEx, I'm asking for a full list of deprecated APIs.

推荐答案

Microsoft 描述了 Windows 8.1 和 Windows Server 2012 R2 中的操作系统版本变化.在文章的左侧,您可以导航到与 Windows 8.1 和 Windows Server 2012 R2 客户端和服务器兼容性.

Microsoft has described the changes in Operating system version changes in Windows 8.1 and Windows Server 2012 R2. On the left of the article you can navigate to other issues related to Windows 8.1 and Windows Server 2012 R2 client and server compatibility.

您遇到的行为如下:

在 Windows 8.1 中,不推荐使用 GetVersion(Ex) API.这意味着虽然您仍然可以调用 API,但如果您的应用不是专门针对 Windows 8.1,您将获得 Windows 8 版本控制 (6.2.0.0).

In Windows 8.1, the GetVersion(Ex) APIs have been deprecated. That means that while you can still call the APIs, if your app does not specifically target Windows 8.1, you will get Windows 8 versioning (6.2.0.0).

这篇关于Windows 8.1 后弃用 WinAPI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆