reactos/dll/win32/rasadhlp/init.c
Hermès Bélusca-Maïto b819608ed8 Create a branch for console restructuration work.
svn path=/branches/condrv_restructure/; revision=63104
2014-05-02 14:13:40 +00:00

28 lines
603 B
C

/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS Winsock 2 SPI
* FILE: lib/mswsock/lib/init.c
* PURPOSE: DLL Initialization
*/
#include "precomp.h"
/* FUNCTIONS *****************************************************************/
BOOLEAN
WINAPI
DllMain(HINSTANCE Instance,
DWORD Reason,
LPVOID Reserved)
{
/* Check if we're being attached */
if (Reason == DLL_PROCESS_ATTACH)
{
/* Let's disable TLC calls as an optimization */
DisableThreadLibraryCalls(Instance);
}
/* We're done */
return TRUE;
}