projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- [Win32k] Return invalid index.
[reactos.git]
/
reactos
/
subsystems
/
win32
/
win32k
/
ntuser
/
window.c
diff --git
a/reactos/subsystems/win32/win32k/ntuser/window.c
b/reactos/subsystems/win32/win32k/ntuser/window.c
index
896a9f9
..
641db2c
100644
(file)
--- a/
reactos/subsystems/win32/win32k/ntuser/window.c
+++ b/
reactos/subsystems/win32/win32k/ntuser/window.c
@@
-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);
}