Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygeninit.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
1.7.6.1
|