All win32 error codes in one place

Error Codes

Possible variations of error code

  • -1073741638
  • 0xc00000ba
  • 3221225658
  • c00000ba

Error Descriptions

Possible descriptions of error code


The file that was specified as a target is a directory and the caller specified that it could be anything but a directory.

Source: ntstatus.h


How do I solve this error?

Search the web for combinations of the different error codes and descriptions with the program that failed. For example, if Chrome gave you this error, try searching for 0xc00000ba chrome.exe, STATUS_FILE_IS_A_DIRECTORY chrome.exe, etc.

Where does all this information come from?

From Microsoft Error Lookup Tool . You can download it locally or use this webpage when you don't have access to a Windows machine or just don't want to use the command line.

How do I get my program to display better error messages?

Use FormatMessage to convert error codes to error strings.