2020-03-18 19:50:21 +01:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#include "vrclient_private.h"
|
|
|
|
|
|
|
|
#include "flatapi.h"
|
|
|
|
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(vrclient);
|
|
|
|
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRMailbox_IVRMailbox_001_undoc1, 12)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRMailbox_IVRMailbox_001_undoc2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRMailbox_IVRMailbox_001_undoc3, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRMailbox_IVRMailbox_001_undoc4, 24)
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winIVRMailbox_IVRMailbox_001_undoc1(struct w_steam_iface *_this, const char *a, uint64_t *b)
|
2020-03-18 19:50:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRMailbox_IVRMailbox_001_undoc1_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.a = a,
|
|
|
|
.b = b,
|
|
|
|
};
|
2020-03-18 19:50:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRMailbox_IVRMailbox_001_undoc1, ¶ms );
|
2023-09-27 11:05:52 +02:00
|
|
|
return params._ret;
|
2020-03-18 19:50:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winIVRMailbox_IVRMailbox_001_undoc2(struct w_steam_iface *_this, uint64_t a)
|
2020-03-18 19:50:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRMailbox_IVRMailbox_001_undoc2_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.a = a,
|
|
|
|
};
|
2020-03-18 19:50:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRMailbox_IVRMailbox_001_undoc2, ¶ms );
|
2023-09-27 11:05:52 +02:00
|
|
|
return params._ret;
|
2020-03-18 19:50:21 +01:00
|
|
|
}
|
|
|
|
|
2023-10-02 22:19:36 +02:00
|
|
|
uint32_t __thiscall winIVRMailbox_IVRMailbox_001_undoc3(struct w_steam_iface *_this, uint64_t a, const char *b, const char *c)
|
|
|
|
{
|
|
|
|
struct IVRMailbox_IVRMailbox_001_undoc3_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.a = a,
|
|
|
|
.b = b,
|
|
|
|
.c = c,
|
|
|
|
};
|
|
|
|
TRACE("%p\n", _this);
|
|
|
|
VRCLIENT_CALL( IVRMailbox_IVRMailbox_001_undoc3, ¶ms );
|
|
|
|
return params._ret;
|
|
|
|
}
|
2020-03-18 19:50:21 +01:00
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winIVRMailbox_IVRMailbox_001_undoc4(struct w_steam_iface *_this, uint64_t a, char *b, uint32_t c, uint32_t *d)
|
2020-03-18 19:50:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRMailbox_IVRMailbox_001_undoc4_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.a = a,
|
|
|
|
.b = b,
|
|
|
|
.c = c,
|
|
|
|
.d = d,
|
|
|
|
};
|
2020-03-18 19:50:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRMailbox_IVRMailbox_001_undoc4, ¶ms );
|
2023-09-27 11:05:52 +02:00
|
|
|
return params._ret;
|
2020-03-18 19:50:21 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
extern vtable_ptr winIVRMailbox_IVRMailbox_001_vtable;
|
|
|
|
|
2023-10-02 20:00:22 +02:00
|
|
|
DEFINE_RTTI_DATA0(winIVRMailbox_IVRMailbox_001, 0, ".?AVIVRMailbox@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winIVRMailbox_IVRMailbox_001_vtables)
|
2020-03-18 19:50:21 +01:00
|
|
|
__ASM_VTABLE(winIVRMailbox_IVRMailbox_001,
|
|
|
|
VTABLE_ADD_FUNC(winIVRMailbox_IVRMailbox_001_undoc1)
|
|
|
|
VTABLE_ADD_FUNC(winIVRMailbox_IVRMailbox_001_undoc2)
|
|
|
|
VTABLE_ADD_FUNC(winIVRMailbox_IVRMailbox_001_undoc3)
|
|
|
|
VTABLE_ADD_FUNC(winIVRMailbox_IVRMailbox_001_undoc4)
|
|
|
|
);
|
2023-10-02 20:00:22 +02:00
|
|
|
__ASM_BLOCK_END
|
2020-03-18 19:50:21 +01:00
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winIVRMailbox_IVRMailbox_001(void *u_iface)
|
2020-03-18 19:50:21 +01:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
|
2020-03-18 19:50:21 +01:00
|
|
|
TRACE("-> %p\n", r);
|
|
|
|
r->vtable = &winIVRMailbox_IVRMailbox_001_vtable;
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2020-03-18 19:50:21 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void destroy_winIVRMailbox_IVRMailbox_001(struct w_steam_iface *object)
|
2020-03-18 19:50:21 +01:00
|
|
|
{
|
|
|
|
TRACE("%p\n", object);
|
|
|
|
HeapFree(GetProcessHeap(), 0, object);
|
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winIVRMailbox_IVRMailbox_001_FnTable(void *u_iface)
|
2020-03-18 19:50:21 +01:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
|
2020-03-18 19:50:21 +01:00
|
|
|
struct thunk *thunks = alloc_thunks(4);
|
|
|
|
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 4 * sizeof(*vtable));
|
|
|
|
int i;
|
|
|
|
|
|
|
|
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
|
|
|
init_thunk(&thunks[0], r, winIVRMailbox_IVRMailbox_001_undoc1, 2, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[1], r, winIVRMailbox_IVRMailbox_001_undoc2, 1, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[2], r, winIVRMailbox_IVRMailbox_001_undoc3, 3, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[3], r, winIVRMailbox_IVRMailbox_001_undoc4, 4, FALSE, FALSE);
|
|
|
|
for (i = 0; i < 4; i++)
|
|
|
|
vtable[i] = &thunks[i];
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2020-03-18 19:50:21 +01:00
|
|
|
r->vtable = (void *)vtable;
|
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void destroy_winIVRMailbox_IVRMailbox_001_FnTable(struct w_steam_iface *object)
|
2020-03-18 19:50:21 +01:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
TRACE("%p\n", object);
|
|
|
|
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
|
|
|
|
HeapFree(GetProcessHeap(), 0, object->vtable);
|
|
|
|
HeapFree(GetProcessHeap(), 0, object);
|
2020-03-18 19:50:21 +01:00
|
|
|
}
|
|
|
|
|
2023-10-02 20:00:22 +02:00
|
|
|
void init_winIVRMailbox_rtti( char *base )
|
|
|
|
{
|
|
|
|
#ifdef __x86_64__
|
|
|
|
init_winIVRMailbox_IVRMailbox_001_rtti( base );
|
|
|
|
#endif /* __x86_64__ */
|
|
|
|
}
|