ReactOS  0.4.14-dev-1314-gacf135d
05-stubs.c File Reference
#include <stubs.h>
#include <wine/debug.h>
#include <inttypes.h>
Include dependency graph for 05-stubs.c:

Go to the source code of this file.

Functions

 WINE_DECLARE_DEBUG_CHANNEL (relay)
 
int __stdcall StdcallFunction (long a0)
 
int __stdcall $relaytrace $StdcallFunction (long a0)
 
int __stdcall Stdcalli386x64 ()
 
int __stdcall $relaytrace $Stdcalli386x64 ()
 
int __stdcall StdcallVersionRange (long a0, long a1, wchar_t *a2, wchar_t *a3)
 
int __stdcall $relaytrace $StdcallVersionRange (long a0, long a1, wchar_t *a2, wchar_t *a3)
 
int StubFunction ()
 
int __stdcall StdcallSuccessStub (void *a0)
 

Function Documentation

◆ $StdcallFunction()

int __stdcall $relaytrace $StdcallFunction ( long  a0)

Definition at line 10 of file 05-stubs.c.

11 {
12  int retval;
13  if (TRACE_ON(relay))
14  DPRINTF("testdll.xyz: StdcallFunction(0x%lx)\n", (long)a0);
15  retval = StdcallFunction(a0);
16  if (TRACE_ON(relay))
17  DPRINTF("testdll.xyz: StdcallFunction: retval = 0x%lx\n", retval);
18  return retval;
19 }
int __stdcall StdcallFunction(long a0)
#define DPRINTF
Definition: debug.h:413
#define TRACE_ON(x)
Definition: compat.h:65

◆ $Stdcalli386x64()

int __stdcall $relaytrace $Stdcalli386x64 ( )

Definition at line 23 of file 05-stubs.c.

24 {
25  int retval;
26  if (TRACE_ON(relay))
27  DPRINTF("testdll.xyz: Stdcalli386x64()\n");
28  retval = Stdcalli386x64();
29  if (TRACE_ON(relay))
30  DPRINTF("testdll.xyz: Stdcalli386x64: retval = 0x%lx\n", retval);
31  return retval;
32 }
int __stdcall Stdcalli386x64()
#define DPRINTF
Definition: debug.h:413
#define TRACE_ON(x)
Definition: compat.h:65

◆ $StdcallVersionRange()

int __stdcall $relaytrace $StdcallVersionRange ( long  a0,
long  a1,
wchar_t a2,
wchar_t a3 
)

Definition at line 36 of file 05-stubs.c.

37 {
38  int retval;
39  if (TRACE_ON(relay))
40  DPRINTF("testdll.xyz: StdcallVersionRange(0x%lx,0x%lx,'%ws','%ws')\n", (long)a0, (long)a1, (wchar_t*)a2, (wchar_t*)a3);
41  retval = StdcallVersionRange(a0, a1, a2, a3);
42  if (TRACE_ON(relay))
43  DPRINTF("testdll.xyz: StdcallVersionRange: retval = 0x%lx\n", retval);
44  return retval;
45 }
static const struct update_accum a3
Definition: msg.c:600
static const struct update_accum a2
Definition: msg.c:586
#define DPRINTF
Definition: debug.h:413
static const struct update_accum a1
Definition: msg.c:578
#define TRACE_ON(x)
Definition: compat.h:65
int __stdcall StdcallVersionRange(long a0, long a1, wchar_t *a2, wchar_t *a3)

◆ StdcallFunction()

int __stdcall StdcallFunction ( long  a0)

Referenced by $StdcallFunction().

◆ Stdcalli386x64()

int __stdcall Stdcalli386x64 ( )

Referenced by $Stdcalli386x64().

◆ StdcallSuccessStub()

int __stdcall StdcallSuccessStub ( void a0)

Definition at line 54 of file 05-stubs.c.

55 {
56  DbgPrint("WARNING: calling stub StdcallSuccessStub(0x%p)\n", (void*)a0);
57  return 0;
58 }
#define DbgPrint
Definition: loader.c:25

◆ StdcallVersionRange()

int __stdcall StdcallVersionRange ( long  a0,
long  a1,
wchar_t a2,
wchar_t a3 
)

Referenced by $StdcallVersionRange().

◆ StubFunction()

int StubFunction ( )

Definition at line 47 of file 05-stubs.c.

48 {
49  DbgPrint("WARNING: calling stub StubFunction()\n");
51  return 0;
52 }
#define DbgPrint
Definition: loader.c:25
#define __wine_spec_unimplemented_stub(module, function)
Definition: stubs.h:25
#define __FUNCTION__
Definition: types.h:112

◆ WINE_DECLARE_DEBUG_CHANNEL()

WINE_DECLARE_DEBUG_CHANNEL ( relay  )