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
8949d29d
Commit
8949d29d
authored
Mar 02, 2006
by
Juan Lang
Committed by
Alexandre Julliard
Mar 03, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Implement CertDuplicateStore.
parent
339a4dbd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
crypt32.spec
dlls/crypt32/crypt32.spec
+1
-1
store.c
dlls/crypt32/store.c
+10
-0
wincrypt.h
include/wincrypt.h
+2
-0
No files found.
dlls/crypt32/crypt32.spec
View file @
8949d29d
...
...
@@ -26,7 +26,7 @@
@ stub CertDuplicateCRLContext
@ stub CertDuplicateCTLContext
@ stdcall CertDuplicateCertificateContext(ptr)
@ st
ub CertDuplicateStore
@ st
dcall CertDuplicateStore(ptr)
@ stub CertEnumCRLContextProperties
@ stdcall CertEnumCRLsInStore(ptr ptr)
@ stub CertEnumCTLContextProperties
...
...
dlls/crypt32/store.c
View file @
8949d29d
...
...
@@ -2626,6 +2626,16 @@ PCCTL_CONTEXT WINAPI CertEnumCTLsInStore(HCERTSTORE hCertStore,
return
NULL
;
}
HCERTSTORE
WINAPI
CertDuplicateStore
(
HCERTSTORE
hCertStore
)
{
WINECRYPT_CERTSTORE
*
hcs
=
(
WINECRYPT_CERTSTORE
*
)
hCertStore
;
TRACE
(
"(%p)
\n
"
,
hCertStore
);
if
(
hcs
&&
hcs
->
dwMagic
==
WINE_CRYPTCERTSTORE_MAGIC
)
InterlockedIncrement
(
&
hcs
->
ref
);
return
hCertStore
;
}
BOOL
WINAPI
CertCloseStore
(
HCERTSTORE
hCertStore
,
DWORD
dwFlags
)
{
...
...
include/wincrypt.h
View file @
8949d29d
...
...
@@ -2605,6 +2605,8 @@ BOOL WINAPI CertSetStoreProperty(HCERTSTORE hCertStore, DWORD dwPropId,
BOOL
WINAPI
CertControlStore
(
HCERTSTORE
hCertStore
,
DWORD
dwFlags
,
DWORD
dwCtrlType
,
void
const
*
pvCtrlPara
);
HCERTSTORE
WINAPI
CertDuplicateStore
(
HCERTSTORE
hCertStore
);
BOOL
WINAPI
CertCloseStore
(
HCERTSTORE
hCertStore
,
DWORD
dwFlags
);
BOOL
WINAPI
CertFreeCertificateContext
(
PCCERT_CONTEXT
pCertContext
);
...
...
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