获取最新版本的 Visual Studio 和 Windows 10 开发工具。
Windows SDK
适用于 Windows 11 的 Windows SDK (10.0.26100)提供用于生成 Windows 应用程序的最新标头、库、元数据和工具。 使用此 SDK 为 Windows 11 版本 24H2 和以前的 Windows 版本生成通用 Windows 平台(UWP)和 Win32 应用程序。
适用于 Windows 11 的 Windows SDK (10.0.26100)提供用于生成 Windows 应用程序的最新标头、库、元数据和工具。 使用此 SDK 为 Windows 11 版本 24H2 和以前的 Windows 版本生成通用 Windows 平台(UWP)和 Win32 应用程序。
Tip
Windows 应用 SDK
Windows 应用 SDK 提供一组统一的 API 和工具,这些 API 和工具与 OS 分离,并通过 NuGet 包发布到开发人员。 Windows 11 上的任何桌面应用和下层到 Windows 10 版本 1809 都可以以一致的方式使用这些 API 和工具。
可以通过两种方式获取 Windows SDK:通过选择下载链接或通过在 Visual Studio 2022 Installer 的可选组件中选择“Windows 11 SDK(10.0.26100.0)”从此页面安装它。 安装此 SDK 之前:
上次更新时间:2025 年 7 月
Windows SDK 具有以下最低系统要求:
(并非所有工具都受早期操作系统支持)
在 Windows 8.1 及更早版本的操作系统上安装需要 Windows中
Windows app samples are now available through GitHub. You can browse the code on GitHub, clone a personal copy of the repository from Git, or download a zipped archive of all the samples. 欢迎反馈,因此,如果有问题或问题,请随时在存储库中提出问题。 这些示例设计为在支持通用 Windows 平台(UWP)的桌面、移动设备和将来的设备上运行。
Previously released SDKs and emulators, including update details, can be found on the archive page.
使用新 API 时,请考虑将应用编写为自适应应用,使其在最广泛的 Windows 设备上正确运行。 无论设备和 Windows 版本支持新功能,自适应应用“亮起”,但仅提供检测到的平台版本上可用的功能。 有关实现详细信息,请参阅 版本自适应代码文章。
对以下 Win32 API 标头进行的更新、添加新定义、结构、枚举和其他更改:
向以下 Win32 标头添加了新 API:
添加了新的 WinRT 预览命名空间
向以下 WinRT 命名空间添加或更新了新 API:
向以下 Win32 标头添加了新 API:
Win32 CRT 标头的更新:
对以下 Win32 API 标头进行的更新,添加新定义、结构和枚举:
添加了新的 Win32 API 标头:
向以下 Win32 API 标头添加了实验性 API:
Added new APIs to the windows.ui.viewmanagement WinRT namespace to support the user's preferred UserInteractionMode.
Added support for semantic search to the searchapi.h Win 32 API header.
Added new GamingExperience Win32 API header.
向以下 Win32 标头添加了新 API:
Added gamepad support to the CoreInputViewKind enumeration in the windows.ui.viewmanagement.core WinRT namespace.
向以下 Win32 标头添加了新 API:
Renamed the PrivacyScreen WinRT APIs added to the windows.devices.sensors namespace in the previous build. 这些 API 现在是 OnlookerDetection API。
Added new WinRT APIs in the windows.devices.sensors namespace:
实验 API 在以下 Win32 标头内进行了更改(请注意,不应在生产环境中使用专家 API):
对以下 Win32 标头进行了重大添加或更改:
许多实验 API 已添加到以下 Win32 标头中(请注意,实验 API 不应在生产环境中使用):
添加或修改了以下 Win32 API:
certsrv.h:
clusapi.h:
combaseapi.h:
d2d11.h:
filter.h:
http.h:
msclus.h:
ntsecapi.h:
winenclaveapi.h:
winnt.h:
winuser.h:
请遵循最佳做法,确保 API 在调用之前在计算机上可用。
要与 Windows 11 版本 24h2 公共版本相对应的版本。
10.0.26100 系列的初始版本,对应于 Windows 11 版本 24h2 预览版。
服务更新 10.0.22621.3235。
服务更新 10.0.22621.2428。
Update 10.0.22621.1778. 突出显示的功能包括:
Removed api-ms-win-net-isolation-l1-1-0.lib. 与 api-ms-win-net-isolation-l1-1-0.lib 链接的应用可以将 t OneCoreUAP.lib 切换为替换项。
Removed irprops.lib. 针对 irprops.lib 链接的应用可以切换到 bthprops.lib 作为删除替换。
将 ENUM tagServerSelection 从 wuapicommon.h 移动到 wupai.h 并删除了标头。 如果要使用 ENUM tagServerSelection,则需要包括 wuapi.h 或 wuapi.idl。
Windows 10 WinRT API 包允许向 .NET Framework 4.5+ 和 .NET Core 3.0+ 库和应用添加最新的 Windows 运行时 API 支持。 若要访问 Windows 10 WinRT API 包,请参阅 Microsoft.Windows.SDK.Contracts nuget 包。
printf 系列函数现在 符合 IEEE 754 舍入规则 时,打印完全可表示的浮点数,并将遵循通过调用 fesetround 请求的舍入模式。 Legacy behavior is available when linking with legacy_stdio_float_rounding.obj.
Windows 应用认证工具包。 在应用认证工具包和 Windows 应用商店中,已将多个新 API 添加到受支持的 API 列表中。 如果在 Visual Studio 中出现灰显或禁用的受支持列表中存在 API,则可以对源文件进行少量更改以访问它们。 For more details, see this known issue. 查找测试的更多更新。
消息编译器(mc.exe)更新:
Windows 跟踪预处理器(tracewpp.exe)更新:
TraceLoggingProvider.h updates:
对应用进行签名。 Device Guard 签名是适用于企业和教育的 Microsoft Store 中提供的 Device Guard 功能,它允许企业保证每个应用都来自受信任的源。 请参阅有关 Device Guard 签名的
SDK 标头在 MSVC 编译器 cl.exe(VS 2019 v16.6 中引入)中使用符合标准的 C 预处理器进行编译时,已更新 SDK 标头以解决错误。
已修复:“GdiplusTypes.h 未使用 NOMINMAX 进行编译”。 请参阅 Visual Studio 反馈。
使用 /std:c11 或 /std:c17 进行生成时,现在将获得:
面向 ARM64 的 Windows v11 的 Clang/LLVM 与最新的 winnt.h 不兼容
DirectXMath(包括此版本中的版本 3.16)与 ARM64 上的适用于 Windows 的 Clang/LLVM 不兼容。
更改了某些头文件的情况,以便对区分大小写的文件系统进行规范化:
-Wno-nonportable-system-include-path
添加到 CLI,或源中的以下 #pragma:#ifdef __clang__
#pragma clang diagnostic ignored "-Wnonportable-system-include-path"
#endif
此版本包含以下文件。 如果遇到这些问题,建议尽快更新 SDK 版本以避免出现以下问题:
获取最新版本的 Visual Studio 和 Windows 10 开发工具。
查找以前版本的 Window SDK 和其他工具。
通过订阅我们的博客,随时了解最新的 SDK 外部测试版。
查找 Windows 版本更新和终止支持的关键日期。