Windows System Error Code

Windows System Error Codes are numeric error codes used by many Microsoft Windows API functions. Earlier operating systems, notably MS-DOS, use a subset of these codes.

Code 0 means "success", and positive integers represent errors.

See also HRESULT.

Links

 * Windows Dev Center: System Error Codes
 * Win32-, DOS and OS/2-Errors (from archive.org) (Also includes some HRESULT codes.)
 * Windows Dev Center: GetLastError function