System Error Codes

Note

This information is intended for developers so that the software they write can better deal with errors. If you're experiencing difficulty with an application that you're installing or running, contact customer support for the software that is displaying the error message. To obtain support for a Microsoft product, visit Microsoft Support.

System Error Codes are very broad: each one can occur in one of many hundreds of locations in the system. Consequently, the descriptions of these codes cannot be very specific. Use of these codes requires some amount of investigation and analysis. You need to note both the programmatic and the runtime context in which these errors occur. Because these codes are defined in WinError.h for anyone to use, sometimes the codes are returned by non-system software. And sometimes the code is returned by a function deep in the stack and far removed from your code that is handling the error.

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