From 7c578ab34967bfeea1280a99135d34c1bc0805c7 Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Sun, 27 Apr 2003 20:35:38 +0000 Subject: [PATCH] Some UrlCache stubs. --- dlls/wininet/urlcache.c | 35 +++++++++++++++++++++++++++++++++++ dlls/wininet/wininet.spec | 6 +++--- 2 files changed, 38 insertions(+), 3 deletions(-) diff --git a/dlls/wininet/urlcache.c b/dlls/wininet/urlcache.c index 7cc4a84b056..d6c8daddd02 100644 --- a/dlls/wininet/urlcache.c +++ b/dlls/wininet/urlcache.c @@ -114,6 +114,19 @@ BOOL WINAPI GetUrlCacheEntryInfoA(LPCSTR lpszUrl, return FALSE; } +/*********************************************************************** + * GetUrlCacheEntryInfoW (WININET.@) + * + */ +BOOL WINAPI GetUrlCacheEntryInfoW(LPCWSTR lpszUrl, + LPINTERNET_CACHE_ENTRY_INFOW lpCacheEntry, + LPDWORD lpCacheEntrySize) +{ + FIXME("(%s) stub\n",debugstr_w(lpszUrl)); + SetLastError(ERROR_FILE_NOT_FOUND); + return FALSE; +} + /*********************************************************************** * GetUrlCacheEntryInfoExA (WININET.@) * @@ -149,3 +162,25 @@ BOOL WINAPI GetUrlCacheEntryInfoExW( INTERNET_SetLastError(ERROR_FILE_NOT_FOUND); return FALSE; } + +/*********************************************************************** + * GetUrlCacheConfigInfoA (WININET.@) + * + * CacheInfo is some CACHE_CONFIG_INFO structure, with no MS info found by google + */ +BOOL GetUrlCacheConfigInfoA(LPDWORD CacheInfo, LPDWORD size, DWORD bitmask) +{ + FIXME("\n"); + INTERNET_SetLastError(ERROR_INVALID_PARAMETER); + return FALSE; +} + +/*********************************************************************** + * GetUrlCacheConfigInfoW (WININET.@) + */ +BOOL GetUrlCacheConfigInfoW(LPDWORD CacheInfo, LPDWORD size, DWORD bitmask) +{ + FIXME("\n"); + INTERNET_SetLastError(ERROR_INVALID_PARAMETER); + return FALSE; +} diff --git a/dlls/wininet/wininet.spec b/dlls/wininet/wininet.spec index 469538715e2..7cdfa42e0c8 100644 --- a/dlls/wininet/wininet.spec +++ b/dlls/wininet/wininet.spec @@ -51,12 +51,12 @@ @ stub FtpRenameFileW @ stdcall FtpSetCurrentDirectoryA(ptr str) @ stdcall FtpSetCurrentDirectoryW(ptr wstr) -@ stub GetUrlCacheConfigInfoA -@ stub GetUrlCacheConfigInfoW +@ stdcall GetUrlCacheConfigInfoA(ptr ptr long) +@ stdcall GetUrlCacheConfigInfoW(ptr ptr long) @ stdcall GetUrlCacheEntryInfoA(str ptr long) @ stdcall GetUrlCacheEntryInfoExA(str ptr ptr str ptr ptr long) @ stdcall GetUrlCacheEntryInfoExW(wstr ptr ptr wstr ptr ptr long) -@ stub GetUrlCacheEntryInfoW +@ stdcall GetUrlCacheEntryInfoW(wstr ptr long) @ stub GetUrlCacheHeaderData @ stub GopherCreateLocatorA @ stub GopherCreateLocatorW