ntdll: Store the syscall dispatcher also in the WOW32Reserved TEB field.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2020-11-26 13:33:52 +01:00
parent b636f9816f
commit baec5f1eca
1 changed files with 1 additions and 0 deletions

View File

@ -2542,6 +2542,7 @@ static void init_teb( TEB *teb, PEB *peb )
PtrToUlong( &teb64->ActivationContextStack.FrameListCache );
teb64->StaticUnicodeString.Buffer = PtrToUlong( teb64->StaticUnicodeBuffer );
teb64->StaticUnicodeString.MaximumLength = sizeof( teb64->StaticUnicodeBuffer );
teb->WOW32Reserved = __wine_syscall_dispatcher;
#endif
teb->Peb = peb;
teb->Tib.Self = &teb->Tib;