Proton/lsteamclient/winISteamAppList.c

107 lines
4.3 KiB
C
Raw Normal View History

2018-01-18 19:24:05 +03:00
/* This file is auto-generated, do not edit. */
#include "steamclient_private.h"
#include "steam_defs.h"
#include "struct_converters.h"
2018-01-18 19:24:05 +03:00
WINE_DEFAULT_DEBUG_CHANNEL(steamclient);
#include "cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.h"
DEFINE_THISCALL_WRAPPER(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps, 4)
DEFINE_THISCALL_WRAPPER(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps, 12)
DEFINE_THISCALL_WRAPPER(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName, 16)
DEFINE_THISCALL_WRAPPER(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir, 16)
DEFINE_THISCALL_WRAPPER(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId, 8)
uint32_t __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps(struct w_steam_iface *_this)
2018-01-18 19:24:05 +03:00
{
struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps_params params =
{
.linux_side = _this->u_iface,
};
2018-01-18 19:24:05 +03:00
TRACE("%p\n", _this);
cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
uint32_t __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps(struct w_steam_iface *_this, uint32_t *pvecAppID, uint32_t unMaxAppIDs)
2018-01-18 19:24:05 +03:00
{
struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps_params params =
{
.linux_side = _this->u_iface,
.pvecAppID = pvecAppID,
.unMaxAppIDs = unMaxAppIDs,
};
2018-01-18 19:24:05 +03:00
TRACE("%p\n", _this);
cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
int32_t __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName(struct w_steam_iface *_this, uint32_t nAppID, char *pchName, int32_t cchNameMax)
2018-01-18 19:24:05 +03:00
{
struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName_params params =
{
.linux_side = _this->u_iface,
.nAppID = nAppID,
.pchName = pchName,
.cchNameMax = cchNameMax,
};
2018-01-18 19:24:05 +03:00
TRACE("%p\n", _this);
cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
int32_t __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir(struct w_steam_iface *_this, uint32_t nAppID, char *pchDirectory, int32_t cchNameMax)
2018-01-18 19:24:05 +03:00
{
struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir_params params =
{
.linux_side = _this->u_iface,
.nAppID = nAppID,
.pchDirectory = pchDirectory,
.cchNameMax = cchNameMax,
};
2018-01-18 19:24:05 +03:00
TRACE("%p\n", _this);
cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir( &params );
params._ret = steamclient_unix_path_to_dos_path( params._ret, pchDirectory, pchDirectory, cchNameMax, 0 );
return params._ret;
2018-01-18 19:24:05 +03:00
}
int32_t __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId(struct w_steam_iface *_this, uint32_t nAppID)
2018-01-18 19:24:05 +03:00
{
struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId_params params =
{
.linux_side = _this->u_iface,
.nAppID = nAppID,
};
2018-01-18 19:24:05 +03:00
TRACE("%p\n", _this);
cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
extern vtable_ptr winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_vtable;
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001,
VTABLE_ADD_FUNC(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps)
VTABLE_ADD_FUNC(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps)
VTABLE_ADD_FUNC(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName)
VTABLE_ADD_FUNC(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir)
VTABLE_ADD_FUNC(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId)
);
#ifndef __GNUC__
}
#endif
struct w_steam_iface *create_winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001(void *u_iface)
2018-01-18 19:24:05 +03:00
{
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMAPPLIST_INTERFACE_VERSION001");
2018-01-18 19:24:05 +03:00
TRACE("-> %p\n", r);
r->vtable = alloc_vtable(&winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_vtable, 5, "STEAMAPPLIST_INTERFACE_VERSION001");
r->u_iface = u_iface;
2018-01-18 19:24:05 +03:00
return r;
}