Proton/lsteamclient/winISteamParties.c
2020-01-10 07:49:46 -06:00

141 lines
6.5 KiB
C

/* 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"
WINE_DEFAULT_DEBUG_CHANNEL(steamclient);
#include "cppISteamParties_SteamParties002.h"
typedef struct __winISteamParties_SteamParties002 {
vtable_ptr *vtable;
void *linux_side;
} winISteamParties_SteamParties002;
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetNumActiveBeacons, 4)
uint32 __thiscall winISteamParties_SteamParties002_GetNumActiveBeacons(winISteamParties_SteamParties002 *_this)
{
TRACE("%p\n", _this);
return cppISteamParties_SteamParties002_GetNumActiveBeacons(_this->linux_side);
}
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetBeaconByIndex, 8)
PartyBeaconID_t __thiscall winISteamParties_SteamParties002_GetBeaconByIndex(winISteamParties_SteamParties002 *_this, uint32 unIndex)
{
TRACE("%p\n", _this);
return cppISteamParties_SteamParties002_GetBeaconByIndex(_this->linux_side, unIndex);
}
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetBeaconDetails, 28)
bool __thiscall winISteamParties_SteamParties002_GetBeaconDetails(winISteamParties_SteamParties002 *_this, PartyBeaconID_t ulBeaconID, CSteamID * pSteamIDBeaconOwner, winSteamPartyBeaconLocation_t_147 * pLocation, char * pchMetadata, int cchMetadata)
{
TRACE("%p\n", _this);
return cppISteamParties_SteamParties002_GetBeaconDetails(_this->linux_side, ulBeaconID, pSteamIDBeaconOwner, pLocation, pchMetadata, cchMetadata);
}
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_JoinParty, 12)
SteamAPICall_t __thiscall winISteamParties_SteamParties002_JoinParty(winISteamParties_SteamParties002 *_this, PartyBeaconID_t ulBeaconID)
{
TRACE("%p\n", _this);
return cppISteamParties_SteamParties002_JoinParty(_this->linux_side, ulBeaconID);
}
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetNumAvailableBeaconLocations, 8)
bool __thiscall winISteamParties_SteamParties002_GetNumAvailableBeaconLocations(winISteamParties_SteamParties002 *_this, uint32 * puNumLocations)
{
TRACE("%p\n", _this);
return cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations(_this->linux_side, puNumLocations);
}
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetAvailableBeaconLocations, 12)
bool __thiscall winISteamParties_SteamParties002_GetAvailableBeaconLocations(winISteamParties_SteamParties002 *_this, winSteamPartyBeaconLocation_t_147 * pLocationList, uint32 uMaxNumLocations)
{
TRACE("%p\n", _this);
return cppISteamParties_SteamParties002_GetAvailableBeaconLocations(_this->linux_side, pLocationList, uMaxNumLocations);
}
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_CreateBeacon, 20)
SteamAPICall_t __thiscall winISteamParties_SteamParties002_CreateBeacon(winISteamParties_SteamParties002 *_this, uint32 unOpenSlots, winSteamPartyBeaconLocation_t_147 * pBeaconLocation, const char * pchConnectString, const char * pchMetadata)
{
TRACE("%p\n", _this);
return cppISteamParties_SteamParties002_CreateBeacon(_this->linux_side, unOpenSlots, pBeaconLocation, pchConnectString, pchMetadata);
}
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_OnReservationCompleted, 20)
void __thiscall winISteamParties_SteamParties002_OnReservationCompleted(winISteamParties_SteamParties002 *_this, PartyBeaconID_t ulBeacon, CSteamID steamIDUser)
{
TRACE("%p\n", _this);
cppISteamParties_SteamParties002_OnReservationCompleted(_this->linux_side, ulBeacon, steamIDUser);
}
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_CancelReservation, 20)
void __thiscall winISteamParties_SteamParties002_CancelReservation(winISteamParties_SteamParties002 *_this, PartyBeaconID_t ulBeacon, CSteamID steamIDUser)
{
TRACE("%p\n", _this);
cppISteamParties_SteamParties002_CancelReservation(_this->linux_side, ulBeacon, steamIDUser);
}
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_ChangeNumOpenSlots, 16)
SteamAPICall_t __thiscall winISteamParties_SteamParties002_ChangeNumOpenSlots(winISteamParties_SteamParties002 *_this, PartyBeaconID_t ulBeacon, uint32 unOpenSlots)
{
TRACE("%p\n", _this);
return cppISteamParties_SteamParties002_ChangeNumOpenSlots(_this->linux_side, ulBeacon, unOpenSlots);
}
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_DestroyBeacon, 12)
bool __thiscall winISteamParties_SteamParties002_DestroyBeacon(winISteamParties_SteamParties002 *_this, PartyBeaconID_t ulBeacon)
{
TRACE("%p\n", _this);
return cppISteamParties_SteamParties002_DestroyBeacon(_this->linux_side, ulBeacon);
}
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetBeaconLocationData, 28)
bool __thiscall winISteamParties_SteamParties002_GetBeaconLocationData(winISteamParties_SteamParties002 *_this, winSteamPartyBeaconLocation_t_147 BeaconLocation, ESteamPartyBeaconLocationData eData, char * pchDataStringOut, int cchDataStringOut)
{
TRACE("%p\n", _this);
return cppISteamParties_SteamParties002_GetBeaconLocationData(_this->linux_side, BeaconLocation, eData, pchDataStringOut, cchDataStringOut);
}
extern vtable_ptr winISteamParties_SteamParties002_vtable;
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winISteamParties_SteamParties002,
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_GetNumActiveBeacons)
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_GetBeaconByIndex)
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_GetBeaconDetails)
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_JoinParty)
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_GetNumAvailableBeaconLocations)
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_GetAvailableBeaconLocations)
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_CreateBeacon)
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_OnReservationCompleted)
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_CancelReservation)
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_ChangeNumOpenSlots)
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_DestroyBeacon)
VTABLE_ADD_FUNC(winISteamParties_SteamParties002_GetBeaconLocationData)
);
#ifndef __GNUC__
}
#endif
winISteamParties_SteamParties002 *create_winISteamParties_SteamParties002(void *linux_side)
{
winISteamParties_SteamParties002 *r = HeapAlloc(GetProcessHeap(), 0, sizeof(winISteamParties_SteamParties002));
TRACE("-> %p\n", r);
r->vtable = &winISteamParties_SteamParties002_vtable;
r->linux_side = linux_side;
return r;
}