[ros-diffs] [janderwald] 43063: - Fix 2 user32 winstation test failures (patch by Giannis Adamopoulos johnyadams (_AT_)hotmail (D-O-T) com - Test results verified by Amine Khaldi
janderwald at svn.reactos.org
janderwald at svn.reactos.org
Thu Sep 17 17:25:36 CEST 2009
Author: janderwald
Date: Thu Sep 17 17:25:36 2009
New Revision: 43063
URL: http://svn.reactos.org/svn/reactos?rev=43063&view=rev
Log:
- Fix 2 user32 winstation test failures (patch by Giannis Adamopoulos johnyadams (_AT_)hotmail (D-O-T) com
- Test results verified by Amine Khaldi
Modified:
trunk/reactos/dll/win32/user32/misc/winsta.c
Modified: trunk/reactos/dll/win32/user32/misc/winsta.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/misc/winsta.c?rev=43063&r1=43062&r2=43063&view=diff
==============================================================================
--- trunk/reactos/dll/win32/user32/misc/winsta.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/misc/winsta.c [iso-8859-1] Thu Sep 17 17:25:36 2009
@@ -88,8 +88,7 @@
*/
if (NULL == WindowStation && Desktops)
{
- SetLastError(ERROR_INVALID_HANDLE);
- return FALSE;
+ WindowStation = GetProcessWindowStation();
}
/*
More information about the Ros-diffs
mailing list