mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
- Return the right error if hot key registered outside of the thread.
svn path=/trunk/; revision=60676
This commit is contained in:
parent
37d5eaa1f5
commit
1293634a06
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue