Juan Lang : cryptui: Call CryptUIWizImport from the certificate manager dialog.
Alexandre Julliard
julliard at winehq.org
Fri Jan 9 09:52:33 CST 2009
Module: wine
Branch: master
Commit: 732fce7c3c3c85ba0c2ab3340c9d749902c02d44
URL: http://source.winehq.org/git/wine.git/?a=commit;h=732fce7c3c3c85ba0c2ab3340c9d749902c02d44
Author: Juan Lang <juan.lang at gmail.com>
Date: Thu Jan 8 09:45:41 2009 -0800
cryptui: Call CryptUIWizImport from the certificate manager dialog.
---
dlls/cryptui/main.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/cryptui/main.c b/dlls/cryptui/main.c
index f7c8650..1abeff4 100644
--- a/dlls/cryptui/main.c
+++ b/dlls/cryptui/main.c
@@ -1090,6 +1090,11 @@ static LRESULT CALLBACK cert_mgr_dlg_proc(HWND hwnd, UINT msg, WPARAM wp,
case ((CBN_SELCHANGE << 16) | IDC_MGR_PURPOSE_SELECTION):
cert_mgr_clear_cert_selection(hwnd);
break;
+ case IDC_MGR_IMPORT:
+ if (CryptUIWizImport(0, hwnd, NULL, NULL,
+ cert_mgr_current_store(hwnd)))
+ refresh_store_certs(hwnd);
+ break;
case IDC_MGR_ADVANCED:
if (DialogBoxW(hInstance, MAKEINTRESOURCEW(IDD_CERT_MGR_ADVANCED),
hwnd, cert_mgr_advanced_dlg_proc) == IDOK)
More information about the wine-cvs
mailing list