Skip to content
/ wine Public
forked from wine-mirror/wine

Commit

Permalink
Bump current build number to 19043 (Win10 2009).
Browse files Browse the repository at this point in the history
  • Loading branch information
gofman authored and ivyl committed Apr 11, 2023
1 parent 7cd05a3 commit 0fa76dd
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 15 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,18363,900
#define WINE_FILEVERSION_STR "10.0.18363.900"
#define WINE_PRODUCTVERSION 10,0,18363,900
#define WINE_PRODUCTVERSION_STR "10.0.18363.900"
/* 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 @@ -158,7 +158,7 @@ static const struct
},
/* Windows 10 */
{
{ 10, 0, 0x47bb },
{ 10, 0, 0x4a63 },
{0x8e0f7a12,0xbfb3,0x4fe8,{0xb9,0xa5,0x48,0xfd,0x50,0xa1,0x5a,0x9a}}
}
};
Expand Down
3 changes: 2 additions & 1 deletion dlls/ntdll/unix/signal_x86_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -1868,6 +1868,7 @@ static void sigsys_handler( int signal, siginfo_t *siginfo, void *sigcontext )
ctx->uc_mcontext.gregs[REG_RIP] = (ULONG64)__wine_syscall_dispatcher_prolog_end;
}

/* syscall numbers are for Windows 10 2009 (build 19043) */
static struct
{
unsigned int win_syscall_nr;
Expand All @@ -1878,7 +1879,7 @@ syscall_nr_translation[] =
{
{0x19, ~0u, NtQueryInformationProcess},
{0x36, ~0u, NtQuerySystemInformation},
{0xed, ~0u, NtGetContextThread},
{0xf2, ~0u, NtGetContextThread},
{0x55, ~0u, NtCreateFile},
{0x08, ~0u, NtWriteFile},
{0x06, ~0u, NtReadFile},
Expand Down
2 changes: 1 addition & 1 deletion dlls/ntdll/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ static const RTL_OSVERSIONINFOEXW VersionData[NB_WINDOWS_VERSIONS] =
},
/* WIN10 */
{
sizeof(RTL_OSVERSIONINFOEXW), 10, 0, 0x47bb, VER_PLATFORM_WIN32_NT,
sizeof(RTL_OSVERSIONINFOEXW), 10, 0, 0x4a63, VER_PLATFORM_WIN32_NT,
L"", 0, 0, VER_SUITE_SINGLEUSERTS, VER_NT_WORKSTATION, 0
},

Expand Down
14 changes: 8 additions & 6 deletions loader/wine.inf.in
Original file line number Diff line number Diff line change
Expand Up @@ -2484,8 +2484,8 @@ HKLM,%CurrentVersionNT%,"CurrentVersion",2,"10.0"
HKLM,%CurrentVersionNT%,"CurrentMajorVersionNumber",0x10001,10
HKLM,%CurrentVersionNT%,"CurrentMinorVersionNumber",0x10001,0
HKLM,%CurrentVersionNT%,"CSDVersion",2,""
HKLM,%CurrentVersionNT%,"CurrentBuild",2,"18363"
HKLM,%CurrentVersionNT%,"CurrentBuildNumber",2,"18363"
HKLM,%CurrentVersionNT%,"CurrentBuild",2,"19043"
HKLM,%CurrentVersionNT%,"CurrentBuildNumber",2,"19043"
HKLM,%CurrentVersionNT%,"CurrentType",2,"Uniprocessor 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 @@ -2494,17 +2494,18 @@ 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,\
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,00,00,00,00,00,00,00,00,00,00,00,00
HKLM,%CurrentVersionNT%,"DisplayVersion",2,"21H1"
HKLM,%CurrentVersionNT%,"ProductName",2,"Microsoft Windows 10"
HKLM,%CurrentVersionNT%,"ReleaseId",,"1909"
HKLM,%CurrentVersionNT%,"ReleaseId",,"2009"
HKLM,%Control%\ProductOptions,"ProductType",2,"WinNT"
HKLM,%Control%\Windows,"CSDVersion",0x10003,0x0
HKLM,%Control%\Session Manager\Environment,"OS",2,"Windows_NT"

[VersionInfo.ntamd64]
HKLM,%CurrentVersionNT%,"CurrentVersion",2,"10.0"
HKLM,%CurrentVersionNT%,"CSDVersion",2,""
HKLM,%CurrentVersionNT%,"CurrentBuild",2,"18363"
HKLM,%CurrentVersionNT%,"CurrentBuildNumber",2,"18363"
HKLM,%CurrentVersionNT%,"CurrentBuild",2,"19043"
HKLM,%CurrentVersionNT%,"CurrentBuildNumber",2,"19043"
HKLM,%CurrentVersionNT%,"CurrentType",2,"Uniprocessor 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 @@ -2513,8 +2514,9 @@ 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,\
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,00,00,00,00,00,00,00,00,00,00,00,00
HKLM,%CurrentVersionNT%,"DisplayVersion",2,"21H1"
HKLM,%CurrentVersionNT%,"ProductName",2,"Microsoft Windows 10"
HKLM,%CurrentVersionNT%,"ReleaseId",,"1909"
HKLM,%CurrentVersionNT%,"ReleaseId",,"2009"
HKLM,%Control%\ProductOptions,"ProductType",2,"WinNT"
HKLM,%Control%\Windows,"CSDVersion",0x10003,0x0
HKLM,%Control%\Session Manager\Environment,"OS",2,"Windows_NT"
Expand Down
2 changes: 1 addition & 1 deletion programs/wineboot/wineboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -1587,7 +1587,7 @@ static void update_user_profile(void)

static void update_win_version(void)
{
static const WCHAR win10_buildW[] = L"18363";
static const WCHAR win10_buildW[] = L"19043";

HKEY cv_h;
DWORD type, sz;
Expand Down

0 comments on commit 0fa76dd

Please sign in to comment.