2018-01-18 19:24:05 +03:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "steamclient_private.h"
|
|
|
|
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(steamclient);
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot, 20)
|
2023-09-23 21:52:28 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser, 16)
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot(struct w_steam_iface *_this, void *pubRGB, uint32_t cubRGB, int32_t nWidth, int32_t nHeight)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pubRGB = pubRGB,
|
|
|
|
.cubRGB = cubRGB,
|
|
|
|
.nWidth = nWidth,
|
|
|
|
.nHeight = nHeight,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary(struct w_steam_iface *_this, const char *pchFilename, const char *pchThumbnailFilename, int32_t nWidth, int32_t nHeight)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchFilename = pchFilename,
|
|
|
|
.pchThumbnailFilename = pchThumbnailFilename,
|
|
|
|
.nWidth = nWidth,
|
|
|
|
.nHeight = nHeight,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot, ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots(struct w_steam_iface *_this, bool bHook)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.bHook = bHook,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots, ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation(struct w_steam_iface *_this, uint32_t hScreenshot, const char *pchLocation)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hScreenshot = hScreenshot,
|
|
|
|
.pchLocation = pchLocation,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser(struct w_steam_iface *_this, uint32_t hScreenshot, CSteamID steamID)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hScreenshot = hScreenshot,
|
|
|
|
.steamID = steamID,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
extern vtable_ptr winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_vtable;
|
2018-01-18 19:24:05 +03:00
|
|
|
|
2022-10-22 22:22:27 +03:00
|
|
|
DEFINE_RTTI_DATA0(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001, 0, ".?AVISteamScreenshots@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_vtables)
|
2023-09-21 00:58:12 +03:00
|
|
|
__ASM_VTABLE(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001,
|
|
|
|
VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot)
|
|
|
|
VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary)
|
|
|
|
VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot)
|
|
|
|
VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots)
|
|
|
|
VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation)
|
|
|
|
VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser)
|
2018-01-18 19:24:05 +03:00
|
|
|
);
|
2022-10-22 22:22:27 +03:00
|
|
|
__ASM_BLOCK_END
|
2018-01-18 19:24:05 +03:00
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001(void *u_iface)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMSCREENSHOTS_INTERFACE_VERSION001");
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-21 00:58:12 +03:00
|
|
|
r->vtable = alloc_vtable(&winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_vtable, 6, "STEAMSCREENSHOTS_INTERFACE_VERSION001");
|
2023-09-24 15:50:45 +03:00
|
|
|
r->u_iface = u_iface;
|
2018-01-18 19:24:05 +03:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot, 20)
|
2023-09-23 21:52:28 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile, 16)
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot(struct w_steam_iface *_this, void *pubRGB, uint32_t cubRGB, int32_t nWidth, int32_t nHeight)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pubRGB = pubRGB,
|
|
|
|
.cubRGB = cubRGB,
|
|
|
|
.nWidth = nWidth,
|
|
|
|
.nHeight = nHeight,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary(struct w_steam_iface *_this, const char *pchFilename, const char *pchThumbnailFilename, int32_t nWidth, int32_t nHeight)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchFilename = pchFilename,
|
|
|
|
.pchThumbnailFilename = pchThumbnailFilename,
|
|
|
|
.nWidth = nWidth,
|
|
|
|
.nHeight = nHeight,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot, ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots(struct w_steam_iface *_this, bool bHook)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.bHook = bHook,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots, ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation(struct w_steam_iface *_this, uint32_t hScreenshot, const char *pchLocation)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hScreenshot = hScreenshot,
|
|
|
|
.pchLocation = pchLocation,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser(struct w_steam_iface *_this, uint32_t hScreenshot, CSteamID steamID)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hScreenshot = hScreenshot,
|
|
|
|
.steamID = steamID,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile(struct w_steam_iface *_this, uint32_t hScreenshot, uint64_t unPublishedFileID)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hScreenshot = hScreenshot,
|
|
|
|
.unPublishedFileID = unPublishedFileID,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
extern vtable_ptr winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_vtable;
|
|
|
|
|
2022-10-22 22:22:27 +03:00
|
|
|
DEFINE_RTTI_DATA0(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002, 0, ".?AVISteamScreenshots@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_vtables)
|
2018-01-18 19:24:05 +03:00
|
|
|
__ASM_VTABLE(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002,
|
|
|
|
VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot)
|
|
|
|
VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary)
|
|
|
|
VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot)
|
|
|
|
VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots)
|
|
|
|
VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation)
|
|
|
|
VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser)
|
|
|
|
VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile)
|
|
|
|
);
|
2022-10-22 22:22:27 +03:00
|
|
|
__ASM_BLOCK_END
|
2018-01-18 19:24:05 +03:00
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002(void *u_iface)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMSCREENSHOTS_INTERFACE_VERSION002");
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("-> %p\n", r);
|
2022-06-24 06:02:39 +03:00
|
|
|
r->vtable = alloc_vtable(&winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_vtable, 7, "STEAMSCREENSHOTS_INTERFACE_VERSION002");
|
2023-09-24 15:50:45 +03:00
|
|
|
r->u_iface = u_iface;
|
2018-01-18 19:24:05 +03:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot, 20)
|
2023-09-23 21:52:28 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary, 16)
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot(struct w_steam_iface *_this, void *pubRGB, uint32_t cubRGB, int32_t nWidth, int32_t nHeight)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pubRGB = pubRGB,
|
|
|
|
.cubRGB = cubRGB,
|
|
|
|
.nWidth = nWidth,
|
|
|
|
.nHeight = nHeight,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary(struct w_steam_iface *_this, const char *pchFilename, const char *pchThumbnailFilename, int32_t nWidth, int32_t nHeight)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchFilename = pchFilename,
|
|
|
|
.pchThumbnailFilename = pchThumbnailFilename,
|
|
|
|
.nWidth = nWidth,
|
|
|
|
.nHeight = nHeight,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot, ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots(struct w_steam_iface *_this, bool bHook)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.bHook = bHook,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots, ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation(struct w_steam_iface *_this, uint32_t hScreenshot, const char *pchLocation)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hScreenshot = hScreenshot,
|
|
|
|
.pchLocation = pchLocation,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser(struct w_steam_iface *_this, uint32_t hScreenshot, CSteamID steamID)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hScreenshot = hScreenshot,
|
|
|
|
.steamID = steamID,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile(struct w_steam_iface *_this, uint32_t hScreenshot, uint64_t unPublishedFileID)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hScreenshot = hScreenshot,
|
|
|
|
.unPublishedFileID = unPublishedFileID,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked(struct w_steam_iface *_this)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary(struct w_steam_iface *_this, uint32_t eType, const char *pchFilename, const char *pchVRFilename)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eType = eType,
|
|
|
|
.pchFilename = pchFilename,
|
|
|
|
.pchVRFilename = pchVRFilename,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
extern vtable_ptr winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_vtable;
|
2018-01-18 19:24:05 +03:00
|
|
|
|
2022-10-22 22:22:27 +03:00
|
|
|
DEFINE_RTTI_DATA0(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003, 0, ".?AVISteamScreenshots@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_vtables)
|
2023-09-21 00:58:12 +03:00
|
|
|
__ASM_VTABLE(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003,
|
|
|
|
VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot)
|
|
|
|
VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary)
|
|
|
|
VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot)
|
|
|
|
VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots)
|
|
|
|
VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation)
|
|
|
|
VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser)
|
|
|
|
VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile)
|
|
|
|
VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked)
|
|
|
|
VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary)
|
2018-01-18 19:24:05 +03:00
|
|
|
);
|
2022-10-22 22:22:27 +03:00
|
|
|
__ASM_BLOCK_END
|
2018-01-18 19:24:05 +03:00
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003(void *u_iface)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMSCREENSHOTS_INTERFACE_VERSION003");
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-21 00:58:12 +03:00
|
|
|
r->vtable = alloc_vtable(&winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_vtable, 9, "STEAMSCREENSHOTS_INTERFACE_VERSION003");
|
2023-09-24 15:50:45 +03:00
|
|
|
r->u_iface = u_iface;
|
2018-01-18 19:24:05 +03:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2022-10-22 22:22:27 +03:00
|
|
|
void init_winISteamScreenshots_rtti( char *base )
|
|
|
|
{
|
|
|
|
#ifdef __x86_64__
|
|
|
|
init_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_rtti( base );
|
|
|
|
init_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_rtti( base );
|
|
|
|
init_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_rtti( base );
|
|
|
|
#endif /* __x86_64__ */
|
|
|
|
}
|