ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

xinput1_2_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 Sat May 26 2012 04:25:41 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.