Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
c89ce41e
Commit
c89ce41e
authored
Jan 25, 2022
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 25, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version: Use same Windows 10 build number for version information.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
64d5feb4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
33 deletions
+33
-33
version.c
dlls/kernelbase/version.c
+4
-4
version.c
dlls/ntdll/version.c
+13
-13
appdefaults.c
programs/winecfg/appdefaults.c
+16
-16
No files found.
dlls/kernelbase/version.c
View file @
c89ce41e
...
@@ -130,13 +130,13 @@ typedef struct
...
@@ -130,13 +130,13 @@ typedef struct
* Win8 info, reported if the app doesn't provide compat GUID in the manifest and
* Win8 info, reported if the app doesn't provide compat GUID in the manifest and
* doesn't have higher OS version in PE header.
* doesn't have higher OS version in PE header.
*/
*/
static
const
struct
version_info
windows8_version_info
=
{
6
,
2
,
0x23f
0
};
static
const
struct
version_info
windows8_version_info
=
{
6
,
2
,
920
0
};
/***********************************************************************
/***********************************************************************
* Win8.1 info, reported if the app doesn't provide compat GUID in the manifest and
* Win8.1 info, reported if the app doesn't provide compat GUID in the manifest and
* OS version in PE header is 8.1 or higher but below 10.
* OS version in PE header is 8.1 or higher but below 10.
*/
*/
static
const
struct
version_info
windows8_1_version_info
=
{
6
,
3
,
0x258
0
};
static
const
struct
version_info
windows8_1_version_info
=
{
6
,
3
,
960
0
};
/***********************************************************************
/***********************************************************************
...
@@ -151,12 +151,12 @@ static const struct
...
@@ -151,12 +151,12 @@ static const struct
{
{
/* Windows 8.1 */
/* Windows 8.1 */
{
{
{
6
,
3
,
0x258
0
},
{
6
,
3
,
960
0
},
{
0x1f676c76
,
0x80e1
,
0x4239
,{
0x95
,
0xbb
,
0x83
,
0xd0
,
0xf6
,
0xd0
,
0xda
,
0x78
}}
{
0x1f676c76
,
0x80e1
,
0x4239
,{
0x95
,
0xbb
,
0x83
,
0xd0
,
0xf6
,
0xd0
,
0xda
,
0x78
}}
},
},
/* Windows 10 */
/* Windows 10 */
{
{
{
10
,
0
,
0x42ee
},
{
10
,
0
,
18362
},
{
0x8e0f7a12
,
0xbfb3
,
0x4fe8
,{
0xb9
,
0xa5
,
0x48
,
0xfd
,
0x50
,
0xa1
,
0x5a
,
0x9a
}}
{
0x8e0f7a12
,
0xbfb3
,
0x4fe8
,{
0xb9
,
0xa5
,
0x48
,
0xfd
,
0x50
,
0xa1
,
0x5a
,
0x9a
}}
}
}
};
};
...
...
dlls/ntdll/version.c
View file @
c89ce41e
...
@@ -105,69 +105,69 @@ static const RTL_OSVERSIONINFOEXW VersionData[NB_WINDOWS_VERSIONS] =
...
@@ -105,69 +105,69 @@ static const RTL_OSVERSIONINFOEXW VersionData[NB_WINDOWS_VERSIONS] =
},
},
/* NT351 */
/* NT351 */
{
{
sizeof
(
RTL_OSVERSIONINFOEXW
),
3
,
51
,
0x421
,
VER_PLATFORM_WIN32_NT
,
sizeof
(
RTL_OSVERSIONINFOEXW
),
3
,
51
,
1057
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 5"
,
5
,
0
,
0
,
VER_NT_WORKSTATION
,
0
L"Service Pack 5"
,
5
,
0
,
0
,
VER_NT_WORKSTATION
,
0
},
},
/* NT40 */
/* NT40 */
{
{
sizeof
(
RTL_OSVERSIONINFOEXW
),
4
,
0
,
0x565
,
VER_PLATFORM_WIN32_NT
,
sizeof
(
RTL_OSVERSIONINFOEXW
),
4
,
0
,
1381
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 6a"
,
6
,
0
,
0
,
VER_NT_WORKSTATION
,
0
L"Service Pack 6a"
,
6
,
0
,
0
,
VER_NT_WORKSTATION
,
0
},
},
/* NT2K */
/* NT2K */
{
{
sizeof
(
RTL_OSVERSIONINFOEXW
),
5
,
0
,
0x893
,
VER_PLATFORM_WIN32_NT
,
sizeof
(
RTL_OSVERSIONINFOEXW
),
5
,
0
,
2195
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 4"
,
4
,
0
,
0
,
VER_NT_WORKSTATION
,
L"Service Pack 4"
,
4
,
0
,
0
,
VER_NT_WORKSTATION
,
30
/* FIXME: Great, a reserved field with a value! */
30
/* FIXME: Great, a reserved field with a value! */
},
},
/* WINXP */
/* WINXP */
{
{
sizeof
(
RTL_OSVERSIONINFOEXW
),
5
,
1
,
0xA28
,
VER_PLATFORM_WIN32_NT
,
sizeof
(
RTL_OSVERSIONINFOEXW
),
5
,
1
,
2600
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 3"
,
3
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_WORKSTATION
,
L"Service Pack 3"
,
3
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_WORKSTATION
,
30
/* FIXME: Great, a reserved field with a value! */
30
/* FIXME: Great, a reserved field with a value! */
},
},
/* WINXP64 */
/* WINXP64 */
{
{
sizeof
(
RTL_OSVERSIONINFOEXW
),
5
,
2
,
0xECE
,
VER_PLATFORM_WIN32_NT
,
sizeof
(
RTL_OSVERSIONINFOEXW
),
5
,
2
,
3790
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 2"
,
2
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_WORKSTATION
,
0
L"Service Pack 2"
,
2
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_WORKSTATION
,
0
},
},
/* WIN2K3 */
/* WIN2K3 */
{
{
sizeof
(
RTL_OSVERSIONINFOEXW
),
5
,
2
,
0xECE
,
VER_PLATFORM_WIN32_NT
,
sizeof
(
RTL_OSVERSIONINFOEXW
),
5
,
2
,
3790
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 2"
,
2
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_SERVER
,
0
L"Service Pack 2"
,
2
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_SERVER
,
0
},
},
/* WINVISTA */
/* WINVISTA */
{
{
sizeof
(
RTL_OSVERSIONINFOEXW
),
6
,
0
,
0x177
2
,
VER_PLATFORM_WIN32_NT
,
sizeof
(
RTL_OSVERSIONINFOEXW
),
6
,
0
,
600
2
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 2"
,
2
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_WORKSTATION
,
0
L"Service Pack 2"
,
2
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_WORKSTATION
,
0
},
},
/* WIN2K8 */
/* WIN2K8 */
{
{
sizeof
(
RTL_OSVERSIONINFOEXW
),
6
,
0
,
0x177
2
,
VER_PLATFORM_WIN32_NT
,
sizeof
(
RTL_OSVERSIONINFOEXW
),
6
,
0
,
600
2
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 2"
,
2
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_SERVER
,
0
L"Service Pack 2"
,
2
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_SERVER
,
0
},
},
/* WIN7 */
/* WIN7 */
{
{
sizeof
(
RTL_OSVERSIONINFOEXW
),
6
,
1
,
0x1DB
1
,
VER_PLATFORM_WIN32_NT
,
sizeof
(
RTL_OSVERSIONINFOEXW
),
6
,
1
,
760
1
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 1"
,
1
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_WORKSTATION
,
0
L"Service Pack 1"
,
1
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_WORKSTATION
,
0
},
},
/* WIN2K8R2 */
/* WIN2K8R2 */
{
{
sizeof
(
RTL_OSVERSIONINFOEXW
),
6
,
1
,
0x1DB
1
,
VER_PLATFORM_WIN32_NT
,
sizeof
(
RTL_OSVERSIONINFOEXW
),
6
,
1
,
760
1
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 1"
,
1
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_SERVER
,
0
L"Service Pack 1"
,
1
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_SERVER
,
0
},
},
/* WIN8 */
/* WIN8 */
{
{
sizeof
(
RTL_OSVERSIONINFOEXW
),
6
,
2
,
0x23F
0
,
VER_PLATFORM_WIN32_NT
,
sizeof
(
RTL_OSVERSIONINFOEXW
),
6
,
2
,
920
0
,
VER_PLATFORM_WIN32_NT
,
L""
,
0
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_WORKSTATION
,
0
L""
,
0
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_WORKSTATION
,
0
},
},
/* WIN81 */
/* WIN81 */
{
{
sizeof
(
RTL_OSVERSIONINFOEXW
),
6
,
3
,
0x258
0
,
VER_PLATFORM_WIN32_NT
,
sizeof
(
RTL_OSVERSIONINFOEXW
),
6
,
3
,
960
0
,
VER_PLATFORM_WIN32_NT
,
L""
,
0
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_WORKSTATION
,
0
L""
,
0
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_WORKSTATION
,
0
},
},
/* WIN10 */
/* WIN10 */
{
{
sizeof
(
RTL_OSVERSIONINFOEXW
),
10
,
0
,
0x4563
,
VER_PLATFORM_WIN32_NT
,
sizeof
(
RTL_OSVERSIONINFOEXW
),
10
,
0
,
18362
,
VER_PLATFORM_WIN32_NT
,
L""
,
0
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_WORKSTATION
,
0
L""
,
0
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_WORKSTATION
,
0
},
},
...
...
programs/winecfg/appdefaults.c
View file @
c89ce41e
...
@@ -50,24 +50,24 @@ struct win_version
...
@@ -50,24 +50,24 @@ struct win_version
static
const
struct
win_version
win_versions
[]
=
static
const
struct
win_version
win_versions
[]
=
{
{
{
L"win10"
,
L"Windows 10"
,
10
,
0
,
0x4563
,
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
,
0x2580
,
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
,
0x23F0
,
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"
},
{
L"win2008r2"
,
L"Windows 2008 R2"
,
6
,
1
,
0x1DB1
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 1"
,
1
,
0
,
L"ServerNT"
},
{
L"win2008r2"
,
L"Windows 2008 R2"
,
6
,
1
,
7601
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 1"
,
1
,
0
,
L"ServerNT"
},
{
L"win7"
,
L"Windows 7"
,
6
,
1
,
0x1DB1
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 1"
,
1
,
0
,
L"WinNT"
},
{
L"win7"
,
L"Windows 7"
,
6
,
1
,
7601
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 1"
,
1
,
0
,
L"WinNT"
},
{
L"win2008"
,
L"Windows 2008"
,
6
,
0
,
0x1772
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 2"
,
2
,
0
,
L"ServerNT"
},
{
L"win2008"
,
L"Windows 2008"
,
6
,
0
,
6002
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 2"
,
2
,
0
,
L"ServerNT"
},
{
L"vista"
,
L"Windows Vista"
,
6
,
0
,
0x1772
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 2"
,
2
,
0
,
L"WinNT"
},
{
L"vista"
,
L"Windows Vista"
,
6
,
0
,
6002
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 2"
,
2
,
0
,
L"WinNT"
},
{
L"win2003"
,
L"Windows 2003"
,
5
,
2
,
0xECE
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 2"
,
2
,
0
,
L"ServerNT"
},
{
L"win2003"
,
L"Windows 2003"
,
5
,
2
,
3790
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 2"
,
2
,
0
,
L"ServerNT"
},
#ifdef _WIN64
#ifdef _WIN64
{
L"winxp64"
,
L"Windows XP"
,
5
,
2
,
0xECE
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 2"
,
2
,
0
,
L"WinNT"
},
{
L"winxp64"
,
L"Windows XP"
,
5
,
2
,
3790
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 2"
,
2
,
0
,
L"WinNT"
},
#else
#else
{
L"winxp"
,
L"Windows XP"
,
5
,
1
,
0xA28
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 3"
,
3
,
0
,
L"WinNT"
},
{
L"winxp"
,
L"Windows XP"
,
5
,
1
,
2600
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 3"
,
3
,
0
,
L"WinNT"
},
{
L"win2k"
,
L"Windows 2000"
,
5
,
0
,
0x893
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 4"
,
4
,
0
,
L"WinNT"
},
{
L"win2k"
,
L"Windows 2000"
,
5
,
0
,
2195
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 4"
,
4
,
0
,
L"WinNT"
},
{
L"winme"
,
L"Windows ME"
,
4
,
90
,
0xBB8
,
VER_PLATFORM_WIN32_WINDOWS
,
L" "
,
0
,
0
,
L""
},
{
L"winme"
,
L"Windows ME"
,
4
,
90
,
3000
,
VER_PLATFORM_WIN32_WINDOWS
,
L" "
,
0
,
0
,
L""
},
{
L"win98"
,
L"Windows 98"
,
4
,
10
,
0x8AE
,
VER_PLATFORM_WIN32_WINDOWS
,
L" A "
,
0
,
0
,
L""
},
{
L"win98"
,
L"Windows 98"
,
4
,
10
,
2222
,
VER_PLATFORM_WIN32_WINDOWS
,
L" A "
,
0
,
0
,
L""
},
{
L"win95"
,
L"Windows 95"
,
4
,
0
,
0x3B6
,
VER_PLATFORM_WIN32_WINDOWS
,
L""
,
0
,
0
,
L""
},
{
L"win95"
,
L"Windows 95"
,
4
,
0
,
950
,
VER_PLATFORM_WIN32_WINDOWS
,
L""
,
0
,
0
,
L""
},
{
L"nt40"
,
L"Windows NT 4.0"
,
4
,
0
,
0x565
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 6a"
,
6
,
0
,
L"WinNT"
},
{
L"nt40"
,
L"Windows NT 4.0"
,
4
,
0
,
1381
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 6a"
,
6
,
0
,
L"WinNT"
},
{
L"nt351"
,
L"Windows NT 3.51"
,
3
,
51
,
0x421
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 5"
,
5
,
0
,
L"WinNT"
},
{
L"nt351"
,
L"Windows NT 3.51"
,
3
,
51
,
1057
,
VER_PLATFORM_WIN32_NT
,
L"Service Pack 5"
,
5
,
0
,
L"WinNT"
},
{
L"win31"
,
L"Windows 3.1"
,
3
,
10
,
0
,
VER_PLATFORM_WIN32s
,
L"Win32s 1.3"
,
0
,
0
,
L""
},
{
L"win31"
,
L"Windows 3.1"
,
3
,
10
,
0
,
VER_PLATFORM_WIN32s
,
L"Win32s 1.3"
,
0
,
0
,
L""
},
{
L"win30"
,
L"Windows 3.0"
,
3
,
0
,
0
,
VER_PLATFORM_WIN32s
,
L"Win32s 1.3"
,
0
,
0
,
L""
},
{
L"win30"
,
L"Windows 3.0"
,
3
,
0
,
0
,
VER_PLATFORM_WIN32s
,
L"Win32s 1.3"
,
0
,
0
,
L""
},
{
L"win20"
,
L"Windows 2.0"
,
2
,
0
,
0
,
VER_PLATFORM_WIN32s
,
L"Win32s 1.3"
,
0
,
0
,
L""
}
{
L"win20"
,
L"Windows 2.0"
,
2
,
0
,
0
,
VER_PLATFORM_WIN32s
,
L"Win32s 1.3"
,
0
,
0
,
L""
}
...
...
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