https://bugs.winehq.org/show_bug.cgi?id=52779
--- Comment #7 from Lorenzo Ferrillo lorenzofer@live.it --- Actually part of my analysis was wrong.
It's not that init_window_call_params is returing false, it's actually completing.
However it is the fact that is being called BEFORE WH_CALLWNDPROC hook.
Maybe the hook procedure change/initialize some stuffs, and it make some of the parameters invalid (or were never valid to begin with)
In fact by adding some traces steps. It works until call_hooks( WH_CALLWNDPROC, HC_ACTION, same_thread, (LPARAM)&cwp, unicode );
But rise an exception in: dispatch_win_proc_params( params, sizeof(*params) + size );
the trace after is never printed.
Moving init_window_call_paramsafter call_hooks( WH_CALLWNDPROC seems to solve this exception