- Return the right error if hot key registered outside of the thread.

svn path=/trunk/; revision=60676
This commit is contained in:
James Tabor
2013-10-14 21:51:07 +00:00
parent 37d5eaa1f5
commit 1293634a06
+1
View File
@@ -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;
}