Commit 6529aa76 authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard

Bugfix: Call InitThreadInput in GetFastQueue with correct parameter

for 32-bit queues.
parent a2fe8ebe
...@@ -1280,7 +1280,7 @@ HANDLE32 WINAPI GetFastQueue( void ) ...@@ -1280,7 +1280,7 @@ HANDLE32 WINAPI GetFastQueue( void )
{ {
HMODULE16 hModule = GetModuleHandle16( "USER" ); HMODULE16 hModule = GetModuleHandle16( "USER" );
FARPROC16 proc = WIN32_GetProcAddress16( hModule, "InitThreadInput" ); FARPROC16 proc = WIN32_GetProcAddress16( hModule, "InitThreadInput" );
Callbacks->CallBootAppProc( proc, 0, 4 ); /* FIXME! */ Callbacks->CallBootAppProc( proc, 0, THREAD_IsWin16(thdb)? 4 : 5 ); /* FIXME! */
} }
if (!(thdb->teb.queue)) if (!(thdb->teb.queue))
......
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