ReactOS  0.4.15-dev-2344-g8ddbfde
redirtest1.c File Reference
#include <windef.h>
#include <winbase.h>
Include dependency graph for redirtest1.c:

Go to the source code of this file.

Functions

DWORD WINAPI GetVersion ()
 
BOOL WINAPI DllMain (HINSTANCE hinstDll, DWORD dwReason, LPVOID reserved)
 

Function Documentation

◆ DllMain()

BOOL WINAPI DllMain ( HINSTANCE  hinstDll,
DWORD  dwReason,
LPVOID  reserved 
)

Definition at line 12 of file redirtest1.c.

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 }
#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 dwReason
Definition: misc.cpp:154
#define DLL_PROCESS_DETACH
Definition: compat.h:130

◆ GetVersion()

DWORD WINAPI GetVersion ( void  )

Definition at line 5 of file redirtest1.c.

6 {
7  return 1;
8 }