mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-21 18:35:26 -04:00
[misc] fix WDK compilation
* Also ensure that the VHD extension is properly set on proposed dump name
This commit is contained in:
parent
4f0e8a24a8
commit
4c8cd053f0
3 changed files with 14 additions and 11 deletions
|
@ -289,9 +289,9 @@ BOOL IsHDImage(const char* path)
|
|||
goto out;
|
||||
}
|
||||
|
||||
iso_report.is_bootable_img = IsCompressedBootableImage(path);
|
||||
iso_report.is_bootable_img = (BOOLEAN)IsCompressedBootableImage(path);
|
||||
if (iso_report.compression_type == BLED_COMPRESSION_NONE)
|
||||
iso_report.is_bootable_img = AnalyzeMBR(handle, "Image");
|
||||
iso_report.is_bootable_img = (BOOLEAN)AnalyzeMBR(handle, "Image");
|
||||
|
||||
if (!GetFileSizeEx(handle, &liImageSize)) {
|
||||
uprintf("Could not get image size: %s", WindowsErrorString());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue