mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-21 18:35:26 -04:00
[core] refactor CreatePartition()
* Also add groundwork for optional creation of MSR (see #432) * Also fix a few minor issues
This commit is contained in:
parent
0440e1fb3d
commit
ec761dfb41
3 changed files with 129 additions and 123 deletions
|
@ -1778,12 +1778,12 @@ DWORD WINAPI FormatThread(void* param)
|
|||
}
|
||||
if (!SetupWinToGo(drive_name)) {
|
||||
if (!IS_ERROR(FormatStatus))
|
||||
FormatStatus = ERROR_SEVERITY_ERROR|FAC(FACILITY_STORAGE)|ERROR_ISO_EXTRACT;
|
||||
FormatStatus = ERROR_SEVERITY_ERROR|FAC(FACILITY_STORAGE)|APPERR(ERROR_ISO_EXTRACT);
|
||||
goto out;
|
||||
}
|
||||
} else if (!ExtractISO(image_path, drive_name, FALSE)) {
|
||||
if (!IS_ERROR(FormatStatus))
|
||||
FormatStatus = ERROR_SEVERITY_ERROR|FAC(FACILITY_STORAGE)|ERROR_ISO_EXTRACT;
|
||||
FormatStatus = ERROR_SEVERITY_ERROR|FAC(FACILITY_STORAGE)|APPERR(ERROR_ISO_EXTRACT);
|
||||
goto out;
|
||||
}
|
||||
if (iso_report.has_kolibrios) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue