ReactOS 0.4.16-dev-297-gc569aee
dllmain.c File Reference
#include <oscalls.h>
#include <process.h>
Include dependency graph for dllmain.c:

Go to the source code of this file.

Macros

#define _DECL_DLLMAIN
 

Functions

WINBOOL WINAPI DllMain (HANDLE hDllHandle, DWORD dwReason, LPVOID lpreserved)
 

Macro Definition Documentation

◆ _DECL_DLLMAIN

#define _DECL_DLLMAIN

Definition at line 2 of file dllmain.c.

Function Documentation

◆ DllMain()

WINBOOL WINAPI DllMain ( HANDLE  hDllHandle,
DWORD  dwReason,
LPVOID  lpreserved 
)

Definition at line 5 of file dllmain.c.

6{
7 /* If the DLL provides no DllMain, then chances are that it doesn't bother with thread initialization */
10 return TRUE;
11}
DWORD dwReason
Definition: misc.cpp:141
#define TRUE
Definition: types.h:120
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85