mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-19 17:35:10 -04:00
v1.0.4 (#100)
* closes #22 (missing CloseHandle for FreeDOS' AUTOEXEC.BAT) * split rufus and rufus_fd solution files (VS2010) * error messages small improvements * since we're on Windows, use .txt extension for README and TODO
This commit is contained in:
parent
80f12bce4d
commit
5722300063
12 changed files with 50 additions and 30 deletions
|
@ -205,7 +205,8 @@ const char* StrError(DWORD error_code)
|
|||
case ERROR_WRITE_FAULT:
|
||||
return "Write error";
|
||||
case ERROR_OPEN_FAILED:
|
||||
return "Could not open media";
|
||||
return "Could not open media. It may be in use by another process.\n"
|
||||
"Please re-plug the media and try again";
|
||||
case ERROR_PARTITION_FAILURE:
|
||||
return "Error while partitioning drive";
|
||||
case ERROR_CANNOT_COPY:
|
||||
|
@ -217,7 +218,7 @@ const char* StrError(DWORD error_code)
|
|||
case ERROR_BADBLOCKS_FAILURE:
|
||||
return "Bad blocks check didn't complete";
|
||||
default:
|
||||
uprintf("StrError: hit default - %08X\n", error_code);
|
||||
uprintf("Unknown error: %08X\n", error_code);
|
||||
SetLastError(error_code);
|
||||
return WindowsErrorString();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue