ReactOS  0.4.15-dev-1397-g19779b3
init.c
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: See COPYING in the top level directory
3  * PROJECT: ReactOS Winsock 2 SPI
4  * FILE: lib/mswsock/lib/init.c
5  * PURPOSE: DLL Initialization
6  */
7 
8 #include "precomp.h"
9 
10 /* FUNCTIONS *****************************************************************/
11 
12 BOOLEAN
13 WINAPI
15  DWORD Reason,
17 {
18  /* Check if we're being attached */
20  {
21  /* Let's disable TLC calls as an optimization */
23  }
24 
25  /* We're done */
26  return TRUE;
27 }
#define TRUE
Definition: types.h:120
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
unsigned char BOOLEAN
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
#define WINAPI
Definition: msvc.h:6
unsigned long DWORD
Definition: ntddk_ex.h:95
PVOID PVOID PWCHAR PVOID USHORT PULONG Reason
Definition: env.c:45
BOOLEAN WINAPI DllMain(HINSTANCE Instance, DWORD Reason, LPVOID Reserved)
Definition: init.c:14
IN PVOID Instance
Definition: pci.h:361