https://bugs.winehq.org/show_bug.cgi?id=42377
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com --- Thanks for the log, I'm trying to test it myself.
I'm not saying there is no problem at Wine but even MSDN discourages the mixed use of overlapped and bytes sent pointer together.
https://msdn.microsoft.com/en-us/library/windows/desktop/ms742203(v=vs.85).a...
... Use NULL for this parameter if the lpOverlapped parameter is not NULL to avoid potentially erroneous results. This parameter can be NULL only if the lpOverlapped parameter is not NULL. ...