Author: jimtabor
Date: Wed Sep 27 22:35:26 2017
New Revision: 75979
URL:
http://svn.reactos.org/svn/reactos?rev=75979&view=rev
Log:
[NtUser]
- Patch by MudHead : Not setting error on success. See CORE-13717.
Modified:
trunk/reactos/win32ss/user/ntuser/window.c
Modified: trunk/reactos/win32ss/user/ntuser/window.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/window…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/window.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/window.c [iso-8859-1] Wed Sep 27 22:35:26 2017
@@ -2322,6 +2322,10 @@
}
if (ParentWindow) UserDerefObjectCo(ParentWindow);
+ // See CORE-13717, not setting error on success.
+ if (ret)
+ EngSetLastError(ERROR_SUCCESS);
+
return ret;
}