https://bugs.winehq.org/show_bug.cgi?id=47123
--- Comment #13 from rw74 luca_pi@yahoo.it --- the exception is not in the attached logs as you asked for the dinput logs, while the ones I did in the beginning was with seh and dinput.
I will be able to test your patch in few hours, but sounds promising :)