ReactOS  0.4.15-dev-2993-g14fbe80
resutils.c File Reference
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
Include dependency graph for resutils.c:

Go to the source code of this file.

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (resutils)
 
BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
 

Function Documentation

◆ DllMain()

BOOL WINAPI DllMain ( HINSTANCE  hinstDLL,
DWORD  fdwReason,
LPVOID  lpvReserved 
)

Definition at line 34 of file resutils.c.

35 {
36  TRACE("(0x%p, %d, %p)\n",hinstDLL,fdwReason,lpvReserved);
37 
38  switch(fdwReason)
39  {
40  case DLL_WINE_PREATTACH:
41  return FALSE; /* prefer native version */
42  case DLL_PROCESS_ATTACH:
43  DisableThreadLibraryCalls( hinstDLL );
44  break;
45  }
46 
47  return TRUE;
48 }
#define TRUE
Definition: types.h:120
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
static IN DWORD IN LPVOID lpvReserved
#define FALSE
Definition: types.h:117
#define TRACE(s)
Definition: solgame.cpp:4

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( resutils  )