Commit 9e10eee6 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

mssign32: Add stubs PvkFreeCryptProv, PvkGetCryptProv, PvkPrivateKeyAcquireContextFromMemory.

parent 748bb3e2
......@@ -2,11 +2,11 @@
@ stub DllUnregisterServer
@ stub FreeCryptProvFromCert
@ stub GetCryptProvFromCert
@ stub PvkFreeCryptProv
@ stub PvkGetCryptProv
@ stdcall PvkFreeCryptProv(ptr wstr long wstr)
@ stdcall PvkGetCryptProv(ptr wstr wstr long wstr wstr ptr ptr ptr)
@ stub PvkPrivateKeyAcquireContext
@ stub PvkPrivateKeyAcquireContextA
@ stub PvkPrivateKeyAcquireContextFromMemory
@ stdcall PvkPrivateKeyAcquireContextFromMemory(wstr long ptr long ptr wstr ptr ptr ptr)
@ stub PvkPrivateKeyAcquireContextFromMemoryA
@ stub PvkPrivateKeyLoad
@ stub PvkPrivateKeyLoadA
......
......@@ -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));
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment