Commit baec5f1e authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent b636f981
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment