windows - Windows 8.1 后 WinAPI 弃用

标签 windows winapi windows-8.1

我一直在使用GetVersionEx它在运行 Windows 8.1 的机器上失败。看了一些资料发现GetVersionEx从8.1版本开始就被弃用了。

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

编辑:我不是在问用什么代替 GetVersionEx,我是在问已弃用 API 的完整列表。

最佳答案

Microsoft 已在 Operating system version changes in Windows 8.1 and Windows Server 2012 R2 中描述了更改.在文章的左侧,您可以导航到与 Windows 8.1 and Windows Server 2012 R2 client and server compatibility 相关的其他问题.

您遇到的行为如下:

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 - Windows 8.1 后 WinAPI 弃用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19518670/

相关文章:

java - JNA 找到窗口,但不将其最小化

c++ - 使用与 c++ D'tor 的重叠 I/O 冲突

c# - 在 Windows 8.1 中如何在其他地方设置焦点时保持 SettingsFlyout 可见?

android - eclipse "invalid resource directory name"

远程 MS Windows 主机上的 Python 子进程

php - Laravel 5 启动画面返回一排问号

c++ - winsock recv 返回 0 而没有从对等端关闭,与为控制台编译时的行为不同

python - 用 py2exe 制作的可执行文件不能在 windows xp 32 位上运行

c++ - RegisterClassEx 崩溃 - C++

无法识别 Android Gingerbread 手机