winex11.drv: Map coordinates before calling send_mouse_input.
[wine/zf.git] / dlls / mssign32 / mssign32_main.c
blobc76d467f3f46e605f20345bd6f6cbeb144bc625f
1 /*
2 * MSSIGN32 implementation
4 * Copyright 2009 Austin English
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include <stdarg.h>
23 #include "windef.h"
24 #include "winbase.h"
25 #include "wincrypt.h"
27 #include "wine/debug.h"
28 #include "wine/heap.h"
29 #include "wine/mssign.h"
31 WINE_DEFAULT_DEBUG_CHANNEL(mssign);
33 HRESULT WINAPI PvkGetCryptProv(HWND hwnd, LPCWSTR pwszCaption, LPCWSTR pwszCapiProvider,
34 DWORD dwProviderType, LPCWSTR pwszPvkFile, LPCWSTR pwszKeyContainerName,
35 DWORD *pdwKeySpec, LPWSTR *ppwszTmpContainer, HCRYPTPROV *phCryptProv)
37 FIXME("%p %s %s %d %s %s %p %p %p stub\n", hwnd, debugstr_w(pwszCaption), debugstr_w(pwszCapiProvider),
38 dwProviderType, debugstr_w(pwszPvkFile), debugstr_w(pwszKeyContainerName),
39 pdwKeySpec, ppwszTmpContainer, phCryptProv);
41 return E_FAIL;
44 BOOL WINAPI PvkPrivateKeyAcquireContextFromMemory(LPCWSTR pwszProvName, DWORD dwProvType,
45 BYTE *pbData, DWORD cbData, HWND hwndOwner, LPCWSTR pwszKeyName,
46 DWORD *pdwKeySpec, HCRYPTPROV *phCryptProv, LPWSTR *ppwszTmpContainer)
48 FIXME("%s %d %p %d %p %s %p %p %p stub\n", debugstr_w(pwszProvName), dwProvType,
49 pbData, cbData, hwndOwner, debugstr_w(pwszKeyName), pdwKeySpec,
50 phCryptProv, ppwszTmpContainer);
52 return FALSE;
55 void WINAPI PvkFreeCryptProv(HCRYPTPROV hProv, LPCWSTR pwszCapiProvider, DWORD dwProviderType,
56 LPWSTR pwszTmpContainer)
58 FIXME("%08lx %s %d %s stub\n", hProv, debugstr_w(pwszCapiProvider), dwProviderType,
59 debugstr_w(pwszTmpContainer));
62 HRESULT WINAPI SignerSign(SIGNER_SUBJECT_INFO *subject, SIGNER_CERT *cert, SIGNER_SIGNATURE_INFO *signature,
63 SIGNER_PROVIDER_INFO *provider, const WCHAR *timestamp, CRYPT_ATTRIBUTES *attrs, void *sip_data)
65 FIXME("%p %p %p %p %s %p %p stub\n", subject, cert, signature, provider, debugstr_w(timestamp), attrs, sip_data);
66 return E_NOTIMPL;
69 HRESULT WINAPI SignerSignEx(DWORD flags, SIGNER_SUBJECT_INFO *subject_info, SIGNER_CERT *signer_cert,
70 SIGNER_SIGNATURE_INFO *signature_info, SIGNER_PROVIDER_INFO *provider_info,
71 const WCHAR *http_time_stamp, CRYPT_ATTRIBUTES *request, void *sip_data,
72 SIGNER_CONTEXT **signer_context)
74 FIXME("%x %p %p %p %p %s %p %p %p stub\n", flags, subject_info, signer_cert, signature_info, provider_info,
75 wine_dbgstr_w(http_time_stamp), request, sip_data, signer_cert);
76 return E_NOTIMPL;
79 HRESULT WINAPI SignerFreeSignerContext(SIGNER_CONTEXT *signer_context)
81 heap_free(signer_context);
82 return S_OK;