mirror of
https://github.com/pbatard/rufus.git
synced 2025-06-02 07:39:54 -04:00
[iso] add Windows ISO version report
* Use sources/compatresources.dll, when available, to try to detect the Windows ISO version and build. * Also report what facility we use for formatting.
This commit is contained in:
parent
e6a967c5c9
commit
a10b8e8c54
11 changed files with 107 additions and 23 deletions
|
@ -333,6 +333,13 @@ enum checksum_type {
|
|||
#define SYMLINKS_RR 0x01
|
||||
#define SYMLINKS_UDF 0x02
|
||||
|
||||
typedef struct {
|
||||
uint16_t major;
|
||||
uint16_t minor;
|
||||
uint16_t build;
|
||||
uint16_t revision;
|
||||
} winver_t;
|
||||
|
||||
typedef struct {
|
||||
char label[192]; // 3*64 to account for UTF-8
|
||||
char usb_label[192]; // converted USB label for workaround
|
||||
|
@ -367,10 +374,12 @@ typedef struct {
|
|||
BOOLEAN needs_syslinux_overwrite;
|
||||
BOOLEAN has_grub4dos;
|
||||
BOOLEAN has_grub2;
|
||||
BOOLEAN has_compatresources_dll;
|
||||
BOOLEAN has_kolibrios;
|
||||
BOOLEAN uses_casper;
|
||||
BOOLEAN uses_minint;
|
||||
BOOLEAN compression_type;
|
||||
winver_t win_version; // Windows ISO version
|
||||
uint16_t sl_version; // Syslinux/Isolinux version
|
||||
char sl_version_str[12];
|
||||
char sl_version_ext[32];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue