Commit 901ccc8e authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

wow64win: Fix error handling in wow64_NtUserGetMessage.

parent 76e28e60
......@@ -1565,10 +1565,11 @@ NTSTATUS WINAPI wow64_NtUserGetMessage( UINT *args )
UINT first = get_ulong( &args );
UINT last = get_ulong( &args );
MSG msg;
int ret;
if (!NtUserGetMessage( &msg, hwnd, first, last )) return FALSE;
msg_64to32( &msg, msg32 );
return TRUE;
ret = NtUserGetMessage( &msg, hwnd, first, last );
if (ret != -1) msg_64to32( &msg, msg32 );
return ret;
}
NTSTATUS WINAPI wow64_NtUserGetMouseMovePointsEx( UINT *args )
......
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