mirror of
https://github.com/pbatard/rufus.git
synced 2025-06-05 17:14:26 -04:00
[misc] small Windows versioning improvement
* Actually define a WINDOWS_11 version and use it when Windows 11 is detected. * Also some comment cleanup.
This commit is contained in:
parent
d203c91403
commit
aba6c7d996
5 changed files with 37 additions and 26 deletions
11
src/rufus.h
11
src/rufus.h
|
@ -440,12 +440,13 @@ enum WindowsVersion {
|
|||
WINDOWS_UNSUPPORTED = 0,
|
||||
WINDOWS_XP = 0x51,
|
||||
WINDOWS_2003 = 0x52, // Also XP_64
|
||||
WINDOWS_VISTA = 0x60, // Also 2008
|
||||
WINDOWS_7 = 0x61, // Also 2008_R2
|
||||
WINDOWS_8 = 0x62, // Also 2012
|
||||
WINDOWS_8_1 = 0x63, // Also 2012_R2
|
||||
WINDOWS_VISTA = 0x60, // Also Server 2008
|
||||
WINDOWS_7 = 0x61, // Also Server 2008_R2
|
||||
WINDOWS_8 = 0x62, // Also Server 2012
|
||||
WINDOWS_8_1 = 0x63, // Also Server 2012_R2
|
||||
WINDOWS_10_PREVIEW1 = 0x64,
|
||||
WINDOWS_10 = 0xA0,
|
||||
WINDOWS_10 = 0xA0, // Also Server 2016, also Server 2019
|
||||
WINDOWS_11 = 0xB0, // Also Server 2022
|
||||
WINDOWS_MAX
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue