http://bugs.winehq.org/show_bug.cgi?id=48644
--- Comment #6 from Gijs Vermeulen gijsvrm@gmail.com --- There were patches for this:
https://list.winehq.org/mailman3/hyperkitty/list/wine-devel@winehq.org/threa...
But I never got around to fixing it properly, but it might still be good as a reference.