wininet: Set last access time when retrieving a URL cache entry.
This commit is contained in:
parent
a039754103
commit
47970d0504
|
@ -1896,6 +1896,7 @@ BOOL WINAPI RetrieveUrlCacheEntryFileA(
|
||||||
|
|
||||||
pUrlEntry->dwHitRate++;
|
pUrlEntry->dwHitRate++;
|
||||||
pUrlEntry->dwUseCount++;
|
pUrlEntry->dwUseCount++;
|
||||||
|
GetSystemTimeAsFileTime(&pUrlEntry->LastAccessTime);
|
||||||
URLCache_HashEntrySetUse(pHashEntry, pUrlEntry->dwUseCount);
|
URLCache_HashEntrySetUse(pHashEntry, pUrlEntry->dwUseCount);
|
||||||
|
|
||||||
error = URLCache_CopyEntry(pContainer, pHeader, lpCacheEntryInfo,
|
error = URLCache_CopyEntry(pContainer, pHeader, lpCacheEntryInfo,
|
||||||
|
@ -1992,6 +1993,7 @@ BOOL WINAPI RetrieveUrlCacheEntryFileW(
|
||||||
|
|
||||||
pUrlEntry->dwHitRate++;
|
pUrlEntry->dwHitRate++;
|
||||||
pUrlEntry->dwUseCount++;
|
pUrlEntry->dwUseCount++;
|
||||||
|
GetSystemTimeAsFileTime(&pUrlEntry->LastAccessTime);
|
||||||
URLCache_HashEntrySetUse(pHashEntry, pUrlEntry->dwUseCount);
|
URLCache_HashEntrySetUse(pHashEntry, pUrlEntry->dwUseCount);
|
||||||
|
|
||||||
error = URLCache_CopyEntry(
|
error = URLCache_CopyEntry(
|
||||||
|
|
Loading…
Reference in New Issue