Commit 732fce7c authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

cryptui: Call CryptUIWizImport from the certificate manager dialog.

parent ed5d0d88
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment