ReactOS 0.4.15-dev-7958-gcd0bb1a
msvc-thiscall.c
Go to the documentation of this file.
1#include "wincodecs_private.h"
2
3#undef DEFINE_THISCALL_WRAPPER
4#define DEFINE_THISCALL_WRAPPER(func,args) \
5 typedef struct {int x[args/4];} _tag_##func; \
6 void __stdcall func(_tag_##func p1); \
7 __declspec(naked) void __stdcall __thiscall_##func(_tag_##func p1) \
8 { \
9 __asm pop eax \
10 __asm push ecx \
11 __asm push eax \
12 __asm jmp func \
13 }
14
DECLSPEC_HIDDEN void WINAPI IMILUnknown1Impl_unknown1(IMILUnknown1 *iface, void *arg)
Definition: bitmap.c:678
DECLSPEC_HIDDEN HRESULT WINAPI IMILUnknown1Impl_unknown8(IMILUnknown1 *iface)
Definition: bitmap.c:719
DECLSPEC_HIDDEN HRESULT WINAPI IMILUnknown1Impl_unknown3(IMILUnknown1 *iface, void *arg)
Definition: bitmap.c:689
#define DEFINE_THISCALL_WRAPPER(func, args)
Definition: msvc-thiscall.c:2