Proton/lsteamclient/winISteamGameCoordinator.c

76 lines
2.9 KiB
C
Raw Normal View History

2018-01-18 19:24:05 +03:00
/* This file is auto-generated, do not edit. */
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
#include "cxx.h"
#include "steam_defs.h"
#include "steamclient_private.h"
#include "struct_converters.h"
2018-01-18 19:24:05 +03:00
WINE_DEFAULT_DEBUG_CHANNEL(steamclient);
#include "cppISteamGameCoordinator_SteamGameCoordinator001.h"
typedef struct __winISteamGameCoordinator_SteamGameCoordinator001 {
vtable_ptr *vtable;
void *linux_side;
} winISteamGameCoordinator_SteamGameCoordinator001;
DEFINE_THISCALL_WRAPPER(winISteamGameCoordinator_SteamGameCoordinator001_SendMessage, 16)
DEFINE_THISCALL_WRAPPER(winISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable, 8)
DEFINE_THISCALL_WRAPPER(winISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage, 20)
EGCResults __thiscall winISteamGameCoordinator_SteamGameCoordinator001_SendMessage(winISteamGameCoordinator_SteamGameCoordinator001 *_this, uint32 unMsgType, const void *pubData, uint32 cubData)
2018-01-18 19:24:05 +03:00
{
EGCResults _ret;
2018-01-18 19:24:05 +03:00
TRACE("%p\n", _this);
_ret = cppISteamGameCoordinator_SteamGameCoordinator001_SendMessage(_this->linux_side, unMsgType, pubData, cubData);
return _ret;
2018-01-18 19:24:05 +03:00
}
bool __thiscall winISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable(winISteamGameCoordinator_SteamGameCoordinator001 *_this, uint32 *pcubMsgSize)
2018-01-18 19:24:05 +03:00
{
bool _ret;
2018-01-18 19:24:05 +03:00
TRACE("%p\n", _this);
_ret = cppISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable(_this->linux_side, pcubMsgSize);
return _ret;
2018-01-18 19:24:05 +03:00
}
EGCResults __thiscall winISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage(winISteamGameCoordinator_SteamGameCoordinator001 *_this, uint32 *punMsgType, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize)
2018-01-18 19:24:05 +03:00
{
EGCResults _ret;
2018-01-18 19:24:05 +03:00
TRACE("%p\n", _this);
_ret = cppISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage(_this->linux_side, punMsgType, pubDest, cubDest, pcubMsgSize);
return _ret;
2018-01-18 19:24:05 +03:00
}
extern vtable_ptr winISteamGameCoordinator_SteamGameCoordinator001_vtable;
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winISteamGameCoordinator_SteamGameCoordinator001,
VTABLE_ADD_FUNC(winISteamGameCoordinator_SteamGameCoordinator001_SendMessage)
VTABLE_ADD_FUNC(winISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable)
VTABLE_ADD_FUNC(winISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage)
);
#ifndef __GNUC__
}
#endif
winISteamGameCoordinator_SteamGameCoordinator001 *create_winISteamGameCoordinator_SteamGameCoordinator001(void *linux_side)
{
winISteamGameCoordinator_SteamGameCoordinator001 *r = alloc_mem_for_iface(sizeof(winISteamGameCoordinator_SteamGameCoordinator001), "SteamGameCoordinator001");
2018-01-18 19:24:05 +03:00
TRACE("-> %p\n", r);
r->vtable = alloc_vtable(&winISteamGameCoordinator_SteamGameCoordinator001_vtable, 3, "SteamGameCoordinator001");
2018-01-18 19:24:05 +03:00
r->linux_side = linux_side;
return r;
}