fn unexpectedError(err: Win32Error) std.os.UnexpectedError

Call this when you made a windows DLL call or something that does SetLastError and you get an unexpected error.

Parameters

Errors

Unexpected

The Operating System returned an undocumented error code. This error is in theory not possible, but it would be better to handle this error than to invoke undefined behavior.