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
0f43beaa
Commit
0f43beaa
authored
Oct 01, 2008
by
Juan Lang
Committed by
Alexandre Julliard
Oct 02, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust: Implement OpenPersonalTrustDBDialog.
parent
b31d7dbe
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
2 deletions
+27
-2
Makefile.in
dlls/wintrust/Makefile.in
+1
-1
wintrust.spec
dlls/wintrust/wintrust.spec
+1
-1
wintrust_main.c
dlls/wintrust/wintrust_main.c
+25
-0
No files found.
dlls/wintrust/Makefile.in
View file @
0f43beaa
...
@@ -5,7 +5,7 @@ VPATH = @srcdir@
...
@@ -5,7 +5,7 @@ VPATH = @srcdir@
MODULE
=
wintrust.dll
MODULE
=
wintrust.dll
IMPORTLIB
=
wintrust
IMPORTLIB
=
wintrust
IMPORTS
=
crypt32 user32 advapi32 kernel32 ntdll
IMPORTS
=
crypt32 user32 advapi32 kernel32 ntdll
DELAYIMPORTS
=
imagehlp
DELAYIMPORTS
=
cryptui
imagehlp
C_SRCS
=
\
C_SRCS
=
\
asn.c
\
asn.c
\
...
...
dlls/wintrust/wintrust.spec
View file @
0f43beaa
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
@ stub MsCatFreeHashTag
@ stub MsCatFreeHashTag
@ stub OfficeCleanupPolicy
@ stub OfficeCleanupPolicy
@ stub OfficeInitializePolicy
@ stub OfficeInitializePolicy
@ st
ub OpenPersonalTrustDBDialog
@ st
dcall OpenPersonalTrustDBDialog(ptr)
@ stdcall SoftpubAuthenticode(ptr)
@ stdcall SoftpubAuthenticode(ptr)
@ stdcall SoftpubCheckCert(ptr long long long)
@ stdcall SoftpubCheckCert(ptr long long long)
@ stdcall SoftpubCleanup(ptr)
@ stdcall SoftpubCleanup(ptr)
...
...
dlls/wintrust/wintrust_main.c
View file @
0f43beaa
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
#include "objbase.h"
#include "objbase.h"
#include "winuser.h"
#include "winuser.h"
#include "cryptdlg.h"
#include "cryptdlg.h"
#include "cryptuiapi.h"
#include "wintrust_priv.h"
#include "wintrust_priv.h"
#include "wine/debug.h"
#include "wine/debug.h"
...
@@ -1057,3 +1058,27 @@ BOOL WINAPI WINTRUST_AddPrivData(CRYPT_PROVIDER_DATA *data,
...
@@ -1057,3 +1058,27 @@ BOOL WINAPI WINTRUST_AddPrivData(CRYPT_PROVIDER_DATA *data,
SetLastError
(
ERROR_OUTOFMEMORY
);
SetLastError
(
ERROR_OUTOFMEMORY
);
return
ret
;
return
ret
;
}
}
/***********************************************************************
* OpenPersonalTrustDBDialog (WINTRUST.@)
*
* Opens the certificate manager dialog, showing only the stores that
* contain trusted software publishers.
*
* PARAMS
* hwnd [I] handle of parent window
*
* RETURNS
* TRUE if the dialog could be opened, FALSE if not.
*/
BOOL
WINAPI
OpenPersonalTrustDBDialog
(
HWND
hwnd
)
{
CRYPTUI_CERT_MGR_STRUCT
uiCertMgr
;
uiCertMgr
.
dwSize
=
sizeof
(
uiCertMgr
);
uiCertMgr
.
hwndParent
=
hwnd
;
uiCertMgr
.
dwFlags
=
CRYPTUI_CERT_MGR_PUBLISHER_TAB
;
uiCertMgr
.
pwszTitle
=
NULL
;
uiCertMgr
.
pszInitUsageOID
=
NULL
;
return
CryptUIDlgCertMgr
(
&
uiCertMgr
);
}
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