ok(lpCacheEntryInfo->dwStructSize==sizeof(*lpCacheEntryInfo),"%s: dwStructSize was %d\n",returnedfrom,lpCacheEntryInfo->dwStructSize);
ok(!strcmp(lpCacheEntryInfo->lpszSourceUrlName,test_url),"%s: lpszSourceUrlName should be %s instead of %s\n",returnedfrom,test_url,lpCacheEntryInfo->lpszSourceUrlName);
ok(!hEnumHandle,"FindFirstUrlCacheEntry should have failed\n");
ok(GetLastError()==ERROR_INSUFFICIENT_BUFFER,"FindFirstUrlCacheEntry should have set last error to ERROR_INSUFFICIENT_BUFFER instead of %d\n",GetLastError());
ok(!ret,"GetUrlCacheEntryInfoEx with zero-length buffer should fail\n");
ok(GetLastError()==ERROR_INSUFFICIENT_BUFFER,"GetUrlCacheEntryInfoEx should have set last error to ERROR_INSUFFICIENT_BUFFER instead of %d\n",GetLastError());
ok(!ret,"RetrieveUrlCacheEntryFile should have failed\n");
ok(GetLastError()==ERROR_INVALID_PARAMETER,"RetrieveUrlCacheEntryFile should have set last error to ERROR_INVALID_PARAMETER instead of %d\n",GetLastError());
ok(!ret,"RetrieveUrlCacheEntryFile should have failed\n");
ok(GetLastError()==ERROR_INVALID_PARAMETER,"RetrieveUrlCacheEntryFile should have set last error to ERROR_INVALID_PARAMETER instead of %d\n",GetLastError());
ok(!ret,"RetrieveUrlCacheEntryFile should have failed\n");
ok(GetLastError()==ERROR_INVALID_PARAMETER,"RetrieveUrlCacheEntryFile should have set last error to ERROR_INVALID_PARAMETER instead of %d\n",GetLastError());