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
fd3cd61b
Commit
fd3cd61b
authored
Feb 01, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Feb 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cryptui: Correct return value of the user cancels the export wizard.
parent
0d961d9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
main.c
dlls/cryptui/main.c
+9
-2
No files found.
dlls/cryptui/main.c
View file @
fd3cd61b
...
...
@@ -6650,6 +6650,7 @@ static BOOL show_export_ui(DWORD dwFlags, HWND hwndParent,
struct
ExportWizData
data
;
int
nPages
=
0
;
BOOL
hasPrivateKey
,
showFormatPage
=
TRUE
;
INT_PTR
l
;
data
.
dwFlags
=
dwFlags
;
data
.
pwszWizardTitle
=
pwszWizardTitle
;
...
...
@@ -6779,14 +6780,20 @@ static BOOL show_export_ui(DWORD dwFlags, HWND hwndParent,
hdr
.
nPages
=
nPages
;
hdr
.
u4
.
pszbmWatermark
=
MAKEINTRESOURCEW
(
IDB_CERT_WATERMARK
);
hdr
.
u5
.
pszbmHeader
=
MAKEINTRESOURCEW
(
IDB_CERT_HEADER
);
PropertySheetW
(
&
hdr
);
l
=
PropertySheetW
(
&
hdr
);
DeleteObject
(
data
.
titleFont
);
if
(
data
.
freePassword
)
HeapFree
(
GetProcessHeap
(),
0
,
(
LPWSTR
)
data
.
contextInfo
.
pwszPassword
);
CloseHandle
(
data
.
file
);
HeapFree
(
GetProcessHeap
(),
0
,
data
.
fileName
);
return
data
.
success
;
if
(
l
==
0
)
{
SetLastError
(
ERROR_CANCELLED
);
return
FALSE
;
}
else
return
data
.
success
;
}
BOOL
WINAPI
CryptUIWizExport
(
DWORD
dwFlags
,
HWND
hwndParent
,
...
...
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