ReactOS  0.4.15-dev-1386-g5cb9f87
main.c File Reference
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
Include dependency graph for main.c:

Go to the source code of this file.

Functions

BOOL WINAPI DllMain (HINSTANCE instance, DWORD reason, LPVOID reserved)
 

Function Documentation

◆ DllMain()

BOOL WINAPI DllMain ( HINSTANCE  instance,
DWORD  reason,
LPVOID  reserved 
)

Definition at line 25 of file main.c.

26 {
27  switch (reason)
28  {
29  case DLL_WINE_PREATTACH:
30  return FALSE; /* prefer native version */
31  case DLL_PROCESS_ATTACH:
33  break;
34  }
35 
36  return TRUE;
37 }
#define TRUE
Definition: types.h:120
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
#define FALSE
Definition: types.h:117
static WCHAR reason[MAX_STRING_RESOURCE_LEN]
Definition: object.c:1904
static HINSTANCE instance
Definition: main.c:40