ReactOS 0.4.15-dev-7711-g5627da4
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
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}
unsigned char BOOLEAN
#define TRUE
Definition: types.h:120
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
BOOLEAN WINAPI DllMain(HINSTANCE Instance, DWORD Reason, LPVOID Reserved)
Definition: init.c:14
unsigned long DWORD
Definition: ntddk_ex.h:95
PVOID PVOID PWCHAR PVOID USHORT PULONG Reason
Definition: env.c:47
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_WMI_INSTANCE_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_opt_ WDFWMIINSTANCE * Instance
Definition: wdfwmi.h:481
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
#define WINAPI
Definition: msvc.h:6