Jacek Caban : wininet: Added InternetGetSecurityInfoByURL* stubs.

Alexandre Julliard julliard at winehq.org
Wed Jun 6 15:35:21 CDT 2012


Module: wine
Branch: master
Commit: 4c7e9aa92083504009b365fb39554c7bdcbe918f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4c7e9aa92083504009b365fb39554c7bdcbe918f

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Wed Jun  6 17:38:16 2012 +0200

wininet: Added InternetGetSecurityInfoByURL* stubs.

---

 dlls/wininet/internet.c   |   19 +++++++++++++++++++
 dlls/wininet/wininet.spec |    3 +++
 include/winineti.h        |    3 +++
 3 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c
index 7ca4b0b..118dcdd 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 1e651b5..6fcb3fd 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 8029155..5b6f15f 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
 }




More information about the wine-cvs mailing list