Improve Win32 error handling.