https://bugs.winehq.org/show_bug.cgi?id=50366
--- Comment #5 from Zebediah Figura z.figura12@gmail.com --- Created attachment 68987 --> https://bugs.winehq.org/attachment.cgi?id=68987 sort of implement SIO_BASE_HANDLE
If you're able to compile Wine, can you please try the attached patch?