ws2_32: Add asynchronous support for TransmitFile (try 3).

Erich E. Hoover erich.e.hoover at wine-staging.com
Tue Oct 20 19:37:51 CDT 2015


This patch adds asynchronous/overlapped support for TransmitFile.
Since the earlier patches have been carefully crafted to work off of
NTSTATUS values, this patch just adds the necessary infrastructure for
using the register_async functionality to spawn a TransmitFile
operation.

Since the last review the patch has been updated to use pread with an
offset instead of
changing the file pointer when starting the transfer.  It has also
been rebased, the iosb.Information used by WS2_ReadFile is explicitly
initialized to zero, and the offset updating has been moved outside of
WS2_ReadFile.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ws2_32-Add-asynchronous-support-for-TransmitFile.patch
Type: application/x-download
Size: 13744 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20151020/f634b351/attachment.bin>


More information about the wine-patches mailing list