Skip to main content

Module error

Module error 

Source
Expand description

Win32 error code name/value lookup, generated from MS-ERREF.

The lookup table is static and works on non-Windows targets as well, which is useful when decoding an error returned by a remote Windows peer.

Functionsยง

win_error_code
Looks up the numeric value of a Win32 error code by its symbolic name (e.g. 2 for ERROR_FILE_NOT_FOUND), including known aliases.
win_error_name
Looks up the symbolic name of a Win32 error code (e.g. ERROR_FILE_NOT_FOUND for 2).