Proton/lsteamclient/winISteamAppList.c
2024-02-15 15:53:26 +02:00

104 lines
4.2 KiB
C

/* This file is auto-generated, do not edit. */
#include "steamclient_private.h"
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)
{
struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps_params params =
{
.linux_side = _this->u_iface,
};
TRACE("%p\n", _this);
cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps( &params );
return params._ret;
}
uint32_t __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps(struct w_steam_iface *_this, uint32_t *pvecAppID, uint32_t unMaxAppIDs)
{
struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps_params params =
{
.linux_side = _this->u_iface,
.pvecAppID = pvecAppID,
.unMaxAppIDs = unMaxAppIDs,
};
TRACE("%p\n", _this);
cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps( &params );
return params._ret;
}
int32_t __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName(struct w_steam_iface *_this, uint32_t nAppID, char *pchName, int32_t cchNameMax)
{
struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName_params params =
{
.linux_side = _this->u_iface,
.nAppID = nAppID,
.pchName = pchName,
.cchNameMax = cchNameMax,
};
TRACE("%p\n", _this);
cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName( &params );
return params._ret;
}
int32_t __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir(struct w_steam_iface *_this, uint32_t nAppID, char *pchDirectory, int32_t cchNameMax)
{
struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir_params params =
{
.linux_side = _this->u_iface,
.nAppID = nAppID,
.pchDirectory = pchDirectory,
.cchNameMax = cchNameMax,
};
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;
}
int32_t __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId(struct w_steam_iface *_this, uint32_t nAppID)
{
struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId_params params =
{
.linux_side = _this->u_iface,
.nAppID = nAppID,
};
TRACE("%p\n", _this);
cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId( &params );
return params._ret;
}
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)
{
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMAPPLIST_INTERFACE_VERSION001");
TRACE("-> %p\n", r);
r->vtable = alloc_vtable(&winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_vtable, 5, "STEAMAPPLIST_INTERFACE_VERSION001");
r->u_iface = u_iface;
return r;
}