- [Win32k] Missed this one for rev 44423. Return invalid index not invalid parameter. No pass all SetWindowLongPtr wine tests.

svn path=/trunk/; revision=44444
This commit is contained in:
James Tabor 2009-12-06 22:41:53 +00:00
parent b806aed1e1
commit d75d23721e

View file

@ -3944,7 +3944,7 @@ co_UserSetWindowLong(HWND hWnd, DWORD Index, LONG NewValue, BOOL Ansi)
default:
DPRINT1("NtUserSetWindowLong(): Unsupported index %d\n", Index);
SetLastWin32Error(ERROR_INVALID_PARAMETER);
SetLastWin32Error(ERROR_INVALID_INDEX);
OldValue = 0;
break;
}