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

Go to the source code of this file.

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (pidgen)
 
BOOL WINAPI DllMain (HINSTANCE hinst, DWORD reason, LPVOID reserved)
 
int WINAPI PIDGenSimpA (LPCSTR str, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8)
 
int WINAPI PIDGenSimpW (const WCHAR *str, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8)
 

Function Documentation

◆ DllMain()

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

Definition at line 30 of file main.c.

31 {
32  TRACE("(%p, %d, %p)\n", hinst, reason, reserved);
33 
34  switch(reason)
35  {
36  case DLL_WINE_PREATTACH:
37  return FALSE; /* prefer native version */
38 
39  case DLL_PROCESS_ATTACH:
41  break;
42  }
43  return TRUE;
44 }
#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
r reserved
Definition: btrfs.c:2940
#define TRACE(s)
Definition: solgame.cpp:4
static WCHAR reason[MAX_STRING_RESOURCE_LEN]
Definition: object.c:1904
static HINSTANCE hinst
Definition: edit.c:551

◆ PIDGenSimpA()

int WINAPI PIDGenSimpA ( LPCSTR  str,
int  p1,
int  p2,
int  p3,
int  p4,
int  p5,
int  p6,
int  p7,
int  p8 
)

Definition at line 46 of file main.c.

47 {
48  FIXME("%s,%d,%d,%d,%d,%d,%d,%d,%d\n", debugstr_a(str), p1, p2, p3, p4, p5, p6, p7, p8);
49 
50  return 0;
51 }
#define FIXME(fmt,...)
Definition: debug.h:111
const WCHAR * str
#define debugstr_a
Definition: kernel32.h:31

◆ PIDGenSimpW()

int WINAPI PIDGenSimpW ( const WCHAR str,
int  p1,
int  p2,
int  p3,
int  p4,
int  p5,
int  p6,
int  p7,
int  p8 
)

Definition at line 53 of file main.c.

54 {
55  FIXME("%s,%d,%d,%d,%d,%d,%d,%d,%d\n", debugstr_w(str), p1, p2, p3, p4, p5, p6, p7, p8);
56 
57  return 0;
58 }
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:111
const WCHAR * str

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( pidgen  )