Windows 应用程序的退出代码列表

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3235364/
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-15 14:49:23  来源:igfitidea点击:

List of Windows application's exit codes

windowsexit-code

提问by Leonid F.

Where can I get the list of Windows application's exit codes?

在哪里可以获得 Windows 应用程序的退出代码列表?

采纳答案by Bob Moore

An application can specify any exit code it wants. The convention is that zero indicates no error, but other than that there is no standard.

应用程序可以指定它想要的任何退出代码。约定是零表示没有错误,但除此之外没有标准。

Did you perhaps mean Win32 errorcodes ? Those are in winerror.h, and documented here

您可能是指 Win32错误代码吗?这些在 winerror.h 中,并记录在此处

回答by Chris Paton

I know this question has already been answered, but the link to winerror.h no longer works. Here is a more up-to-date resource.

我知道这个问题已经得到解答,但是 winerror.h 的链接不再有效。这是更新的资源