Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenmain.c
Go to the documentation of this file.
00001 /* mscat32.dll - Backend for Microsoft's MakeCat command-line tool 00002 * 00003 * Copyright (C) 2007 Alexander N. Sørnes <alex@thehandofagony.com> 00004 * 00005 * This program is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Lesser General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2.1 of the License, or (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Lesser General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Lesser General Public 00016 * License along with this program; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 00018 */ 00019 00020 #include "config.h" 00021 00022 #include <stdarg.h> 00023 #include "windef.h" 00024 #include "winbase.h" 00025 #include "wine/debug.h" 00026 00027 WINE_DEFAULT_DEBUG_CHANNEL(mscat); 00028 00029 00030 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) 00031 { 00032 TRACE("(%p, %d, %p)\n",hinstDLL,fdwReason,lpvReserved); 00033 00034 if (fdwReason == DLL_WINE_PREATTACH) return FALSE; /* prefer native version */ 00035 00036 if (fdwReason == DLL_PROCESS_ATTACH) 00037 { 00038 DisableThreadLibraryCalls( hinstDLL ); 00039 /* FIXME: Initialisation */ 00040 } 00041 else if (fdwReason == DLL_PROCESS_DETACH) 00042 { 00043 /* FIXME: Cleanup */ 00044 } 00045 00046 return TRUE; 00047 } Generated on Sun May 27 2012 04:16:42 for ReactOS by
1.7.6.1
|