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
472f1bf5
Commit
472f1bf5
authored
Dec 18, 2008
by
Juan Lang
Committed by
Alexandre Julliard
Dec 19, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cryptui: Partially implement CryptUIDlgViewContext.
parent
deaf539f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
1 deletion
+34
-1
cryptui.spec
dlls/cryptui/cryptui.spec
+1
-1
main.c
dlls/cryptui/main.c
+33
-0
No files found.
dlls/cryptui/cryptui.spec
View file @
472f1bf5
...
...
@@ -15,7 +15,7 @@
15 stub CryptUIDlgViewCertificatePropertiesA
16 stub CryptUIDlgViewCertificatePropertiesW
17 stdcall CryptUIDlgViewCertificateW(ptr ptr)
18 st
ub CryptUIDlgViewContext
18 st
dcall CryptUIDlgViewContext(long ptr ptr wstr long ptr)
19 stub CryptUIDlgViewSignerInfoA
20 stub CryptUIDlgViewSignerInfoW
21 stub CryptUIFreeCertificatePropertiesPagesA
...
...
dlls/cryptui/main.c
View file @
472f1bf5
...
...
@@ -2945,6 +2945,39 @@ BOOL WINAPI CryptUIDlgViewCertificateW(
return
ret
;
}
/***********************************************************************
* CryptUIDlgViewContext (CRYPTUI.@)
*/
BOOL
WINAPI
CryptUIDlgViewContext
(
DWORD
dwContextType
,
LPVOID
pvContext
,
HWND
hwnd
,
LPCWSTR
pwszTitle
,
DWORD
dwFlags
,
LPVOID
pvReserved
)
{
BOOL
ret
;
TRACE
(
"(%d, %p, %p, %s, %08x, %p)
\n
"
,
dwContextType
,
pvContext
,
hwnd
,
debugstr_w
(
pwszTitle
),
dwFlags
,
pvReserved
);
switch
(
dwContextType
)
{
case
CERT_STORE_CERTIFICATE_CONTEXT
:
{
CRYPTUI_VIEWCERTIFICATE_STRUCTW
viewInfo
;
memset
(
&
viewInfo
,
0
,
sizeof
(
viewInfo
));
viewInfo
.
dwSize
=
sizeof
(
viewInfo
);
viewInfo
.
hwndParent
=
hwnd
;
viewInfo
.
szTitle
=
pwszTitle
;
viewInfo
.
pCertContext
=
pvContext
;
ret
=
CryptUIDlgViewCertificateW
(
&
viewInfo
,
NULL
);
break
;
}
default:
FIXME
(
"unimplemented for context type %d
\n
"
,
dwContextType
);
SetLastError
(
E_INVALIDARG
);
ret
=
FALSE
;
}
return
ret
;
}
static
PCCERT_CONTEXT
make_cert_from_file
(
LPCWSTR
fileName
)
{
HANDLE
file
;
...
...
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