2018-01-18 19:24:05 +03:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "steamclient_private.h"
|
|
|
|
|
2023-09-18 00:16:30 +03:00
|
|
|
#include "steam_defs.h"
|
2019-02-26 18:05:29 +03:00
|
|
|
#include "struct_converters.h"
|
|
|
|
|
2018-01-18 19:24:05 +03:00
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(steamclient);
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
#include "cppISteamUtils_SteamUtils002.h"
|
2020-09-29 17:19:06 +03:00
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetSecondsSinceAppActive, 4)
|
2023-09-23 21:52:28 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetSecondsSinceComputerActive, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetConnectedUniverse, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetServerRealTime, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetIPCountry, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetImageSize, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetImageRGBA, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetCSERIPPort, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetCurrentBatteryPower, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetAppID, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_SetOverlayNotificationPosition, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_IsAPICallCompleted, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetAPICallFailureReason, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetAPICallResult, 28)
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils002_GetSecondsSinceAppActive(struct w_steam_iface *_this)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils002_GetSecondsSinceAppActive_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils002_GetSecondsSinceAppActive( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils002_GetSecondsSinceComputerActive(struct w_steam_iface *_this)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils002_GetSecondsSinceComputerActive_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils002_GetSecondsSinceComputerActive( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils002_GetConnectedUniverse(struct w_steam_iface *_this)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils002_GetConnectedUniverse_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils002_GetConnectedUniverse( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils002_GetServerRealTime(struct w_steam_iface *_this)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils002_GetServerRealTime_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils002_GetServerRealTime( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
const char * __thiscall winISteamUtils_SteamUtils002_GetIPCountry(struct w_steam_iface *_this)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils002_GetIPCountry_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils002_GetIPCountry( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils002_GetImageSize(struct w_steam_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils002_GetImageSize_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iImage = iImage,
|
|
|
|
.pnWidth = pnWidth,
|
|
|
|
.pnHeight = pnHeight,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils002_GetImageSize( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils002_GetImageRGBA(struct w_steam_iface *_this, int32_t iImage, uint8_t *pubDest, int32_t nDestBufferSize)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils002_GetImageRGBA_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iImage = iImage,
|
|
|
|
.pubDest = pubDest,
|
|
|
|
.nDestBufferSize = nDestBufferSize,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils002_GetImageRGBA( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils002_GetCSERIPPort(struct w_steam_iface *_this, uint32_t *unIP, uint16_t *usPort)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils002_GetCSERIPPort_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.unIP = unIP,
|
|
|
|
.usPort = usPort,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils002_GetCSERIPPort( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint8_t __thiscall winISteamUtils_SteamUtils002_GetCurrentBatteryPower(struct w_steam_iface *_this)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils002_GetCurrentBatteryPower_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils002_GetCurrentBatteryPower( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils002_GetAppID(struct w_steam_iface *_this)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils002_GetAppID_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils002_GetAppID( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils002_SetOverlayNotificationPosition(struct w_steam_iface *_this, uint32_t eNotificationPosition)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils002_SetOverlayNotificationPosition_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eNotificationPosition = eNotificationPosition,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils002_SetOverlayNotificationPosition( ¶ms );
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils002_IsAPICallCompleted(struct w_steam_iface *_this, uint64_t hSteamAPICall, bool *pbFailed)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils002_IsAPICallCompleted_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
.pbFailed = pbFailed,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils002_IsAPICallCompleted( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils002_GetAPICallFailureReason(struct w_steam_iface *_this, uint64_t hSteamAPICall)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils002_GetAPICallFailureReason_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils002_GetAPICallFailureReason( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils002_GetAPICallResult(struct w_steam_iface *_this, uint64_t hSteamAPICall, void *pCallback, int32_t cubCallback, int32_t iCallbackExpected, bool *pbFailed)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils002_GetAPICallResult_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
.pCallback = pCallback,
|
|
|
|
.cubCallback = cubCallback,
|
|
|
|
.iCallbackExpected = iCallbackExpected,
|
|
|
|
.pbFailed = pbFailed,
|
|
|
|
};
|
|
|
|
int w_callback_len = cubCallback;
|
|
|
|
void *w_callback = pCallback;
|
|
|
|
TRACE("%p\n", _this);
|
|
|
|
if (!(params.pCallback = alloc_callback_wtou(iCallbackExpected, w_callback, ¶ms.cubCallback))) return FALSE;
|
|
|
|
cppISteamUtils_SteamUtils002_GetAPICallResult( ¶ms );
|
|
|
|
if (params._ret && params.pCallback != w_callback)
|
2023-09-23 21:55:11 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
convert_callback_utow(iCallbackExpected, params.pCallback, params.cubCallback, w_callback, w_callback_len);
|
|
|
|
HeapFree(GetProcessHeap(), 0, params.pCallback);
|
2023-09-23 21:55:11 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
extern vtable_ptr winISteamUtils_SteamUtils002_vtable;
|
2020-09-29 17:19:06 +03:00
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
|
|
|
__ASM_VTABLE(winISteamUtils_SteamUtils002,
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetSecondsSinceAppActive)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetSecondsSinceComputerActive)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetConnectedUniverse)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetServerRealTime)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetIPCountry)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetImageSize)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetImageRGBA)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetCSERIPPort)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetCurrentBatteryPower)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetAppID)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_SetOverlayNotificationPosition)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_IsAPICallCompleted)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetAPICallFailureReason)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetAPICallResult)
|
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
2023-09-21 00:58:12 +03:00
|
|
|
#endif
|
2020-09-29 17:19:06 +03:00
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *create_winISteamUtils_SteamUtils002(void *u_iface)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUtils002");
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("-> %p\n", r);
|
|
|
|
r->vtable = alloc_vtable(&winISteamUtils_SteamUtils002_vtable, 14, "SteamUtils002");
|
2023-09-24 15:50:45 +03:00
|
|
|
r->u_iface = u_iface;
|
2023-09-21 00:58:12 +03:00
|
|
|
return r;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
#include "cppISteamUtils_SteamUtils004.h"
|
2020-09-29 17:19:06 +03:00
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetSecondsSinceAppActive, 4)
|
2023-09-23 21:52:28 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetSecondsSinceComputerActive, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetConnectedUniverse, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetServerRealTime, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetIPCountry, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetImageSize, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetImageRGBA, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetCSERIPPort, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetCurrentBatteryPower, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetAppID, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_SetOverlayNotificationPosition, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_IsAPICallCompleted, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetAPICallFailureReason, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetAPICallResult, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_RunFrame, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetIPCCallCount, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_SetWarningMessageHook, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_IsOverlayEnabled, 4)
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils004_GetSecondsSinceAppActive(struct w_steam_iface *_this)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils004_GetSecondsSinceAppActive_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils004_GetSecondsSinceAppActive( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils004_GetSecondsSinceComputerActive(struct w_steam_iface *_this)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils004_GetSecondsSinceComputerActive_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils004_GetSecondsSinceComputerActive( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils004_GetConnectedUniverse(struct w_steam_iface *_this)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils004_GetConnectedUniverse_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils004_GetConnectedUniverse( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils004_GetServerRealTime(struct w_steam_iface *_this)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils004_GetServerRealTime_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils004_GetServerRealTime( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
const char * __thiscall winISteamUtils_SteamUtils004_GetIPCountry(struct w_steam_iface *_this)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils004_GetIPCountry_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils004_GetIPCountry( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils004_GetImageSize(struct w_steam_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils004_GetImageSize_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iImage = iImage,
|
|
|
|
.pnWidth = pnWidth,
|
|
|
|
.pnHeight = pnHeight,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils004_GetImageSize( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils004_GetImageRGBA(struct w_steam_iface *_this, int32_t iImage, uint8_t *pubDest, int32_t nDestBufferSize)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils004_GetImageRGBA_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iImage = iImage,
|
|
|
|
.pubDest = pubDest,
|
|
|
|
.nDestBufferSize = nDestBufferSize,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils004_GetImageRGBA( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils004_GetCSERIPPort(struct w_steam_iface *_this, uint32_t *unIP, uint16_t *usPort)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils004_GetCSERIPPort_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.unIP = unIP,
|
|
|
|
.usPort = usPort,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils004_GetCSERIPPort( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint8_t __thiscall winISteamUtils_SteamUtils004_GetCurrentBatteryPower(struct w_steam_iface *_this)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils004_GetCurrentBatteryPower_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils004_GetCurrentBatteryPower( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils004_GetAppID(struct w_steam_iface *_this)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils004_GetAppID_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils004_GetAppID( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils004_SetOverlayNotificationPosition(struct w_steam_iface *_this, uint32_t eNotificationPosition)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils004_SetOverlayNotificationPosition_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eNotificationPosition = eNotificationPosition,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils004_SetOverlayNotificationPosition( ¶ms );
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils004_IsAPICallCompleted(struct w_steam_iface *_this, uint64_t hSteamAPICall, bool *pbFailed)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils004_IsAPICallCompleted_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
.pbFailed = pbFailed,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils004_IsAPICallCompleted( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils004_GetAPICallFailureReason(struct w_steam_iface *_this, uint64_t hSteamAPICall)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils004_GetAPICallFailureReason_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils004_GetAPICallFailureReason( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils004_GetAPICallResult(struct w_steam_iface *_this, uint64_t hSteamAPICall, void *pCallback, int32_t cubCallback, int32_t iCallbackExpected, bool *pbFailed)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils004_GetAPICallResult_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
.pCallback = pCallback,
|
|
|
|
.cubCallback = cubCallback,
|
|
|
|
.iCallbackExpected = iCallbackExpected,
|
|
|
|
.pbFailed = pbFailed,
|
|
|
|
};
|
|
|
|
int w_callback_len = cubCallback;
|
|
|
|
void *w_callback = pCallback;
|
|
|
|
TRACE("%p\n", _this);
|
|
|
|
if (!(params.pCallback = alloc_callback_wtou(iCallbackExpected, w_callback, ¶ms.cubCallback))) return FALSE;
|
|
|
|
cppISteamUtils_SteamUtils004_GetAPICallResult( ¶ms );
|
|
|
|
if (params._ret && params.pCallback != w_callback)
|
2023-09-23 21:55:11 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
convert_callback_utow(iCallbackExpected, params.pCallback, params.cubCallback, w_callback, w_callback_len);
|
|
|
|
HeapFree(GetProcessHeap(), 0, params.pCallback);
|
2023-09-23 21:55:11 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils004_RunFrame(struct w_steam_iface *_this)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils004_RunFrame_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils004_RunFrame( ¶ms );
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils004_GetIPCCallCount(struct w_steam_iface *_this)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils004_GetIPCCallCount_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils004_GetIPCCallCount( ¶ms );
|
|
|
|
return params._ret;
|
2020-09-29 17:19:06 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 22:30:14 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils004_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *))
|
2021-09-15 22:52:44 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils004_SetWarningMessageHook_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pFunction = pFunction,
|
|
|
|
};
|
2021-09-15 22:52:44 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils004_SetWarningMessageHook( ¶ms );
|
2021-09-15 22:52:44 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils004_IsOverlayEnabled(struct w_steam_iface *_this)
|
2021-09-15 22:52:44 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils004_IsOverlayEnabled_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2021-09-15 22:52:44 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils004_IsOverlayEnabled( ¶ms );
|
|
|
|
return params._ret;
|
2021-09-15 22:52:44 +03:00
|
|
|
}
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
extern vtable_ptr winISteamUtils_SteamUtils004_vtable;
|
2020-09-29 17:19:06 +03:00
|
|
|
|
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
2023-09-21 00:58:12 +03:00
|
|
|
__ASM_VTABLE(winISteamUtils_SteamUtils004,
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetSecondsSinceAppActive)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetSecondsSinceComputerActive)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetConnectedUniverse)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetServerRealTime)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetIPCountry)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetImageSize)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetImageRGBA)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetCSERIPPort)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetCurrentBatteryPower)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetAppID)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_SetOverlayNotificationPosition)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_IsAPICallCompleted)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetAPICallFailureReason)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetAPICallResult)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_RunFrame)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetIPCCallCount)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_SetWarningMessageHook)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_IsOverlayEnabled)
|
2020-09-29 17:19:06 +03:00
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *create_winISteamUtils_SteamUtils004(void *u_iface)
|
2020-09-29 17:19:06 +03:00
|
|
|
{
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUtils004");
|
2020-09-29 17:19:06 +03:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-21 00:58:12 +03:00
|
|
|
r->vtable = alloc_vtable(&winISteamUtils_SteamUtils004_vtable, 18, "SteamUtils004");
|
2023-09-24 15:50:45 +03:00
|
|
|
r->u_iface = u_iface;
|
2020-09-29 17:19:06 +03:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
#include "cppISteamUtils_SteamUtils005.h"
|
2018-01-18 19:24:05 +03:00
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetSecondsSinceAppActive, 4)
|
2023-09-23 21:52:28 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetSecondsSinceComputerActive, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetConnectedUniverse, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetServerRealTime, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetIPCountry, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetImageSize, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetImageRGBA, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetCSERIPPort, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetCurrentBatteryPower, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetAppID, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_SetOverlayNotificationPosition, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_IsAPICallCompleted, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetAPICallFailureReason, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetAPICallResult, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_RunFrame, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetIPCCallCount, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_SetWarningMessageHook, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_IsOverlayEnabled, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_BOverlayNeedsPresent, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_CheckFileSignature, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_ShowGamepadTextInput, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetEnteredGamepadTextLength, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetEnteredGamepadTextInput, 12)
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils005_GetSecondsSinceAppActive(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_GetSecondsSinceAppActive_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils005_GetSecondsSinceAppActive( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils005_GetSecondsSinceComputerActive(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_GetSecondsSinceComputerActive_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils005_GetSecondsSinceComputerActive( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils005_GetConnectedUniverse(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_GetConnectedUniverse_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils005_GetConnectedUniverse( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils005_GetServerRealTime(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_GetServerRealTime_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils005_GetServerRealTime( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
const char * __thiscall winISteamUtils_SteamUtils005_GetIPCountry(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_GetIPCountry_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils005_GetIPCountry( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils005_GetImageSize(struct w_steam_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_GetImageSize_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iImage = iImage,
|
|
|
|
.pnWidth = pnWidth,
|
|
|
|
.pnHeight = pnHeight,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils005_GetImageSize( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils005_GetImageRGBA(struct w_steam_iface *_this, int32_t iImage, uint8_t *pubDest, int32_t nDestBufferSize)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_GetImageRGBA_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iImage = iImage,
|
|
|
|
.pubDest = pubDest,
|
|
|
|
.nDestBufferSize = nDestBufferSize,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils005_GetImageRGBA( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils005_GetCSERIPPort(struct w_steam_iface *_this, uint32_t *unIP, uint16_t *usPort)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_GetCSERIPPort_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.unIP = unIP,
|
|
|
|
.usPort = usPort,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils005_GetCSERIPPort( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint8_t __thiscall winISteamUtils_SteamUtils005_GetCurrentBatteryPower(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_GetCurrentBatteryPower_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils005_GetCurrentBatteryPower( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils005_GetAppID(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_GetAppID_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils005_GetAppID( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils005_SetOverlayNotificationPosition(struct w_steam_iface *_this, uint32_t eNotificationPosition)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_SetOverlayNotificationPosition_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eNotificationPosition = eNotificationPosition,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils005_SetOverlayNotificationPosition( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils005_IsAPICallCompleted(struct w_steam_iface *_this, uint64_t hSteamAPICall, bool *pbFailed)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_IsAPICallCompleted_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
.pbFailed = pbFailed,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils005_IsAPICallCompleted( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils005_GetAPICallFailureReason(struct w_steam_iface *_this, uint64_t hSteamAPICall)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_GetAPICallFailureReason_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils005_GetAPICallFailureReason( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils005_GetAPICallResult(struct w_steam_iface *_this, uint64_t hSteamAPICall, void *pCallback, int32_t cubCallback, int32_t iCallbackExpected, bool *pbFailed)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_GetAPICallResult_params params =
|
2023-09-23 21:55:11 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
.pCallback = pCallback,
|
|
|
|
.cubCallback = cubCallback,
|
|
|
|
.iCallbackExpected = iCallbackExpected,
|
|
|
|
.pbFailed = pbFailed,
|
|
|
|
};
|
|
|
|
int w_callback_len = cubCallback;
|
|
|
|
void *w_callback = pCallback;
|
|
|
|
TRACE("%p\n", _this);
|
|
|
|
if (!(params.pCallback = alloc_callback_wtou(iCallbackExpected, w_callback, ¶ms.cubCallback))) return FALSE;
|
|
|
|
cppISteamUtils_SteamUtils005_GetAPICallResult( ¶ms );
|
|
|
|
if (params._ret && params.pCallback != w_callback)
|
|
|
|
{
|
|
|
|
convert_callback_utow(iCallbackExpected, params.pCallback, params.cubCallback, w_callback, w_callback_len);
|
|
|
|
HeapFree(GetProcessHeap(), 0, params.pCallback);
|
2023-09-23 21:55:11 +03:00
|
|
|
}
|
|
|
|
|
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 winISteamUtils_SteamUtils005_RunFrame(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_RunFrame_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils005_RunFrame( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils005_GetIPCCallCount(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_GetIPCCallCount_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils005_GetIPCCallCount( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 22:30:14 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils005_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *))
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_SetWarningMessageHook_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pFunction = pFunction,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils005_SetWarningMessageHook( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils005_IsOverlayEnabled(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_IsOverlayEnabled_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils005_IsOverlayEnabled( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils005_BOverlayNeedsPresent(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_BOverlayNeedsPresent_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils005_BOverlayNeedsPresent( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint64_t __thiscall winISteamUtils_SteamUtils005_CheckFileSignature(struct w_steam_iface *_this, const char *szFileName)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_CheckFileSignature_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.szFileName = szFileName,
|
|
|
|
};
|
|
|
|
params.szFileName = steamclient_dos_to_unix_path( szFileName, 0 );
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils005_CheckFileSignature( ¶ms );
|
|
|
|
steamclient_free_path( params.szFileName );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils005_ShowGamepadTextInput(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_ShowGamepadTextInput_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eInputMode = eInputMode,
|
|
|
|
.eLineInputMode = eLineInputMode,
|
|
|
|
.pchDescription = pchDescription,
|
|
|
|
.unCharMax = unCharMax,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils005_ShowGamepadTextInput( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils005_GetEnteredGamepadTextLength(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_GetEnteredGamepadTextLength_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils005_GetEnteredGamepadTextLength( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils005_GetEnteredGamepadTextInput(struct w_steam_iface *_this, char *pchText, uint32_t cchText)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils005_GetEnteredGamepadTextInput_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchText = pchText,
|
|
|
|
.cchText = cchText,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils005_GetEnteredGamepadTextInput( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
extern vtable_ptr winISteamUtils_SteamUtils005_vtable;
|
2018-01-18 19:24:05 +03:00
|
|
|
|
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
2023-09-21 00:58:12 +03:00
|
|
|
__ASM_VTABLE(winISteamUtils_SteamUtils005,
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetSecondsSinceAppActive)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetSecondsSinceComputerActive)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetConnectedUniverse)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetServerRealTime)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetIPCountry)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetImageSize)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetImageRGBA)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetCSERIPPort)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetCurrentBatteryPower)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetAppID)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_SetOverlayNotificationPosition)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_IsAPICallCompleted)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetAPICallFailureReason)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetAPICallResult)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_RunFrame)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetIPCCallCount)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_SetWarningMessageHook)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_IsOverlayEnabled)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_BOverlayNeedsPresent)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_CheckFileSignature)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_ShowGamepadTextInput)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetEnteredGamepadTextLength)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetEnteredGamepadTextInput)
|
2018-01-18 19:24:05 +03:00
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *create_winISteamUtils_SteamUtils005(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), "SteamUtils005");
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-21 00:58:12 +03:00
|
|
|
r->vtable = alloc_vtable(&winISteamUtils_SteamUtils005_vtable, 23, "SteamUtils005");
|
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
|
|
|
#include "cppISteamUtils_SteamUtils006.h"
|
2018-01-18 19:24:05 +03:00
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetSecondsSinceAppActive, 4)
|
2023-09-23 21:52:28 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetSecondsSinceComputerActive, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetConnectedUniverse, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetServerRealTime, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetIPCountry, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetImageSize, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetImageRGBA, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetCSERIPPort, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetCurrentBatteryPower, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetAppID, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_SetOverlayNotificationPosition, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_IsAPICallCompleted, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetAPICallFailureReason, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetAPICallResult, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_RunFrame, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetIPCCallCount, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_SetWarningMessageHook, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_IsOverlayEnabled, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_BOverlayNeedsPresent, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_CheckFileSignature, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_ShowGamepadTextInput, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetEnteredGamepadTextLength, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetEnteredGamepadTextInput, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetSteamUILanguage, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_IsSteamRunningInVR, 4)
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils006_GetSecondsSinceAppActive(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_GetSecondsSinceAppActive_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_GetSecondsSinceAppActive( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils006_GetSecondsSinceComputerActive(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_GetSecondsSinceComputerActive_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_GetSecondsSinceComputerActive( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils006_GetConnectedUniverse(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_GetConnectedUniverse_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_GetConnectedUniverse( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils006_GetServerRealTime(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_GetServerRealTime_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_GetServerRealTime( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
const char * __thiscall winISteamUtils_SteamUtils006_GetIPCountry(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_GetIPCountry_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_GetIPCountry( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils006_GetImageSize(struct w_steam_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_GetImageSize_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iImage = iImage,
|
|
|
|
.pnWidth = pnWidth,
|
|
|
|
.pnHeight = pnHeight,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_GetImageSize( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils006_GetImageRGBA(struct w_steam_iface *_this, int32_t iImage, uint8_t *pubDest, int32_t nDestBufferSize)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_GetImageRGBA_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iImage = iImage,
|
|
|
|
.pubDest = pubDest,
|
|
|
|
.nDestBufferSize = nDestBufferSize,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_GetImageRGBA( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils006_GetCSERIPPort(struct w_steam_iface *_this, uint32_t *unIP, uint16_t *usPort)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_GetCSERIPPort_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.unIP = unIP,
|
|
|
|
.usPort = usPort,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_GetCSERIPPort( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint8_t __thiscall winISteamUtils_SteamUtils006_GetCurrentBatteryPower(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_GetCurrentBatteryPower_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_GetCurrentBatteryPower( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils006_GetAppID(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_GetAppID_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_GetAppID( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils006_SetOverlayNotificationPosition(struct w_steam_iface *_this, uint32_t eNotificationPosition)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_SetOverlayNotificationPosition_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eNotificationPosition = eNotificationPosition,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_SetOverlayNotificationPosition( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils006_IsAPICallCompleted(struct w_steam_iface *_this, uint64_t hSteamAPICall, bool *pbFailed)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_IsAPICallCompleted_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
.pbFailed = pbFailed,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_IsAPICallCompleted( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils006_GetAPICallFailureReason(struct w_steam_iface *_this, uint64_t hSteamAPICall)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_GetAPICallFailureReason_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_GetAPICallFailureReason( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils006_GetAPICallResult(struct w_steam_iface *_this, uint64_t hSteamAPICall, void *pCallback, int32_t cubCallback, int32_t iCallbackExpected, bool *pbFailed)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_GetAPICallResult_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
.pCallback = pCallback,
|
|
|
|
.cubCallback = cubCallback,
|
|
|
|
.iCallbackExpected = iCallbackExpected,
|
|
|
|
.pbFailed = pbFailed,
|
|
|
|
};
|
|
|
|
int w_callback_len = cubCallback;
|
|
|
|
void *w_callback = pCallback;
|
|
|
|
TRACE("%p\n", _this);
|
|
|
|
if (!(params.pCallback = alloc_callback_wtou(iCallbackExpected, w_callback, ¶ms.cubCallback))) return FALSE;
|
|
|
|
cppISteamUtils_SteamUtils006_GetAPICallResult( ¶ms );
|
|
|
|
if (params._ret && params.pCallback != w_callback)
|
2023-09-23 21:55:11 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
convert_callback_utow(iCallbackExpected, params.pCallback, params.cubCallback, w_callback, w_callback_len);
|
|
|
|
HeapFree(GetProcessHeap(), 0, params.pCallback);
|
2023-09-23 21:55:11 +03:00
|
|
|
}
|
|
|
|
|
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 winISteamUtils_SteamUtils006_RunFrame(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_RunFrame_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_RunFrame( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils006_GetIPCCallCount(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_GetIPCCallCount_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_GetIPCCallCount( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 22:30:14 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils006_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *))
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_SetWarningMessageHook_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pFunction = pFunction,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_SetWarningMessageHook( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils006_IsOverlayEnabled(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_IsOverlayEnabled_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_IsOverlayEnabled( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils006_BOverlayNeedsPresent(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_BOverlayNeedsPresent_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_BOverlayNeedsPresent( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint64_t __thiscall winISteamUtils_SteamUtils006_CheckFileSignature(struct w_steam_iface *_this, const char *szFileName)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_CheckFileSignature_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.szFileName = szFileName,
|
|
|
|
};
|
|
|
|
params.szFileName = steamclient_dos_to_unix_path( szFileName, 0 );
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_CheckFileSignature( ¶ms );
|
|
|
|
steamclient_free_path( params.szFileName );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils006_ShowGamepadTextInput(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_ShowGamepadTextInput_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eInputMode = eInputMode,
|
|
|
|
.eLineInputMode = eLineInputMode,
|
|
|
|
.pchDescription = pchDescription,
|
|
|
|
.unCharMax = unCharMax,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_ShowGamepadTextInput( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils006_GetEnteredGamepadTextLength(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_GetEnteredGamepadTextLength_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_GetEnteredGamepadTextLength( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils006_GetEnteredGamepadTextInput(struct w_steam_iface *_this, char *pchText, uint32_t cchText)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_GetEnteredGamepadTextInput_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchText = pchText,
|
|
|
|
.cchText = cchText,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_GetEnteredGamepadTextInput( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
const char * __thiscall winISteamUtils_SteamUtils006_GetSteamUILanguage(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_GetSteamUILanguage_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_GetSteamUILanguage( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils006_IsSteamRunningInVR(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils006_IsSteamRunningInVR_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils006_IsSteamRunningInVR( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
extern vtable_ptr winISteamUtils_SteamUtils006_vtable;
|
2018-01-18 19:24:05 +03:00
|
|
|
|
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
2023-09-21 00:58:12 +03:00
|
|
|
__ASM_VTABLE(winISteamUtils_SteamUtils006,
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetSecondsSinceAppActive)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetSecondsSinceComputerActive)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetConnectedUniverse)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetServerRealTime)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetIPCountry)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetImageSize)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetImageRGBA)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetCSERIPPort)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetCurrentBatteryPower)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetAppID)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_SetOverlayNotificationPosition)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_IsAPICallCompleted)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetAPICallFailureReason)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetAPICallResult)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_RunFrame)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetIPCCallCount)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_SetWarningMessageHook)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_IsOverlayEnabled)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_BOverlayNeedsPresent)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_CheckFileSignature)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_ShowGamepadTextInput)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetEnteredGamepadTextLength)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetEnteredGamepadTextInput)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetSteamUILanguage)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_IsSteamRunningInVR)
|
2018-01-18 19:24:05 +03:00
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *create_winISteamUtils_SteamUtils006(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), "SteamUtils006");
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-21 00:58:12 +03:00
|
|
|
r->vtable = alloc_vtable(&winISteamUtils_SteamUtils006_vtable, 25, "SteamUtils006");
|
2023-09-24 15:50:45 +03:00
|
|
|
r->u_iface = u_iface;
|
2018-01-18 19:24:05 +03:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
#include "cppISteamUtils_SteamUtils007.h"
|
|
|
|
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetSecondsSinceAppActive, 4)
|
2023-09-23 21:52:28 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetSecondsSinceComputerActive, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetConnectedUniverse, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetServerRealTime, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetIPCountry, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetImageSize, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetImageRGBA, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetCSERIPPort, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetCurrentBatteryPower, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetAppID, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_SetOverlayNotificationPosition, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_IsAPICallCompleted, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetAPICallFailureReason, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetAPICallResult, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_RunFrame, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetIPCCallCount, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_SetWarningMessageHook, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_IsOverlayEnabled, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_BOverlayNeedsPresent, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_CheckFileSignature, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_ShowGamepadTextInput, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetEnteredGamepadTextLength, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetEnteredGamepadTextInput, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetSteamUILanguage, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_IsSteamRunningInVR, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_SetOverlayNotificationInset, 12)
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils007_GetSecondsSinceAppActive(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_GetSecondsSinceAppActive_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_GetSecondsSinceAppActive( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils007_GetSecondsSinceComputerActive(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_GetSecondsSinceComputerActive_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_GetSecondsSinceComputerActive( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils007_GetConnectedUniverse(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_GetConnectedUniverse_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_GetConnectedUniverse( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils007_GetServerRealTime(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_GetServerRealTime_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_GetServerRealTime( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
const char * __thiscall winISteamUtils_SteamUtils007_GetIPCountry(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_GetIPCountry_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_GetIPCountry( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils007_GetImageSize(struct w_steam_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_GetImageSize_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iImage = iImage,
|
|
|
|
.pnWidth = pnWidth,
|
|
|
|
.pnHeight = pnHeight,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_GetImageSize( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils007_GetImageRGBA(struct w_steam_iface *_this, int32_t iImage, uint8_t *pubDest, int32_t nDestBufferSize)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_GetImageRGBA_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iImage = iImage,
|
|
|
|
.pubDest = pubDest,
|
|
|
|
.nDestBufferSize = nDestBufferSize,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_GetImageRGBA( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils007_GetCSERIPPort(struct w_steam_iface *_this, uint32_t *unIP, uint16_t *usPort)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_GetCSERIPPort_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.unIP = unIP,
|
|
|
|
.usPort = usPort,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_GetCSERIPPort( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint8_t __thiscall winISteamUtils_SteamUtils007_GetCurrentBatteryPower(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_GetCurrentBatteryPower_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_GetCurrentBatteryPower( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils007_GetAppID(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_GetAppID_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_GetAppID( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils007_SetOverlayNotificationPosition(struct w_steam_iface *_this, uint32_t eNotificationPosition)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_SetOverlayNotificationPosition_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eNotificationPosition = eNotificationPosition,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_SetOverlayNotificationPosition( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils007_IsAPICallCompleted(struct w_steam_iface *_this, uint64_t hSteamAPICall, bool *pbFailed)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_IsAPICallCompleted_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
.pbFailed = pbFailed,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_IsAPICallCompleted( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils007_GetAPICallFailureReason(struct w_steam_iface *_this, uint64_t hSteamAPICall)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_GetAPICallFailureReason_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_GetAPICallFailureReason( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils007_GetAPICallResult(struct w_steam_iface *_this, uint64_t hSteamAPICall, void *pCallback, int32_t cubCallback, int32_t iCallbackExpected, bool *pbFailed)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_GetAPICallResult_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
.pCallback = pCallback,
|
|
|
|
.cubCallback = cubCallback,
|
|
|
|
.iCallbackExpected = iCallbackExpected,
|
|
|
|
.pbFailed = pbFailed,
|
|
|
|
};
|
|
|
|
int w_callback_len = cubCallback;
|
|
|
|
void *w_callback = pCallback;
|
|
|
|
TRACE("%p\n", _this);
|
|
|
|
if (!(params.pCallback = alloc_callback_wtou(iCallbackExpected, w_callback, ¶ms.cubCallback))) return FALSE;
|
|
|
|
cppISteamUtils_SteamUtils007_GetAPICallResult( ¶ms );
|
|
|
|
if (params._ret && params.pCallback != w_callback)
|
2023-09-23 21:55:11 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
convert_callback_utow(iCallbackExpected, params.pCallback, params.cubCallback, w_callback, w_callback_len);
|
|
|
|
HeapFree(GetProcessHeap(), 0, params.pCallback);
|
2023-09-23 21:55:11 +03:00
|
|
|
}
|
|
|
|
|
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 winISteamUtils_SteamUtils007_RunFrame(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_RunFrame_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_RunFrame( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils007_GetIPCCallCount(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_GetIPCCallCount_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_GetIPCCallCount( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 22:30:14 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils007_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *))
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_SetWarningMessageHook_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pFunction = pFunction,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_SetWarningMessageHook( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils007_IsOverlayEnabled(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_IsOverlayEnabled_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_IsOverlayEnabled( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils007_BOverlayNeedsPresent(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_BOverlayNeedsPresent_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_BOverlayNeedsPresent( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint64_t __thiscall winISteamUtils_SteamUtils007_CheckFileSignature(struct w_steam_iface *_this, const char *szFileName)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_CheckFileSignature_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.szFileName = szFileName,
|
|
|
|
};
|
|
|
|
params.szFileName = steamclient_dos_to_unix_path( szFileName, 0 );
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_CheckFileSignature( ¶ms );
|
|
|
|
steamclient_free_path( params.szFileName );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils007_ShowGamepadTextInput(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_ShowGamepadTextInput_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eInputMode = eInputMode,
|
|
|
|
.eLineInputMode = eLineInputMode,
|
|
|
|
.pchDescription = pchDescription,
|
|
|
|
.unCharMax = unCharMax,
|
|
|
|
.pchExistingText = pchExistingText,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_ShowGamepadTextInput( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils007_GetEnteredGamepadTextLength(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_GetEnteredGamepadTextLength_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_GetEnteredGamepadTextLength( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils007_GetEnteredGamepadTextInput(struct w_steam_iface *_this, char *pchText, uint32_t cchText)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_GetEnteredGamepadTextInput_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchText = pchText,
|
|
|
|
.cchText = cchText,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_GetEnteredGamepadTextInput( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
const char * __thiscall winISteamUtils_SteamUtils007_GetSteamUILanguage(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_GetSteamUILanguage_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_GetSteamUILanguage( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils007_IsSteamRunningInVR(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_IsSteamRunningInVR_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_IsSteamRunningInVR( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils007_SetOverlayNotificationInset(struct w_steam_iface *_this, int32_t nHorizontalInset, int32_t nVerticalInset)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils007_SetOverlayNotificationInset_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nHorizontalInset = nHorizontalInset,
|
|
|
|
.nVerticalInset = nVerticalInset,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils007_SetOverlayNotificationInset( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
extern vtable_ptr winISteamUtils_SteamUtils007_vtable;
|
|
|
|
|
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
|
|
|
__ASM_VTABLE(winISteamUtils_SteamUtils007,
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetSecondsSinceAppActive)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetSecondsSinceComputerActive)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetConnectedUniverse)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetServerRealTime)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetIPCountry)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetImageSize)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetImageRGBA)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetCSERIPPort)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetCurrentBatteryPower)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetAppID)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_SetOverlayNotificationPosition)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_IsAPICallCompleted)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetAPICallFailureReason)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetAPICallResult)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_RunFrame)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetIPCCallCount)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_SetWarningMessageHook)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_IsOverlayEnabled)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_BOverlayNeedsPresent)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_CheckFileSignature)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_ShowGamepadTextInput)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetEnteredGamepadTextLength)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetEnteredGamepadTextInput)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetSteamUILanguage)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_IsSteamRunningInVR)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_SetOverlayNotificationInset)
|
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *create_winISteamUtils_SteamUtils007(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), "SteamUtils007");
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("-> %p\n", r);
|
2022-06-24 06:02:39 +03:00
|
|
|
r->vtable = alloc_vtable(&winISteamUtils_SteamUtils007_vtable, 26, "SteamUtils007");
|
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
|
|
|
#include "cppISteamUtils_SteamUtils008.h"
|
2018-01-18 19:24:05 +03:00
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetSecondsSinceAppActive, 4)
|
2023-09-23 21:52:28 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetSecondsSinceComputerActive, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetConnectedUniverse, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetServerRealTime, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetIPCountry, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetImageSize, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetImageRGBA, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetCSERIPPort, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetCurrentBatteryPower, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetAppID, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_SetOverlayNotificationPosition, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_IsAPICallCompleted, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetAPICallFailureReason, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetAPICallResult, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_RunFrame, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetIPCCallCount, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_SetWarningMessageHook, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_IsOverlayEnabled, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_BOverlayNeedsPresent, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_CheckFileSignature, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_ShowGamepadTextInput, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetEnteredGamepadTextLength, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetEnteredGamepadTextInput, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetSteamUILanguage, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_IsSteamRunningInVR, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_SetOverlayNotificationInset, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_IsSteamInBigPictureMode, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_StartVRDashboard, 4)
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils008_GetSecondsSinceAppActive(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_GetSecondsSinceAppActive_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_GetSecondsSinceAppActive( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils008_GetSecondsSinceComputerActive(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_GetSecondsSinceComputerActive_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_GetSecondsSinceComputerActive( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils008_GetConnectedUniverse(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_GetConnectedUniverse_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_GetConnectedUniverse( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils008_GetServerRealTime(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_GetServerRealTime_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_GetServerRealTime( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
const char * __thiscall winISteamUtils_SteamUtils008_GetIPCountry(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_GetIPCountry_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_GetIPCountry( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils008_GetImageSize(struct w_steam_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_GetImageSize_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iImage = iImage,
|
|
|
|
.pnWidth = pnWidth,
|
|
|
|
.pnHeight = pnHeight,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_GetImageSize( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils008_GetImageRGBA(struct w_steam_iface *_this, int32_t iImage, uint8_t *pubDest, int32_t nDestBufferSize)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_GetImageRGBA_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iImage = iImage,
|
|
|
|
.pubDest = pubDest,
|
|
|
|
.nDestBufferSize = nDestBufferSize,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_GetImageRGBA( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils008_GetCSERIPPort(struct w_steam_iface *_this, uint32_t *unIP, uint16_t *usPort)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_GetCSERIPPort_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.unIP = unIP,
|
|
|
|
.usPort = usPort,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_GetCSERIPPort( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint8_t __thiscall winISteamUtils_SteamUtils008_GetCurrentBatteryPower(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_GetCurrentBatteryPower_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_GetCurrentBatteryPower( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils008_GetAppID(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_GetAppID_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_GetAppID( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils008_SetOverlayNotificationPosition(struct w_steam_iface *_this, uint32_t eNotificationPosition)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_SetOverlayNotificationPosition_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eNotificationPosition = eNotificationPosition,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_SetOverlayNotificationPosition( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils008_IsAPICallCompleted(struct w_steam_iface *_this, uint64_t hSteamAPICall, bool *pbFailed)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_IsAPICallCompleted_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
.pbFailed = pbFailed,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_IsAPICallCompleted( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils008_GetAPICallFailureReason(struct w_steam_iface *_this, uint64_t hSteamAPICall)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_GetAPICallFailureReason_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_GetAPICallFailureReason( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils008_GetAPICallResult(struct w_steam_iface *_this, uint64_t hSteamAPICall, void *pCallback, int32_t cubCallback, int32_t iCallbackExpected, bool *pbFailed)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_GetAPICallResult_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
.pCallback = pCallback,
|
|
|
|
.cubCallback = cubCallback,
|
|
|
|
.iCallbackExpected = iCallbackExpected,
|
|
|
|
.pbFailed = pbFailed,
|
|
|
|
};
|
|
|
|
int w_callback_len = cubCallback;
|
|
|
|
void *w_callback = pCallback;
|
|
|
|
TRACE("%p\n", _this);
|
|
|
|
if (!(params.pCallback = alloc_callback_wtou(iCallbackExpected, w_callback, ¶ms.cubCallback))) return FALSE;
|
|
|
|
cppISteamUtils_SteamUtils008_GetAPICallResult( ¶ms );
|
|
|
|
if (params._ret && params.pCallback != w_callback)
|
2023-09-23 21:55:11 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
convert_callback_utow(iCallbackExpected, params.pCallback, params.cubCallback, w_callback, w_callback_len);
|
|
|
|
HeapFree(GetProcessHeap(), 0, params.pCallback);
|
2023-09-23 21:55:11 +03:00
|
|
|
}
|
|
|
|
|
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 winISteamUtils_SteamUtils008_RunFrame(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_RunFrame_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_RunFrame( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils008_GetIPCCallCount(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_GetIPCCallCount_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_GetIPCCallCount( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 22:30:14 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils008_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *))
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_SetWarningMessageHook_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pFunction = pFunction,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_SetWarningMessageHook( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils008_IsOverlayEnabled(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_IsOverlayEnabled_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_IsOverlayEnabled( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils008_BOverlayNeedsPresent(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_BOverlayNeedsPresent_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_BOverlayNeedsPresent( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint64_t __thiscall winISteamUtils_SteamUtils008_CheckFileSignature(struct w_steam_iface *_this, const char *szFileName)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_CheckFileSignature_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.szFileName = szFileName,
|
|
|
|
};
|
|
|
|
params.szFileName = steamclient_dos_to_unix_path( szFileName, 0 );
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_CheckFileSignature( ¶ms );
|
|
|
|
steamclient_free_path( params.szFileName );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils008_ShowGamepadTextInput(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_ShowGamepadTextInput_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eInputMode = eInputMode,
|
|
|
|
.eLineInputMode = eLineInputMode,
|
|
|
|
.pchDescription = pchDescription,
|
|
|
|
.unCharMax = unCharMax,
|
|
|
|
.pchExistingText = pchExistingText,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_ShowGamepadTextInput( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils008_GetEnteredGamepadTextLength(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_GetEnteredGamepadTextLength_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_GetEnteredGamepadTextLength( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils008_GetEnteredGamepadTextInput(struct w_steam_iface *_this, char *pchText, uint32_t cchText)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_GetEnteredGamepadTextInput_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchText = pchText,
|
|
|
|
.cchText = cchText,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_GetEnteredGamepadTextInput( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
const char * __thiscall winISteamUtils_SteamUtils008_GetSteamUILanguage(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_GetSteamUILanguage_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_GetSteamUILanguage( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils008_IsSteamRunningInVR(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_IsSteamRunningInVR_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_IsSteamRunningInVR( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils008_SetOverlayNotificationInset(struct w_steam_iface *_this, int32_t nHorizontalInset, int32_t nVerticalInset)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_SetOverlayNotificationInset_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nHorizontalInset = nHorizontalInset,
|
|
|
|
.nVerticalInset = nVerticalInset,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_SetOverlayNotificationInset( ¶ms );
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils008_IsSteamInBigPictureMode(struct w_steam_iface *_this)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_IsSteamInBigPictureMode_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_IsSteamInBigPictureMode( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils008_StartVRDashboard(struct w_steam_iface *_this)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils008_StartVRDashboard_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils008_StartVRDashboard( ¶ms );
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
extern vtable_ptr winISteamUtils_SteamUtils008_vtable;
|
2018-01-18 19:24:05 +03:00
|
|
|
|
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
2023-09-21 00:58:12 +03:00
|
|
|
__ASM_VTABLE(winISteamUtils_SteamUtils008,
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetSecondsSinceAppActive)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetSecondsSinceComputerActive)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetConnectedUniverse)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetServerRealTime)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetIPCountry)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetImageSize)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetImageRGBA)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetCSERIPPort)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetCurrentBatteryPower)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetAppID)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_SetOverlayNotificationPosition)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_IsAPICallCompleted)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetAPICallFailureReason)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetAPICallResult)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_RunFrame)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetIPCCallCount)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_SetWarningMessageHook)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_IsOverlayEnabled)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_BOverlayNeedsPresent)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_CheckFileSignature)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_ShowGamepadTextInput)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetEnteredGamepadTextLength)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetEnteredGamepadTextInput)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetSteamUILanguage)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_IsSteamRunningInVR)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_SetOverlayNotificationInset)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_IsSteamInBigPictureMode)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_StartVRDashboard)
|
2018-01-18 19:24:05 +03:00
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *create_winISteamUtils_SteamUtils008(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), "SteamUtils008");
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-21 00:58:12 +03:00
|
|
|
r->vtable = alloc_vtable(&winISteamUtils_SteamUtils008_vtable, 28, "SteamUtils008");
|
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
|
|
|
#include "cppISteamUtils_SteamUtils009.h"
|
2018-01-18 19:24:05 +03:00
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetSecondsSinceAppActive, 4)
|
2023-09-23 21:52:28 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetSecondsSinceComputerActive, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetConnectedUniverse, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetServerRealTime, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetIPCountry, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetImageSize, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetImageRGBA, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetCSERIPPort, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetCurrentBatteryPower, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetAppID, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_SetOverlayNotificationPosition, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_IsAPICallCompleted, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetAPICallFailureReason, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetAPICallResult, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_RunFrame, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetIPCCallCount, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_SetWarningMessageHook, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_IsOverlayEnabled, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_BOverlayNeedsPresent, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_CheckFileSignature, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_ShowGamepadTextInput, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetEnteredGamepadTextLength, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetEnteredGamepadTextInput, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetSteamUILanguage, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_IsSteamRunningInVR, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_SetOverlayNotificationInset, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_IsSteamInBigPictureMode, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_StartVRDashboard, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_IsSteamChinaLauncher, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_InitFilterText, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_FilterText, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetIPv6ConnectivityState, 8)
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils009_GetSecondsSinceAppActive(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_GetSecondsSinceAppActive_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_GetSecondsSinceAppActive( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils009_GetSecondsSinceComputerActive(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_GetSecondsSinceComputerActive_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_GetSecondsSinceComputerActive( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils009_GetConnectedUniverse(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_GetConnectedUniverse_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_GetConnectedUniverse( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils009_GetServerRealTime(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_GetServerRealTime_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_GetServerRealTime( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
const char * __thiscall winISteamUtils_SteamUtils009_GetIPCountry(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_GetIPCountry_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_GetIPCountry( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils009_GetImageSize(struct w_steam_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_GetImageSize_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iImage = iImage,
|
|
|
|
.pnWidth = pnWidth,
|
|
|
|
.pnHeight = pnHeight,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_GetImageSize( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils009_GetImageRGBA(struct w_steam_iface *_this, int32_t iImage, uint8_t *pubDest, int32_t nDestBufferSize)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_GetImageRGBA_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iImage = iImage,
|
|
|
|
.pubDest = pubDest,
|
|
|
|
.nDestBufferSize = nDestBufferSize,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_GetImageRGBA( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils009_GetCSERIPPort(struct w_steam_iface *_this, uint32_t *unIP, uint16_t *usPort)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_GetCSERIPPort_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.unIP = unIP,
|
|
|
|
.usPort = usPort,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_GetCSERIPPort( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint8_t __thiscall winISteamUtils_SteamUtils009_GetCurrentBatteryPower(struct w_steam_iface *_this)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_GetCurrentBatteryPower_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_GetCurrentBatteryPower( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils009_GetAppID(struct w_steam_iface *_this)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_GetAppID_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_GetAppID( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils009_SetOverlayNotificationPosition(struct w_steam_iface *_this, uint32_t eNotificationPosition)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_SetOverlayNotificationPosition_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eNotificationPosition = eNotificationPosition,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_SetOverlayNotificationPosition( ¶ms );
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils009_IsAPICallCompleted(struct w_steam_iface *_this, uint64_t hSteamAPICall, bool *pbFailed)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_IsAPICallCompleted_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
.pbFailed = pbFailed,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_IsAPICallCompleted( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils009_GetAPICallFailureReason(struct w_steam_iface *_this, uint64_t hSteamAPICall)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_GetAPICallFailureReason_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_GetAPICallFailureReason( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils009_GetAPICallResult(struct w_steam_iface *_this, uint64_t hSteamAPICall, void *pCallback, int32_t cubCallback, int32_t iCallbackExpected, bool *pbFailed)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_GetAPICallResult_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
.pCallback = pCallback,
|
|
|
|
.cubCallback = cubCallback,
|
|
|
|
.iCallbackExpected = iCallbackExpected,
|
|
|
|
.pbFailed = pbFailed,
|
|
|
|
};
|
|
|
|
int w_callback_len = cubCallback;
|
|
|
|
void *w_callback = pCallback;
|
|
|
|
TRACE("%p\n", _this);
|
|
|
|
if (!(params.pCallback = alloc_callback_wtou(iCallbackExpected, w_callback, ¶ms.cubCallback))) return FALSE;
|
|
|
|
cppISteamUtils_SteamUtils009_GetAPICallResult( ¶ms );
|
|
|
|
if (params._ret && params.pCallback != w_callback)
|
2023-09-23 21:55:11 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
convert_callback_utow(iCallbackExpected, params.pCallback, params.cubCallback, w_callback, w_callback_len);
|
|
|
|
HeapFree(GetProcessHeap(), 0, params.pCallback);
|
2023-09-23 21:55:11 +03:00
|
|
|
}
|
|
|
|
|
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
|
|
|
void __thiscall winISteamUtils_SteamUtils009_RunFrame(struct w_steam_iface *_this)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_RunFrame_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_RunFrame( ¶ms );
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils009_GetIPCCallCount(struct w_steam_iface *_this)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_GetIPCCallCount_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_GetIPCCallCount( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 22:30:14 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils009_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *))
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_SetWarningMessageHook_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pFunction = pFunction,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_SetWarningMessageHook( ¶ms );
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils009_IsOverlayEnabled(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_IsOverlayEnabled_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_IsOverlayEnabled( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils009_BOverlayNeedsPresent(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_BOverlayNeedsPresent_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_BOverlayNeedsPresent( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint64_t __thiscall winISteamUtils_SteamUtils009_CheckFileSignature(struct w_steam_iface *_this, const char *szFileName)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_CheckFileSignature_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.szFileName = szFileName,
|
|
|
|
};
|
|
|
|
params.szFileName = steamclient_dos_to_unix_path( szFileName, 0 );
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_CheckFileSignature( ¶ms );
|
|
|
|
steamclient_free_path( params.szFileName );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils009_ShowGamepadTextInput(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_ShowGamepadTextInput_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eInputMode = eInputMode,
|
|
|
|
.eLineInputMode = eLineInputMode,
|
|
|
|
.pchDescription = pchDescription,
|
|
|
|
.unCharMax = unCharMax,
|
|
|
|
.pchExistingText = pchExistingText,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_ShowGamepadTextInput( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils009_GetEnteredGamepadTextLength(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_GetEnteredGamepadTextLength_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_GetEnteredGamepadTextLength( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils009_GetEnteredGamepadTextInput(struct w_steam_iface *_this, char *pchText, uint32_t cchText)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_GetEnteredGamepadTextInput_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchText = pchText,
|
|
|
|
.cchText = cchText,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_GetEnteredGamepadTextInput( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
const char * __thiscall winISteamUtils_SteamUtils009_GetSteamUILanguage(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_GetSteamUILanguage_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_GetSteamUILanguage( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils009_IsSteamRunningInVR(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_IsSteamRunningInVR_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_IsSteamRunningInVR( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils009_SetOverlayNotificationInset(struct w_steam_iface *_this, int32_t nHorizontalInset, int32_t nVerticalInset)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_SetOverlayNotificationInset_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nHorizontalInset = nHorizontalInset,
|
|
|
|
.nVerticalInset = nVerticalInset,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_SetOverlayNotificationInset( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils009_IsSteamInBigPictureMode(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_IsSteamInBigPictureMode_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_IsSteamInBigPictureMode( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils009_StartVRDashboard(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_StartVRDashboard_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_StartVRDashboard( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled(struct w_steam_iface *_this, bool bEnabled)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.bEnabled = bEnabled,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils009_IsSteamChinaLauncher(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_IsSteamChinaLauncher_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_IsSteamChinaLauncher( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils009_InitFilterText(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_InitFilterText_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_InitFilterText( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamUtils_SteamUtils009_FilterText(struct w_steam_iface *_this, char *pchOutFilteredText, uint32_t nByteSizeOutFilteredText, const char *pchInputMessage, bool bLegalOnly)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_FilterText_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchOutFilteredText = pchOutFilteredText,
|
|
|
|
.nByteSizeOutFilteredText = nByteSizeOutFilteredText,
|
|
|
|
.pchInputMessage = pchInputMessage,
|
|
|
|
.bLegalOnly = bLegalOnly,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_FilterText( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils009_GetIPv6ConnectivityState(struct w_steam_iface *_this, uint32_t eProtocol)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils009_GetIPv6ConnectivityState_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eProtocol = eProtocol,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils009_GetIPv6ConnectivityState( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
extern vtable_ptr winISteamUtils_SteamUtils009_vtable;
|
2018-01-18 19:24:05 +03:00
|
|
|
|
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
2023-09-21 00:58:12 +03:00
|
|
|
__ASM_VTABLE(winISteamUtils_SteamUtils009,
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetSecondsSinceAppActive)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetSecondsSinceComputerActive)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetConnectedUniverse)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetServerRealTime)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetIPCountry)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetImageSize)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetImageRGBA)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetCSERIPPort)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetCurrentBatteryPower)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetAppID)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_SetOverlayNotificationPosition)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_IsAPICallCompleted)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetAPICallFailureReason)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetAPICallResult)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_RunFrame)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetIPCCallCount)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_SetWarningMessageHook)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_IsOverlayEnabled)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_BOverlayNeedsPresent)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_CheckFileSignature)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_ShowGamepadTextInput)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetEnteredGamepadTextLength)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetEnteredGamepadTextInput)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetSteamUILanguage)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_IsSteamRunningInVR)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_SetOverlayNotificationInset)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_IsSteamInBigPictureMode)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_StartVRDashboard)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_IsSteamChinaLauncher)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_InitFilterText)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_FilterText)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetIPv6ConnectivityState)
|
2018-01-18 19:24:05 +03:00
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *create_winISteamUtils_SteamUtils009(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), "SteamUtils009");
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-21 00:58:12 +03:00
|
|
|
r->vtable = alloc_vtable(&winISteamUtils_SteamUtils009_vtable, 34, "SteamUtils009");
|
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
|
|
|
#include "cppISteamUtils_SteamUtils010.h"
|
2018-01-18 19:24:05 +03:00
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetSecondsSinceAppActive, 4)
|
2023-09-23 21:52:28 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetSecondsSinceComputerActive, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetConnectedUniverse, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetServerRealTime, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetIPCountry, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetImageSize, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetImageRGBA, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetCSERIPPort, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetCurrentBatteryPower, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetAppID, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_SetOverlayNotificationPosition, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_IsAPICallCompleted, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetAPICallFailureReason, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetAPICallResult, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_RunFrame, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetIPCCallCount, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_SetWarningMessageHook, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_IsOverlayEnabled, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_BOverlayNeedsPresent, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_CheckFileSignature, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_ShowGamepadTextInput, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetEnteredGamepadTextLength, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetEnteredGamepadTextInput, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetSteamUILanguage, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_IsSteamRunningInVR, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_SetOverlayNotificationInset, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_IsSteamInBigPictureMode, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_StartVRDashboard, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_IsSteamChinaLauncher, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_InitFilterText, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_FilterText, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetIPv6ConnectivityState, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_SetGameLauncherMode, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput, 4)
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils010_GetSecondsSinceAppActive(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_GetSecondsSinceAppActive_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_GetSecondsSinceAppActive( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils010_GetSecondsSinceComputerActive(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_GetSecondsSinceComputerActive_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_GetSecondsSinceComputerActive( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils010_GetConnectedUniverse(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_GetConnectedUniverse_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_GetConnectedUniverse( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils010_GetServerRealTime(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_GetServerRealTime_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_GetServerRealTime( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
const char * __thiscall winISteamUtils_SteamUtils010_GetIPCountry(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_GetIPCountry_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_GetIPCountry( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils010_GetImageSize(struct w_steam_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_GetImageSize_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iImage = iImage,
|
|
|
|
.pnWidth = pnWidth,
|
|
|
|
.pnHeight = pnHeight,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_GetImageSize( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils010_GetImageRGBA(struct w_steam_iface *_this, int32_t iImage, uint8_t *pubDest, int32_t nDestBufferSize)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_GetImageRGBA_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iImage = iImage,
|
|
|
|
.pubDest = pubDest,
|
|
|
|
.nDestBufferSize = nDestBufferSize,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_GetImageRGBA( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils010_GetCSERIPPort(struct w_steam_iface *_this, uint32_t *unIP, uint16_t *usPort)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_GetCSERIPPort_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.unIP = unIP,
|
|
|
|
.usPort = usPort,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_GetCSERIPPort( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint8_t __thiscall winISteamUtils_SteamUtils010_GetCurrentBatteryPower(struct w_steam_iface *_this)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_GetCurrentBatteryPower_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_GetCurrentBatteryPower( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils010_GetAppID(struct w_steam_iface *_this)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_GetAppID_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_GetAppID( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils010_SetOverlayNotificationPosition(struct w_steam_iface *_this, uint32_t eNotificationPosition)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_SetOverlayNotificationPosition_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eNotificationPosition = eNotificationPosition,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_SetOverlayNotificationPosition( ¶ms );
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils010_IsAPICallCompleted(struct w_steam_iface *_this, uint64_t hSteamAPICall, bool *pbFailed)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_IsAPICallCompleted_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
.pbFailed = pbFailed,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_IsAPICallCompleted( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils010_GetAPICallFailureReason(struct w_steam_iface *_this, uint64_t hSteamAPICall)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_GetAPICallFailureReason_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_GetAPICallFailureReason( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils010_GetAPICallResult(struct w_steam_iface *_this, uint64_t hSteamAPICall, void *pCallback, int32_t cubCallback, int32_t iCallbackExpected, bool *pbFailed)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_GetAPICallResult_params params =
|
2023-09-23 21:55:11 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamAPICall = hSteamAPICall,
|
|
|
|
.pCallback = pCallback,
|
|
|
|
.cubCallback = cubCallback,
|
|
|
|
.iCallbackExpected = iCallbackExpected,
|
|
|
|
.pbFailed = pbFailed,
|
|
|
|
};
|
|
|
|
int w_callback_len = cubCallback;
|
|
|
|
void *w_callback = pCallback;
|
|
|
|
TRACE("%p\n", _this);
|
|
|
|
if (!(params.pCallback = alloc_callback_wtou(iCallbackExpected, w_callback, ¶ms.cubCallback))) return FALSE;
|
|
|
|
cppISteamUtils_SteamUtils010_GetAPICallResult( ¶ms );
|
|
|
|
if (params._ret && params.pCallback != w_callback)
|
|
|
|
{
|
|
|
|
convert_callback_utow(iCallbackExpected, params.pCallback, params.cubCallback, w_callback, w_callback_len);
|
|
|
|
HeapFree(GetProcessHeap(), 0, params.pCallback);
|
2023-09-23 21:55:11 +03:00
|
|
|
}
|
|
|
|
|
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 winISteamUtils_SteamUtils010_RunFrame(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_RunFrame_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_RunFrame( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils010_GetIPCCallCount(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_GetIPCCallCount_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_GetIPCCallCount( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 22:30:14 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils010_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *))
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_SetWarningMessageHook_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pFunction = pFunction,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_SetWarningMessageHook( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils010_IsOverlayEnabled(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_IsOverlayEnabled_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_IsOverlayEnabled( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils010_BOverlayNeedsPresent(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_BOverlayNeedsPresent_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_BOverlayNeedsPresent( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint64_t __thiscall winISteamUtils_SteamUtils010_CheckFileSignature(struct w_steam_iface *_this, const char *szFileName)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_CheckFileSignature_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.szFileName = szFileName,
|
|
|
|
};
|
|
|
|
params.szFileName = steamclient_dos_to_unix_path( szFileName, 0 );
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_CheckFileSignature( ¶ms );
|
|
|
|
steamclient_free_path( params.szFileName );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils010_ShowGamepadTextInput(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_ShowGamepadTextInput_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eInputMode = eInputMode,
|
|
|
|
.eLineInputMode = eLineInputMode,
|
|
|
|
.pchDescription = pchDescription,
|
|
|
|
.unCharMax = unCharMax,
|
|
|
|
.pchExistingText = pchExistingText,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_ShowGamepadTextInput( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils010_GetEnteredGamepadTextLength(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_GetEnteredGamepadTextLength_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_GetEnteredGamepadTextLength( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils010_GetEnteredGamepadTextInput(struct w_steam_iface *_this, char *pchText, uint32_t cchText)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_GetEnteredGamepadTextInput_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchText = pchText,
|
|
|
|
.cchText = cchText,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_GetEnteredGamepadTextInput( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
const char * __thiscall winISteamUtils_SteamUtils010_GetSteamUILanguage(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_GetSteamUILanguage_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_GetSteamUILanguage( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils010_IsSteamRunningInVR(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_IsSteamRunningInVR_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_IsSteamRunningInVR( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils010_SetOverlayNotificationInset(struct w_steam_iface *_this, int32_t nHorizontalInset, int32_t nVerticalInset)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_SetOverlayNotificationInset_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nHorizontalInset = nHorizontalInset,
|
|
|
|
.nVerticalInset = nVerticalInset,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_SetOverlayNotificationInset( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils010_IsSteamInBigPictureMode(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_IsSteamInBigPictureMode_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_IsSteamInBigPictureMode( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils010_StartVRDashboard(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_StartVRDashboard_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_StartVRDashboard( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled(struct w_steam_iface *_this, bool bEnabled)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.bEnabled = bEnabled,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils010_IsSteamChinaLauncher(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_IsSteamChinaLauncher_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_IsSteamChinaLauncher( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils010_InitFilterText(struct w_steam_iface *_this, uint32_t unFilterOptions)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_InitFilterText_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.unFilterOptions = unFilterOptions,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_InitFilterText( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamUtils_SteamUtils010_FilterText(struct w_steam_iface *_this, uint32_t eContext, CSteamID sourceSteamID, const char *pchInputMessage, char *pchOutFilteredText, uint32_t nByteSizeOutFilteredText)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_FilterText_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eContext = eContext,
|
|
|
|
.sourceSteamID = sourceSteamID,
|
|
|
|
.pchInputMessage = pchInputMessage,
|
|
|
|
.pchOutFilteredText = pchOutFilteredText,
|
|
|
|
.nByteSizeOutFilteredText = nByteSizeOutFilteredText,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_FilterText( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
uint32_t __thiscall winISteamUtils_SteamUtils010_GetIPv6ConnectivityState(struct w_steam_iface *_this, uint32_t eProtocol)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_GetIPv6ConnectivityState_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eProtocol = eProtocol,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_GetIPv6ConnectivityState( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput(struct w_steam_iface *_this, uint32_t eKeyboardMode, int32_t nTextFieldXPosition, int32_t nTextFieldYPosition, int32_t nTextFieldWidth, int32_t nTextFieldHeight)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eKeyboardMode = eKeyboardMode,
|
|
|
|
.nTextFieldXPosition = nTextFieldXPosition,
|
|
|
|
.nTextFieldYPosition = nTextFieldYPosition,
|
|
|
|
.nTextFieldWidth = nTextFieldWidth,
|
|
|
|
.nTextFieldHeight = nTextFieldHeight,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamUtils_SteamUtils010_SetGameLauncherMode(struct w_steam_iface *_this, bool bLauncherMode)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_SetGameLauncherMode_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.bLauncherMode = bLauncherMode,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_SetGameLauncherMode( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
extern vtable_ptr winISteamUtils_SteamUtils010_vtable;
|
2018-01-18 19:24:05 +03:00
|
|
|
|
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
2023-09-21 00:58:12 +03:00
|
|
|
__ASM_VTABLE(winISteamUtils_SteamUtils010,
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetSecondsSinceAppActive)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetSecondsSinceComputerActive)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetConnectedUniverse)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetServerRealTime)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetIPCountry)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetImageSize)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetImageRGBA)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetCSERIPPort)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetCurrentBatteryPower)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetAppID)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_SetOverlayNotificationPosition)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_IsAPICallCompleted)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetAPICallFailureReason)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetAPICallResult)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_RunFrame)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetIPCCallCount)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_SetWarningMessageHook)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_IsOverlayEnabled)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_BOverlayNeedsPresent)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_CheckFileSignature)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_ShowGamepadTextInput)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetEnteredGamepadTextLength)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetEnteredGamepadTextInput)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetSteamUILanguage)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_IsSteamRunningInVR)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_SetOverlayNotificationInset)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_IsSteamInBigPictureMode)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_StartVRDashboard)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_IsSteamChinaLauncher)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_InitFilterText)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_FilterText)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetIPv6ConnectivityState)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_SetGameLauncherMode)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput)
|
2018-01-18 19:24:05 +03:00
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *create_winISteamUtils_SteamUtils010(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), "SteamUtils010");
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-21 00:58:12 +03:00
|
|
|
r->vtable = alloc_vtable(&winISteamUtils_SteamUtils010_vtable, 38, "SteamUtils010");
|
2023-09-24 15:50:45 +03:00
|
|
|
r->u_iface = u_iface;
|
2018-01-18 19:24:05 +03:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|