[PATCH] user32: Implement MOUSEHOOKSTRUCTEX

Nikolay Sivov bunglehead at gmail.com
Mon Dec 21 05:42:48 CST 2015


On 21.12.2015 14:14, Kira Backes wrote:
> - Fixes out-of-bounds access for programs which cast to MOUSEHOOKSTRUCTEX
> - Fixes mouse wheel support for those programs
> - Fixes Bug 38314
> 
> Signed-off-by: Kira Backes <kira.backes at nrwsoft.de>
> ---
>  dlls/user32/message.c  | 28 ++++++++++++++++------------
>  include/winuser.h      |  6 ++++++
>  tools/winapi/tests.dat |  3 +++
>  3 files changed, 25 insertions(+), 12 deletions(-)
> 
> diff --git a/dlls/user32/message.c b/dlls/user32/message.c
> index 96e7f2e..c1fc45d 100644
> --- a/dlls/user32/message.c
> +++ b/dlls/user32/message.c
> @@ -2488,7 +2488,7 @@ static BOOL process_mouse_message( MSG *msg,
> UINT hw_id, ULONG_PTR extra_info, H
>      INT hittest;
>      EVENTMSG event;
>      GUITHREADINFO info;
> -    MOUSEHOOKSTRUCT hook;
> +    MOUSEHOOKSTRUCTEX hookEx;
>      BOOL eatMsg;
> 

Hi, Kira.

Please keep variable name as it is, and resend using git-send-email or
as an attachment - your mail client wrapped patch lines breaking a patch.



More information about the wine-devel mailing list