Re: [PATCH 3/3] ws2_32: Add asynchronous support for TransmitFile.
14 Oct
2015
14 Oct
'15
1:51 p.m.
"Erich E. Hoover" <erich.e.hoover(a)wine-staging.com> writes:
+ LARGE_INTEGER offset; + int status; + + /* set the file offset to the desired point */ + offset.u.LowPart = overlapped->u.s.Offset; + offset.u.HighPart = overlapped->u.s.OffsetHigh; + SetFilePointerEx( wsa->file, offset, NULL, FILE_BEGIN );
You need to handle overlapped files differently, using pread() instead of setting the file pointer. -- Alexandre Julliard julliard(a)winehq.org
3717
Age (days ago)
3717
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard