2018-01-18 13:29:49 -06:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#include "windef.h"
|
|
|
|
#include "winbase.h"
|
|
|
|
#include "wine/debug.h"
|
|
|
|
|
|
|
|
#include "vrclient_defs.h"
|
|
|
|
|
|
|
|
#include "vrclient_private.h"
|
|
|
|
|
|
|
|
#include "struct_converters.h"
|
|
|
|
|
2018-06-04 10:45:00 -05:00
|
|
|
#include "flatapi.h"
|
|
|
|
|
2018-01-18 13:29:49 -06:00
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(vrclient);
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
#include "cppIVRSettings_IVRSettings_001.h"
|
2020-03-18 13:50:17 -05:00
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum, 8)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_Sync, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetBool, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_SetBool, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetInt32, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_SetInt32, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetFloat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_SetFloat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetString, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_SetString, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_RemoveSection, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_RemoveKeyInSection, 16)
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
const char * __thiscall winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum(struct w_steam_iface *_this, EVRSettingsError eError)
|
2020-03-18 13:50:17 -05:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eError = eError,
|
|
|
|
};
|
2020-03-18 13:50:17 -05:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum( ¶ms );
|
|
|
|
return params._ret;
|
2020-03-18 13:50:17 -05:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
bool __thiscall winIVRSettings_IVRSettings_001_Sync(struct w_steam_iface *_this, bool bForce, EVRSettingsError *peError)
|
2020-03-18 13:50:17 -05:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_001_Sync_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.bForce = bForce,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2020-03-18 13:50:17 -05:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_001_Sync( ¶ms );
|
|
|
|
return params._ret;
|
2020-03-18 13:50:17 -05:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
bool __thiscall winIVRSettings_IVRSettings_001_GetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, bool bDefaultValue, EVRSettingsError *peError)
|
2020-03-18 13:50:17 -05:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_001_GetBool_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.bDefaultValue = bDefaultValue,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2020-03-18 13:50:17 -05:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_001_GetBool( ¶ms );
|
|
|
|
return params._ret;
|
2020-03-18 13:50:17 -05:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRSettings_IVRSettings_001_SetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, bool bValue, EVRSettingsError *peError)
|
2020-03-18 13:50:17 -05:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_001_SetBool_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.bValue = bValue,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2020-03-18 13:50:17 -05:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_001_SetBool( ¶ms );
|
2020-03-18 13:50:17 -05:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
int32_t __thiscall winIVRSettings_IVRSettings_001_GetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, int32_t nDefaultValue, EVRSettingsError *peError)
|
2020-03-18 13:50:17 -05:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_001_GetInt32_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.nDefaultValue = nDefaultValue,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2020-03-18 13:50:17 -05:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_001_GetInt32( ¶ms );
|
|
|
|
return params._ret;
|
2020-03-18 13:50:17 -05:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRSettings_IVRSettings_001_SetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, int32_t nValue, EVRSettingsError *peError)
|
2020-03-18 13:50:17 -05:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_001_SetInt32_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.nValue = nValue,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2020-03-18 13:50:17 -05:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_001_SetInt32( ¶ms );
|
2020-03-18 13:50:17 -05:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
float __thiscall winIVRSettings_IVRSettings_001_GetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, float flDefaultValue, EVRSettingsError *peError)
|
2020-03-18 13:50:17 -05:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_001_GetFloat_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.flDefaultValue = flDefaultValue,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2020-03-18 13:50:17 -05:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_001_GetFloat( ¶ms );
|
|
|
|
return params._ret;
|
2020-03-18 13:50:17 -05:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRSettings_IVRSettings_001_SetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, float flValue, EVRSettingsError *peError)
|
2020-03-18 13:50:17 -05:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_001_SetFloat_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.flValue = flValue,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2020-03-18 13:50:17 -05:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_001_SetFloat( ¶ms );
|
2020-03-18 13:50:17 -05:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRSettings_IVRSettings_001_GetString(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, char *pchValue, uint32_t unValueLen, const char *pchDefaultValue, EVRSettingsError *peError)
|
2020-03-18 13:50:17 -05:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_001_GetString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.pchValue = pchValue,
|
|
|
|
.unValueLen = unValueLen,
|
|
|
|
.pchDefaultValue = pchDefaultValue,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2020-03-18 13:50:17 -05:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_001_GetString( ¶ms );
|
2020-03-18 13:50:17 -05:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRSettings_IVRSettings_001_SetString(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, const char *pchValue, EVRSettingsError *peError)
|
2020-03-18 13:50:17 -05:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_001_SetString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.pchValue = pchValue,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2020-03-18 13:50:17 -05:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_001_SetString( ¶ms );
|
2020-03-18 13:50:17 -05:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRSettings_IVRSettings_001_RemoveSection(struct w_steam_iface *_this, const char *pchSection, EVRSettingsError *peError)
|
2020-03-18 13:50:17 -05:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_001_RemoveSection_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2020-03-18 13:50:17 -05:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_001_RemoveSection( ¶ms );
|
2020-03-18 13:50:17 -05:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRSettings_IVRSettings_001_RemoveKeyInSection(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_001_RemoveKeyInSection_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_001_RemoveKeyInSection( ¶ms );
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
extern vtable_ptr winIVRSettings_IVRSettings_001_vtable;
|
2020-03-18 13:50:17 -05:00
|
|
|
|
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
2023-09-20 23:58:12 +02:00
|
|
|
__ASM_VTABLE(winIVRSettings_IVRSettings_001,
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_Sync)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetBool)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_SetBool)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetInt32)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_SetInt32)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetFloat)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_SetFloat)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetString)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_SetString)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_RemoveSection)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_RemoveKeyInSection)
|
2020-03-18 13:50:17 -05:00
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winIVRSettings_IVRSettings_001(void *u_iface)
|
2020-03-18 13:50:17 -05:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
|
2020-03-18 13:50:17 -05:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-20 23:58:12 +02:00
|
|
|
r->vtable = &winIVRSettings_IVRSettings_001_vtable;
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2020-03-18 13:50:17 -05:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void destroy_winIVRSettings_IVRSettings_001(struct w_steam_iface *object)
|
2020-03-18 13:50:17 -05:00
|
|
|
{
|
|
|
|
TRACE("%p\n", object);
|
|
|
|
HeapFree(GetProcessHeap(), 0, object);
|
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winIVRSettings_IVRSettings_001_FnTable(void *u_iface)
|
2020-03-18 13:50:17 -05:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
|
2023-09-20 23:58:12 +02:00
|
|
|
struct thunk *thunks = alloc_thunks(12);
|
|
|
|
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 12 * sizeof(*vtable));
|
2020-03-18 13:50:17 -05:00
|
|
|
int i;
|
|
|
|
|
|
|
|
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
2023-09-20 23:58:12 +02:00
|
|
|
init_thunk(&thunks[0], r, winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum, 1, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[1], r, winIVRSettings_IVRSettings_001_Sync, 2, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[2], r, winIVRSettings_IVRSettings_001_GetBool, 4, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[3], r, winIVRSettings_IVRSettings_001_SetBool, 4, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[4], r, winIVRSettings_IVRSettings_001_GetInt32, 4, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[5], r, winIVRSettings_IVRSettings_001_SetInt32, 4, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[6], r, winIVRSettings_IVRSettings_001_GetFloat, 4, TRUE, FALSE);
|
|
|
|
init_thunk(&thunks[7], r, winIVRSettings_IVRSettings_001_SetFloat, 4, TRUE, FALSE);
|
|
|
|
init_thunk(&thunks[8], r, winIVRSettings_IVRSettings_001_GetString, 6, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[9], r, winIVRSettings_IVRSettings_001_SetString, 4, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[10], r, winIVRSettings_IVRSettings_001_RemoveSection, 2, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[11], r, winIVRSettings_IVRSettings_001_RemoveKeyInSection, 3, FALSE, FALSE);
|
|
|
|
for (i = 0; i < 12; i++)
|
2020-03-18 13:50:17 -05:00
|
|
|
vtable[i] = &thunks[i];
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2020-03-18 13:50:17 -05:00
|
|
|
r->vtable = (void *)vtable;
|
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void destroy_winIVRSettings_IVRSettings_001_FnTable(struct w_steam_iface *object)
|
2020-03-18 13:50:17 -05:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
TRACE("%p\n", object);
|
|
|
|
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
|
|
|
|
HeapFree(GetProcessHeap(), 0, object->vtable);
|
|
|
|
HeapFree(GetProcessHeap(), 0, object);
|
2020-03-18 13:50:17 -05:00
|
|
|
}
|
|
|
|
|
2018-01-18 13:29:49 -06:00
|
|
|
#include "cppIVRSettings_IVRSettings_002.h"
|
|
|
|
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum, 8)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_Sync, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_SetBool, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_SetInt32, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_SetFloat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_SetString, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_GetBool, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_GetInt32, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_GetFloat, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_GetString, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_RemoveSection, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_RemoveKeyInSection, 16)
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
const char * __thiscall winIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum(struct w_steam_iface *_this, EVRSettingsError eError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eError = eError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
bool __thiscall winIVRSettings_IVRSettings_002_Sync(struct w_steam_iface *_this, bool bForce, EVRSettingsError *peError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_002_Sync_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.bForce = bForce,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_002_Sync( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRSettings_IVRSettings_002_SetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, bool bValue, EVRSettingsError *peError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_002_SetBool_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.bValue = bValue,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_002_SetBool( ¶ms );
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRSettings_IVRSettings_002_SetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, int32_t nValue, EVRSettingsError *peError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_002_SetInt32_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.nValue = nValue,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_002_SetInt32( ¶ms );
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRSettings_IVRSettings_002_SetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, float flValue, EVRSettingsError *peError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_002_SetFloat_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.flValue = flValue,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_002_SetFloat( ¶ms );
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRSettings_IVRSettings_002_SetString(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, const char *pchValue, EVRSettingsError *peError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_002_SetString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.pchValue = pchValue,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_002_SetString( ¶ms );
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
bool __thiscall winIVRSettings_IVRSettings_002_GetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_002_GetBool_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_002_GetBool( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
int32_t __thiscall winIVRSettings_IVRSettings_002_GetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_002_GetInt32_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_002_GetInt32( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
float __thiscall winIVRSettings_IVRSettings_002_GetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_002_GetFloat_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_002_GetFloat( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRSettings_IVRSettings_002_GetString(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, char *pchValue, uint32_t unValueLen, EVRSettingsError *peError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_002_GetString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.pchValue = pchValue,
|
|
|
|
.unValueLen = unValueLen,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_002_GetString( ¶ms );
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRSettings_IVRSettings_002_RemoveSection(struct w_steam_iface *_this, const char *pchSection, EVRSettingsError *peError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_002_RemoveSection_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_002_RemoveSection( ¶ms );
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRSettings_IVRSettings_002_RemoveKeyInSection(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_002_RemoveKeyInSection_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_002_RemoveKeyInSection( ¶ms );
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
extern vtable_ptr winIVRSettings_IVRSettings_002_vtable;
|
|
|
|
|
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
|
|
|
__ASM_VTABLE(winIVRSettings_IVRSettings_002,
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_Sync)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_SetBool)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_SetInt32)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_SetFloat)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_SetString)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_GetBool)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_GetInt32)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_GetFloat)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_GetString)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_RemoveSection)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_RemoveKeyInSection)
|
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winIVRSettings_IVRSettings_002(void *u_iface)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("-> %p\n", r);
|
|
|
|
r->vtable = &winIVRSettings_IVRSettings_002_vtable;
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2018-01-18 13:29:49 -06:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void destroy_winIVRSettings_IVRSettings_002(struct w_steam_iface *object)
|
2018-04-19 15:50:32 +02:00
|
|
|
{
|
|
|
|
TRACE("%p\n", object);
|
|
|
|
HeapFree(GetProcessHeap(), 0, object);
|
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winIVRSettings_IVRSettings_002_FnTable(void *u_iface)
|
2018-06-04 10:45:00 -05:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
|
2018-06-04 10:45:00 -05:00
|
|
|
struct thunk *thunks = alloc_thunks(12);
|
|
|
|
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 12 * sizeof(*vtable));
|
|
|
|
int i;
|
|
|
|
|
|
|
|
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
2018-07-30 17:40:06 +02:00
|
|
|
init_thunk(&thunks[0], r, winIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum, 1, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[1], r, winIVRSettings_IVRSettings_002_Sync, 2, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[2], r, winIVRSettings_IVRSettings_002_SetBool, 4, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[3], r, winIVRSettings_IVRSettings_002_SetInt32, 4, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[4], r, winIVRSettings_IVRSettings_002_SetFloat, 4, TRUE, FALSE);
|
|
|
|
init_thunk(&thunks[5], r, winIVRSettings_IVRSettings_002_SetString, 4, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[6], r, winIVRSettings_IVRSettings_002_GetBool, 3, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[7], r, winIVRSettings_IVRSettings_002_GetInt32, 3, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[8], r, winIVRSettings_IVRSettings_002_GetFloat, 3, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[9], r, winIVRSettings_IVRSettings_002_GetString, 5, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[10], r, winIVRSettings_IVRSettings_002_RemoveSection, 2, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[11], r, winIVRSettings_IVRSettings_002_RemoveKeyInSection, 3, FALSE, FALSE);
|
2018-06-04 10:45:00 -05:00
|
|
|
for (i = 0; i < 12; i++)
|
|
|
|
vtable[i] = &thunks[i];
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2018-06-04 10:45:00 -05:00
|
|
|
r->vtable = (void *)vtable;
|
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void destroy_winIVRSettings_IVRSettings_002_FnTable(struct w_steam_iface *object)
|
2018-06-04 10:45:00 -05:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
TRACE("%p\n", object);
|
|
|
|
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
|
|
|
|
HeapFree(GetProcessHeap(), 0, object->vtable);
|
|
|
|
HeapFree(GetProcessHeap(), 0, object);
|
2018-06-04 10:45:00 -05:00
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
#include "cppIVRSettings_IVRSettings_003.h"
|
2018-01-18 13:29:49 -06:00
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum, 8)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_SetBool, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_SetInt32, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_SetFloat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_SetString, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetBool, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetInt32, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetFloat, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetString, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_RemoveSection, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_RemoveKeyInSection, 16)
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
const char * __thiscall winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum(struct w_steam_iface *_this, EVRSettingsError eError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eError = eError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRSettings_IVRSettings_003_SetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, bool bValue, EVRSettingsError *peError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_003_SetBool_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.bValue = bValue,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_003_SetBool( ¶ms );
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRSettings_IVRSettings_003_SetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, int32_t nValue, EVRSettingsError *peError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_003_SetInt32_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.nValue = nValue,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_003_SetInt32( ¶ms );
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRSettings_IVRSettings_003_SetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, float flValue, EVRSettingsError *peError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_003_SetFloat_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.flValue = flValue,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_003_SetFloat( ¶ms );
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRSettings_IVRSettings_003_SetString(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, const char *pchValue, EVRSettingsError *peError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_003_SetString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.pchValue = pchValue,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_003_SetString( ¶ms );
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
bool __thiscall winIVRSettings_IVRSettings_003_GetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_003_GetBool_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_003_GetBool( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
int32_t __thiscall winIVRSettings_IVRSettings_003_GetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_003_GetInt32_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_003_GetInt32( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
float __thiscall winIVRSettings_IVRSettings_003_GetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_003_GetFloat_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_003_GetFloat( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRSettings_IVRSettings_003_GetString(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, char *pchValue, uint32_t unValueLen, EVRSettingsError *peError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_003_GetString_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.pchValue = pchValue,
|
|
|
|
.unValueLen = unValueLen,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_003_GetString( ¶ms );
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRSettings_IVRSettings_003_RemoveSection(struct w_steam_iface *_this, const char *pchSection, EVRSettingsError *peError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_003_RemoveSection_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_003_RemoveSection( ¶ms );
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRSettings_IVRSettings_003_RemoveKeyInSection(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-27 11:05:52 +02:00
|
|
|
struct cppIVRSettings_IVRSettings_003_RemoveKeyInSection_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchSection = pchSection,
|
|
|
|
.pchSettingsKey = pchSettingsKey,
|
|
|
|
.peError = peError,
|
|
|
|
};
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 11:05:52 +02:00
|
|
|
cppIVRSettings_IVRSettings_003_RemoveKeyInSection( ¶ms );
|
2018-01-18 13:29:49 -06:00
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
extern vtable_ptr winIVRSettings_IVRSettings_003_vtable;
|
2018-01-18 13:29:49 -06:00
|
|
|
|
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
2023-09-20 23:58:12 +02:00
|
|
|
__ASM_VTABLE(winIVRSettings_IVRSettings_003,
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_SetBool)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_SetInt32)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_SetFloat)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_SetString)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetBool)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetInt32)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetFloat)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetString)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_RemoveSection)
|
|
|
|
VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_RemoveKeyInSection)
|
2018-01-18 13:29:49 -06:00
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winIVRSettings_IVRSettings_003(void *u_iface)
|
2018-01-18 13:29:49 -06:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
|
2018-01-18 13:29:49 -06:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-20 23:58:12 +02:00
|
|
|
r->vtable = &winIVRSettings_IVRSettings_003_vtable;
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2018-01-18 13:29:49 -06:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void destroy_winIVRSettings_IVRSettings_003(struct w_steam_iface *object)
|
2018-04-19 15:50:32 +02:00
|
|
|
{
|
|
|
|
TRACE("%p\n", object);
|
|
|
|
HeapFree(GetProcessHeap(), 0, object);
|
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winIVRSettings_IVRSettings_003_FnTable(void *u_iface)
|
2018-06-04 10:45:00 -05:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
|
2023-09-20 23:58:12 +02:00
|
|
|
struct thunk *thunks = alloc_thunks(11);
|
|
|
|
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 11 * sizeof(*vtable));
|
2018-06-04 10:45:00 -05:00
|
|
|
int i;
|
|
|
|
|
|
|
|
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
2023-09-20 23:58:12 +02:00
|
|
|
init_thunk(&thunks[0], r, winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum, 1, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[1], r, winIVRSettings_IVRSettings_003_SetBool, 4, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[2], r, winIVRSettings_IVRSettings_003_SetInt32, 4, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[3], r, winIVRSettings_IVRSettings_003_SetFloat, 4, TRUE, FALSE);
|
|
|
|
init_thunk(&thunks[4], r, winIVRSettings_IVRSettings_003_SetString, 4, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[5], r, winIVRSettings_IVRSettings_003_GetBool, 3, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[6], r, winIVRSettings_IVRSettings_003_GetInt32, 3, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[7], r, winIVRSettings_IVRSettings_003_GetFloat, 3, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[8], r, winIVRSettings_IVRSettings_003_GetString, 5, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[9], r, winIVRSettings_IVRSettings_003_RemoveSection, 2, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[10], r, winIVRSettings_IVRSettings_003_RemoveKeyInSection, 3, FALSE, FALSE);
|
|
|
|
for (i = 0; i < 11; i++)
|
2018-06-04 10:45:00 -05:00
|
|
|
vtable[i] = &thunks[i];
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2018-06-04 10:45:00 -05:00
|
|
|
r->vtable = (void *)vtable;
|
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void destroy_winIVRSettings_IVRSettings_003_FnTable(struct w_steam_iface *object)
|
2018-06-04 10:45:00 -05:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
TRACE("%p\n", object);
|
|
|
|
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
|
|
|
|
HeapFree(GetProcessHeap(), 0, object->vtable);
|
|
|
|
HeapFree(GetProcessHeap(), 0, object);
|
2018-06-04 10:45:00 -05:00
|
|
|
}
|
|
|
|
|