ntdll: Preinitialize OS version data in thread_init.
Fixes a regression introduced by bd17022c90
.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
944190bad4
commit
56b4d35d52
|
@ -251,6 +251,10 @@ HANDLE thread_init(void)
|
|||
peb->TlsExpansionBitmap = &tls_expansion_bitmap;
|
||||
peb->FlsBitmap = &fls_bitmap;
|
||||
peb->LdrData = &ldr;
|
||||
peb->OSMajorVersion = 5;
|
||||
peb->OSMinorVersion = 1;
|
||||
peb->OSBuildNumber = 0xA28;
|
||||
peb->OSPlatformId = VER_PLATFORM_WIN32_NT;
|
||||
params.CurrentDirectory.DosPath.Buffer = current_dir;
|
||||
params.CurrentDirectory.DosPath.MaximumLength = sizeof(current_dir);
|
||||
params.wShowWindow = 1; /* SW_SHOWNORMAL */
|
||||
|
|
Loading…
Reference in New Issue