Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenxinput1_1_main.c
Go to the documentation of this file.
00001 /* 00002 * The Wine project - Xinput Joystick Library 00003 * Copyright 2008 Andrew Fenn 00004 * 00005 * This library 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 library 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 library; 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 #include <stdarg.h> 00022 00023 #include "windef.h" 00024 #include "winbase.h" 00025 00026 BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved) 00027 { 00028 switch(reason) 00029 { 00030 case DLL_WINE_PREATTACH: 00031 return FALSE; /* prefer native version */ 00032 case DLL_PROCESS_ATTACH: 00033 DisableThreadLibraryCalls(inst); 00034 break; 00035 case DLL_PROCESS_DETACH: 00036 break; 00037 } 00038 return TRUE; 00039 } Generated on Sun May 27 2012 04:27:12 for ReactOS by
1.7.6.1
|