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

init.c
Go to the documentation of this file.
00001 /*
00002  * COPYRIGHT:   See COPYING in the top level directory
00003  * PROJECT:     ReactOS Winsock 2 SPI
00004  * FILE:        lib/mswsock/lib/init.c
00005  * PURPOSE:     DLL Initialization
00006  */
00007 
00008 /* INCLUDES ******************************************************************/
00009 #include "precomp.h"
00010 
00011 /* DATA **********************************************************************/
00012 
00013 /* FUNCTIONS *****************************************************************/
00014 
00015 BOOLEAN
00016 WINAPI
00017 DllMain(HINSTANCE Instance,
00018         DWORD Reason,
00019         LPVOID Reserved)
00020 {
00021     /* Check if we're being attached */
00022     if (Reason == DLL_PROCESS_ATTACH)
00023     {
00024         /* Let's disable TLC calls as an optimization */
00025         DisableThreadLibraryCalls(Instance);
00026     }
00027 
00028     /* We're done */
00029     return TRUE;
00030 }

Generated on Sat May 26 2012 04:22:06 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.