d3d10core: Set the initial blend factors to 1.0f.
[wine/multimedia.git] / dlls / mssign32 / mssign32_main.c
blobe35488bad3eee942a0a2bf3b73326d3987bc590b
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 "config.h"
23 #include <stdarg.h>
25 #include "windef.h"
26 #include "winbase.h"
27 #include "wincrypt.h"
29 #include "wine/debug.h"
31 WINE_DEFAULT_DEBUG_CHANNEL(mssign);
33 BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID lpv )
35 switch(reason)
37 case DLL_WINE_PREATTACH:
38 return FALSE; /* prefer native version */
39 case DLL_PROCESS_ATTACH:
40 DisableThreadLibraryCalls( hinst );
41 break;
43 return TRUE;
47 HRESULT WINAPI PvkGetCryptProv(HWND hwnd, LPCWSTR pwszCaption, LPCWSTR pwszCapiProvider,
48 DWORD dwProviderType, LPCWSTR pwszPvkFile, LPCWSTR pwszKeyContainerName,
49 DWORD *pdwKeySpec, LPWSTR *ppwszTmpContainer, HCRYPTPROV *phCryptProv)
51 FIXME("%p %s %s %d %s %s %p %p %p stub\n", hwnd, debugstr_w(pwszCaption), debugstr_w(pwszCapiProvider),
52 dwProviderType, debugstr_w(pwszPvkFile), debugstr_w(pwszKeyContainerName),
53 pdwKeySpec, ppwszTmpContainer, phCryptProv);
55 return E_FAIL;
58 BOOL WINAPI PvkPrivateKeyAcquireContextFromMemory(LPCWSTR pwszProvName, DWORD dwProvType,
59 BYTE *pbData, DWORD cbData, HWND hwndOwner, LPCWSTR pwszKeyName,
60 DWORD *pdwKeySpec, HCRYPTPROV *phCryptProv, LPWSTR *ppwszTmpContainer)
62 FIXME("%s %d %p %d %p %s %p %p %p stub\n", debugstr_w(pwszProvName), dwProvType,
63 pbData, cbData, hwndOwner, debugstr_w(pwszKeyName), pdwKeySpec,
64 phCryptProv, ppwszTmpContainer);
66 return FALSE;
69 void WINAPI PvkFreeCryptProv(HCRYPTPROV hProv, LPCWSTR pwszCapiProvider, DWORD dwProviderType,
70 LPWSTR pwszTmpContainer)
72 FIXME("%08lx %s %d %s stub\n", hProv, debugstr_w(pwszCapiProvider), dwProviderType,
73 debugstr_w(pwszTmpContainer));