"Erich E. Hoover" erich.e.hoover@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.