Jacek Caban : wininet: Moved dialog-related functions to dialog.c.
Alexandre Julliard
julliard at winehq.org
Tue Feb 26 13:48:15 CST 2013
Module: wine
Branch: master
Commit: 8ca611a598ea63697ea9b890c0bd4ccdb55529eb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8ca611a598ea63697ea9b890c0bd4ccdb55529eb
Author: Jacek Caban <jacek at codeweavers.com>
Date: Tue Feb 26 15:43:44 2013 +0100
wininet: Moved dialog-related functions to dialog.c.
---
dlls/wininet/dialogs.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++
dlls/wininet/http.c | 46 ----------------------------------------------
2 files changed, 46 insertions(+), 46 deletions(-)
diff --git a/dlls/wininet/dialogs.c b/dlls/wininet/dialogs.c
index 418610d..4acda13 100644
--- a/dlls/wininet/dialogs.c
+++ b/dlls/wininet/dialogs.c
@@ -37,6 +37,7 @@
#include "winerror.h"
#define NO_SHLWAPI_STREAM
#include "shlwapi.h"
+#include "cryptuiapi.h"
#include "internet.h"
@@ -560,3 +561,48 @@ DWORD WINAPI InternetErrorDlg(HWND hWnd, HINTERNET hRequest,
WININET_Release(&req->hdr);
return res;
}
+
+/***********************************************************************
+ * InternetShowSecurityInfoByURLA (@)
+ */
+BOOL WINAPI InternetShowSecurityInfoByURLA(LPCSTR url, HWND window)
+{
+ FIXME("stub: %s %p\n", url, window);
+ return FALSE;
+}
+
+/***********************************************************************
+ * InternetShowSecurityInfoByURLW (@)
+ */
+BOOL WINAPI InternetShowSecurityInfoByURLW(LPCWSTR url, HWND window)
+{
+ FIXME("stub: %s %p\n", debugstr_w(url), window);
+ return FALSE;
+}
+
+/***********************************************************************
+ * ShowX509EncodedCertificate (@)
+ */
+DWORD WINAPI ShowX509EncodedCertificate(HWND parent, LPBYTE cert, DWORD len)
+{
+ PCCERT_CONTEXT certContext = CertCreateCertificateContext(X509_ASN_ENCODING,
+ cert, len);
+ DWORD ret;
+
+ if (certContext)
+ {
+ CRYPTUI_VIEWCERTIFICATE_STRUCTW view;
+
+ memset(&view, 0, sizeof(view));
+ view.hwndParent = parent;
+ view.pCertContext = certContext;
+ if (CryptUIDlgViewCertificateW(&view, NULL))
+ ret = ERROR_SUCCESS;
+ else
+ ret = GetLastError();
+ CertFreeCertificateContext(certContext);
+ }
+ else
+ ret = GetLastError();
+ return ret;
+}
diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index bbbfe97..861288d 100644
--- a/dlls/wininet/http.c
+++ b/dlls/wininet/http.c
@@ -66,7 +66,6 @@
#include "sspi.h"
#include "wincrypt.h"
#include "winuser.h"
-#include "cryptuiapi.h"
#include "internet.h"
#include "wine/debug.h"
@@ -6112,48 +6111,3 @@ BOOL WINAPI IsHostInProxyBypassList(DWORD flags, LPCSTR szHost, DWORD length)
FIXME("STUB: flags=%d host=%s length=%d\n",flags,szHost,length);
return FALSE;
}
-
-/***********************************************************************
- * InternetShowSecurityInfoByURLA (@)
- */
-BOOL WINAPI InternetShowSecurityInfoByURLA(LPCSTR url, HWND window)
-{
- FIXME("stub: %s %p\n", url, window);
- return FALSE;
-}
-
-/***********************************************************************
- * InternetShowSecurityInfoByURLW (@)
- */
-BOOL WINAPI InternetShowSecurityInfoByURLW(LPCWSTR url, HWND window)
-{
- FIXME("stub: %s %p\n", debugstr_w(url), window);
- return FALSE;
-}
-
-/***********************************************************************
- * ShowX509EncodedCertificate (@)
- */
-DWORD WINAPI ShowX509EncodedCertificate(HWND parent, LPBYTE cert, DWORD len)
-{
- PCCERT_CONTEXT certContext = CertCreateCertificateContext(X509_ASN_ENCODING,
- cert, len);
- DWORD ret;
-
- if (certContext)
- {
- CRYPTUI_VIEWCERTIFICATE_STRUCTW view;
-
- memset(&view, 0, sizeof(view));
- view.hwndParent = parent;
- view.pCertContext = certContext;
- if (CryptUIDlgViewCertificateW(&view, NULL))
- ret = ERROR_SUCCESS;
- else
- ret = GetLastError();
- CertFreeCertificateContext(certContext);
- }
- else
- ret = GetLastError();
- return ret;
-}
More information about the wine-cvs
mailing list