下载 windows API 参考 (MSDN) 以供离线使用

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4701193/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 07:59:09  来源:igfitidea点击:

download windows API reference (MSDN) for offline use

windowsapidocumentationreference

提问by Gauthier

I would like to have a windows API reference document available offline. MSDN is fine, but I also need this kind of information when I don't have access to internet.

我想要一个可离线使用的 Windows API 参考文档。MSDN 很好,但是当我无法访问互联网时,我也需要此类信息。

pdf, chm, help (for emacs) would be fine.

pdf, chm, help (for emacs) 就可以了。

Surely I am not the first person to want that, but I can't find anything. Could someone please point to a place to find that?

我当然不是第一个想要那个的人,但我找不到任何东西。有人可以指出一个可以找到那个的地方吗?

I saw the reference was maybe available in the SDK, but installing it takes ~200 MB, and I only want the documentation.

我看到参考资料可能在 SDK 中可用,但安装它需要大约 200 MB,我只想要文档。

回答by diimdeep

Visual Studio 2012/2013/2015 Help Downloader

Visual Studio 2012/2013/2015 帮助下载器

Tool for downloading the Visual Studio 2012/2013/2015 help packages for offline use

用于下载 Visual Studio 2012/2013/2015 帮助包以供离线使用的工具

enter image description here

在此处输入图片说明

回答by risingballs

Just the Win32 API, but it's a thing of beauty: Win32.chm

只是 Win32 API,但它很漂亮:Win32.chm

Although it is now 17 years old, the Win32.hlp file from Microsoft is still a useful reference for those, like me, still programming using the "flat" Windows API. It still covers 99% of what I need and is much more convenient and faster to use than the current MSDN and Windows SDK documentation because it is much smaller. It is a file that is possible to add to the help menu of your IDE or favorite editor and call up instantly, even offline.

尽管它现在已有 17 年的历史,但来自 Microsoft 的 Win32.hlp 文件对于像我这样仍在使用“平面”Windows API 进行编程的人来说仍然是一个有用的参考。它仍然涵盖了我需要的 99%,并且比当前的 MSDN 和 Windows SDK 文档更方便、更快速地使用,因为它更小。该文件可以添加到您的 IDE 或喜爱的编辑器的帮助菜单中,并且可以立即调用,甚至可以离线调用。

回答by Darin Dimitrov

Here's a blog postexplaining how you could install it. You can also only take a subset of it. You can also download the library it from here.

这是一篇博客文章,解释了如何安装它。你也可以只取其中的一个子集。您也可以从这里下载库

回答by kizzx2

In Visual Studio, "Help > Manage Help Settings" you can download the contents to disk. Then you can press F1 to view them.

在 Visual Studio 中,“帮助 > 管理帮助设置”可以将内容下载到磁盘。然后你可以按F1查看它们。

This feature is even available in Visual Studio Express. You can start the help server manually at %PROGRAMFILES%\Microsoft Help Viewer\v1.0

此功能甚至在 Visual Studio Express 中可用。您可以在以下位置手动启动帮助服务器%PROGRAMFILES%\Microsoft Help Viewer\v1.0

Installing the Windows SDK and the .NET 4 help contents took ~700MB for me. There's probably no way around it.

安装 Windows SDK 和 .NET 4 帮助内容对我来说大约需要 700MB。恐怕没有办法了。

(Windows SDKs used to contain the documentation but it seems like they've stripped it out in v7.1)

(Windows SDK 曾经包含文档,但似乎在 v7.1 中已将其删除)

You can even do a search offline in the Help, though from my experience the relevant rate is worse than Google.

您甚至可以在帮助中进行离线搜索,但根据我的经验,相关率比谷歌差。

Edit: The "Microsoft Help System" is also available in the SDK so you don't need to install Visual Studio to use it

编辑:SDK 中也提供了“Microsoft 帮助系统”,因此您无需安装 Visual Studio 即可使用它

回答by mmdemirbas

Package This!is a good tool to download and compile MSDN docs as CHM.

包这个!是下载和编译 MSDN 文档作为 CHM 的好工具。