DINPUT: Enforce single mouse acquire

Dmitry Timoshkov dmitry at codeweavers.com
Wed Jan 25 17:03:47 CST 2006


On Wed, 2006-01-25 at 17:55 -0500, Alex Villací­s Lasso wrote:

> The problem is that if (This == NULL), then This->hook cannot be 
> evaluated (for CallNextHookEx) without generating a segmentation fault. 
> This is the very situation the patch is trying to prevent.

Sorry for not spotting it earlier. 'This' can't be NULL, that's an
impossible situation. You need to debug it and find out why hook
proc is being called without This->hook being set.

-- 
Dmitry.




More information about the wine-devel mailing list