ReactOS  0.4.15-dev-2534-geba00d1
redirtest2.c
Go to the documentation of this file.
1 
2 #include <windef.h>
3 #include <winbase.h>
4 
6 {
7  return 2;
8 }
9 
10 BOOL
11 WINAPI
12 DllMain(HINSTANCE hinstDll,
15 {
16  switch (dwReason)
17  {
18  case DLL_PROCESS_ATTACH:
19  DisableThreadLibraryCalls(hinstDll);
20  break;
21 
22  case DLL_PROCESS_DETACH:
23  break;
24  }
25 
26  return TRUE;
27 }
BOOL WINAPI DllMain(HINSTANCE hinstDll, DWORD dwReason, LPVOID reserved)
Definition: redirtest2.c:12
#define TRUE
Definition: types.h:120
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
DWORD WINAPI GetVersion()
Definition: redirtest2.c:5
DWORD dwReason
Definition: misc.cpp:154
unsigned int BOOL
Definition: ntddk_ex.h:94
r reserved
Definition: btrfs.c:2940
#define DLL_PROCESS_DETACH
Definition: compat.h:130
#define WINAPI
Definition: msvc.h:6
unsigned long DWORD
Definition: ntddk_ex.h:95