Retrieving Cache Entry Files
A version of this page is also available for
4/8/2010
For applications that require the file name of a resource to launch, the Windows Internet Services (WinInet) API provides the RetrieveUrlCacheEntryFile and UnlockUrlCacheEntryFile functions.
RetrieveUrlCacheEntryFile accepts a URL, a buffer that stores the INTERNET_CACHE_ENTRY_INFO structure, and the buffer size. After the file data has been used, the application should call UnlockUrlCacheEntryFile to unlock the file.