Maarten Lankhorst <m.b.lankhorst(a)gmail.com> writes:
+ curpos.QuadPart = 0;
+ SetFilePointerEx(hFile, curpos, &oldpos, FILE_CURRENT);
+ SetFilePointerEx(hFile, curpos, NULL, FILE_BEGIN);
That's not thread-safe.
--
Alexandre Julliard
julliard(a)winehq.org