Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygencryptdll.c
Go to the documentation of this file.
00001 /* 00002 * Copyright 2005 Ulrich Czekalla (for CodeWeavers) 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation; either 00007 * version 2.1 of the License, or (at your option) any later version. 00008 * 00009 * This library is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Lesser General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public 00015 * License along with this library; if not, write to the Free Software 00016 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 00017 */ 00018 00019 #include "config.h" 00020 #include <stdarg.h> 00021 #include <stdlib.h> 00022 #include "windef.h" 00023 #include "winbase.h" 00024 #include "wine/debug.h" 00025 00026 WINE_DEFAULT_DEBUG_CHANNEL(cryptdll); 00027 00028 static HMODULE CRYPTDLL_hModule; 00029 00030 BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) 00031 { 00032 TRACE("%p,%x,%p\n", hinstDLL, fdwReason, lpvReserved); 00033 00034 switch (fdwReason) { 00035 case DLL_WINE_PREATTACH: 00036 return FALSE; /* prefer native version */ 00037 case DLL_PROCESS_ATTACH: 00038 { 00039 DisableThreadLibraryCalls(hinstDLL); 00040 CRYPTDLL_hModule = hinstDLL; 00041 break; 00042 } 00043 case DLL_PROCESS_DETACH: 00044 { 00045 break; 00046 } 00047 } 00048 00049 return TRUE; 00050 } Generated on Sun May 27 2012 04:23:19 for ReactOS by
1.7.6.1
|