Author: khornicek
Date: Sat May 23 17:15:47 2009
New Revision: 41074
URL:
http://svn.reactos.org/svn/reactos?rev=41074&view=rev
Log:
- don't return without UserLeave, should fix user32:input winetest crash
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c [iso-8859-1] Sat May 23
17:15:47 2009
@@ -309,6 +309,7 @@
if ((cbSize != sizeof(MOUSEMOVEPOINT)) || (nBufPoints < 0) || (nBufPoints >
64))
{
+ UserLeave();
SetLastWin32Error(ERROR_INVALID_PARAMETER);
return -1;
}