mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-30 16:45:36 +03:00
6b21c32d2a
CW-Bug-Id: #22729
114 lines
4.3 KiB
C
114 lines
4.3 KiB
C
/* 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 "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 __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( ¶ms );
|
|
return params._ret;
|
|
}
|
|
|
|
uint32 __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps(struct w_steam_iface *_this, AppId_t *pvecAppID, uint32 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( ¶ms );
|
|
return params._ret;
|
|
}
|
|
|
|
int __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName(struct w_steam_iface *_this, AppId_t nAppID, char *pchName, int 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( ¶ms );
|
|
return params._ret;
|
|
}
|
|
|
|
int __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir(struct w_steam_iface *_this, AppId_t nAppID, char *pchDirectory, int 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( ¶ms );
|
|
params._ret = steamclient_unix_path_to_dos_path( params._ret, pchDirectory, pchDirectory, cchNameMax, 0 );
|
|
return params._ret;
|
|
}
|
|
|
|
int __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId(struct w_steam_iface *_this, AppId_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( ¶ms );
|
|
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;
|
|
}
|
|
|