ReactOS 0.4.16-dev-197-g92996da
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
16VOID
19
20VOID
23
24BOOL
28 LPVOID lpReserved)
29{
31 {
34 }
35 else if (dwReason == DLL_PROCESS_DETACH)
36 {
38 }
39 return TRUE;
40}
DWORD dwReason
Definition: misc.cpp:141
#define TRUE
Definition: types.h:120
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
#define DLL_PROCESS_DETACH
Definition: compat.h:130
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
NTSTATUS NTAPI LdrDisableThreadCalloutsForDll(_In_ PVOID BaseAddress)
Definition: ldrapi.c:1154
BOOL WINAPI DllMain(HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
Definition: DllMain.c:26
VOID NTAPI RtlpCloseKeyedEvent(VOID)
Definition: condvar.c:468
VOID NTAPI RtlpInitializeKeyedEvent(VOID)
Definition: condvar.c:460
#define NTAPI
Definition: typedefs.h:36
#define WINAPI
Definition: msvc.h:6