Skip to content

Commit

Permalink
ntdll: Bump current build number to 19043 (Win10 2009).
Browse files Browse the repository at this point in the history
Based on Proton commit 0fa76dd.

cherry picked from commit wine-mirror@fd00d8e
  • Loading branch information
Hans Leidekker authored and Gcenx committed Apr 12, 2024
1 parent 77de76e commit f5cf25b
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions dlls/kernel32/version.rc
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
#define WINE_FILEDESCRIPTION_STR "Wine kernel DLL"
#define WINE_FILENAME_STR "kernel32.dll"

/* these values come from Windows 10 Version 1909 */
#define WINE_FILEVERSION 10,0,18362,1350
#define WINE_FILEVERSION_STR "10.0.18362.1350"
#define WINE_PRODUCTVERSION 10,0,18362,1350
#define WINE_PRODUCTVERSION_STR "10.0.18362.1350"
/* these values come from Windows 10 Version 2009 */
#define WINE_FILEVERSION 10,0,19043,1466
#define WINE_FILEVERSION_STR "10.0.19043.1466"
#define WINE_PRODUCTVERSION 10,0,19043,1466
#define WINE_PRODUCTVERSION_STR "10.0.19043.1466"

#include "wine/wine_common_ver.rc"
2 changes: 1 addition & 1 deletion dlls/kernelbase/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ static const struct
},
/* Windows 10 */
{
{ 10, 0, 18362 },
{ 10, 0, 19043 },
{0x8e0f7a12,0xbfb3,0x4fe8,{0xb9,0xa5,0x48,0xfd,0x50,0xa1,0x5a,0x9a}}
}
};
Expand Down
2 changes: 1 addition & 1 deletion dlls/ntdll/unix/env.c
Original file line number Diff line number Diff line change
Expand Up @@ -1843,7 +1843,7 @@ static void init_peb( RTL_USER_PROCESS_PARAMETERS *params, void *module )
peb->ProcessParameters = params;
peb->OSMajorVersion = 10;
peb->OSMinorVersion = 0;
peb->OSBuildNumber = 18362;
peb->OSBuildNumber = 19043;
peb->OSPlatformId = VER_PLATFORM_WIN32_NT;
peb->ImageSubSystem = main_image_info.SubSystemType;
peb->ImageSubSystemMajorVersion = main_image_info.MajorSubsystemVersion;
Expand Down
2 changes: 1 addition & 1 deletion dlls/ntdll/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ static const RTL_OSVERSIONINFOEXW VersionData[NB_WINDOWS_VERSIONS] =
},
/* WIN10 */
{
sizeof(RTL_OSVERSIONINFOEXW), 10, 0, 18362, VER_PLATFORM_WIN32_NT,
sizeof(RTL_OSVERSIONINFOEXW), 10, 0, 19043, VER_PLATFORM_WIN32_NT,
L"", 0, 0, VER_SUITE_SINGLEUSERTS, VER_NT_WORKSTATION, 0
},
/* WIN11 */
Expand Down
8 changes: 4 additions & 4 deletions loader/wine.inf.in
Original file line number Diff line number Diff line change
Expand Up @@ -5095,8 +5095,8 @@ HKLM,"System\CurrentControlSet\Services\Winsock2\Parameters\Protocol_Catalog9\Ca
HKLM,%CurrentVersionNT%,"CurrentVersion",2,"6.3"
HKLM,%CurrentVersionNT%,"CurrentMajorVersionNumber",0x10003,10
HKLM,%CurrentVersionNT%,"CurrentMinorVersionNumber",0x10003,0
HKLM,%CurrentVersionNT%,"CurrentBuild",2,"18362"
HKLM,%CurrentVersionNT%,"CurrentBuildNumber",2,"18362"
HKLM,%CurrentVersionNT%,"CurrentBuild",2,"19043"
HKLM,%CurrentVersionNT%,"CurrentBuildNumber",2,"19043"
HKLM,%CurrentVersionNT%,"CurrentType",2,"Multiprocessor Free"
HKLM,%CurrentVersionNT%,"DigitalProductId",1,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
Expand All @@ -5115,8 +5115,8 @@ HKLM,%Control%\Session Manager\Environment,"OS",2,"Windows_NT"
HKLM,%CurrentVersionNT%,"CurrentVersion",2,"6.3"
HKLM,%CurrentVersionNT%,"CurrentMajorVersionNumber",0x10003,10
HKLM,%CurrentVersionNT%,"CurrentMinorVersionNumber",0x10003,0
HKLM,%CurrentVersionNT%,"CurrentBuild",2,"18362"
HKLM,%CurrentVersionNT%,"CurrentBuildNumber",2,"18362"
HKLM,%CurrentVersionNT%,"CurrentBuild",2,"19043"
HKLM,%CurrentVersionNT%,"CurrentBuildNumber",2,"19043"
HKLM,%CurrentVersionNT%,"CurrentType",2,"Multiprocessor Free"
HKLM,%CurrentVersionNT%,"DigitalProductId",1,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
Expand Down
2 changes: 1 addition & 1 deletion programs/winecfg/appdefaults.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ struct win_version
static const struct win_version win_versions[] =
{
{ L"win11", L"Windows 11", L"6.3", 10, 0, 22000, VER_PLATFORM_WIN32_NT, L"", 0, 0, L"WinNT"},
{ L"win10", L"Windows 10", L"6.3", 10, 0, 18362, VER_PLATFORM_WIN32_NT, L"", 0, 0, L"WinNT"},
{ L"win10", L"Windows 10", L"6.3", 10, 0, 19043, VER_PLATFORM_WIN32_NT, L"", 0, 0, L"WinNT"},
{ L"win81", L"Windows 8.1", NULL, 6, 3, 9600, VER_PLATFORM_WIN32_NT, L"", 0, 0, L"WinNT"},
{ L"win8", L"Windows 8", NULL, 6, 2, 9200, VER_PLATFORM_WIN32_NT, L"", 0, 0, L"WinNT"},
{ L"win2008r2", L"Windows 2008 R2", NULL, 6, 1, 7601, VER_PLATFORM_WIN32_NT, L"Service Pack 1", 1, 0, L"ServerNT"},
Expand Down

0 comments on commit f5cf25b

Please sign in to comment.