[win32k]
authorMichael Martin <michael.martin@reactos.org>
Sun, 23 May 2010 11:53:01 +0000 (11:53 +0000)
committerMichael Martin <michael.martin@reactos.org>
Sun, 23 May 2010 11:53:01 +0000 (11:53 +0000)
commit38734242d52228a30d0e6be026b3e6df5d0a51ac
tree12ec382b4bd043d42ce60ef5f57c14418d63bf7b
parentdcc025f6e3cb9bb9988ef3da47e0782a10cf1b9d
[win32k]
- For the Low Level Mouse Hook (WH_MOUSE_LL), input can come from the mouse driver or mouse_event. Both of which result in a call to UserSetCursorPos.
UserMode SetCursorPos API also ends up here. Add BOOL parameter that can be used to determine if hooks are to be called.
- Move the code related to calling the hook procedure from MsqInsertSystemMessage into UserSetCursorPos and call the hook procedure here if needed.
If hook procedure returns non 0 value. Dont insert the system message.
- Fixes a recursive call to the hook procedure resulting thread using to much stack exposed by user32 winetest for input.

svn path=/trunk/; revision=47325
reactos/subsystems/win32/win32k/include/cursoricon.h
reactos/subsystems/win32/win32k/ntuser/cursoricon.c
reactos/subsystems/win32/win32k/ntuser/input.c
reactos/subsystems/win32/win32k/ntuser/msgqueue.c
reactos/subsystems/win32/win32k/ntuser/simplecall.c