ReactOS  0.4.15-dev-3302-ga37d9a4
xmllite_main.c File Reference
#include "config.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
Include dependency graph for xmllite_main.c:

Go to the source code of this file.

Functions

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

Function Documentation

◆ DllMain()

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

Definition at line 31 of file xmllite_main.c.

32 {
33  TRACE("(%p, %u, %p)\n", hinstDLL, fdwReason, lpvReserved);
34 
35  switch (fdwReason)
36  {
37  case DLL_WINE_PREATTACH:
38  return FALSE; /* prefer native version */
39  case DLL_PROCESS_ATTACH:
40  DisableThreadLibraryCalls(hinstDLL);
41  break;
42  }
43 
44  return TRUE;
45 }
#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 ( xmllite  )