ReactOS  0.4.15-dev-499-g1f31905
05-stubs.c
Go to the documentation of this file.
1 /* This file is autogenerated, do not edit. */
2 
3 #include <stubs.h>
4 #include <wine/debug.h>
5 #include <inttypes.h>
7 
8 extern int __stdcall StdcallFunction(long a0);
9 
10 int __stdcall $relaytrace$StdcallFunction(long a0)
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 }
20 
21 extern int __stdcall Stdcalli386x64();
22 
23 int __stdcall $relaytrace$Stdcalli386x64()
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 }
33 
34 extern int __stdcall StdcallVersionRange(long a0, long a1, wchar_t* a2, wchar_t* a3);
35 
36 int __stdcall $relaytrace$StdcallVersionRange(long a0, long a1, wchar_t* a2, wchar_t* a3)
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 }
46 
48 {
49  DbgPrint("WARNING: calling stub StubFunction()\n");
51  return 0;
52 }
53 
55 {
56  DbgPrint("WARNING: calling stub StdcallSuccessStub(0x%p)\n", (void*)a0);
57  return 0;
58 }
59 
WINE_DECLARE_DEBUG_CHANNEL(relay)
static const struct update_accum a3
Definition: msg.c:600
#define DbgPrint
Definition: loader.c:25
int __stdcall StdcallFunction(long a0)
int __stdcall $relaytrace $StdcallFunction(long a0)
Definition: 05-stubs.c:10
int __stdcall Stdcalli386x64()
static const struct update_accum a2
Definition: msg.c:586
#define __stdcall
Definition: typedefs.h:25
#define __wine_spec_unimplemented_stub(module, function)
Definition: stubs.h:25
int StubFunction()
Definition: 05-stubs.c:47
int __stdcall $relaytrace $StdcallVersionRange(long a0, long a1, wchar_t *a2, wchar_t *a3)
Definition: 05-stubs.c:36
#define DPRINTF
Definition: debug.h:413
int __stdcall StdcallSuccessStub(void *a0)
Definition: 05-stubs.c:54
static const struct update_accum a1
Definition: msg.c:578
#define __FUNCTION__
Definition: types.h:112
#define TRACE_ON(x)
Definition: compat.h:65
int __stdcall $relaytrace $Stdcalli386x64()
Definition: 05-stubs.c:23
int __stdcall StdcallVersionRange(long a0, long a1, wchar_t *a2, wchar_t *a3)