microsoft/Windows-classic-samples
GitHub: microsoft/Windows-classic-samples
Stars: 5569 | Forks: 3323
# Windows 经典示例
此代码库包含演示 Windows 经典桌面应用程序中所用 API 的示例。
**注意**。你可以使用 Microsoft Visual Studio 搜索此处的完整源代码,以查看是否演示了特定 Windows API 的用法。将此代码库克隆(或下载 ZIP)到本地文件系统。然后在 Visual Studio 中使用 **在文件中查找**,将 **查找范围** 设置为你克隆或下载的文件夹,并搜索 API 名称。你可以免费安装 [Visual Studio](https://visualstudio.microsoft.com/downloads/)。我们提供社区版——它对学生、开源贡献者和个人免费。
这些示例演示了 Windows 和 Windows Server 的功能和编程模型。
此代码库包含每个示例的 Visual Studio 解决方案 (SLN) 文件,以及编译和运行该示例所需的源文件、资产、资源和元数据。
有关这些示例中演示的编程模型、平台、语言和 API 的更多信息,请查看 [Windows 开发人员中心](http://go.microsoft.com/fwlink/?LinkID=532421) 的文档。
这些示例大多数是使用 Visual Studio 2013 为 Windows 7、Windows 8.1 和/或 Windows Server 2012 R2 创建的,但有些是使用早期版本创建的,或者具有特定的 SKU 和其他要求。在许多情况下,这些示例也可以在高于指定版本的系统上运行。如果你无法让示例按预期工作,则它可能具有平台、版本或 SKU 特定的要求。如果你对这些示例有任何问题,请使用问题列表提供反馈。
要获取 Visual Studio 的副本,请转到 [Visual Studio 下载](http://go.microsoft.com/fwlink/p/?linkid=301697)。
其他示例:
- [Windows 通用示例 (UWP)](https://github.com/Microsoft/Windows-universal-samples)
- [桌面桥接至通用 Windows 平台 (UWP)](https://github.com/Microsoft/DesktopBridgeToUWP-Samples)
- [代码示例浏览器](https://docs.microsoft.com/samples/)
本项目已采用 [Microsoft 开源行为准则](https://opensource.microsoft.com/codeofconduct/)。有关更多信息,请参阅 [行为准则常见问题解答](https://opensource.microsoft.com/codeofconduct/faq/) 或联系 [opencode@microsoft.com](mailto:opencode@microsoft.com) 提出任何其他问题或意见。
标签:C++, Linux, SLN解决方案, UML, Visual Studio, Win32, Win32 API, Windows, Windows 7, Windows 8.1, Windows API示例, Windows SDK, Windows Server, Windows开发, 原生应用开发, 微软官方示例, 数据擦除, 桌面应用程序, 桌面桥, 源码库, 系统编程, 经典桌面, 编程教学