大网数据广告活动
性能与资源

Tutorial - Debug system error codes

· 52CE 我爱测

Provides guidance on debugging system error codes & links to system error codes defined in the WinError.h header file.

System error codes can occur across many locations in the system and require investigation and analysis to debug (due to their scope, descriptions for system error codes cannot be very specific), starting with the programmatic and runtime context in which the errors occurred.

System error codes are defined in WinError.h and can be returned by non-system software or by a function deep in the stack and far removed from code that is handling the error.

More ways to find an error code

We've listed the system error codes in this section, organized by number. If you need more help tracking down a specific error, here are some more recommendations:

If you're searching for other errors, here are some links that might help:

Third party error codes

Other error codes may be generated by third party services or apps (for example, Error Code: -118 may be displayed by the Steam game service), in which case you need to contact the third party.

System error codes

The following topics provide lists of system error codes defined in the WinError.h header file.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 07/14/2025
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。