ReactOS  0.4.14-dev-315-gbb6fece
DllMain.c
Go to the documentation of this file.
1 #include <stdarg.h>
2 
3 #define WIN32_NO_STATUS
4 
5 #include <windef.h>
6 #include <winbase.h>
7 #include <winreg.h>
8 #include <winuser.h>
9 #include <winwlx.h>
10 #include <ndk/rtltypes.h>
11 #include <ndk/umfuncs.h>
12 
13 #define NDEBUG
14 #include <debug.h>
15 
16 VOID
18 
19 VOID
21 
22 BOOL
23 WINAPI
26  LPVOID lpReserved)
27 {
29  {
32  }
33  else if (dwReason == DLL_PROCESS_DETACH)
34  {
36  }
37  return TRUE;
38 }
#define TRUE
Definition: types.h:120
#define DLL_PROCESS_ATTACH
Definition: compat.h:120
DWORD dwReason
Definition: misc.cpp:154
unsigned int BOOL
Definition: ntddk_ex.h:94
#define DLL_PROCESS_DETACH
Definition: compat.h:119
BOOL WINAPI DllMain(HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
Definition: DllMain.c:6
VOID RtlpInitializeKeyedEvent(VOID)
Definition: condvar.c:459
#define WINAPI
Definition: msvc.h:8
unsigned long DWORD
Definition: ntddk_ex.h:95
VOID RtlpCloseKeyedEvent(VOID)
Definition: condvar.c:466
NTSTATUS NTAPI LdrDisableThreadCalloutsForDll(IN PVOID BaseAddress)
Definition: ldrapi.c:1187