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
List of Windows application's exit codes
提问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 中,并记录在此处