Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenmssign32_main.c
Go to the documentation of this file.
00001 /* 00002 * MSSIGN32 implementation 00003 * 00004 * Copyright 2009 Austin English 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Lesser General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2.1 of the License, or (at your option) any later version. 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public 00017 * License along with this library; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 00019 */ 00020 00021 #include "config.h" 00022 00023 #include <stdarg.h> 00024 00025 #include "windef.h" 00026 #include "winbase.h" 00027 #include "wincrypt.h" 00028 00029 #include "wine/debug.h" 00030 00031 WINE_DEFAULT_DEBUG_CHANNEL(mssign); 00032 00033 BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID lpv ) 00034 { 00035 switch(reason) 00036 { 00037 case DLL_WINE_PREATTACH: 00038 return FALSE; /* prefer native version */ 00039 case DLL_PROCESS_ATTACH: 00040 DisableThreadLibraryCalls( hinst ); 00041 break; 00042 case DLL_PROCESS_DETACH: 00043 break; 00044 } 00045 return TRUE; 00046 } 00047 00048 00049 HRESULT WINAPI PvkGetCryptProv(HWND hwnd, LPCWSTR pwszCaption, LPCWSTR pwszCapiProvider, 00050 DWORD dwProviderType, LPCWSTR pwszPvkFile, LPCWSTR pwszKeyContainerName, 00051 DWORD *pdwKeySpec, LPWSTR *ppwszTmpContainer, HCRYPTPROV *phCryptProv) 00052 { 00053 FIXME("%p %s %s %d %s %s %p %p %p stub\n", hwnd, debugstr_w(pwszCaption), debugstr_w(pwszCapiProvider), 00054 dwProviderType, debugstr_w(pwszPvkFile), debugstr_w(pwszKeyContainerName), 00055 pdwKeySpec, ppwszTmpContainer, phCryptProv); 00056 00057 return E_FAIL; 00058 } 00059 00060 BOOL WINAPI PvkPrivateKeyAcquireContextFromMemory(LPCWSTR pwszProvName, DWORD dwProvType, 00061 BYTE *pbData, DWORD cbData, HWND hwndOwner, LPCWSTR pwszKeyName, 00062 DWORD *pdwKeySpec, HCRYPTPROV *phCryptProv, LPWSTR *ppwszTmpContainer) 00063 { 00064 FIXME("%s %d %p %d %p %s %p %p %p stub\n", debugstr_w(pwszProvName), dwProvType, 00065 pbData, cbData, hwndOwner, debugstr_w(pwszKeyName), pdwKeySpec, 00066 phCryptProv, ppwszTmpContainer); 00067 00068 return FALSE; 00069 } 00070 00071 void WINAPI PvkFreeCryptProv(HCRYPTPROV hProv, LPCWSTR pwszCapiProvider, DWORD dwProviderType, 00072 LPWSTR pwszTmpContainer) 00073 { 00074 FIXME("%08lx %s %d %s stub\n", hProv, debugstr_w(pwszCapiProvider), dwProviderType, 00075 debugstr_w(pwszTmpContainer)); 00076 } Generated on Sat May 26 2012 04:23:53 for ReactOS by
1.7.6.1
|