[ros-bugs] [Bug 4926] Regression: Tworld and DosBox don't work

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Fri Dec 4 22:54:09 CET 2009


http://www.reactos.org/bugzilla/show_bug.cgi?id=4926





--- Comment #6 from jimtabor <james.tabor at reactos.org>  2009-12-04 22:54:08 CET ---
In msgqueue.c co_MsqPeekHardwareMessage Line 667:

         ProcessMessage = (0 == co_HOOK_CallHooks(WH_MOUSE_LL, HC_ACTION,
                           Msg.message, (LPARAM) &MouseHookData));

What is missing? ISITHOOKED(WH_MOUSE_LL).

Also Hook.c line 351:

    if ((Hook->Thread != PsGetCurrentThread()) && (Hook->Thread != NULL))
    {
        /* Post it in message queue. */
---->   return IntCallLowLevelHook(Hook, Code, wParam, lParam);
    }

The problem is posting from another thread to force a callback when the target
thread queue is processed after the thread switch. I think this is wrong. Also
where is the check for that target threads ISITHOOKED(WH_MOUSE_LL)?


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Ros-bugs mailing list