ReactOS  0.4.15-dev-2985-g54406bf
cryptdll.c File Reference
#include <stdarg.h>
#include <stdlib.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
Include dependency graph for cryptdll.c:

Go to the source code of this file.

Functions

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

Function Documentation

◆ DllMain()

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

Definition at line 27 of file cryptdll.c.

28 {
29  TRACE("%p,%x,%p\n", hinstDLL, fdwReason, lpvReserved);
30 
31  switch (fdwReason) {
32  case DLL_WINE_PREATTACH:
33  return FALSE; /* prefer native version */
34  case DLL_PROCESS_ATTACH:
35  DisableThreadLibraryCalls(hinstDLL);
36  break;
37  }
38 
39  return TRUE;
40 }
#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 ( cryptdll  )