Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
2ccc2a42
Commit
2ccc2a42
authored
Jan 23, 2023
by
Hans Leidekker
Committed by
Alexandre Julliard
Feb 01, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add Windows 11 version.
parent
94d6e616
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
version.c
dlls/ntdll/version.c
+7
-1
appdefaults.c
programs/winecfg/appdefaults.c
+1
-0
No files found.
dlls/ntdll/version.c
View file @
2ccc2a42
...
...
@@ -55,6 +55,7 @@ typedef enum
WIN8
,
/* Windows 8 */
WIN81
,
/* Windows 8.1 */
WIN10
,
/* Windows 10 */
WIN11
,
/* Windows 11 */
NB_WINDOWS_VERSIONS
}
WINDOWS_VERSION
;
...
...
@@ -170,7 +171,11 @@ static const RTL_OSVERSIONINFOEXW VersionData[NB_WINDOWS_VERSIONS] =
sizeof
(
RTL_OSVERSIONINFOEXW
),
10
,
0
,
18362
,
VER_PLATFORM_WIN32_NT
,
L""
,
0
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_WORKSTATION
,
0
},
/* WIN11 */
{
sizeof
(
RTL_OSVERSIONINFOEXW
),
10
,
0
,
22000
,
VER_PLATFORM_WIN32_NT
,
L""
,
0
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_WORKSTATION
,
0
},
};
static
const
struct
{
WCHAR
name
[
12
];
WINDOWS_VERSION
ver
;
}
version_names
[]
=
...
...
@@ -201,6 +206,7 @@ static const struct { WCHAR name[12]; WINDOWS_VERSION ver; } version_names[] =
{
L"win8"
,
WIN8
},
{
L"win81"
,
WIN81
},
{
L"win10"
,
WIN10
},
{
L"win11"
,
WIN11
},
};
...
...
programs/winecfg/appdefaults.c
View file @
2ccc2a42
...
...
@@ -49,6 +49,7 @@ struct win_version
static
const
struct
win_version
win_versions
[]
=
{
{
L"win11"
,
L"Windows 11"
,
10
,
0
,
22000
,
VER_PLATFORM_WIN32_NT
,
L""
,
0
,
0
,
L"WinNT"
},
{
L"win10"
,
L"Windows 10"
,
10
,
0
,
18362
,
VER_PLATFORM_WIN32_NT
,
L""
,
0
,
0
,
L"WinNT"
},
{
L"win81"
,
L"Windows 8.1"
,
6
,
3
,
9600
,
VER_PLATFORM_WIN32_NT
,
L""
,
0
,
0
,
L"WinNT"
},
{
L"win8"
,
L"Windows 8"
,
6
,
2
,
9200
,
VER_PLATFORM_WIN32_NT
,
L""
,
0
,
0
,
L"WinNT"
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment