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
9e10eee6
Commit
9e10eee6
authored
Mar 10, 2012
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Mar 13, 2012
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mssign32: Add stubs PvkFreeCryptProv, PvkGetCryptProv, PvkPrivateKeyAcquireContextFromMemory.
parent
748bb3e2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
3 deletions
+37
-3
mssign32.spec
dlls/mssign32/mssign32.spec
+3
-3
mssign32_main.c
dlls/mssign32/mssign32_main.c
+34
-0
No files found.
dlls/mssign32/mssign32.spec
View file @
9e10eee6
...
...
@@ -2,11 +2,11 @@
@ stub DllUnregisterServer
@ stub FreeCryptProvFromCert
@ stub GetCryptProvFromCert
@ st
ub PvkFreeCryptProv
@ st
ub PvkGetCryptProv
@ st
dcall PvkFreeCryptProv(ptr wstr long wstr)
@ st
dcall PvkGetCryptProv(ptr wstr wstr long wstr wstr ptr ptr ptr)
@ stub PvkPrivateKeyAcquireContext
@ stub PvkPrivateKeyAcquireContextA
@ st
ub PvkPrivateKeyAcquireContextFromMemory
@ st
dcall PvkPrivateKeyAcquireContextFromMemory(wstr long ptr long ptr wstr ptr ptr ptr)
@ stub PvkPrivateKeyAcquireContextFromMemoryA
@ stub PvkPrivateKeyLoad
@ stub PvkPrivateKeyLoadA
...
...
dlls/mssign32/mssign32_main.c
View file @
9e10eee6
...
...
@@ -24,7 +24,11 @@
#include "windef.h"
#include "winbase.h"
#include "wincrypt.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
mssign
);
BOOL
WINAPI
DllMain
(
HINSTANCE
hinst
,
DWORD
reason
,
LPVOID
lpv
)
{
...
...
@@ -40,3 +44,33 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID lpv )
}
return
TRUE
;
}
HRESULT
WINAPI
PvkGetCryptProv
(
HWND
hwnd
,
LPCWSTR
pwszCaption
,
LPCWSTR
pwszCapiProvider
,
DWORD
dwProviderType
,
LPCWSTR
pwszPvkFile
,
LPCWSTR
pwszKeyContainerName
,
DWORD
*
pdwKeySpec
,
LPWSTR
*
ppwszTmpContainer
,
HCRYPTPROV
*
phCryptProv
)
{
FIXME
(
"%p %s %s %d %s %s %p %p %p stub"
,
hwnd
,
debugstr_w
(
pwszCaption
),
debugstr_w
(
pwszCapiProvider
),
dwProviderType
,
debugstr_w
(
pwszPvkFile
),
debugstr_w
(
pwszKeyContainerName
),
pdwKeySpec
,
ppwszTmpContainer
,
phCryptProv
);
return
E_FAIL
;
}
BOOL
WINAPI
PvkPrivateKeyAcquireContextFromMemory
(
LPCWSTR
pwszProvName
,
DWORD
dwProvType
,
BYTE
*
pbData
,
DWORD
cbData
,
HWND
hwndOwner
,
LPCWSTR
pwszKeyName
,
DWORD
*
pdwKeySpec
,
HCRYPTPROV
*
phCryptProv
,
LPWSTR
*
ppwszTmpContainer
)
{
FIXME
(
"%s %d %p %d %p %s %p %p %p stub"
,
debugstr_w
(
pwszProvName
),
dwProvType
,
pbData
,
cbData
,
hwndOwner
,
debugstr_w
(
pwszKeyName
),
pdwKeySpec
,
phCryptProv
,
ppwszTmpContainer
);
return
FALSE
;
}
void
WINAPI
PvkFreeCryptProv
(
HCRYPTPROV
hProv
,
LPCWSTR
pwszCapiProvider
,
DWORD
dwProviderType
,
LPWSTR
pwszTmpContainer
)
{
FIXME
(
"%08lx %s %d %s stub"
,
hProv
,
debugstr_w
(
pwszCapiProvider
),
dwProviderType
,
debugstr_w
(
pwszTmpContainer
));
}
Vitaly Lipatov
@lav
mentioned in commit
c62f7170
·
Sep 03, 2020
mentioned in commit
c62f7170
mentioned in commit c62f71707495769607a88e978b21821e172c611f
Toggle commit list
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