Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
c417c9b9
Commit
c417c9b9
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: Skip the format page of the export wizard if the format is implied.
parent
0cac6977
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
11 deletions
+33
-11
main.c
dlls/cryptui/main.c
+33
-11
No files found.
dlls/cryptui/main.c
View file @
c417c9b9
...
...
@@ -5443,6 +5443,7 @@ struct ExportWizData
LPCWSTR
pwszWizardTitle
;
PCCRYPTUI_WIZ_EXPORT_INFO
pExportInfo
;
void
*
pvoid
;
DWORD
exportFormat
;
};
static
LRESULT
CALLBACK
export_welcome_dlg_proc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wp
,
...
...
@@ -5615,11 +5616,13 @@ static BOOL show_export_ui(DWORD dwFlags, HWND hwndParent,
PROPSHEETPAGEW
pages
[
4
];
struct
ExportWizData
data
;
int
nPages
=
0
;
BOOL
showFormatPage
=
TRUE
;
data
.
dwFlags
=
dwFlags
;
data
.
pwszWizardTitle
=
pwszWizardTitle
;
data
.
pExportInfo
=
pExportInfo
;
data
.
pvoid
=
pvoid
;
data
.
exportFormat
=
0
;
memset
(
&
pages
,
0
,
sizeof
(
pages
));
...
...
@@ -5631,17 +5634,36 @@ static BOOL show_export_ui(DWORD dwFlags, HWND hwndParent,
pages
[
nPages
].
lParam
=
(
LPARAM
)
&
data
;
nPages
++
;
pages
[
nPages
].
dwSize
=
sizeof
(
pages
[
0
]);
pages
[
nPages
].
hInstance
=
hInstance
;
pages
[
nPages
].
u
.
pszTemplate
=
MAKEINTRESOURCEW
(
IDD_EXPORT_FORMAT
);
pages
[
nPages
].
pfnDlgProc
=
export_format_dlg_proc
;
pages
[
nPages
].
dwFlags
=
PSP_USEHEADERTITLE
|
PSP_USEHEADERSUBTITLE
;
pages
[
nPages
].
pszHeaderTitle
=
MAKEINTRESOURCEW
(
IDS_EXPORT_FORMAT_TITLE
);
pages
[
nPages
].
pszHeaderSubTitle
=
MAKEINTRESOURCEW
(
IDS_EXPORT_FORMAT_SUBTITLE
);
pages
[
nPages
].
lParam
=
(
LPARAM
)
&
data
;
nPages
++
;
switch
(
pExportInfo
->
dwSubjectChoice
)
{
case
CRYPTUI_WIZ_EXPORT_CRL_CONTEXT
:
case
CRYPTUI_WIZ_EXPORT_CTL_CONTEXT
:
showFormatPage
=
FALSE
;
data
.
exportFormat
=
CRYPTUI_WIZ_EXPORT_FORMAT_DER
;
break
;
case
CRYPTUI_WIZ_EXPORT_CERT_STORE
:
showFormatPage
=
FALSE
;
data
.
exportFormat
=
CRYPTUI_WIZ_EXPORT_FORMAT_SERIALIZED_CERT_STORE
;
break
;
case
CRYPTUI_WIZ_EXPORT_CERT_STORE_CERTIFICATES_ONLY
:
showFormatPage
=
FALSE
;
data
.
exportFormat
=
CRYPTUI_WIZ_EXPORT_FORMAT_PKCS7
;
break
;
}
if
(
showFormatPage
)
{
pages
[
nPages
].
dwSize
=
sizeof
(
pages
[
0
]);
pages
[
nPages
].
hInstance
=
hInstance
;
pages
[
nPages
].
u
.
pszTemplate
=
MAKEINTRESOURCEW
(
IDD_EXPORT_FORMAT
);
pages
[
nPages
].
pfnDlgProc
=
export_format_dlg_proc
;
pages
[
nPages
].
dwFlags
=
PSP_USEHEADERTITLE
|
PSP_USEHEADERSUBTITLE
;
pages
[
nPages
].
pszHeaderTitle
=
MAKEINTRESOURCEW
(
IDS_EXPORT_FORMAT_TITLE
);
pages
[
nPages
].
pszHeaderSubTitle
=
MAKEINTRESOURCEW
(
IDS_EXPORT_FORMAT_SUBTITLE
);
pages
[
nPages
].
lParam
=
(
LPARAM
)
&
data
;
nPages
++
;
}
pages
[
nPages
].
dwSize
=
sizeof
(
pages
[
0
]);
pages
[
nPages
].
hInstance
=
hInstance
;
...
...
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