Re: wininet: Make the reference count of WININETHANDLEHEADER thread-safe by using InterlockedIncrement/InterlockedDecrement.
March 10, 2008
6:05 a.m.
Robert Shearman <rob(a)codeweavers.com> writes:
@@ -1296,7 +1296,7 @@ HINTERNET FTP_FtpOpenFileW(LPWININETFTPSESSIONW lpwfs, lpwh->hdr.vtbl = &FTPFILEVtbl; lpwh->hdr.dwFlags = dwFlags; lpwh->hdr.dwContext = dwContext; - lpwh->hdr.dwRefCount = 1; + lpwh->hdr.lRefCount = 1;
If you are going to rename the variable then please take the opportunity to get rid of the silly Hungarian prefix, so that we don't need to rename it again next time. -- Alexandre Julliard julliard(a)winehq.org
6636
Age (days ago)
6636
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard