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

Go to the source code of this file.

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (wldap32)
 
BOOL WINAPI DllMain (HINSTANCE hinst, DWORD reason, LPVOID reserved)
 

Variables

HINSTANCE hwldap32
 

Function Documentation

◆ DllMain()

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

Definition at line 33 of file main.c.

34 {
35  TRACE( "(%p, %d, %p)\n", hinst, reason, reserved );
36 
37  switch (reason)
38  {
39  case DLL_PROCESS_ATTACH:
40  hwldap32 = hinst;
42  break;
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
r reserved
Definition: btrfs.c:2940
#define TRACE(s)
Definition: solgame.cpp:4
static WCHAR reason[MAX_STRING_RESOURCE_LEN]
Definition: object.c:1904
HINSTANCE hwldap32
Definition: main.c:29
static HINSTANCE hinst
Definition: edit.c:551

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( wldap32  )

Variable Documentation

◆ hwldap32

HINSTANCE hwldap32

Definition at line 29 of file main.c.

Referenced by DllMain(), ldap_err2stringA(), and ldap_err2stringW().