mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- Return the right error if hot key registered outside of the thread.
svn path=/trunk/; revision=60676
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user