[PATCH 3/5] ws2_32: Implement a basic synchronous TransmitFile.

Alexandre Julliard julliard at winehq.org
Wed Oct 7 07:06:01 CDT 2015


"Erich E. Hoover" <erich.e.hoover at wine-staging.com> writes:

> This patch adds support for the basic file-transfer operation of
> TransmitFile.  It uses NtReadFile to obtain "bytes_per_send" chunks of
> the file, which it then sends to the destination using WS2_send.

NtReadFile potentially allocates memory, you can't use it in an async
I/O callback.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list