wintrust: Implement CryptCATAdminCalcHashFromFileHandle, try 2
Maarten Lankhorst
m.b.lankhorst at gmail.com
Tue Oct 21 07:32:19 CDT 2008
Hi AJ,
Alexandre Julliard schreef:
> Maarten Lankhorst <m.b.lankhorst at gmail.com> writes:
>
>
>> + curpos.QuadPart = 0;
>> + SetFilePointerEx(hFile, curpos, &oldpos, FILE_CURRENT);
>> + SetFilePointerEx(hFile, curpos, NULL, FILE_BEGIN);
>>
>
> That's not thread-safe.
>
My bad, I thought overlapped was equal to asynchronous, but it can also
be used for synchronous reads it seems, sending a fixed patch.
Cheers,
Maarten.
More information about the wine-devel
mailing list