Skip to content

Instantly share code, notes, and snippets.

View kamilkosek's full-sized avatar

Kamil Kosek kamilkosek

View GitHub Profile
@kamilkosek
kamilkosek / Win32ErrorCodes.csv
Last active November 3, 2023 09:39
Contains all Win32 Error Codes in a useful CSV file. This could be used ie. when calling a exe file from powershell or python wihtout capturing the output of the execution and just processing the exit code.
ErrorCode ErrorName Description
0x00000000 ERROR_SUCCESS The operation completed successfully.
0x00000000 NERR_Success The operation completed successfully.
0x00000001 ERROR_INVALID_FUNCTION Incorrect function.
0x00000002 ERROR_FILE_NOT_FOUND The system cannot find the file specified.
0x00000003 ERROR_PATH_NOT_FOUND The system cannot find the path specified.
0x00000004 ERROR_TOO_MANY_OPEN_FILES The system cannot open the file.
0x00000005 ERROR_ACCESS_DENIED Access is denied.
0x00000006 ERROR_INVALID_HANDLE The handle is invalid.
0x00000007 ERROR_ARENA_TRASHED The storage control blocks were destroyed.