projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37d5eaa
)
- Return the right error if hot key registered outside of the thread.
author
James Tabor
<james.tabor@reactos.org>
Mon, 14 Oct 2013 21:51:07 +0000
(21:51 +0000)
committer
James Tabor
<james.tabor@reactos.org>
Mon, 14 Oct 2013 21:51:07 +0000
(21:51 +0000)
svn path=/trunk/; revision=60676
reactos/win32ss/user/ntuser/hotkey.c
patch
|
blob
|
history
diff --git
a/reactos/win32ss/user/ntuser/hotkey.c
b/reactos/win32ss/user/ntuser/hotkey.c
index
0b881c8
..
c23cf38
100644
(file)
--- a/
reactos/win32ss/user/ntuser/hotkey.c
+++ b/
reactos/win32ss/user/ntuser/hotkey.c
@@
-512,6
+512,7
@@
NtUserRegisterHotKey(HWND hWnd,
/* Fix wine msg "Window on another thread" test_hotkey */
if (pWnd->head.pti != gptiCurrent)
{
+ EngSetLastError(ERROR_WINDOW_OF_OTHER_THREAD);
WARN("Must be from the same Thread.\n");
goto cleanup;
}