From 4c7e9aa92083504009b365fb39554c7bdcbe918f Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Wed, 6 Jun 2012 17:38:16 +0200 Subject: [PATCH] wininet: Added InternetGetSecurityInfoByURL* stubs. --- dlls/wininet/internet.c | 19 +++++++++++++++++++ dlls/wininet/wininet.spec | 3 +++ include/winineti.h | 3 +++ 3 files changed, 25 insertions(+) diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c index 7ca4b0bb438..118dcdd3863 100644 --- a/dlls/wininet/internet.c +++ b/dlls/wininet/internet.c @@ -2702,6 +2702,7 @@ BOOL WINAPI InternetSetOptionW(HINTERNET hInternet, DWORD dwOption, SetLastError(ERROR_INTERNET_BAD_OPTION_LENGTH); ret = FALSE; } else + TRACE("INTERNET_OPTION_ERROR_MASK: %x\n", *(ULONG*)lpBuffer); lpwhh->ErrorMask = *(ULONG*)lpBuffer; } break; @@ -4413,6 +4414,24 @@ DWORD WINAPI PrivacyGetZonePreferenceW( DWORD zone, DWORD type, LPDWORD template return 0; } +/*********************************************************************** + * InternetGetSecurityInfoByURLA (WININET.@) + */ +BOOL WINAPI InternetGetSecurityInfoByURLA(LPSTR lpszURL, PCCERT_CHAIN_CONTEXT *ppCertChain, DWORD *pdwSecureFlags) +{ + FIXME("(%s %p %p)\n", debugstr_a(lpszURL), ppCertChain, pdwSecureFlags); + return FALSE; +} + +/*********************************************************************** + * InternetGetSecurityInfoByURLW (WININET.@) + */ +BOOL WINAPI InternetGetSecurityInfoByURLW(LPCWSTR lpszURL, PCCERT_CHAIN_CONTEXT *ppCertChain, DWORD *pdwSecureFlags) +{ + FIXME("(%s %p %p)\n", debugstr_w(lpszURL), ppCertChain, pdwSecureFlags); + return FALSE; +} + DWORD WINAPI InternetDialA( HWND hwndParent, LPSTR lpszConnectoid, DWORD dwFlags, DWORD_PTR* lpdwConnection, DWORD dwReserved ) { diff --git a/dlls/wininet/wininet.spec b/dlls/wininet/wininet.spec index 1e651b5ac28..6fcb3fdb584 100644 --- a/dlls/wininet/wininet.spec +++ b/dlls/wininet/wininet.spec @@ -157,6 +157,9 @@ @ stdcall InternetGetLastResponseInfoW(ptr ptr ptr) @ stdcall InternetGetPerSiteCookieDecisionA(str ptr) @ stdcall InternetGetPerSiteCookieDecisionW(wstr ptr) +@ stdcall InternetGetSecurityInfoByURL(str ptr ptr) InternetGetSecurityInfoByURLA +@ stdcall InternetGetSecurityInfoByURLA(str ptr ptr) +@ stdcall InternetGetSecurityInfoByURLW(wstr ptr ptr) @ stdcall InternetGoOnline(str long long) InternetGoOnlineA @ stdcall InternetGoOnlineA(str long long) @ stdcall InternetGoOnlineW(wstr long long) diff --git a/include/winineti.h b/include/winineti.h index 8029155336a..5b6f15f1170 100644 --- a/include/winineti.h +++ b/include/winineti.h @@ -123,6 +123,9 @@ BOOL WINAPI IsUrlCacheEntryExpiredW(LPCWSTR,DWORD,FILETIME*); BOOL WINAPI SetUrlCacheConfigInfoA(LPINTERNET_CACHE_CONFIG_INFOA,DWORD); BOOL WINAPI SetUrlCacheConfigInfoW(LPINTERNET_CACHE_CONFIG_INFOW,DWORD); #define SetUrlCacheConfigInfo WINELIB_NAME_AW(SetUrlCacheConfigInfo) +BOOL WINAPI InternetGetSecurityInfoByURLA(LPSTR,PCCERT_CHAIN_CONTEXT*,DWORD*); +BOOL WINAPI InternetGetSecurityInfoByURLW(LPCWSTR,PCCERT_CHAIN_CONTEXT*,DWORD*); +#define InternetGetSecurityInfoByURL WINELIB_NAME_AW(InternetGetSecurityInfoByURL) #ifdef __cplusplus } -- 2.11.4.GIT