Author: jimtabor
Date: Sun Dec 6 23:41:53 2009
New Revision: 44444
URL:
http://svn.reactos.org/svn/reactos?rev=44444&view=rev
Log:
- [Win32k] Missed this one for rev 44423. Return invalid index not invalid parameter. No
pass all SetWindowLongPtr wine tests.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/window.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/window.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] Sun Dec 6 23:41:53
2009
@@ -3944,7 +3944,7 @@
default:
DPRINT1("NtUserSetWindowLong(): Unsupported index %d\n", Index);
- SetLastWin32Error(ERROR_INVALID_PARAMETER);
+ SetLastWin32Error(ERROR_INVALID_INDEX);
OldValue = 0;
break;
}