mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 02:37:06 +00:00
- [Win32k] Return invalid index.
svn path=/trunk/; revision=44423
This commit is contained in:
parent
13c03eb48b
commit
7bc1b745e3
|
@ -3854,7 +3854,7 @@ co_UserSetWindowLong(HWND hWnd, DWORD Index, LONG NewValue, BOOL Ansi)
|
|||
{
|
||||
if ((Index + sizeof(LONG)) > Wnd->cbwndExtra)
|
||||
{
|
||||
SetLastWin32Error(ERROR_INVALID_PARAMETER);
|
||||
SetLastWin32Error(ERROR_INVALID_INDEX);
|
||||
return( 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue