Skip to main content

win_error_code

Function win_error_code 

Source
pub fn win_error_code(name: &str) -> Option<u32>
Expand description

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.

Matching is exact and case-sensitive.