ReactOS 0.4.16-dev-297-gc569aee
dllmain.c
Go to the documentation of this file.
1#include <oscalls.h>
2#define _DECL_DLLMAIN
3#include <process.h>
4
5WINBOOL WINAPI DllMain (HANDLE hDllHandle, DWORD dwReason, LPVOID lpreserved)
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
BOOL WINAPI DllMain(HINSTANCE hDLLInst, DWORD fdwReason, LPVOID lpvReserved)
Definition: dllmain.c:52
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
unsigned long DWORD
Definition: ntddk_ex.h:95
int32_t WINBOOL
Definition: typedefs.h:58
#define WINAPI
Definition: msvc.h:6