Proton/lsteamclient/winISteamParties.c

155 lines
6.6 KiB
C
Raw Normal View History

2019-02-25 18:50:52 +03:00
/* This file is auto-generated, do not edit. */
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
#include "steam_defs.h"
#include "steamclient_private.h"
#include "struct_converters.h"
WINE_DEFAULT_DEBUG_CHANNEL(steamclient);
#include "cppISteamParties_SteamParties002.h"
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetNumActiveBeacons, 4)
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetBeaconByIndex, 8)
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetBeaconDetails, 28)
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_JoinParty, 12)
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetNumAvailableBeaconLocations, 8)
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetAvailableBeaconLocations, 12)
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_CreateBeacon, 20)
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_OnReservationCompleted, 20)
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_CancelReservation, 20)
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_ChangeNumOpenSlots, 16)
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_DestroyBeacon, 12)
DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetBeaconLocationData, 28)
uint32 __thiscall winISteamParties_SteamParties002_GetNumActiveBeacons(struct w_steam_iface *_this)
2019-02-25 18:50:52 +03:00
{
uint32 _ret;
2019-02-25 18:50:52 +03:00
TRACE("%p\n", _this);
_ret = cppISteamParties_SteamParties002_GetNumActiveBeacons(_this->u_iface);
return _ret;
2019-02-25 18:50:52 +03:00
}
PartyBeaconID_t __thiscall winISteamParties_SteamParties002_GetBeaconByIndex(struct w_steam_iface *_this, uint32 unIndex)
2019-02-25 18:50:52 +03:00
{
PartyBeaconID_t _ret;
2019-02-25 18:50:52 +03:00
TRACE("%p\n", _this);
_ret = cppISteamParties_SteamParties002_GetBeaconByIndex(_this->u_iface, unIndex);
return _ret;
2019-02-25 18:50:52 +03:00
}
bool __thiscall winISteamParties_SteamParties002_GetBeaconDetails(struct w_steam_iface *_this, PartyBeaconID_t ulBeaconID, CSteamID *pSteamIDBeaconOwner, winSteamPartyBeaconLocation_t_158 *pLocation, char *pchMetadata, int cchMetadata)
2019-02-25 18:50:52 +03:00
{
bool _ret;
2019-02-25 18:50:52 +03:00
TRACE("%p\n", _this);
_ret = cppISteamParties_SteamParties002_GetBeaconDetails(_this->u_iface, ulBeaconID, pSteamIDBeaconOwner, pLocation, pchMetadata, cchMetadata);
return _ret;
2019-02-25 18:50:52 +03:00
}
SteamAPICall_t __thiscall winISteamParties_SteamParties002_JoinParty(struct w_steam_iface *_this, PartyBeaconID_t ulBeaconID)
2019-02-25 18:50:52 +03:00
{
SteamAPICall_t _ret;
2019-02-25 18:50:52 +03:00
TRACE("%p\n", _this);
_ret = cppISteamParties_SteamParties002_JoinParty(_this->u_iface, ulBeaconID);
return _ret;
2019-02-25 18:50:52 +03:00
}
bool __thiscall winISteamParties_SteamParties002_GetNumAvailableBeaconLocations(struct w_steam_iface *_this, uint32 *puNumLocations)
2019-02-25 18:50:52 +03:00
{
bool _ret;
2019-02-25 18:50:52 +03:00
TRACE("%p\n", _this);
_ret = cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations(_this->u_iface, puNumLocations);
return _ret;
2019-02-25 18:50:52 +03:00
}
bool __thiscall winISteamParties_SteamParties002_GetAvailableBeaconLocations(struct w_steam_iface *_this, winSteamPartyBeaconLocation_t_158 *pLocationList, uint32 uMaxNumLocations)
2019-02-25 18:50:52 +03:00
{
bool _ret;
2019-02-25 18:50:52 +03:00
TRACE("%p\n", _this);
_ret = cppISteamParties_SteamParties002_GetAvailableBeaconLocations(_this->u_iface, pLocationList, uMaxNumLocations);
return _ret;
2019-02-25 18:50:52 +03:00
}
SteamAPICall_t __thiscall winISteamParties_SteamParties002_CreateBeacon(struct w_steam_iface *_this, uint32 unOpenSlots, winSteamPartyBeaconLocation_t_158 *pBeaconLocation, const char *pchConnectString, const char *pchMetadata)
2019-02-25 18:50:52 +03:00
{
SteamAPICall_t _ret;
2019-02-25 18:50:52 +03:00
TRACE("%p\n", _this);
_ret = cppISteamParties_SteamParties002_CreateBeacon(_this->u_iface, unOpenSlots, pBeaconLocation, pchConnectString, pchMetadata);
return _ret;
2019-02-25 18:50:52 +03:00
}
void __thiscall winISteamParties_SteamParties002_OnReservationCompleted(struct w_steam_iface *_this, PartyBeaconID_t ulBeacon, CSteamID steamIDUser)
2019-02-25 18:50:52 +03:00
{
TRACE("%p\n", _this);
cppISteamParties_SteamParties002_OnReservationCompleted(_this->u_iface, ulBeacon, steamIDUser);
2019-02-25 18:50:52 +03:00
}
void __thiscall winISteamParties_SteamParties002_CancelReservation(struct w_steam_iface *_this, PartyBeaconID_t ulBeacon, CSteamID steamIDUser)
2019-02-25 18:50:52 +03:00
{
TRACE("%p\n", _this);
cppISteamParties_SteamParties002_CancelReservation(_this->u_iface, ulBeacon, steamIDUser);
2019-02-25 18:50:52 +03:00
}
SteamAPICall_t __thiscall winISteamParties_SteamParties002_ChangeNumOpenSlots(struct w_steam_iface *_this, PartyBeaconID_t ulBeacon, uint32 unOpenSlots)
2019-02-25 18:50:52 +03:00
{
SteamAPICall_t _ret;
2019-02-25 18:50:52 +03:00
TRACE("%p\n", _this);
_ret = cppISteamParties_SteamParties002_ChangeNumOpenSlots(_this->u_iface, ulBeacon, unOpenSlots);
return _ret;
2019-02-25 18:50:52 +03:00
}
bool __thiscall winISteamParties_SteamParties002_DestroyBeacon(struct w_steam_iface *_this, PartyBeaconID_t ulBeacon)
2019-02-25 18:50:52 +03:00
{
bool _ret;
2019-02-25 18:50:52 +03:00
TRACE("%p\n", _this);
_ret = cppISteamParties_SteamParties002_DestroyBeacon(_this->u_iface, ulBeacon);
return _ret;
2019-02-25 18:50:52 +03:00
}
bool __thiscall winISteamParties_SteamParties002_GetBeaconLocationData(struct w_steam_iface *_this, winSteamPartyBeaconLocation_t_158 BeaconLocation, ESteamPartyBeaconLocationData eData, char *pchDataStringOut, int cchDataStringOut)
2019-02-25 18:50:52 +03:00
{
bool _ret;
2019-02-25 18:50:52 +03:00
TRACE("%p\n", _this);
_ret = cppISteamParties_SteamParties002_GetBeaconLocationData(_this->u_iface, BeaconLocation, eData, pchDataStringOut, cchDataStringOut);
return _ret;
2019-02-25 18:50:52 +03:00
}
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
struct w_steam_iface *create_winISteamParties_SteamParties002(void *u_iface)
2019-02-25 18:50:52 +03:00
{
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamParties002");
2019-02-25 18:50:52 +03:00
TRACE("-> %p\n", r);
r->vtable = alloc_vtable(&winISteamParties_SteamParties002_vtable, 12, "SteamParties002");
r->u_iface = u_iface;
2019-02-25 18:50:52 +03:00
return r;
}