Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
01c24c64
Commit
01c24c64
authored
Jan 23, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Jan 26, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cryptui: Call CryptUIWizExport when asked to.
parent
8e5f9d57
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
1 deletion
+36
-1
main.c
dlls/cryptui/main.c
+36
-1
No files found.
dlls/cryptui/main.c
View file @
01c24c64
...
...
@@ -1134,6 +1134,30 @@ static LRESULT CALLBACK cert_mgr_dlg_proc(HWND hwnd, UINT msg, WPARAM wp,
show_selected_cert
(
hwnd
,
selection
);
break
;
}
case
IDC_MGR_EXPORT
:
{
HWND
lv
=
GetDlgItem
(
hwnd
,
IDC_MGR_CERTS
);
int
selection
=
SendMessageW
(
lv
,
LVM_GETNEXTITEM
,
-
1
,
LVNI_SELECTED
);
if
(
selection
>=
0
)
{
PCCERT_CONTEXT
cert
=
cert_mgr_index_to_cert
(
hwnd
,
selection
);
if
(
cert
)
{
CRYPTUI_WIZ_EXPORT_INFO
info
;
info
.
dwSize
=
sizeof
(
info
);
info
.
pwszExportFileName
=
NULL
;
info
.
dwSubjectChoice
=
CRYPTUI_WIZ_EXPORT_CERT_CONTEXT
;
info
.
u
.
pCertContext
=
cert
;
info
.
cStores
=
0
;
CryptUIWizExport
(
0
,
hwnd
,
NULL
,
&
info
,
NULL
);
}
}
break
;
}
case
IDC_MGR_REMOVE
:
cert_mgr_do_remove
(
hwnd
);
break
;
...
...
@@ -3721,8 +3745,19 @@ static LRESULT CALLBACK detail_dlg_proc(HWND hwnd, UINT msg, WPARAM wp,
switch
(
wp
)
{
case
IDC_EXPORT
:
FIXME
(
"call CryptUIWizExport
\n
"
);
{
HWND
cb
=
GetDlgItem
(
hwnd
,
IDC_DETAIL_SELECT
);
CRYPTUI_WIZ_EXPORT_INFO
info
;
data
=
(
struct
detail_data
*
)
SendMessageW
(
cb
,
CB_GETITEMDATA
,
0
,
0
);
info
.
dwSize
=
sizeof
(
info
);
info
.
pwszExportFileName
=
NULL
;
info
.
dwSubjectChoice
=
CRYPTUI_WIZ_EXPORT_CERT_CONTEXT
;
info
.
u
.
pCertContext
=
data
->
pCertViewInfo
->
pCertContext
;
info
.
cStores
=
0
;
CryptUIWizExport
(
0
,
hwnd
,
NULL
,
&
info
,
NULL
);
break
;
}
case
IDC_EDITPROPERTIES
:
{
HWND
cb
=
GetDlgItem
(
hwnd
,
IDC_DETAIL_SELECT
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment