diff --git a/vrclient_x64/gen_wrapper.py b/vrclient_x64/gen_wrapper.py index 92dcf04b..63076c55 100755 --- a/vrclient_x64/gen_wrapper.py +++ b/vrclient_x64/gen_wrapper.py @@ -679,7 +679,7 @@ def handle_method_c(method, classname, winclassname, cppname, iface_version, out params = [f'{declspec(method.result_type, "*_ret")}'] + params names = ['_ret'] + names - params = [f'{winclassname} *_this'] + params + params = ['struct w_steam_iface *_this'] + params names = ['_this'] + names out(f'{ret}__thiscall {winclassname}_{method.name}({", ".join(params)})\n') @@ -725,7 +725,7 @@ def handle_method_c(method, classname, winclassname, cppname, iface_version, out out(f'{cppname}_{method.name}(') def param_call(param, name): - if name == '_this': return '_this->linux_side' + if name == '_this': return '_this->u_iface' if path_conv and name in path_conv["w2l_names"]: return f'{name} ? lin_{name} : NULL' return name @@ -823,14 +823,6 @@ def handle_class(klass): out = file.write out(f'#include "{cppname}.h"\n\n') - out(f'typedef struct __{winclassname} {{\n') - out(u' vtable_ptr *vtable;\n') # make sure to keep this first (flat API depends on it) - out(u' void *linux_side;\n') - for classname_pattern, user_data_type, _ in method_overrides_data: - if classname_pattern in klass.spelling: - out(f' {user_data_type} user_data;\n') - break - out(f'}} {winclassname};\n\n') for method in klass.methods: handle_thiscall_wrapper(klass, method, out) @@ -853,29 +845,28 @@ def handle_class(klass): out(u'#ifndef __GNUC__\n') out(u'}\n') out(u'#endif\n\n') - out(f'{winclassname} *create_{winclassname}(void *linux_side)\n') + out(f'struct w_steam_iface *create_{winclassname}(void *u_iface)\n') out(u'{\n') - out(f' {winclassname} *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof({winclassname}));\n') + out(u' struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));\n') out(u' TRACE("-> %p\\n", r);\n') out(f' r->vtable = &{winclassname}_vtable;\n') - out(u' r->linux_side = linux_side;\n') + out(u' r->u_iface = u_iface;\n') out(u' return r;\n') out(u'}\n\n') - out(f'void destroy_{winclassname}(void *object)\n') + out(f'void destroy_{winclassname}(struct w_steam_iface *object)\n') out(u'{\n') out(u' TRACE("%p\\n", object);\n') for classname_pattern, user_data_type, user_data_destructor in method_overrides_data: if user_data_destructor and classname_pattern in klass.spelling: - out(f' struct __{winclassname} *win_object = object;\n') - out(f' {user_data_destructor}(&win_object->user_data);\n') + out(f' {user_data_destructor}(&object->user_data);\n') break out(u' HeapFree(GetProcessHeap(), 0, object);\n') out(u'}\n\n') # flat (FnTable) API - out(f'{winclassname} *create_{winclassname}_FnTable(void *linux_side)\n') + out(f'struct w_steam_iface *create_{winclassname}_FnTable(void *u_iface)\n') out(u'{\n') - out(f' {winclassname} *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof({winclassname}));\n') + out(u' struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));\n') out(f' struct thunk *thunks = alloc_thunks({len(klass.methods)});\n') out(f' struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, {len(klass.methods)} * sizeof(*vtable));\n') out(u' int i;\n\n') @@ -888,30 +879,29 @@ def handle_class(klass): out(f' init_thunk(&thunks[{i}], r, {winclassname}_{method.name}, {thunk_params});\n') out(f' for (i = 0; i < {len(klass.methods)}; i++)\n') out(u' vtable[i] = &thunks[i];\n') - out(u' r->linux_side = linux_side;\n') + out(u' r->u_iface = u_iface;\n') out(u' r->vtable = (void *)vtable;\n') out(u' return r;\n') out(u'}\n\n') - out(f'void destroy_{winclassname}_FnTable(void *object)\n') + out(f'void destroy_{winclassname}_FnTable(struct w_steam_iface *object)\n') out(u'{\n') - out(f' {winclassname} *win_object = object;\n') - out(u' TRACE("%p\\n", win_object);\n') + out(u' TRACE("%p\\n", object);\n') for classname_pattern, user_data_type, user_data_destructor in method_overrides_data: if user_data_destructor and classname_pattern in klass.spelling: - out(f' {user_data_destructor}(&win_object->user_data);\n') + out(f' {user_data_destructor}(&object->user_data);\n') break - out(u' VirtualFree(win_object->vtable[0], 0, MEM_RELEASE);\n') - out(u' HeapFree(GetProcessHeap(), 0, win_object->vtable);\n') - out(u' HeapFree(GetProcessHeap(), 0, win_object);\n') + out(u' VirtualFree(object->vtable[0], 0, MEM_RELEASE);\n') + out(u' HeapFree(GetProcessHeap(), 0, object->vtable);\n') + out(u' HeapFree(GetProcessHeap(), 0, object);\n') out(u'}\n\n') constructors = open("vrclient_x64/win_constructors.h", "a") - constructors.write(f'extern void *create_{winclassname}(void *);\n') - constructors.write(f'extern void *create_{winclassname}_FnTable(void *);\n') + constructors.write(f'extern struct w_steam_iface *create_{winclassname}(void *);\n') + constructors.write(f'extern struct w_steam_iface *create_{winclassname}_FnTable(void *);\n') destructors = open("vrclient_x64/win_destructors.h", "a") - destructors.write(f'extern void destroy_{winclassname}(void *);\n') - destructors.write(f'extern void destroy_{winclassname}_FnTable(void *);\n') + destructors.write(f'extern void destroy_{winclassname}(struct w_steam_iface *);\n') + destructors.write(f'extern void destroy_{winclassname}_FnTable(struct w_steam_iface *);\n') constructors = open("vrclient_x64/win_constructors_table.dat", "a") constructors.write(f" {{\"{klass.version}\", &create_{winclassname}, &destroy_{winclassname}}},\n") @@ -1563,8 +1553,6 @@ for klass in all_classes.values(): out(u'#include "winbase.h"\n') out(u'#include "wine/debug.h"\n') out(u'\n') - out(u'#include "cxx.h"\n') - out(u'\n') out(u'#include "vrclient_defs.h"\n') out(u'\n') out(u'#include "vrclient_private.h"\n') diff --git a/vrclient_x64/vrclient_x64/vrclient_main.c b/vrclient_x64/vrclient_x64/vrclient_main.c index 951aa266..b1e3fe68 100644 --- a/vrclient_x64/vrclient_x64/vrclient_main.c +++ b/vrclient_x64/vrclient_x64/vrclient_main.c @@ -214,17 +214,17 @@ static BOOL array_reserve(void **elements, SIZE_T *capacity, SIZE_T count, SIZE_ #include "win_constructors.h" #include "win_destructors.h" -typedef void (*pfn_dtor)(void *); +typedef void (*pfn_dtor)(struct w_steam_iface *); static const struct { const char *iface_version; - void *(*ctor)(void *); - void (*dtor)(void *); + struct w_steam_iface *(*ctor)(void *); + void (*dtor)(struct w_steam_iface *); } constructors[] = { #include "win_constructors_table.dat" }; -void *create_win_interface(const char *name, void *linux_side) +struct w_steam_iface *create_win_interface(const char *name, void *linux_side) { unsigned int i; @@ -569,9 +569,9 @@ void *ivrclientcore_get_generic_interface(void *(*cpp_func)(void *, const char * unsigned int version, struct client_core_data *user_data) { const char *cpp_name_and_version = name_and_version; + struct w_steam_iface *win_object; struct generic_interface *iface; pfn_dtor destructor; - void *win_object; void *object; TRACE("%p, %p, %p\n", linux_side, name_and_version, error); diff --git a/vrclient_x64/vrclient_x64/vrclient_private.h b/vrclient_x64/vrclient_x64/vrclient_private.h index 67e825fb..5c5d331f 100644 --- a/vrclient_x64/vrclient_x64/vrclient_private.h +++ b/vrclient_x64/vrclient_x64/vrclient_private.h @@ -1,6 +1,12 @@ #include #include +#ifndef __cplusplus +#include "cxx.h" +#else +typedef void (*vtable_ptr)(void); +#endif + #if __cplusplus extern "C" { #endif @@ -44,7 +50,6 @@ typedef struct __winISteamContentServer winISteamContentServer; typedef struct __winX winX; typedef struct __winX winX; -void *create_win_interface(const char *name, void *linux_side); unsigned int vrclient_unix_path_to_dos_path(bool api_result, const char *src, char *dst, uint32_t dst_bytes); void *create_LinuxMatchmakingServerListResponse(void *win); @@ -52,12 +57,6 @@ void *create_LinuxMatchmakingServerListResponse(void *win); typedef struct ID3D11Device ID3D11Device; typedef struct IDXGIVkInteropDevice IDXGIVkInteropDevice; -struct generic_interface -{ - void *object; - void (*dtor)(void *); -}; - struct client_core_data { CRITICAL_SECTION critical_section; @@ -66,6 +65,24 @@ struct client_core_data SIZE_T created_interfaces_size; }; +struct w_steam_iface +{ + vtable_ptr *vtable; + void *u_iface; + union + { + struct client_core_data user_data; /* for IVRClientCore */ + }; +}; + +struct w_steam_iface *create_win_interface(const char *name, void *linux_side); + +struct generic_interface +{ + struct w_steam_iface *object; + void (*dtor)(struct w_steam_iface *); +}; + bool ivrclientcore_is_hmd_present(bool (*cpp_func)(void *), void *linux_side, unsigned int version, struct client_core_data *user_data); EVRInitError ivrclientcore_002_init(EVRInitError (*cpp_func)(void *, EVRApplicationType), diff --git a/vrclient_x64/vrclient_x64/winIVRApplications.c b/vrclient_x64/vrclient_x64/winIVRApplications.c index bc2c153b..2836c39b 100644 --- a/vrclient_x64/vrclient_x64/winIVRApplications.c +++ b/vrclient_x64/vrclient_x64/winIVRApplications.c @@ -6,8 +6,6 @@ #include "winbase.h" #include "wine/debug.h" -#include "cxx.h" - #include "vrclient_defs.h" #include "vrclient_private.h" @@ -20,11 +18,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); #include "cppIVRApplications_IVRApplications_001.h" -typedef struct __winIVRApplications_IVRApplications_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVRApplications_IVRApplications_001; - DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_AddApplicationManifest, 12) DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_RemoveApplicationManifest, 8) DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_IsApplicationInstalled, 8) @@ -47,175 +40,175 @@ DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetTransitionStat DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck, 8) DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_AddApplicationManifest(winIVRApplications_IVRApplications_001 *_this, const char *pchApplicationManifestFullPath, bool bTemporary) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_AddApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath, bool bTemporary) { EVRApplicationError _ret; char lin_pchApplicationManifestFullPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); + _ret = cppIVRApplications_IVRApplications_001_AddApplicationManifest(_this->u_iface, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_RemoveApplicationManifest(winIVRApplications_IVRApplications_001 *_this, const char *pchApplicationManifestFullPath) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_RemoveApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath) { EVRApplicationError _ret; char lin_pchApplicationManifestFullPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); + _ret = cppIVRApplications_IVRApplications_001_RemoveApplicationManifest(_this->u_iface, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_001_IsApplicationInstalled(winIVRApplications_IVRApplications_001 *_this, const char *pchAppKey) +bool __thiscall winIVRApplications_IVRApplications_001_IsApplicationInstalled(struct w_steam_iface *_this, const char *pchAppKey) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_IsApplicationInstalled(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_001_IsApplicationInstalled(_this->u_iface, pchAppKey); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationCount(winIVRApplications_IVRApplications_001 *_this) +uint32_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationCount(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetApplicationCount(_this->linux_side); + _ret = cppIVRApplications_IVRApplications_001_GetApplicationCount(_this->u_iface); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_001 *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetApplicationKeyByIndex(struct w_steam_iface *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_001_GetApplicationKeyByIndex(_this->u_iface, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_001 *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId(struct w_steam_iface *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId(_this->u_iface, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_LaunchApplication(winIVRApplications_IVRApplications_001 *_this, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_LaunchApplication(struct w_steam_iface *_this, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_LaunchApplication(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_001_LaunchApplication(_this->u_iface, pchAppKey); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_LaunchDashboardOverlay(winIVRApplications_IVRApplications_001 *_this, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_LaunchDashboardOverlay(struct w_steam_iface *_this, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_LaunchDashboardOverlay(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_001_LaunchDashboardOverlay(_this->u_iface, pchAppKey); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_IdentifyApplication(winIVRApplications_IVRApplications_001 *_this, uint32_t unProcessId, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_IdentifyApplication(struct w_steam_iface *_this, uint32_t unProcessId, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); + _ret = cppIVRApplications_IVRApplications_001_IdentifyApplication(_this->u_iface, unProcessId, pchAppKey); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationProcessId(winIVRApplications_IVRApplications_001 *_this, const char *pchAppKey) +uint32_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationProcessId(struct w_steam_iface *_this, const char *pchAppKey) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetApplicationProcessId(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_001_GetApplicationProcessId(_this->u_iface, pchAppKey); return _ret; } -const char * __thiscall winIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_001 *_this, EVRApplicationError error) +const char * __thiscall winIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum(struct w_steam_iface *_this, EVRApplicationError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum(_this->u_iface, error); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationPropertyString(winIVRApplications_IVRApplications_001 *_this, const char *pchAppKey, EVRApplicationProperty eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError) +uint32_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationPropertyString(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); + _ret = cppIVRApplications_IVRApplications_001_GetApplicationPropertyString(_this->u_iface, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_001_GetApplicationPropertyBool(winIVRApplications_IVRApplications_001 *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +bool __thiscall winIVRApplications_IVRApplications_001_GetApplicationPropertyBool(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); + _ret = cppIVRApplications_IVRApplications_001_GetApplicationPropertyBool(_this->u_iface, pchAppKey, eProperty, peError); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetHomeApplication(winIVRApplications_IVRApplications_001 *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetHomeApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetHomeApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_001_GetHomeApplication(_this->u_iface, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_SetHomeApplication(winIVRApplications_IVRApplications_001 *_this, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_SetHomeApplication(struct w_steam_iface *_this, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_SetHomeApplication(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_001_SetHomeApplication(_this->u_iface, pchAppKey); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_001 *_this, const char *pchAppKey, bool bAutoLaunch) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_SetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey, bool bAutoLaunch) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); + _ret = cppIVRApplications_IVRApplications_001_SetApplicationAutoLaunch(_this->u_iface, pchAppKey, bAutoLaunch); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_001_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_001 *_this, const char *pchAppKey) +bool __thiscall winIVRApplications_IVRApplications_001_GetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_001_GetApplicationAutoLaunch(_this->u_iface, pchAppKey); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetStartingApplication(winIVRApplications_IVRApplications_001 *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetStartingApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_001_GetStartingApplication(_this->u_iface, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_001_GetTransitionState(winIVRApplications_IVRApplications_001 *_this) +EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_001_GetTransitionState(struct w_steam_iface *_this) { EVRApplicationTransitionState _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetTransitionState(_this->linux_side); + _ret = cppIVRApplications_IVRApplications_001_GetTransitionState(_this->u_iface); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_001 *_this, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck(struct w_steam_iface *_this, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck(_this->u_iface, pchAppKey); return _ret; } -const char * __thiscall winIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(winIVRApplications_IVRApplications_001 *_this, EVRApplicationTransitionState state) +const char * __thiscall winIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(struct w_steam_iface *_this, EVRApplicationTransitionState state) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(_this->linux_side, state); + _ret = cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(_this->u_iface, state); return _ret; } @@ -251,24 +244,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRApplications_IVRApplications_001 *create_winIVRApplications_IVRApplications_001(void *linux_side) +struct w_steam_iface *create_winIVRApplications_IVRApplications_001(void *u_iface) { - winIVRApplications_IVRApplications_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRApplications_IVRApplications_001_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRApplications_IVRApplications_001(void *object) +void destroy_winIVRApplications_IVRApplications_001(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRApplications_IVRApplications_001 *create_winIVRApplications_IVRApplications_001_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRApplications_IVRApplications_001_FnTable(void *u_iface) { - winIVRApplications_IVRApplications_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(21); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 21 * sizeof(*vtable)); int i; @@ -297,27 +290,21 @@ winIVRApplications_IVRApplications_001 *create_winIVRApplications_IVRApplication init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); for (i = 0; i < 21; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRApplications_IVRApplications_001_FnTable(void *object) +void destroy_winIVRApplications_IVRApplications_001_FnTable(struct w_steam_iface *object) { - winIVRApplications_IVRApplications_001 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRApplications_IVRApplications_002.h" -typedef struct __winIVRApplications_IVRApplications_002 { - vtable_ptr *vtable; - void *linux_side; -} winIVRApplications_IVRApplications_002; - DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_AddApplicationManifest, 12) DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_RemoveApplicationManifest, 8) DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_IsApplicationInstalled, 8) @@ -339,167 +326,167 @@ DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_PerformApplicatio DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum, 8) DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_IsQuitUserPromptRequested, 4) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_AddApplicationManifest(winIVRApplications_IVRApplications_002 *_this, const char *pchApplicationManifestFullPath, bool bTemporary) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_AddApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath, bool bTemporary) { EVRApplicationError _ret; char lin_pchApplicationManifestFullPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); + _ret = cppIVRApplications_IVRApplications_002_AddApplicationManifest(_this->u_iface, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_RemoveApplicationManifest(winIVRApplications_IVRApplications_002 *_this, const char *pchApplicationManifestFullPath) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_RemoveApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath) { EVRApplicationError _ret; char lin_pchApplicationManifestFullPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); + _ret = cppIVRApplications_IVRApplications_002_RemoveApplicationManifest(_this->u_iface, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_002_IsApplicationInstalled(winIVRApplications_IVRApplications_002 *_this, const char *pchAppKey) +bool __thiscall winIVRApplications_IVRApplications_002_IsApplicationInstalled(struct w_steam_iface *_this, const char *pchAppKey) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_IsApplicationInstalled(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_002_IsApplicationInstalled(_this->u_iface, pchAppKey); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationCount(winIVRApplications_IVRApplications_002 *_this) +uint32_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationCount(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_GetApplicationCount(_this->linux_side); + _ret = cppIVRApplications_IVRApplications_002_GetApplicationCount(_this->u_iface); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_002 *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_GetApplicationKeyByIndex(struct w_steam_iface *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_002_GetApplicationKeyByIndex(_this->u_iface, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_002 *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId(struct w_steam_iface *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId(_this->u_iface, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_LaunchApplication(winIVRApplications_IVRApplications_002 *_this, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_LaunchApplication(struct w_steam_iface *_this, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_LaunchApplication(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_002_LaunchApplication(_this->u_iface, pchAppKey); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_LaunchDashboardOverlay(winIVRApplications_IVRApplications_002 *_this, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_LaunchDashboardOverlay(struct w_steam_iface *_this, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_LaunchDashboardOverlay(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_002_LaunchDashboardOverlay(_this->u_iface, pchAppKey); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_IdentifyApplication(winIVRApplications_IVRApplications_002 *_this, uint32_t unProcessId, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_IdentifyApplication(struct w_steam_iface *_this, uint32_t unProcessId, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); + _ret = cppIVRApplications_IVRApplications_002_IdentifyApplication(_this->u_iface, unProcessId, pchAppKey); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationProcessId(winIVRApplications_IVRApplications_002 *_this, const char *pchAppKey) +uint32_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationProcessId(struct w_steam_iface *_this, const char *pchAppKey) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_GetApplicationProcessId(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_002_GetApplicationProcessId(_this->u_iface, pchAppKey); return _ret; } -const char * __thiscall winIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_002 *_this, EVRApplicationError error) +const char * __thiscall winIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum(struct w_steam_iface *_this, EVRApplicationError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum(_this->u_iface, error); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationPropertyString(winIVRApplications_IVRApplications_002 *_this, const char *pchAppKey, EVRApplicationProperty eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError) +uint32_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationPropertyString(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); + _ret = cppIVRApplications_IVRApplications_002_GetApplicationPropertyString(_this->u_iface, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_002_GetApplicationPropertyBool(winIVRApplications_IVRApplications_002 *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +bool __thiscall winIVRApplications_IVRApplications_002_GetApplicationPropertyBool(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); + _ret = cppIVRApplications_IVRApplications_002_GetApplicationPropertyBool(_this->u_iface, pchAppKey, eProperty, peError); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_002 *_this, const char *pchAppKey, bool bAutoLaunch) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_SetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey, bool bAutoLaunch) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); + _ret = cppIVRApplications_IVRApplications_002_SetApplicationAutoLaunch(_this->u_iface, pchAppKey, bAutoLaunch); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_002_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_002 *_this, const char *pchAppKey) +bool __thiscall winIVRApplications_IVRApplications_002_GetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_002_GetApplicationAutoLaunch(_this->u_iface, pchAppKey); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_GetStartingApplication(winIVRApplications_IVRApplications_002 *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_GetStartingApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_002_GetStartingApplication(_this->u_iface, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_002_GetTransitionState(winIVRApplications_IVRApplications_002 *_this) +EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_002_GetTransitionState(struct w_steam_iface *_this) { EVRApplicationTransitionState _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_GetTransitionState(_this->linux_side); + _ret = cppIVRApplications_IVRApplications_002_GetTransitionState(_this->u_iface); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_002 *_this, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck(struct w_steam_iface *_this, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck(_this->u_iface, pchAppKey); return _ret; } -const char * __thiscall winIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(winIVRApplications_IVRApplications_002 *_this, EVRApplicationTransitionState state) +const char * __thiscall winIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(struct w_steam_iface *_this, EVRApplicationTransitionState state) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(_this->linux_side, state); + _ret = cppIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(_this->u_iface, state); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_002_IsQuitUserPromptRequested(winIVRApplications_IVRApplications_002 *_this) +bool __thiscall winIVRApplications_IVRApplications_002_IsQuitUserPromptRequested(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested(_this->linux_side); + _ret = cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested(_this->u_iface); return _ret; } @@ -534,24 +521,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRApplications_IVRApplications_002 *create_winIVRApplications_IVRApplications_002(void *linux_side) +struct w_steam_iface *create_winIVRApplications_IVRApplications_002(void *u_iface) { - winIVRApplications_IVRApplications_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_002)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRApplications_IVRApplications_002_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRApplications_IVRApplications_002(void *object) +void destroy_winIVRApplications_IVRApplications_002(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRApplications_IVRApplications_002 *create_winIVRApplications_IVRApplications_002_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRApplications_IVRApplications_002_FnTable(void *u_iface) { - winIVRApplications_IVRApplications_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_002)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(20); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 20 * sizeof(*vtable)); int i; @@ -579,27 +566,21 @@ winIVRApplications_IVRApplications_002 *create_winIVRApplications_IVRApplication init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_002_IsQuitUserPromptRequested, 0, FALSE, FALSE); for (i = 0; i < 20; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRApplications_IVRApplications_002_FnTable(void *object) +void destroy_winIVRApplications_IVRApplications_002_FnTable(struct w_steam_iface *object) { - winIVRApplications_IVRApplications_002 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRApplications_IVRApplications_003.h" -typedef struct __winIVRApplications_IVRApplications_003 { - vtable_ptr *vtable; - void *linux_side; -} winIVRApplications_IVRApplications_003; - DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_AddApplicationManifest, 12) DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_RemoveApplicationManifest, 8) DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_IsApplicationInstalled, 8) @@ -622,175 +603,175 @@ DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_PerformApplicatio DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum, 8) DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_IsQuitUserPromptRequested, 4) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_AddApplicationManifest(winIVRApplications_IVRApplications_003 *_this, const char *pchApplicationManifestFullPath, bool bTemporary) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_AddApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath, bool bTemporary) { EVRApplicationError _ret; char lin_pchApplicationManifestFullPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); + _ret = cppIVRApplications_IVRApplications_003_AddApplicationManifest(_this->u_iface, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_RemoveApplicationManifest(winIVRApplications_IVRApplications_003 *_this, const char *pchApplicationManifestFullPath) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_RemoveApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath) { EVRApplicationError _ret; char lin_pchApplicationManifestFullPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); + _ret = cppIVRApplications_IVRApplications_003_RemoveApplicationManifest(_this->u_iface, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_003_IsApplicationInstalled(winIVRApplications_IVRApplications_003 *_this, const char *pchAppKey) +bool __thiscall winIVRApplications_IVRApplications_003_IsApplicationInstalled(struct w_steam_iface *_this, const char *pchAppKey) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_IsApplicationInstalled(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_003_IsApplicationInstalled(_this->u_iface, pchAppKey); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationCount(winIVRApplications_IVRApplications_003 *_this) +uint32_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationCount(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetApplicationCount(_this->linux_side); + _ret = cppIVRApplications_IVRApplications_003_GetApplicationCount(_this->u_iface); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_003 *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_GetApplicationKeyByIndex(struct w_steam_iface *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_003_GetApplicationKeyByIndex(_this->u_iface, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_003 *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId(struct w_steam_iface *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId(_this->u_iface, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_LaunchApplication(winIVRApplications_IVRApplications_003 *_this, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_LaunchApplication(struct w_steam_iface *_this, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_LaunchApplication(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_003_LaunchApplication(_this->u_iface, pchAppKey); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_LaunchDashboardOverlay(winIVRApplications_IVRApplications_003 *_this, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_LaunchDashboardOverlay(struct w_steam_iface *_this, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_LaunchDashboardOverlay(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_003_LaunchDashboardOverlay(_this->u_iface, pchAppKey); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_IdentifyApplication(winIVRApplications_IVRApplications_003 *_this, uint32_t unProcessId, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_IdentifyApplication(struct w_steam_iface *_this, uint32_t unProcessId, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); + _ret = cppIVRApplications_IVRApplications_003_IdentifyApplication(_this->u_iface, unProcessId, pchAppKey); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationProcessId(winIVRApplications_IVRApplications_003 *_this, const char *pchAppKey) +uint32_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationProcessId(struct w_steam_iface *_this, const char *pchAppKey) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetApplicationProcessId(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_003_GetApplicationProcessId(_this->u_iface, pchAppKey); return _ret; } -const char * __thiscall winIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_003 *_this, EVRApplicationError error) +const char * __thiscall winIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum(struct w_steam_iface *_this, EVRApplicationError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum(_this->u_iface, error); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationPropertyString(winIVRApplications_IVRApplications_003 *_this, const char *pchAppKey, EVRApplicationProperty eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError) +uint32_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationPropertyString(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); + _ret = cppIVRApplications_IVRApplications_003_GetApplicationPropertyString(_this->u_iface, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_003_GetApplicationPropertyBool(winIVRApplications_IVRApplications_003 *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +bool __thiscall winIVRApplications_IVRApplications_003_GetApplicationPropertyBool(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); + _ret = cppIVRApplications_IVRApplications_003_GetApplicationPropertyBool(_this->u_iface, pchAppKey, eProperty, peError); return _ret; } -uint64_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationPropertyUint64(winIVRApplications_IVRApplications_003 *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +uint64_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationPropertyUint64(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetApplicationPropertyUint64(_this->linux_side, pchAppKey, eProperty, peError); + _ret = cppIVRApplications_IVRApplications_003_GetApplicationPropertyUint64(_this->u_iface, pchAppKey, eProperty, peError); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_003 *_this, const char *pchAppKey, bool bAutoLaunch) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_SetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey, bool bAutoLaunch) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); + _ret = cppIVRApplications_IVRApplications_003_SetApplicationAutoLaunch(_this->u_iface, pchAppKey, bAutoLaunch); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_003_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_003 *_this, const char *pchAppKey) +bool __thiscall winIVRApplications_IVRApplications_003_GetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_003_GetApplicationAutoLaunch(_this->u_iface, pchAppKey); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_GetStartingApplication(winIVRApplications_IVRApplications_003 *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_GetStartingApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_003_GetStartingApplication(_this->u_iface, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_003_GetTransitionState(winIVRApplications_IVRApplications_003 *_this) +EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_003_GetTransitionState(struct w_steam_iface *_this) { EVRApplicationTransitionState _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetTransitionState(_this->linux_side); + _ret = cppIVRApplications_IVRApplications_003_GetTransitionState(_this->u_iface); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_003 *_this, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck(struct w_steam_iface *_this, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck(_this->u_iface, pchAppKey); return _ret; } -const char * __thiscall winIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(winIVRApplications_IVRApplications_003 *_this, EVRApplicationTransitionState state) +const char * __thiscall winIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(struct w_steam_iface *_this, EVRApplicationTransitionState state) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(_this->linux_side, state); + _ret = cppIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(_this->u_iface, state); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_003_IsQuitUserPromptRequested(winIVRApplications_IVRApplications_003 *_this) +bool __thiscall winIVRApplications_IVRApplications_003_IsQuitUserPromptRequested(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested(_this->linux_side); + _ret = cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested(_this->u_iface); return _ret; } @@ -826,24 +807,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRApplications_IVRApplications_003 *create_winIVRApplications_IVRApplications_003(void *linux_side) +struct w_steam_iface *create_winIVRApplications_IVRApplications_003(void *u_iface) { - winIVRApplications_IVRApplications_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_003)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRApplications_IVRApplications_003_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRApplications_IVRApplications_003(void *object) +void destroy_winIVRApplications_IVRApplications_003(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRApplications_IVRApplications_003 *create_winIVRApplications_IVRApplications_003_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRApplications_IVRApplications_003_FnTable(void *u_iface) { - winIVRApplications_IVRApplications_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_003)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(21); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 21 * sizeof(*vtable)); int i; @@ -872,27 +853,21 @@ winIVRApplications_IVRApplications_003 *create_winIVRApplications_IVRApplication init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_003_IsQuitUserPromptRequested, 0, FALSE, FALSE); for (i = 0; i < 21; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRApplications_IVRApplications_003_FnTable(void *object) +void destroy_winIVRApplications_IVRApplications_003_FnTable(struct w_steam_iface *object) { - winIVRApplications_IVRApplications_003 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRApplications_IVRApplications_004.h" -typedef struct __winIVRApplications_IVRApplications_004 { - vtable_ptr *vtable; - void *linux_side; -} winIVRApplications_IVRApplications_004; - DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_AddApplicationManifest, 12) DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_RemoveApplicationManifest, 8) DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_IsApplicationInstalled, 8) @@ -917,191 +892,191 @@ DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationsTr DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_IsQuitUserPromptRequested, 4) DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_LaunchInternalProcess, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_AddApplicationManifest(winIVRApplications_IVRApplications_004 *_this, const char *pchApplicationManifestFullPath, bool bTemporary) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_AddApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath, bool bTemporary) { EVRApplicationError _ret; char lin_pchApplicationManifestFullPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); + _ret = cppIVRApplications_IVRApplications_004_AddApplicationManifest(_this->u_iface, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_RemoveApplicationManifest(winIVRApplications_IVRApplications_004 *_this, const char *pchApplicationManifestFullPath) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_RemoveApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath) { EVRApplicationError _ret; char lin_pchApplicationManifestFullPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); + _ret = cppIVRApplications_IVRApplications_004_RemoveApplicationManifest(_this->u_iface, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_004_IsApplicationInstalled(winIVRApplications_IVRApplications_004 *_this, const char *pchAppKey) +bool __thiscall winIVRApplications_IVRApplications_004_IsApplicationInstalled(struct w_steam_iface *_this, const char *pchAppKey) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_IsApplicationInstalled(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_004_IsApplicationInstalled(_this->u_iface, pchAppKey); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationCount(winIVRApplications_IVRApplications_004 *_this) +uint32_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationCount(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetApplicationCount(_this->linux_side); + _ret = cppIVRApplications_IVRApplications_004_GetApplicationCount(_this->u_iface); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_004 *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_GetApplicationKeyByIndex(struct w_steam_iface *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_004_GetApplicationKeyByIndex(_this->u_iface, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_004 *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId(struct w_steam_iface *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId(_this->u_iface, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_LaunchApplication(winIVRApplications_IVRApplications_004 *_this, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_LaunchApplication(struct w_steam_iface *_this, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_LaunchApplication(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_004_LaunchApplication(_this->u_iface, pchAppKey); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_LaunchDashboardOverlay(winIVRApplications_IVRApplications_004 *_this, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_LaunchDashboardOverlay(struct w_steam_iface *_this, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_LaunchDashboardOverlay(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_004_LaunchDashboardOverlay(_this->u_iface, pchAppKey); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_004_CancelApplicationLaunch(winIVRApplications_IVRApplications_004 *_this, const char *pchAppKey) +bool __thiscall winIVRApplications_IVRApplications_004_CancelApplicationLaunch(struct w_steam_iface *_this, const char *pchAppKey) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_CancelApplicationLaunch(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_004_CancelApplicationLaunch(_this->u_iface, pchAppKey); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_IdentifyApplication(winIVRApplications_IVRApplications_004 *_this, uint32_t unProcessId, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_IdentifyApplication(struct w_steam_iface *_this, uint32_t unProcessId, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); + _ret = cppIVRApplications_IVRApplications_004_IdentifyApplication(_this->u_iface, unProcessId, pchAppKey); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationProcessId(winIVRApplications_IVRApplications_004 *_this, const char *pchAppKey) +uint32_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationProcessId(struct w_steam_iface *_this, const char *pchAppKey) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetApplicationProcessId(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_004_GetApplicationProcessId(_this->u_iface, pchAppKey); return _ret; } -const char * __thiscall winIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_004 *_this, EVRApplicationError error) +const char * __thiscall winIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum(struct w_steam_iface *_this, EVRApplicationError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum(_this->u_iface, error); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationPropertyString(winIVRApplications_IVRApplications_004 *_this, const char *pchAppKey, EVRApplicationProperty eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError) +uint32_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationPropertyString(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); + _ret = cppIVRApplications_IVRApplications_004_GetApplicationPropertyString(_this->u_iface, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_004_GetApplicationPropertyBool(winIVRApplications_IVRApplications_004 *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +bool __thiscall winIVRApplications_IVRApplications_004_GetApplicationPropertyBool(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); + _ret = cppIVRApplications_IVRApplications_004_GetApplicationPropertyBool(_this->u_iface, pchAppKey, eProperty, peError); return _ret; } -uint64_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationPropertyUint64(winIVRApplications_IVRApplications_004 *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +uint64_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationPropertyUint64(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetApplicationPropertyUint64(_this->linux_side, pchAppKey, eProperty, peError); + _ret = cppIVRApplications_IVRApplications_004_GetApplicationPropertyUint64(_this->u_iface, pchAppKey, eProperty, peError); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_004 *_this, const char *pchAppKey, bool bAutoLaunch) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_SetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey, bool bAutoLaunch) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); + _ret = cppIVRApplications_IVRApplications_004_SetApplicationAutoLaunch(_this->u_iface, pchAppKey, bAutoLaunch); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_004_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_004 *_this, const char *pchAppKey) +bool __thiscall winIVRApplications_IVRApplications_004_GetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_004_GetApplicationAutoLaunch(_this->u_iface, pchAppKey); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_GetStartingApplication(winIVRApplications_IVRApplications_004 *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_GetStartingApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_004_GetStartingApplication(_this->u_iface, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_004_GetTransitionState(winIVRApplications_IVRApplications_004 *_this) +EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_004_GetTransitionState(struct w_steam_iface *_this) { EVRApplicationTransitionState _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetTransitionState(_this->linux_side); + _ret = cppIVRApplications_IVRApplications_004_GetTransitionState(_this->u_iface); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_004 *_this, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck(struct w_steam_iface *_this, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck(_this->u_iface, pchAppKey); return _ret; } -const char * __thiscall winIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(winIVRApplications_IVRApplications_004 *_this, EVRApplicationTransitionState state) +const char * __thiscall winIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(struct w_steam_iface *_this, EVRApplicationTransitionState state) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(_this->linux_side, state); + _ret = cppIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(_this->u_iface, state); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_004_IsQuitUserPromptRequested(winIVRApplications_IVRApplications_004 *_this) +bool __thiscall winIVRApplications_IVRApplications_004_IsQuitUserPromptRequested(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_IsQuitUserPromptRequested(_this->linux_side); + _ret = cppIVRApplications_IVRApplications_004_IsQuitUserPromptRequested(_this->u_iface); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_LaunchInternalProcess(winIVRApplications_IVRApplications_004 *_this, const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_LaunchInternalProcess(struct w_steam_iface *_this, const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_LaunchInternalProcess(_this->linux_side, pchBinaryPath, pchArguments, pchWorkingDirectory); + _ret = cppIVRApplications_IVRApplications_004_LaunchInternalProcess(_this->u_iface, pchBinaryPath, pchArguments, pchWorkingDirectory); return _ret; } @@ -1139,24 +1114,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRApplications_IVRApplications_004 *create_winIVRApplications_IVRApplications_004(void *linux_side) +struct w_steam_iface *create_winIVRApplications_IVRApplications_004(void *u_iface) { - winIVRApplications_IVRApplications_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_004)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRApplications_IVRApplications_004_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRApplications_IVRApplications_004(void *object) +void destroy_winIVRApplications_IVRApplications_004(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRApplications_IVRApplications_004 *create_winIVRApplications_IVRApplications_004_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRApplications_IVRApplications_004_FnTable(void *u_iface) { - winIVRApplications_IVRApplications_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_004)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(23); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 23 * sizeof(*vtable)); int i; @@ -1187,27 +1162,21 @@ winIVRApplications_IVRApplications_004 *create_winIVRApplications_IVRApplication init_thunk(&thunks[22], r, winIVRApplications_IVRApplications_004_LaunchInternalProcess, 3, FALSE, FALSE); for (i = 0; i < 23; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRApplications_IVRApplications_004_FnTable(void *object) +void destroy_winIVRApplications_IVRApplications_004_FnTable(struct w_steam_iface *object) { - winIVRApplications_IVRApplications_004 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRApplications_IVRApplications_005.h" -typedef struct __winIVRApplications_IVRApplications_005 { - vtable_ptr *vtable; - void *linux_side; -} winIVRApplications_IVRApplications_005; - DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_AddApplicationManifest, 12) DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_RemoveApplicationManifest, 8) DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_IsApplicationInstalled, 8) @@ -1233,199 +1202,199 @@ DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationsTr DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_IsQuitUserPromptRequested, 4) DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_LaunchInternalProcess, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_AddApplicationManifest(winIVRApplications_IVRApplications_005 *_this, const char *pchApplicationManifestFullPath, bool bTemporary) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_AddApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath, bool bTemporary) { EVRApplicationError _ret; char lin_pchApplicationManifestFullPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); + _ret = cppIVRApplications_IVRApplications_005_AddApplicationManifest(_this->u_iface, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_RemoveApplicationManifest(winIVRApplications_IVRApplications_005 *_this, const char *pchApplicationManifestFullPath) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_RemoveApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath) { EVRApplicationError _ret; char lin_pchApplicationManifestFullPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); + _ret = cppIVRApplications_IVRApplications_005_RemoveApplicationManifest(_this->u_iface, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_005_IsApplicationInstalled(winIVRApplications_IVRApplications_005 *_this, const char *pchAppKey) +bool __thiscall winIVRApplications_IVRApplications_005_IsApplicationInstalled(struct w_steam_iface *_this, const char *pchAppKey) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_IsApplicationInstalled(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_005_IsApplicationInstalled(_this->u_iface, pchAppKey); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationCount(winIVRApplications_IVRApplications_005 *_this) +uint32_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationCount(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetApplicationCount(_this->linux_side); + _ret = cppIVRApplications_IVRApplications_005_GetApplicationCount(_this->u_iface); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_005 *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_GetApplicationKeyByIndex(struct w_steam_iface *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_005_GetApplicationKeyByIndex(_this->u_iface, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_005 *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId(struct w_steam_iface *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId(_this->u_iface, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchApplication(winIVRApplications_IVRApplications_005 *_this, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchApplication(struct w_steam_iface *_this, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_LaunchApplication(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_005_LaunchApplication(_this->u_iface, pchAppKey); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchTemplateApplication(winIVRApplications_IVRApplications_005 *_this, const char *pchTemplateAppKey, const char *pchNewAppKey, const AppOverrideKeys_t *pKeys, uint32_t unKeys) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchTemplateApplication(struct w_steam_iface *_this, const char *pchTemplateAppKey, const char *pchNewAppKey, const AppOverrideKeys_t *pKeys, uint32_t unKeys) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_LaunchTemplateApplication(_this->linux_side, pchTemplateAppKey, pchNewAppKey, pKeys, unKeys); + _ret = cppIVRApplications_IVRApplications_005_LaunchTemplateApplication(_this->u_iface, pchTemplateAppKey, pchNewAppKey, pKeys, unKeys); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchDashboardOverlay(winIVRApplications_IVRApplications_005 *_this, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchDashboardOverlay(struct w_steam_iface *_this, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_LaunchDashboardOverlay(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_005_LaunchDashboardOverlay(_this->u_iface, pchAppKey); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_005_CancelApplicationLaunch(winIVRApplications_IVRApplications_005 *_this, const char *pchAppKey) +bool __thiscall winIVRApplications_IVRApplications_005_CancelApplicationLaunch(struct w_steam_iface *_this, const char *pchAppKey) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_CancelApplicationLaunch(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_005_CancelApplicationLaunch(_this->u_iface, pchAppKey); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_IdentifyApplication(winIVRApplications_IVRApplications_005 *_this, uint32_t unProcessId, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_IdentifyApplication(struct w_steam_iface *_this, uint32_t unProcessId, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); + _ret = cppIVRApplications_IVRApplications_005_IdentifyApplication(_this->u_iface, unProcessId, pchAppKey); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationProcessId(winIVRApplications_IVRApplications_005 *_this, const char *pchAppKey) +uint32_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationProcessId(struct w_steam_iface *_this, const char *pchAppKey) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetApplicationProcessId(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_005_GetApplicationProcessId(_this->u_iface, pchAppKey); return _ret; } -const char * __thiscall winIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_005 *_this, EVRApplicationError error) +const char * __thiscall winIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum(struct w_steam_iface *_this, EVRApplicationError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum(_this->u_iface, error); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationPropertyString(winIVRApplications_IVRApplications_005 *_this, const char *pchAppKey, EVRApplicationProperty eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError) +uint32_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationPropertyString(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); + _ret = cppIVRApplications_IVRApplications_005_GetApplicationPropertyString(_this->u_iface, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_005_GetApplicationPropertyBool(winIVRApplications_IVRApplications_005 *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +bool __thiscall winIVRApplications_IVRApplications_005_GetApplicationPropertyBool(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); + _ret = cppIVRApplications_IVRApplications_005_GetApplicationPropertyBool(_this->u_iface, pchAppKey, eProperty, peError); return _ret; } -uint64_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationPropertyUint64(winIVRApplications_IVRApplications_005 *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +uint64_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationPropertyUint64(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetApplicationPropertyUint64(_this->linux_side, pchAppKey, eProperty, peError); + _ret = cppIVRApplications_IVRApplications_005_GetApplicationPropertyUint64(_this->u_iface, pchAppKey, eProperty, peError); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_005 *_this, const char *pchAppKey, bool bAutoLaunch) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_SetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey, bool bAutoLaunch) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); + _ret = cppIVRApplications_IVRApplications_005_SetApplicationAutoLaunch(_this->u_iface, pchAppKey, bAutoLaunch); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_005_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_005 *_this, const char *pchAppKey) +bool __thiscall winIVRApplications_IVRApplications_005_GetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_005_GetApplicationAutoLaunch(_this->u_iface, pchAppKey); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_GetStartingApplication(winIVRApplications_IVRApplications_005 *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_GetStartingApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_005_GetStartingApplication(_this->u_iface, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_005_GetTransitionState(winIVRApplications_IVRApplications_005 *_this) +EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_005_GetTransitionState(struct w_steam_iface *_this) { EVRApplicationTransitionState _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetTransitionState(_this->linux_side); + _ret = cppIVRApplications_IVRApplications_005_GetTransitionState(_this->u_iface); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_005 *_this, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck(struct w_steam_iface *_this, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck(_this->u_iface, pchAppKey); return _ret; } -const char * __thiscall winIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(winIVRApplications_IVRApplications_005 *_this, EVRApplicationTransitionState state) +const char * __thiscall winIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(struct w_steam_iface *_this, EVRApplicationTransitionState state) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(_this->linux_side, state); + _ret = cppIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(_this->u_iface, state); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_005_IsQuitUserPromptRequested(winIVRApplications_IVRApplications_005 *_this) +bool __thiscall winIVRApplications_IVRApplications_005_IsQuitUserPromptRequested(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_IsQuitUserPromptRequested(_this->linux_side); + _ret = cppIVRApplications_IVRApplications_005_IsQuitUserPromptRequested(_this->u_iface); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchInternalProcess(winIVRApplications_IVRApplications_005 *_this, const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchInternalProcess(struct w_steam_iface *_this, const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_LaunchInternalProcess(_this->linux_side, pchBinaryPath, pchArguments, pchWorkingDirectory); + _ret = cppIVRApplications_IVRApplications_005_LaunchInternalProcess(_this->u_iface, pchBinaryPath, pchArguments, pchWorkingDirectory); return _ret; } @@ -1464,24 +1433,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRApplications_IVRApplications_005 *create_winIVRApplications_IVRApplications_005(void *linux_side) +struct w_steam_iface *create_winIVRApplications_IVRApplications_005(void *u_iface) { - winIVRApplications_IVRApplications_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_005)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRApplications_IVRApplications_005_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRApplications_IVRApplications_005(void *object) +void destroy_winIVRApplications_IVRApplications_005(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRApplications_IVRApplications_005 *create_winIVRApplications_IVRApplications_005_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRApplications_IVRApplications_005_FnTable(void *u_iface) { - winIVRApplications_IVRApplications_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_005)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(24); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 24 * sizeof(*vtable)); int i; @@ -1513,27 +1482,21 @@ winIVRApplications_IVRApplications_005 *create_winIVRApplications_IVRApplication init_thunk(&thunks[23], r, winIVRApplications_IVRApplications_005_LaunchInternalProcess, 3, FALSE, FALSE); for (i = 0; i < 24; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRApplications_IVRApplications_005_FnTable(void *object) +void destroy_winIVRApplications_IVRApplications_005_FnTable(struct w_steam_iface *object) { - winIVRApplications_IVRApplications_005 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRApplications_IVRApplications_006.h" -typedef struct __winIVRApplications_IVRApplications_006 { - vtable_ptr *vtable; - void *linux_side; -} winIVRApplications_IVRApplications_006; - DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_AddApplicationManifest, 12) DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_RemoveApplicationManifest, 8) DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_IsApplicationInstalled, 8) @@ -1566,255 +1529,255 @@ DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_IsQuitUserPromptR DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_LaunchInternalProcess, 16) DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetCurrentSceneProcessId, 4) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_AddApplicationManifest(winIVRApplications_IVRApplications_006 *_this, const char *pchApplicationManifestFullPath, bool bTemporary) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_AddApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath, bool bTemporary) { EVRApplicationError _ret; char lin_pchApplicationManifestFullPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); + _ret = cppIVRApplications_IVRApplications_006_AddApplicationManifest(_this->u_iface, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_RemoveApplicationManifest(winIVRApplications_IVRApplications_006 *_this, const char *pchApplicationManifestFullPath) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_RemoveApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath) { EVRApplicationError _ret; char lin_pchApplicationManifestFullPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); + _ret = cppIVRApplications_IVRApplications_006_RemoveApplicationManifest(_this->u_iface, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_006_IsApplicationInstalled(winIVRApplications_IVRApplications_006 *_this, const char *pchAppKey) +bool __thiscall winIVRApplications_IVRApplications_006_IsApplicationInstalled(struct w_steam_iface *_this, const char *pchAppKey) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_IsApplicationInstalled(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_006_IsApplicationInstalled(_this->u_iface, pchAppKey); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationCount(winIVRApplications_IVRApplications_006 *_this) +uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationCount(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationCount(_this->linux_side); + _ret = cppIVRApplications_IVRApplications_006_GetApplicationCount(_this->u_iface); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_006 *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_GetApplicationKeyByIndex(struct w_steam_iface *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_006_GetApplicationKeyByIndex(_this->u_iface, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_006 *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId(struct w_steam_iface *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId(_this->u_iface, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_LaunchApplication(winIVRApplications_IVRApplications_006 *_this, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_LaunchApplication(struct w_steam_iface *_this, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_LaunchApplication(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_006_LaunchApplication(_this->u_iface, pchAppKey); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_LaunchTemplateApplication(winIVRApplications_IVRApplications_006 *_this, const char *pchTemplateAppKey, const char *pchNewAppKey, const AppOverrideKeys_t *pKeys, uint32_t unKeys) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_LaunchTemplateApplication(struct w_steam_iface *_this, const char *pchTemplateAppKey, const char *pchNewAppKey, const AppOverrideKeys_t *pKeys, uint32_t unKeys) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_LaunchTemplateApplication(_this->linux_side, pchTemplateAppKey, pchNewAppKey, pKeys, unKeys); + _ret = cppIVRApplications_IVRApplications_006_LaunchTemplateApplication(_this->u_iface, pchTemplateAppKey, pchNewAppKey, pKeys, unKeys); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType(winIVRApplications_IVRApplications_006 *_this, const char *pchMimeType, const char *pchArgs) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType(struct w_steam_iface *_this, const char *pchMimeType, const char *pchArgs) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType(_this->linux_side, pchMimeType, pchArgs); + _ret = cppIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType(_this->u_iface, pchMimeType, pchArgs); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_LaunchDashboardOverlay(winIVRApplications_IVRApplications_006 *_this, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_LaunchDashboardOverlay(struct w_steam_iface *_this, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_LaunchDashboardOverlay(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_006_LaunchDashboardOverlay(_this->u_iface, pchAppKey); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_006_CancelApplicationLaunch(winIVRApplications_IVRApplications_006 *_this, const char *pchAppKey) +bool __thiscall winIVRApplications_IVRApplications_006_CancelApplicationLaunch(struct w_steam_iface *_this, const char *pchAppKey) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_CancelApplicationLaunch(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_006_CancelApplicationLaunch(_this->u_iface, pchAppKey); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_IdentifyApplication(winIVRApplications_IVRApplications_006 *_this, uint32_t unProcessId, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_IdentifyApplication(struct w_steam_iface *_this, uint32_t unProcessId, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); + _ret = cppIVRApplications_IVRApplications_006_IdentifyApplication(_this->u_iface, unProcessId, pchAppKey); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationProcessId(winIVRApplications_IVRApplications_006 *_this, const char *pchAppKey) +uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationProcessId(struct w_steam_iface *_this, const char *pchAppKey) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationProcessId(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_006_GetApplicationProcessId(_this->u_iface, pchAppKey); return _ret; } -const char * __thiscall winIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_006 *_this, EVRApplicationError error) +const char * __thiscall winIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum(struct w_steam_iface *_this, EVRApplicationError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum(_this->u_iface, error); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationPropertyString(winIVRApplications_IVRApplications_006 *_this, const char *pchAppKey, EVRApplicationProperty eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError) +uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationPropertyString(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); + _ret = cppIVRApplications_IVRApplications_006_GetApplicationPropertyString(_this->u_iface, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_006_GetApplicationPropertyBool(winIVRApplications_IVRApplications_006 *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +bool __thiscall winIVRApplications_IVRApplications_006_GetApplicationPropertyBool(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); + _ret = cppIVRApplications_IVRApplications_006_GetApplicationPropertyBool(_this->u_iface, pchAppKey, eProperty, peError); return _ret; } -uint64_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationPropertyUint64(winIVRApplications_IVRApplications_006 *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +uint64_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationPropertyUint64(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationPropertyUint64(_this->linux_side, pchAppKey, eProperty, peError); + _ret = cppIVRApplications_IVRApplications_006_GetApplicationPropertyUint64(_this->u_iface, pchAppKey, eProperty, peError); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_006 *_this, const char *pchAppKey, bool bAutoLaunch) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_SetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey, bool bAutoLaunch) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); + _ret = cppIVRApplications_IVRApplications_006_SetApplicationAutoLaunch(_this->u_iface, pchAppKey, bAutoLaunch); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_006_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_006 *_this, const char *pchAppKey) +bool __thiscall winIVRApplications_IVRApplications_006_GetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_006_GetApplicationAutoLaunch(_this->u_iface, pchAppKey); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType(winIVRApplications_IVRApplications_006 *_this, const char *pchAppKey, const char *pchMimeType) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType(struct w_steam_iface *_this, const char *pchAppKey, const char *pchMimeType) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType(_this->linux_side, pchAppKey, pchMimeType); + _ret = cppIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType(_this->u_iface, pchAppKey, pchMimeType); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType(winIVRApplications_IVRApplications_006 *_this, const char *pchMimeType, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +bool __thiscall winIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType(struct w_steam_iface *_this, const char *pchMimeType, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType(_this->linux_side, pchMimeType, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType(_this->u_iface, pchMimeType, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes(winIVRApplications_IVRApplications_006 *_this, const char *pchAppKey, char *pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) +bool __thiscall winIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes(struct w_steam_iface *_this, const char *pchAppKey, char *pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes(_this->linux_side, pchAppKey, pchMimeTypesBuffer, unMimeTypesBuffer); + _ret = cppIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes(_this->u_iface, pchAppKey, pchMimeTypesBuffer, unMimeTypesBuffer); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType(winIVRApplications_IVRApplications_006 *_this, const char *pchMimeType, char *pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) +uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType(struct w_steam_iface *_this, const char *pchMimeType, char *pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType(_this->linux_side, pchMimeType, pchAppKeysThatSupportBuffer, unAppKeysThatSupportBuffer); + _ret = cppIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType(_this->u_iface, pchMimeType, pchAppKeysThatSupportBuffer, unAppKeysThatSupportBuffer); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationLaunchArguments(winIVRApplications_IVRApplications_006 *_this, uint32_t unHandle, char *pchArgs, uint32_t unArgs) +uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationLaunchArguments(struct w_steam_iface *_this, uint32_t unHandle, char *pchArgs, uint32_t unArgs) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationLaunchArguments(_this->linux_side, unHandle, pchArgs, unArgs); + _ret = cppIVRApplications_IVRApplications_006_GetApplicationLaunchArguments(_this->u_iface, unHandle, pchArgs, unArgs); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_GetStartingApplication(winIVRApplications_IVRApplications_006 *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_GetStartingApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_006_GetStartingApplication(_this->u_iface, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_006_GetTransitionState(winIVRApplications_IVRApplications_006 *_this) +EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_006_GetTransitionState(struct w_steam_iface *_this) { EVRApplicationTransitionState _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetTransitionState(_this->linux_side); + _ret = cppIVRApplications_IVRApplications_006_GetTransitionState(_this->u_iface); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_006 *_this, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck(struct w_steam_iface *_this, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck(_this->u_iface, pchAppKey); return _ret; } -const char * __thiscall winIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(winIVRApplications_IVRApplications_006 *_this, EVRApplicationTransitionState state) +const char * __thiscall winIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(struct w_steam_iface *_this, EVRApplicationTransitionState state) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(_this->linux_side, state); + _ret = cppIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(_this->u_iface, state); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_006_IsQuitUserPromptRequested(winIVRApplications_IVRApplications_006 *_this) +bool __thiscall winIVRApplications_IVRApplications_006_IsQuitUserPromptRequested(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_IsQuitUserPromptRequested(_this->linux_side); + _ret = cppIVRApplications_IVRApplications_006_IsQuitUserPromptRequested(_this->u_iface); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_LaunchInternalProcess(winIVRApplications_IVRApplications_006 *_this, const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_LaunchInternalProcess(struct w_steam_iface *_this, const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_LaunchInternalProcess(_this->linux_side, pchBinaryPath, pchArguments, pchWorkingDirectory); + _ret = cppIVRApplications_IVRApplications_006_LaunchInternalProcess(_this->u_iface, pchBinaryPath, pchArguments, pchWorkingDirectory); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_006_GetCurrentSceneProcessId(winIVRApplications_IVRApplications_006 *_this) +uint32_t __thiscall winIVRApplications_IVRApplications_006_GetCurrentSceneProcessId(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetCurrentSceneProcessId(_this->linux_side); + _ret = cppIVRApplications_IVRApplications_006_GetCurrentSceneProcessId(_this->u_iface); return _ret; } @@ -1860,24 +1823,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRApplications_IVRApplications_006 *create_winIVRApplications_IVRApplications_006(void *linux_side) +struct w_steam_iface *create_winIVRApplications_IVRApplications_006(void *u_iface) { - winIVRApplications_IVRApplications_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_006)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRApplications_IVRApplications_006_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRApplications_IVRApplications_006(void *object) +void destroy_winIVRApplications_IVRApplications_006(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRApplications_IVRApplications_006 *create_winIVRApplications_IVRApplications_006_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRApplications_IVRApplications_006_FnTable(void *u_iface) { - winIVRApplications_IVRApplications_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_006)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(31); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 31 * sizeof(*vtable)); int i; @@ -1916,27 +1879,21 @@ winIVRApplications_IVRApplications_006 *create_winIVRApplications_IVRApplication init_thunk(&thunks[30], r, winIVRApplications_IVRApplications_006_GetCurrentSceneProcessId, 0, FALSE, FALSE); for (i = 0; i < 31; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRApplications_IVRApplications_006_FnTable(void *object) +void destroy_winIVRApplications_IVRApplications_006_FnTable(struct w_steam_iface *object) { - winIVRApplications_IVRApplications_006 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRApplications_IVRApplications_007.h" -typedef struct __winIVRApplications_IVRApplications_007 { - vtable_ptr *vtable; - void *linux_side; -} winIVRApplications_IVRApplications_007; - DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_AddApplicationManifest, 12) DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_RemoveApplicationManifest, 8) DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_IsApplicationInstalled, 8) @@ -1968,247 +1925,247 @@ DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetSceneApplicati DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_LaunchInternalProcess, 16) DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetCurrentSceneProcessId, 4) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_AddApplicationManifest(winIVRApplications_IVRApplications_007 *_this, const char *pchApplicationManifestFullPath, bool bTemporary) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_AddApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath, bool bTemporary) { EVRApplicationError _ret; char lin_pchApplicationManifestFullPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); + _ret = cppIVRApplications_IVRApplications_007_AddApplicationManifest(_this->u_iface, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_RemoveApplicationManifest(winIVRApplications_IVRApplications_007 *_this, const char *pchApplicationManifestFullPath) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_RemoveApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath) { EVRApplicationError _ret; char lin_pchApplicationManifestFullPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); + _ret = cppIVRApplications_IVRApplications_007_RemoveApplicationManifest(_this->u_iface, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_007_IsApplicationInstalled(winIVRApplications_IVRApplications_007 *_this, const char *pchAppKey) +bool __thiscall winIVRApplications_IVRApplications_007_IsApplicationInstalled(struct w_steam_iface *_this, const char *pchAppKey) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_IsApplicationInstalled(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_007_IsApplicationInstalled(_this->u_iface, pchAppKey); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationCount(winIVRApplications_IVRApplications_007 *_this) +uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationCount(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationCount(_this->linux_side); + _ret = cppIVRApplications_IVRApplications_007_GetApplicationCount(_this->u_iface); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_007 *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_GetApplicationKeyByIndex(struct w_steam_iface *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_007_GetApplicationKeyByIndex(_this->u_iface, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_007 *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId(struct w_steam_iface *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId(_this->u_iface, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchApplication(winIVRApplications_IVRApplications_007 *_this, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchApplication(struct w_steam_iface *_this, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_LaunchApplication(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_007_LaunchApplication(_this->u_iface, pchAppKey); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchTemplateApplication(winIVRApplications_IVRApplications_007 *_this, const char *pchTemplateAppKey, const char *pchNewAppKey, const AppOverrideKeys_t *pKeys, uint32_t unKeys) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchTemplateApplication(struct w_steam_iface *_this, const char *pchTemplateAppKey, const char *pchNewAppKey, const AppOverrideKeys_t *pKeys, uint32_t unKeys) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_LaunchTemplateApplication(_this->linux_side, pchTemplateAppKey, pchNewAppKey, pKeys, unKeys); + _ret = cppIVRApplications_IVRApplications_007_LaunchTemplateApplication(_this->u_iface, pchTemplateAppKey, pchNewAppKey, pKeys, unKeys); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType(winIVRApplications_IVRApplications_007 *_this, const char *pchMimeType, const char *pchArgs) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType(struct w_steam_iface *_this, const char *pchMimeType, const char *pchArgs) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType(_this->linux_side, pchMimeType, pchArgs); + _ret = cppIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType(_this->u_iface, pchMimeType, pchArgs); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchDashboardOverlay(winIVRApplications_IVRApplications_007 *_this, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchDashboardOverlay(struct w_steam_iface *_this, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_LaunchDashboardOverlay(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_007_LaunchDashboardOverlay(_this->u_iface, pchAppKey); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_007_CancelApplicationLaunch(winIVRApplications_IVRApplications_007 *_this, const char *pchAppKey) +bool __thiscall winIVRApplications_IVRApplications_007_CancelApplicationLaunch(struct w_steam_iface *_this, const char *pchAppKey) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_CancelApplicationLaunch(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_007_CancelApplicationLaunch(_this->u_iface, pchAppKey); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_IdentifyApplication(winIVRApplications_IVRApplications_007 *_this, uint32_t unProcessId, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_IdentifyApplication(struct w_steam_iface *_this, uint32_t unProcessId, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); + _ret = cppIVRApplications_IVRApplications_007_IdentifyApplication(_this->u_iface, unProcessId, pchAppKey); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationProcessId(winIVRApplications_IVRApplications_007 *_this, const char *pchAppKey) +uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationProcessId(struct w_steam_iface *_this, const char *pchAppKey) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationProcessId(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_007_GetApplicationProcessId(_this->u_iface, pchAppKey); return _ret; } -const char * __thiscall winIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_007 *_this, EVRApplicationError error) +const char * __thiscall winIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum(struct w_steam_iface *_this, EVRApplicationError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum(_this->u_iface, error); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationPropertyString(winIVRApplications_IVRApplications_007 *_this, const char *pchAppKey, EVRApplicationProperty eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError) +uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationPropertyString(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); + _ret = cppIVRApplications_IVRApplications_007_GetApplicationPropertyString(_this->u_iface, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_007_GetApplicationPropertyBool(winIVRApplications_IVRApplications_007 *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +bool __thiscall winIVRApplications_IVRApplications_007_GetApplicationPropertyBool(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); + _ret = cppIVRApplications_IVRApplications_007_GetApplicationPropertyBool(_this->u_iface, pchAppKey, eProperty, peError); return _ret; } -uint64_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationPropertyUint64(winIVRApplications_IVRApplications_007 *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +uint64_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationPropertyUint64(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationPropertyUint64(_this->linux_side, pchAppKey, eProperty, peError); + _ret = cppIVRApplications_IVRApplications_007_GetApplicationPropertyUint64(_this->u_iface, pchAppKey, eProperty, peError); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_007 *_this, const char *pchAppKey, bool bAutoLaunch) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_SetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey, bool bAutoLaunch) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); + _ret = cppIVRApplications_IVRApplications_007_SetApplicationAutoLaunch(_this->u_iface, pchAppKey, bAutoLaunch); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_007_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_007 *_this, const char *pchAppKey) +bool __thiscall winIVRApplications_IVRApplications_007_GetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_007_GetApplicationAutoLaunch(_this->u_iface, pchAppKey); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType(winIVRApplications_IVRApplications_007 *_this, const char *pchAppKey, const char *pchMimeType) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType(struct w_steam_iface *_this, const char *pchAppKey, const char *pchMimeType) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType(_this->linux_side, pchAppKey, pchMimeType); + _ret = cppIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType(_this->u_iface, pchAppKey, pchMimeType); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType(winIVRApplications_IVRApplications_007 *_this, const char *pchMimeType, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +bool __thiscall winIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType(struct w_steam_iface *_this, const char *pchMimeType, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType(_this->linux_side, pchMimeType, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType(_this->u_iface, pchMimeType, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -bool __thiscall winIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes(winIVRApplications_IVRApplications_007 *_this, const char *pchAppKey, char *pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) +bool __thiscall winIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes(struct w_steam_iface *_this, const char *pchAppKey, char *pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes(_this->linux_side, pchAppKey, pchMimeTypesBuffer, unMimeTypesBuffer); + _ret = cppIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes(_this->u_iface, pchAppKey, pchMimeTypesBuffer, unMimeTypesBuffer); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType(winIVRApplications_IVRApplications_007 *_this, const char *pchMimeType, char *pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) +uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType(struct w_steam_iface *_this, const char *pchMimeType, char *pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType(_this->linux_side, pchMimeType, pchAppKeysThatSupportBuffer, unAppKeysThatSupportBuffer); + _ret = cppIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType(_this->u_iface, pchMimeType, pchAppKeysThatSupportBuffer, unAppKeysThatSupportBuffer); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationLaunchArguments(winIVRApplications_IVRApplications_007 *_this, uint32_t unHandle, char *pchArgs, uint32_t unArgs) +uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationLaunchArguments(struct w_steam_iface *_this, uint32_t unHandle, char *pchArgs, uint32_t unArgs) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationLaunchArguments(_this->linux_side, unHandle, pchArgs, unArgs); + _ret = cppIVRApplications_IVRApplications_007_GetApplicationLaunchArguments(_this->u_iface, unHandle, pchArgs, unArgs); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_GetStartingApplication(winIVRApplications_IVRApplications_007 *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_GetStartingApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); + _ret = cppIVRApplications_IVRApplications_007_GetStartingApplication(_this->u_iface, pchAppKeyBuffer, unAppKeyBufferLen); return _ret; } -EVRSceneApplicationState __thiscall winIVRApplications_IVRApplications_007_GetSceneApplicationState(winIVRApplications_IVRApplications_007 *_this) +EVRSceneApplicationState __thiscall winIVRApplications_IVRApplications_007_GetSceneApplicationState(struct w_steam_iface *_this) { EVRSceneApplicationState _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetSceneApplicationState(_this->linux_side); + _ret = cppIVRApplications_IVRApplications_007_GetSceneApplicationState(_this->u_iface); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_007 *_this, const char *pchAppKey) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck(struct w_steam_iface *_this, const char *pchAppKey) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); + _ret = cppIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck(_this->u_iface, pchAppKey); return _ret; } -const char * __thiscall winIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum(winIVRApplications_IVRApplications_007 *_this, EVRSceneApplicationState state) +const char * __thiscall winIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum(struct w_steam_iface *_this, EVRSceneApplicationState state) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum(_this->linux_side, state); + _ret = cppIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum(_this->u_iface, state); return _ret; } -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchInternalProcess(winIVRApplications_IVRApplications_007 *_this, const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchInternalProcess(struct w_steam_iface *_this, const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_LaunchInternalProcess(_this->linux_side, pchBinaryPath, pchArguments, pchWorkingDirectory); + _ret = cppIVRApplications_IVRApplications_007_LaunchInternalProcess(_this->u_iface, pchBinaryPath, pchArguments, pchWorkingDirectory); return _ret; } -uint32_t __thiscall winIVRApplications_IVRApplications_007_GetCurrentSceneProcessId(winIVRApplications_IVRApplications_007 *_this) +uint32_t __thiscall winIVRApplications_IVRApplications_007_GetCurrentSceneProcessId(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetCurrentSceneProcessId(_this->linux_side); + _ret = cppIVRApplications_IVRApplications_007_GetCurrentSceneProcessId(_this->u_iface); return _ret; } @@ -2253,24 +2210,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRApplications_IVRApplications_007 *create_winIVRApplications_IVRApplications_007(void *linux_side) +struct w_steam_iface *create_winIVRApplications_IVRApplications_007(void *u_iface) { - winIVRApplications_IVRApplications_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_007)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRApplications_IVRApplications_007_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRApplications_IVRApplications_007(void *object) +void destroy_winIVRApplications_IVRApplications_007(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRApplications_IVRApplications_007 *create_winIVRApplications_IVRApplications_007_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRApplications_IVRApplications_007_FnTable(void *u_iface) { - winIVRApplications_IVRApplications_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_007)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(30); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 30 * sizeof(*vtable)); int i; @@ -2308,17 +2265,16 @@ winIVRApplications_IVRApplications_007 *create_winIVRApplications_IVRApplication init_thunk(&thunks[29], r, winIVRApplications_IVRApplications_007_GetCurrentSceneProcessId, 0, FALSE, FALSE); for (i = 0; i < 30; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRApplications_IVRApplications_007_FnTable(void *object) +void destroy_winIVRApplications_IVRApplications_007_FnTable(struct w_steam_iface *object) { - winIVRApplications_IVRApplications_007 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } diff --git a/vrclient_x64/vrclient_x64/winIVRChaperone.c b/vrclient_x64/vrclient_x64/winIVRChaperone.c index 38ede652..e61e8e06 100644 --- a/vrclient_x64/vrclient_x64/winIVRChaperone.c +++ b/vrclient_x64/vrclient_x64/winIVRChaperone.c @@ -6,8 +6,6 @@ #include "winbase.h" #include "wine/debug.h" -#include "cxx.h" - #include "vrclient_defs.h" #include "vrclient_private.h" @@ -20,11 +18,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); #include "cppIVRChaperone_IVRChaperone_002.h" -typedef struct __winIVRChaperone_IVRChaperone_002 { - vtable_ptr *vtable; - void *linux_side; -} winIVRChaperone_IVRChaperone_002; - DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_GetCalibrationState, 4) DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo, 8) DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_GetHardBoundsInfo, 12) @@ -35,68 +28,68 @@ DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_GetBoundsColor, 12) DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_AreBoundsVisible, 4) DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_ForceBoundsVisible, 8) -ChaperoneCalibrationState __thiscall winIVRChaperone_IVRChaperone_002_GetCalibrationState(winIVRChaperone_IVRChaperone_002 *_this) +ChaperoneCalibrationState __thiscall winIVRChaperone_IVRChaperone_002_GetCalibrationState(struct w_steam_iface *_this) { ChaperoneCalibrationState _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_002_GetCalibrationState(_this->linux_side); + _ret = cppIVRChaperone_IVRChaperone_002_GetCalibrationState(_this->u_iface); return _ret; } -bool __thiscall winIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo(winIVRChaperone_IVRChaperone_002 *_this, ChaperoneSoftBoundsInfo_t *pInfo) +bool __thiscall winIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo(struct w_steam_iface *_this, ChaperoneSoftBoundsInfo_t *pInfo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo(_this->linux_side, pInfo); + _ret = cppIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo(_this->u_iface, pInfo); return _ret; } -bool __thiscall winIVRChaperone_IVRChaperone_002_GetHardBoundsInfo(winIVRChaperone_IVRChaperone_002 *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +bool __thiscall winIVRChaperone_IVRChaperone_002_GetHardBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_002_GetHardBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); + _ret = cppIVRChaperone_IVRChaperone_002_GetHardBoundsInfo(_this->u_iface, pQuadsBuffer, punQuadsCount); return _ret; } -bool __thiscall winIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo(winIVRChaperone_IVRChaperone_002 *_this, ChaperoneSeatedBoundsInfo_t *pInfo) +bool __thiscall winIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo(struct w_steam_iface *_this, ChaperoneSeatedBoundsInfo_t *pInfo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo(_this->linux_side, pInfo); + _ret = cppIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo(_this->u_iface, pInfo); return _ret; } -void __thiscall winIVRChaperone_IVRChaperone_002_ReloadInfo(winIVRChaperone_IVRChaperone_002 *_this) +void __thiscall winIVRChaperone_IVRChaperone_002_ReloadInfo(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_002_ReloadInfo(_this->linux_side); + cppIVRChaperone_IVRChaperone_002_ReloadInfo(_this->u_iface); } -void __thiscall winIVRChaperone_IVRChaperone_002_SetSceneColor(winIVRChaperone_IVRChaperone_002 *_this, HmdColor_t color) +void __thiscall winIVRChaperone_IVRChaperone_002_SetSceneColor(struct w_steam_iface *_this, HmdColor_t color) { TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_002_SetSceneColor(_this->linux_side, color); + cppIVRChaperone_IVRChaperone_002_SetSceneColor(_this->u_iface, color); } -void __thiscall winIVRChaperone_IVRChaperone_002_GetBoundsColor(winIVRChaperone_IVRChaperone_002 *_this, HmdColor_t *pOutputColorArray, int nNumOutputColors) +void __thiscall winIVRChaperone_IVRChaperone_002_GetBoundsColor(struct w_steam_iface *_this, HmdColor_t *pOutputColorArray, int nNumOutputColors) { TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_002_GetBoundsColor(_this->linux_side, pOutputColorArray, nNumOutputColors); + cppIVRChaperone_IVRChaperone_002_GetBoundsColor(_this->u_iface, pOutputColorArray, nNumOutputColors); } -bool __thiscall winIVRChaperone_IVRChaperone_002_AreBoundsVisible(winIVRChaperone_IVRChaperone_002 *_this) +bool __thiscall winIVRChaperone_IVRChaperone_002_AreBoundsVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_002_AreBoundsVisible(_this->linux_side); + _ret = cppIVRChaperone_IVRChaperone_002_AreBoundsVisible(_this->u_iface); return _ret; } -void __thiscall winIVRChaperone_IVRChaperone_002_ForceBoundsVisible(winIVRChaperone_IVRChaperone_002 *_this, bool bForce) +void __thiscall winIVRChaperone_IVRChaperone_002_ForceBoundsVisible(struct w_steam_iface *_this, bool bForce) { TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible(_this->linux_side, bForce); + cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible(_this->u_iface, bForce); } extern vtable_ptr winIVRChaperone_IVRChaperone_002_vtable; @@ -119,24 +112,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRChaperone_IVRChaperone_002 *create_winIVRChaperone_IVRChaperone_002(void *linux_side) +struct w_steam_iface *create_winIVRChaperone_IVRChaperone_002(void *u_iface) { - winIVRChaperone_IVRChaperone_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperone_IVRChaperone_002)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRChaperone_IVRChaperone_002_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRChaperone_IVRChaperone_002(void *object) +void destroy_winIVRChaperone_IVRChaperone_002(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRChaperone_IVRChaperone_002 *create_winIVRChaperone_IVRChaperone_002_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRChaperone_IVRChaperone_002_FnTable(void *u_iface) { - winIVRChaperone_IVRChaperone_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperone_IVRChaperone_002)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(9); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 9 * sizeof(*vtable)); int i; @@ -153,27 +146,21 @@ winIVRChaperone_IVRChaperone_002 *create_winIVRChaperone_IVRChaperone_002_FnTabl init_thunk(&thunks[8], r, winIVRChaperone_IVRChaperone_002_ForceBoundsVisible, 1, FALSE, FALSE); for (i = 0; i < 9; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRChaperone_IVRChaperone_002_FnTable(void *object) +void destroy_winIVRChaperone_IVRChaperone_002_FnTable(struct w_steam_iface *object) { - winIVRChaperone_IVRChaperone_002 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRChaperone_IVRChaperone_003.h" -typedef struct __winIVRChaperone_IVRChaperone_003 { - vtable_ptr *vtable; - void *linux_side; -} winIVRChaperone_IVRChaperone_003; - DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetCalibrationState, 4) DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetPlayAreaSize, 12) DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetPlayAreaRect, 8) @@ -183,60 +170,60 @@ DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetBoundsColor, 20) DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_AreBoundsVisible, 4) DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_ForceBoundsVisible, 8) -ChaperoneCalibrationState __thiscall winIVRChaperone_IVRChaperone_003_GetCalibrationState(winIVRChaperone_IVRChaperone_003 *_this) +ChaperoneCalibrationState __thiscall winIVRChaperone_IVRChaperone_003_GetCalibrationState(struct w_steam_iface *_this) { ChaperoneCalibrationState _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_003_GetCalibrationState(_this->linux_side); + _ret = cppIVRChaperone_IVRChaperone_003_GetCalibrationState(_this->u_iface); return _ret; } -bool __thiscall winIVRChaperone_IVRChaperone_003_GetPlayAreaSize(winIVRChaperone_IVRChaperone_003 *_this, float *pSizeX, float *pSizeZ) +bool __thiscall winIVRChaperone_IVRChaperone_003_GetPlayAreaSize(struct w_steam_iface *_this, float *pSizeX, float *pSizeZ) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_003_GetPlayAreaSize(_this->linux_side, pSizeX, pSizeZ); + _ret = cppIVRChaperone_IVRChaperone_003_GetPlayAreaSize(_this->u_iface, pSizeX, pSizeZ); return _ret; } -bool __thiscall winIVRChaperone_IVRChaperone_003_GetPlayAreaRect(winIVRChaperone_IVRChaperone_003 *_this, HmdQuad_t *rect) +bool __thiscall winIVRChaperone_IVRChaperone_003_GetPlayAreaRect(struct w_steam_iface *_this, HmdQuad_t *rect) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_003_GetPlayAreaRect(_this->linux_side, rect); + _ret = cppIVRChaperone_IVRChaperone_003_GetPlayAreaRect(_this->u_iface, rect); return _ret; } -void __thiscall winIVRChaperone_IVRChaperone_003_ReloadInfo(winIVRChaperone_IVRChaperone_003 *_this) +void __thiscall winIVRChaperone_IVRChaperone_003_ReloadInfo(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_003_ReloadInfo(_this->linux_side); + cppIVRChaperone_IVRChaperone_003_ReloadInfo(_this->u_iface); } -void __thiscall winIVRChaperone_IVRChaperone_003_SetSceneColor(winIVRChaperone_IVRChaperone_003 *_this, HmdColor_t color) +void __thiscall winIVRChaperone_IVRChaperone_003_SetSceneColor(struct w_steam_iface *_this, HmdColor_t color) { TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_003_SetSceneColor(_this->linux_side, color); + cppIVRChaperone_IVRChaperone_003_SetSceneColor(_this->u_iface, color); } -void __thiscall winIVRChaperone_IVRChaperone_003_GetBoundsColor(winIVRChaperone_IVRChaperone_003 *_this, HmdColor_t *pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t *pOutputCameraColor) +void __thiscall winIVRChaperone_IVRChaperone_003_GetBoundsColor(struct w_steam_iface *_this, HmdColor_t *pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t *pOutputCameraColor) { TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_003_GetBoundsColor(_this->linux_side, pOutputColorArray, nNumOutputColors, flCollisionBoundsFadeDistance, pOutputCameraColor); + cppIVRChaperone_IVRChaperone_003_GetBoundsColor(_this->u_iface, pOutputColorArray, nNumOutputColors, flCollisionBoundsFadeDistance, pOutputCameraColor); } -bool __thiscall winIVRChaperone_IVRChaperone_003_AreBoundsVisible(winIVRChaperone_IVRChaperone_003 *_this) +bool __thiscall winIVRChaperone_IVRChaperone_003_AreBoundsVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_003_AreBoundsVisible(_this->linux_side); + _ret = cppIVRChaperone_IVRChaperone_003_AreBoundsVisible(_this->u_iface); return _ret; } -void __thiscall winIVRChaperone_IVRChaperone_003_ForceBoundsVisible(winIVRChaperone_IVRChaperone_003 *_this, bool bForce) +void __thiscall winIVRChaperone_IVRChaperone_003_ForceBoundsVisible(struct w_steam_iface *_this, bool bForce) { TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible(_this->linux_side, bForce); + cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible(_this->u_iface, bForce); } extern vtable_ptr winIVRChaperone_IVRChaperone_003_vtable; @@ -258,24 +245,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRChaperone_IVRChaperone_003 *create_winIVRChaperone_IVRChaperone_003(void *linux_side) +struct w_steam_iface *create_winIVRChaperone_IVRChaperone_003(void *u_iface) { - winIVRChaperone_IVRChaperone_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperone_IVRChaperone_003)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRChaperone_IVRChaperone_003_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRChaperone_IVRChaperone_003(void *object) +void destroy_winIVRChaperone_IVRChaperone_003(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRChaperone_IVRChaperone_003 *create_winIVRChaperone_IVRChaperone_003_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRChaperone_IVRChaperone_003_FnTable(void *u_iface) { - winIVRChaperone_IVRChaperone_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperone_IVRChaperone_003)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(8); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 8 * sizeof(*vtable)); int i; @@ -291,27 +278,21 @@ winIVRChaperone_IVRChaperone_003 *create_winIVRChaperone_IVRChaperone_003_FnTabl init_thunk(&thunks[7], r, winIVRChaperone_IVRChaperone_003_ForceBoundsVisible, 1, FALSE, FALSE); for (i = 0; i < 8; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRChaperone_IVRChaperone_003_FnTable(void *object) +void destroy_winIVRChaperone_IVRChaperone_003_FnTable(struct w_steam_iface *object) { - winIVRChaperone_IVRChaperone_003 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRChaperone_IVRChaperone_004.h" -typedef struct __winIVRChaperone_IVRChaperone_004 { - vtable_ptr *vtable; - void *linux_side; -} winIVRChaperone_IVRChaperone_004; - DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_GetCalibrationState, 4) DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_GetPlayAreaSize, 12) DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_GetPlayAreaRect, 8) @@ -322,66 +303,66 @@ DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_AreBoundsVisible, 4) DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_ForceBoundsVisible, 8) DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_ResetZeroPose, 8) -ChaperoneCalibrationState __thiscall winIVRChaperone_IVRChaperone_004_GetCalibrationState(winIVRChaperone_IVRChaperone_004 *_this) +ChaperoneCalibrationState __thiscall winIVRChaperone_IVRChaperone_004_GetCalibrationState(struct w_steam_iface *_this) { ChaperoneCalibrationState _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_004_GetCalibrationState(_this->linux_side); + _ret = cppIVRChaperone_IVRChaperone_004_GetCalibrationState(_this->u_iface); return _ret; } -bool __thiscall winIVRChaperone_IVRChaperone_004_GetPlayAreaSize(winIVRChaperone_IVRChaperone_004 *_this, float *pSizeX, float *pSizeZ) +bool __thiscall winIVRChaperone_IVRChaperone_004_GetPlayAreaSize(struct w_steam_iface *_this, float *pSizeX, float *pSizeZ) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_004_GetPlayAreaSize(_this->linux_side, pSizeX, pSizeZ); + _ret = cppIVRChaperone_IVRChaperone_004_GetPlayAreaSize(_this->u_iface, pSizeX, pSizeZ); return _ret; } -bool __thiscall winIVRChaperone_IVRChaperone_004_GetPlayAreaRect(winIVRChaperone_IVRChaperone_004 *_this, HmdQuad_t *rect) +bool __thiscall winIVRChaperone_IVRChaperone_004_GetPlayAreaRect(struct w_steam_iface *_this, HmdQuad_t *rect) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_004_GetPlayAreaRect(_this->linux_side, rect); + _ret = cppIVRChaperone_IVRChaperone_004_GetPlayAreaRect(_this->u_iface, rect); return _ret; } -void __thiscall winIVRChaperone_IVRChaperone_004_ReloadInfo(winIVRChaperone_IVRChaperone_004 *_this) +void __thiscall winIVRChaperone_IVRChaperone_004_ReloadInfo(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_004_ReloadInfo(_this->linux_side); + cppIVRChaperone_IVRChaperone_004_ReloadInfo(_this->u_iface); } -void __thiscall winIVRChaperone_IVRChaperone_004_SetSceneColor(winIVRChaperone_IVRChaperone_004 *_this, HmdColor_t color) +void __thiscall winIVRChaperone_IVRChaperone_004_SetSceneColor(struct w_steam_iface *_this, HmdColor_t color) { TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_004_SetSceneColor(_this->linux_side, color); + cppIVRChaperone_IVRChaperone_004_SetSceneColor(_this->u_iface, color); } -void __thiscall winIVRChaperone_IVRChaperone_004_GetBoundsColor(winIVRChaperone_IVRChaperone_004 *_this, HmdColor_t *pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t *pOutputCameraColor) +void __thiscall winIVRChaperone_IVRChaperone_004_GetBoundsColor(struct w_steam_iface *_this, HmdColor_t *pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t *pOutputCameraColor) { TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_004_GetBoundsColor(_this->linux_side, pOutputColorArray, nNumOutputColors, flCollisionBoundsFadeDistance, pOutputCameraColor); + cppIVRChaperone_IVRChaperone_004_GetBoundsColor(_this->u_iface, pOutputColorArray, nNumOutputColors, flCollisionBoundsFadeDistance, pOutputCameraColor); } -bool __thiscall winIVRChaperone_IVRChaperone_004_AreBoundsVisible(winIVRChaperone_IVRChaperone_004 *_this) +bool __thiscall winIVRChaperone_IVRChaperone_004_AreBoundsVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_004_AreBoundsVisible(_this->linux_side); + _ret = cppIVRChaperone_IVRChaperone_004_AreBoundsVisible(_this->u_iface); return _ret; } -void __thiscall winIVRChaperone_IVRChaperone_004_ForceBoundsVisible(winIVRChaperone_IVRChaperone_004 *_this, bool bForce) +void __thiscall winIVRChaperone_IVRChaperone_004_ForceBoundsVisible(struct w_steam_iface *_this, bool bForce) { TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_004_ForceBoundsVisible(_this->linux_side, bForce); + cppIVRChaperone_IVRChaperone_004_ForceBoundsVisible(_this->u_iface, bForce); } -void __thiscall winIVRChaperone_IVRChaperone_004_ResetZeroPose(winIVRChaperone_IVRChaperone_004 *_this, ETrackingUniverseOrigin eTrackingUniverseOrigin) +void __thiscall winIVRChaperone_IVRChaperone_004_ResetZeroPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingUniverseOrigin) { TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_004_ResetZeroPose(_this->linux_side, eTrackingUniverseOrigin); + cppIVRChaperone_IVRChaperone_004_ResetZeroPose(_this->u_iface, eTrackingUniverseOrigin); } extern vtable_ptr winIVRChaperone_IVRChaperone_004_vtable; @@ -404,24 +385,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRChaperone_IVRChaperone_004 *create_winIVRChaperone_IVRChaperone_004(void *linux_side) +struct w_steam_iface *create_winIVRChaperone_IVRChaperone_004(void *u_iface) { - winIVRChaperone_IVRChaperone_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperone_IVRChaperone_004)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRChaperone_IVRChaperone_004_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRChaperone_IVRChaperone_004(void *object) +void destroy_winIVRChaperone_IVRChaperone_004(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRChaperone_IVRChaperone_004 *create_winIVRChaperone_IVRChaperone_004_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRChaperone_IVRChaperone_004_FnTable(void *u_iface) { - winIVRChaperone_IVRChaperone_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperone_IVRChaperone_004)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(9); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 9 * sizeof(*vtable)); int i; @@ -438,17 +419,16 @@ winIVRChaperone_IVRChaperone_004 *create_winIVRChaperone_IVRChaperone_004_FnTabl init_thunk(&thunks[8], r, winIVRChaperone_IVRChaperone_004_ResetZeroPose, 1, FALSE, FALSE); for (i = 0; i < 9; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRChaperone_IVRChaperone_004_FnTable(void *object) +void destroy_winIVRChaperone_IVRChaperone_004_FnTable(struct w_steam_iface *object) { - winIVRChaperone_IVRChaperone_004 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } diff --git a/vrclient_x64/vrclient_x64/winIVRChaperoneSetup.c b/vrclient_x64/vrclient_x64/winIVRChaperoneSetup.c index 7d140ea7..6a8e6167 100644 --- a/vrclient_x64/vrclient_x64/winIVRChaperoneSetup.c +++ b/vrclient_x64/vrclient_x64/winIVRChaperoneSetup.c @@ -6,8 +6,6 @@ #include "winbase.h" #include "wine/debug.h" -#include "cxx.h" - #include "vrclient_defs.h" #include "vrclient_private.h" @@ -20,11 +18,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); #include "cppIVRChaperoneSetup_IVRChaperoneSetup_004.h" -typedef struct __winIVRChaperoneSetup_IVRChaperoneSetup_004 { - vtable_ptr *vtable; - void *linux_side; -} winIVRChaperoneSetup_IVRChaperoneSetup_004; - DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy, 8) DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy, 4) DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize, 12) @@ -42,117 +35,117 @@ DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeated DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo, 12) DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, EChaperoneConfigFile configFile) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy(struct w_steam_iface *_this, EChaperoneConfigFile configFile) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy(_this->linux_side, configFile); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy(_this->u_iface, configFile); return _ret; } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy(_this->linux_side); + cppIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy(_this->u_iface); } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, float *pSizeX, float *pSizeZ) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize(struct w_steam_iface *_this, float *pSizeX, float *pSizeZ) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize(_this->linux_side, pSizeX, pSizeZ); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize(_this->u_iface, pSizeX, pSizeZ); return _ret; } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdQuad_t *rect) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect(struct w_steam_iface *_this, HmdQuad_t *rect) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect(_this->linux_side, rect); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect(_this->u_iface, rect); return _ret; } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(_this->u_iface, pQuadsBuffer, punQuadsCount); return _ret; } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(_this->u_iface, pQuadsBuffer, punQuadsCount); return _ret; } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(_this->linux_side, pmatSeatedZeroPoseToRawTrackingPose); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(_this->u_iface, pmatSeatedZeroPoseToRawTrackingPose); return _ret; } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(_this->linux_side, pmatStandingZeroPoseToRawTrackingPose); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(_this->u_iface, pmatStandingZeroPoseToRawTrackingPose); return _ret; } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, float sizeX, float sizeZ) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(struct w_steam_iface *_this, float sizeX, float sizeZ) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(_this->linux_side, sizeX, sizeZ); + cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(_this->u_iface, sizeX, sizeZ); } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, unQuadsCount); + cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(_this->u_iface, pQuadsBuffer, unQuadsCount); } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(_this->linux_side, pMatSeatedZeroPoseToRawTrackingPose); + cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(_this->u_iface, pMatSeatedZeroPoseToRawTrackingPose); } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(struct w_steam_iface *_this, const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(_this->linux_side, pMatStandingZeroPoseToRawTrackingPose); + cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(_this->u_iface, pMatStandingZeroPoseToRawTrackingPose); } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, EChaperoneConfigFile configFile) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk(struct w_steam_iface *_this, EChaperoneConfigFile configFile) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk(_this->linux_side, configFile); + cppIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk(_this->u_iface, configFile); } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(_this->linux_side, pmatSeatedZeroPoseToRawTrackingPose); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(_this->u_iface, pmatSeatedZeroPoseToRawTrackingPose); return _ret; } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, uint8_t *pTagsBuffer, uint32_t unTagCount) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo(struct w_steam_iface *_this, uint8_t *pTagsBuffer, uint32_t unTagCount) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo(_this->linux_side, pTagsBuffer, unTagCount); + cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo(_this->u_iface, pTagsBuffer, unTagCount); } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, uint8_t *pTagsBuffer, uint32_t *punTagCount) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo(struct w_steam_iface *_this, uint8_t *pTagsBuffer, uint32_t *punTagCount) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo(_this->linux_side, pTagsBuffer, punTagCount); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo(_this->u_iface, pTagsBuffer, punTagCount); return _ret; } @@ -183,24 +176,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRChaperoneSetup_IVRChaperoneSetup_004 *create_winIVRChaperoneSetup_IVRChaperoneSetup_004(void *linux_side) +struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_004(void *u_iface) { - winIVRChaperoneSetup_IVRChaperoneSetup_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperoneSetup_IVRChaperoneSetup_004)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRChaperoneSetup_IVRChaperoneSetup_004_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004(void *object) +void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRChaperoneSetup_IVRChaperoneSetup_004 *create_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(void *u_iface) { - winIVRChaperoneSetup_IVRChaperoneSetup_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperoneSetup_IVRChaperoneSetup_004)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(16); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 16 * sizeof(*vtable)); int i; @@ -224,27 +217,21 @@ winIVRChaperoneSetup_IVRChaperoneSetup_004 *create_winIVRChaperoneSetup_IVRChape init_thunk(&thunks[15], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo, 2, FALSE, FALSE); for (i = 0; i < 16; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(void *object) +void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(struct w_steam_iface *object) { - winIVRChaperoneSetup_IVRChaperoneSetup_004 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRChaperoneSetup_IVRChaperoneSetup_005.h" -typedef struct __winIVRChaperoneSetup_IVRChaperoneSetup_005 { - vtable_ptr *vtable; - void *linux_side; -} winIVRChaperoneSetup_IVRChaperoneSetup_005; - DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy, 8) DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy, 4) DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize, 12) @@ -266,149 +253,149 @@ DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysic DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer, 12) DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, EChaperoneConfigFile configFile) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy(struct w_steam_iface *_this, EChaperoneConfigFile configFile) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy(_this->linux_side, configFile); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy(_this->u_iface, configFile); return _ret; } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy(_this->linux_side); + cppIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy(_this->u_iface); } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, float *pSizeX, float *pSizeZ) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize(struct w_steam_iface *_this, float *pSizeX, float *pSizeZ) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize(_this->linux_side, pSizeX, pSizeZ); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize(_this->u_iface, pSizeX, pSizeZ); return _ret; } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, HmdQuad_t *rect) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect(struct w_steam_iface *_this, HmdQuad_t *rect) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect(_this->linux_side, rect); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect(_this->u_iface, rect); return _ret; } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo(_this->u_iface, pQuadsBuffer, punQuadsCount); return _ret; } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo(_this->u_iface, pQuadsBuffer, punQuadsCount); return _ret; } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose(_this->linux_side, pmatSeatedZeroPoseToRawTrackingPose); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose(_this->u_iface, pmatSeatedZeroPoseToRawTrackingPose); return _ret; } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose(_this->linux_side, pmatStandingZeroPoseToRawTrackingPose); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose(_this->u_iface, pmatStandingZeroPoseToRawTrackingPose); return _ret; } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, float sizeX, float sizeZ) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize(struct w_steam_iface *_this, float sizeX, float sizeZ) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize(_this->linux_side, sizeX, sizeZ); + cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize(_this->u_iface, sizeX, sizeZ); } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, unQuadsCount); + cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo(_this->u_iface, pQuadsBuffer, unQuadsCount); } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose(_this->linux_side, pMatSeatedZeroPoseToRawTrackingPose); + cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose(_this->u_iface, pMatSeatedZeroPoseToRawTrackingPose); } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose(struct w_steam_iface *_this, const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose(_this->linux_side, pMatStandingZeroPoseToRawTrackingPose); + cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose(_this->u_iface, pMatStandingZeroPoseToRawTrackingPose); } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, EChaperoneConfigFile configFile) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk(struct w_steam_iface *_this, EChaperoneConfigFile configFile) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk(_this->linux_side, configFile); + cppIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk(_this->u_iface, configFile); } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose(_this->linux_side, pmatSeatedZeroPoseToRawTrackingPose); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose(_this->u_iface, pmatSeatedZeroPoseToRawTrackingPose); return _ret; } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, uint8_t *pTagsBuffer, uint32_t unTagCount) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo(struct w_steam_iface *_this, uint8_t *pTagsBuffer, uint32_t unTagCount) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo(_this->linux_side, pTagsBuffer, unTagCount); + cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo(_this->u_iface, pTagsBuffer, unTagCount); } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, uint8_t *pTagsBuffer, uint32_t *punTagCount) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo(struct w_steam_iface *_this, uint8_t *pTagsBuffer, uint32_t *punTagCount) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo(_this->linux_side, pTagsBuffer, punTagCount); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo(_this->u_iface, pTagsBuffer, punTagCount); return _ret; } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo(_this->linux_side, pQuadsBuffer, unQuadsCount); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo(_this->u_iface, pQuadsBuffer, unQuadsCount); return _ret; } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo(_this->u_iface, pQuadsBuffer, punQuadsCount); return _ret; } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, char *pBuffer, uint32_t *pnBufferLength) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer(struct w_steam_iface *_this, char *pBuffer, uint32_t *pnBufferLength) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer(_this->linux_side, pBuffer, pnBufferLength); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer(_this->u_iface, pBuffer, pnBufferLength); return _ret; } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, const char *pBuffer, uint32_t nImportFlags) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking(struct w_steam_iface *_this, const char *pBuffer, uint32_t nImportFlags) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking(_this->linux_side, pBuffer, nImportFlags); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking(_this->u_iface, pBuffer, nImportFlags); return _ret; } @@ -443,24 +430,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRChaperoneSetup_IVRChaperoneSetup_005 *create_winIVRChaperoneSetup_IVRChaperoneSetup_005(void *linux_side) +struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_005(void *u_iface) { - winIVRChaperoneSetup_IVRChaperoneSetup_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperoneSetup_IVRChaperoneSetup_005)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRChaperoneSetup_IVRChaperoneSetup_005_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005(void *object) +void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRChaperoneSetup_IVRChaperoneSetup_005 *create_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable(void *u_iface) { - winIVRChaperoneSetup_IVRChaperoneSetup_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperoneSetup_IVRChaperoneSetup_005)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(20); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 20 * sizeof(*vtable)); int i; @@ -488,27 +475,21 @@ winIVRChaperoneSetup_IVRChaperoneSetup_005 *create_winIVRChaperoneSetup_IVRChape init_thunk(&thunks[19], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking, 2, FALSE, FALSE); for (i = 0; i < 20; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable(void *object) +void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable(struct w_steam_iface *object) { - winIVRChaperoneSetup_IVRChaperoneSetup_005 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRChaperoneSetup_IVRChaperoneSetup_006.h" -typedef struct __winIVRChaperoneSetup_IVRChaperoneSetup_006 { - vtable_ptr *vtable; - void *linux_side; -} winIVRChaperoneSetup_IVRChaperoneSetup_006; - DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy, 8) DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy, 4) DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize, 12) @@ -530,144 +511,144 @@ DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSe DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview, 4) DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting, 4) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, EChaperoneConfigFile configFile) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy(struct w_steam_iface *_this, EChaperoneConfigFile configFile) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy(_this->linux_side, configFile); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy(_this->u_iface, configFile); return _ret; } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy(_this->linux_side); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy(_this->u_iface); } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, float *pSizeX, float *pSizeZ) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize(struct w_steam_iface *_this, float *pSizeX, float *pSizeZ) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize(_this->linux_side, pSizeX, pSizeZ); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize(_this->u_iface, pSizeX, pSizeZ); return _ret; } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdQuad_t *rect) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect(struct w_steam_iface *_this, HmdQuad_t *rect) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect(_this->linux_side, rect); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect(_this->u_iface, rect); return _ret; } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo(_this->u_iface, pQuadsBuffer, punQuadsCount); return _ret; } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo(_this->u_iface, pQuadsBuffer, punQuadsCount); return _ret; } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose(_this->linux_side, pmatSeatedZeroPoseToRawTrackingPose); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose(_this->u_iface, pmatSeatedZeroPoseToRawTrackingPose); return _ret; } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose(_this->linux_side, pmatStandingZeroPoseToRawTrackingPose); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose(_this->u_iface, pmatStandingZeroPoseToRawTrackingPose); return _ret; } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, float sizeX, float sizeZ) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize(struct w_steam_iface *_this, float sizeX, float sizeZ) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize(_this->linux_side, sizeX, sizeZ); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize(_this->u_iface, sizeX, sizeZ); } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, unQuadsCount); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo(_this->u_iface, pQuadsBuffer, unQuadsCount); } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdVector2_t *pPointBuffer, uint32_t unPointCount) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter(struct w_steam_iface *_this, HmdVector2_t *pPointBuffer, uint32_t unPointCount) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter(_this->linux_side, pPointBuffer, unPointCount); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter(_this->u_iface, pPointBuffer, unPointCount); } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose(_this->linux_side, pMatSeatedZeroPoseToRawTrackingPose); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose(_this->u_iface, pMatSeatedZeroPoseToRawTrackingPose); } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose(struct w_steam_iface *_this, const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose(_this->linux_side, pMatStandingZeroPoseToRawTrackingPose); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose(_this->u_iface, pMatStandingZeroPoseToRawTrackingPose); } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, EChaperoneConfigFile configFile) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk(struct w_steam_iface *_this, EChaperoneConfigFile configFile) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk(_this->linux_side, configFile); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk(_this->u_iface, configFile); } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose(_this->linux_side, pmatSeatedZeroPoseToRawTrackingPose); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose(_this->u_iface, pmatSeatedZeroPoseToRawTrackingPose); return _ret; } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, char *pBuffer, uint32_t *pnBufferLength) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer(struct w_steam_iface *_this, char *pBuffer, uint32_t *pnBufferLength) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer(_this->linux_side, pBuffer, pnBufferLength); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer(_this->u_iface, pBuffer, pnBufferLength); return _ret; } -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, const char *pBuffer, uint32_t nImportFlags) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking(struct w_steam_iface *_this, const char *pBuffer, uint32_t nImportFlags) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking(_this->linux_side, pBuffer, nImportFlags); + _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking(_this->u_iface, pBuffer, nImportFlags); return _ret; } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview(_this->linux_side); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview(_this->u_iface); } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview(_this->linux_side); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview(_this->u_iface); } -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting(_this->linux_side); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting(_this->u_iface); } extern vtable_ptr winIVRChaperoneSetup_IVRChaperoneSetup_006_vtable; @@ -701,24 +682,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRChaperoneSetup_IVRChaperoneSetup_006 *create_winIVRChaperoneSetup_IVRChaperoneSetup_006(void *linux_side) +struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_006(void *u_iface) { - winIVRChaperoneSetup_IVRChaperoneSetup_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperoneSetup_IVRChaperoneSetup_006)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRChaperoneSetup_IVRChaperoneSetup_006_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006(void *object) +void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRChaperoneSetup_IVRChaperoneSetup_006 *create_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable(void *u_iface) { - winIVRChaperoneSetup_IVRChaperoneSetup_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperoneSetup_IVRChaperoneSetup_006)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(20); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 20 * sizeof(*vtable)); int i; @@ -746,17 +727,16 @@ winIVRChaperoneSetup_IVRChaperoneSetup_006 *create_winIVRChaperoneSetup_IVRChape init_thunk(&thunks[19], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting, 0, FALSE, FALSE); for (i = 0; i < 20; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable(void *object) +void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable(struct w_steam_iface *object) { - winIVRChaperoneSetup_IVRChaperoneSetup_006 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } diff --git a/vrclient_x64/vrclient_x64/winIVRClientCore.c b/vrclient_x64/vrclient_x64/winIVRClientCore.c index 3fe20f1b..d1065173 100644 --- a/vrclient_x64/vrclient_x64/winIVRClientCore.c +++ b/vrclient_x64/vrclient_x64/winIVRClientCore.c @@ -6,8 +6,6 @@ #include "winbase.h" #include "wine/debug.h" -#include "cxx.h" - #include "vrclient_defs.h" #include "vrclient_private.h" @@ -20,12 +18,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); #include "cppIVRClientCore_IVRClientCore_002.h" -typedef struct __winIVRClientCore_IVRClientCore_002 { - vtable_ptr *vtable; - void *linux_side; - struct client_core_data user_data; -} winIVRClientCore_IVRClientCore_002; - DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_002_Init, 8) DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_002_Cleanup, 4) DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid, 8) @@ -34,57 +26,57 @@ DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_002_BIsHmdPresent, 4) DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError, 8) DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_002_GetIDForVRInitError, 8) -EVRInitError __thiscall winIVRClientCore_IVRClientCore_002_Init(winIVRClientCore_IVRClientCore_002 *_this, EVRApplicationType eApplicationType) +EVRInitError __thiscall winIVRClientCore_IVRClientCore_002_Init(struct w_steam_iface *_this, EVRApplicationType eApplicationType) { EVRInitError _ret; TRACE("%p\n", _this); - _ret = ivrclientcore_002_init(cppIVRClientCore_IVRClientCore_002_Init, _this->linux_side, eApplicationType, 2, &_this->user_data); + _ret = ivrclientcore_002_init(cppIVRClientCore_IVRClientCore_002_Init, _this->u_iface, eApplicationType, 2, &_this->user_data); return _ret; } -void __thiscall winIVRClientCore_IVRClientCore_002_Cleanup(winIVRClientCore_IVRClientCore_002 *_this) +void __thiscall winIVRClientCore_IVRClientCore_002_Cleanup(struct w_steam_iface *_this) { TRACE("%p\n", _this); - ivrclientcore_cleanup(cppIVRClientCore_IVRClientCore_002_Cleanup, _this->linux_side, 2, &_this->user_data); + ivrclientcore_cleanup(cppIVRClientCore_IVRClientCore_002_Cleanup, _this->u_iface, 2, &_this->user_data); } -EVRInitError __thiscall winIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid(winIVRClientCore_IVRClientCore_002 *_this, const char *pchInterfaceVersion) +EVRInitError __thiscall winIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid(struct w_steam_iface *_this, const char *pchInterfaceVersion) { EVRInitError _ret; TRACE("%p\n", _this); - _ret = cppIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid(_this->linux_side, pchInterfaceVersion); + _ret = cppIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid(_this->u_iface, pchInterfaceVersion); return _ret; } -void * __thiscall winIVRClientCore_IVRClientCore_002_GetGenericInterface(winIVRClientCore_IVRClientCore_002 *_this, const char *pchNameAndVersion, EVRInitError *peError) +void * __thiscall winIVRClientCore_IVRClientCore_002_GetGenericInterface(struct w_steam_iface *_this, const char *pchNameAndVersion, EVRInitError *peError) { void * _ret; TRACE("%p\n", _this); - _ret = ivrclientcore_get_generic_interface(cppIVRClientCore_IVRClientCore_002_GetGenericInterface, _this->linux_side, pchNameAndVersion, peError, 2, &_this->user_data); + _ret = ivrclientcore_get_generic_interface(cppIVRClientCore_IVRClientCore_002_GetGenericInterface, _this->u_iface, pchNameAndVersion, peError, 2, &_this->user_data); return _ret; } -bool __thiscall winIVRClientCore_IVRClientCore_002_BIsHmdPresent(winIVRClientCore_IVRClientCore_002 *_this) +bool __thiscall winIVRClientCore_IVRClientCore_002_BIsHmdPresent(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = ivrclientcore_is_hmd_present(cppIVRClientCore_IVRClientCore_002_BIsHmdPresent, _this->linux_side, 2, &_this->user_data); + _ret = ivrclientcore_is_hmd_present(cppIVRClientCore_IVRClientCore_002_BIsHmdPresent, _this->u_iface, 2, &_this->user_data); return _ret; } -const char * __thiscall winIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError(winIVRClientCore_IVRClientCore_002 *_this, EVRInitError eError) +const char * __thiscall winIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError(struct w_steam_iface *_this, EVRInitError eError) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError(_this->linux_side, eError); + _ret = cppIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError(_this->u_iface, eError); return _ret; } -const char * __thiscall winIVRClientCore_IVRClientCore_002_GetIDForVRInitError(winIVRClientCore_IVRClientCore_002 *_this, EVRInitError eError) +const char * __thiscall winIVRClientCore_IVRClientCore_002_GetIDForVRInitError(struct w_steam_iface *_this, EVRInitError eError) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRClientCore_IVRClientCore_002_GetIDForVRInitError(_this->linux_side, eError); + _ret = cppIVRClientCore_IVRClientCore_002_GetIDForVRInitError(_this->u_iface, eError); return _ret; } @@ -106,24 +98,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRClientCore_IVRClientCore_002 *create_winIVRClientCore_IVRClientCore_002(void *linux_side) +struct w_steam_iface *create_winIVRClientCore_IVRClientCore_002(void *u_iface) { - winIVRClientCore_IVRClientCore_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRClientCore_IVRClientCore_002)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRClientCore_IVRClientCore_002_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRClientCore_IVRClientCore_002(void *object) +void destroy_winIVRClientCore_IVRClientCore_002(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRClientCore_IVRClientCore_002 *create_winIVRClientCore_IVRClientCore_002_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRClientCore_IVRClientCore_002_FnTable(void *u_iface) { - winIVRClientCore_IVRClientCore_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRClientCore_IVRClientCore_002)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(7); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 7 * sizeof(*vtable)); int i; @@ -138,28 +130,21 @@ winIVRClientCore_IVRClientCore_002 *create_winIVRClientCore_IVRClientCore_002_Fn init_thunk(&thunks[6], r, winIVRClientCore_IVRClientCore_002_GetIDForVRInitError, 1, FALSE, FALSE); for (i = 0; i < 7; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRClientCore_IVRClientCore_002_FnTable(void *object) +void destroy_winIVRClientCore_IVRClientCore_002_FnTable(struct w_steam_iface *object) { - winIVRClientCore_IVRClientCore_002 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRClientCore_IVRClientCore_003.h" -typedef struct __winIVRClientCore_IVRClientCore_003 { - vtable_ptr *vtable; - void *linux_side; - struct client_core_data user_data; -} winIVRClientCore_IVRClientCore_003; - DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_Init, 12) DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_Cleanup, 4) DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid, 8) @@ -168,57 +153,57 @@ DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_BIsHmdPresent, 4) DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError, 8) DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_GetIDForVRInitError, 8) -EVRInitError __thiscall winIVRClientCore_IVRClientCore_003_Init(winIVRClientCore_IVRClientCore_003 *_this, EVRApplicationType eApplicationType, const char *pStartupInfo) +EVRInitError __thiscall winIVRClientCore_IVRClientCore_003_Init(struct w_steam_iface *_this, EVRApplicationType eApplicationType, const char *pStartupInfo) { EVRInitError _ret; TRACE("%p\n", _this); - _ret = ivrclientcore_init(cppIVRClientCore_IVRClientCore_003_Init, _this->linux_side, eApplicationType, pStartupInfo, 3, &_this->user_data); + _ret = ivrclientcore_init(cppIVRClientCore_IVRClientCore_003_Init, _this->u_iface, eApplicationType, pStartupInfo, 3, &_this->user_data); return _ret; } -void __thiscall winIVRClientCore_IVRClientCore_003_Cleanup(winIVRClientCore_IVRClientCore_003 *_this) +void __thiscall winIVRClientCore_IVRClientCore_003_Cleanup(struct w_steam_iface *_this) { TRACE("%p\n", _this); - ivrclientcore_cleanup(cppIVRClientCore_IVRClientCore_003_Cleanup, _this->linux_side, 3, &_this->user_data); + ivrclientcore_cleanup(cppIVRClientCore_IVRClientCore_003_Cleanup, _this->u_iface, 3, &_this->user_data); } -EVRInitError __thiscall winIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid(winIVRClientCore_IVRClientCore_003 *_this, const char *pchInterfaceVersion) +EVRInitError __thiscall winIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid(struct w_steam_iface *_this, const char *pchInterfaceVersion) { EVRInitError _ret; TRACE("%p\n", _this); - _ret = cppIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid(_this->linux_side, pchInterfaceVersion); + _ret = cppIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid(_this->u_iface, pchInterfaceVersion); return _ret; } -void * __thiscall winIVRClientCore_IVRClientCore_003_GetGenericInterface(winIVRClientCore_IVRClientCore_003 *_this, const char *pchNameAndVersion, EVRInitError *peError) +void * __thiscall winIVRClientCore_IVRClientCore_003_GetGenericInterface(struct w_steam_iface *_this, const char *pchNameAndVersion, EVRInitError *peError) { void * _ret; TRACE("%p\n", _this); - _ret = ivrclientcore_get_generic_interface(cppIVRClientCore_IVRClientCore_003_GetGenericInterface, _this->linux_side, pchNameAndVersion, peError, 3, &_this->user_data); + _ret = ivrclientcore_get_generic_interface(cppIVRClientCore_IVRClientCore_003_GetGenericInterface, _this->u_iface, pchNameAndVersion, peError, 3, &_this->user_data); return _ret; } -bool __thiscall winIVRClientCore_IVRClientCore_003_BIsHmdPresent(winIVRClientCore_IVRClientCore_003 *_this) +bool __thiscall winIVRClientCore_IVRClientCore_003_BIsHmdPresent(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = ivrclientcore_is_hmd_present(cppIVRClientCore_IVRClientCore_003_BIsHmdPresent, _this->linux_side, 3, &_this->user_data); + _ret = ivrclientcore_is_hmd_present(cppIVRClientCore_IVRClientCore_003_BIsHmdPresent, _this->u_iface, 3, &_this->user_data); return _ret; } -const char * __thiscall winIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError(winIVRClientCore_IVRClientCore_003 *_this, EVRInitError eError) +const char * __thiscall winIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError(struct w_steam_iface *_this, EVRInitError eError) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError(_this->linux_side, eError); + _ret = cppIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError(_this->u_iface, eError); return _ret; } -const char * __thiscall winIVRClientCore_IVRClientCore_003_GetIDForVRInitError(winIVRClientCore_IVRClientCore_003 *_this, EVRInitError eError) +const char * __thiscall winIVRClientCore_IVRClientCore_003_GetIDForVRInitError(struct w_steam_iface *_this, EVRInitError eError) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError(_this->linux_side, eError); + _ret = cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError(_this->u_iface, eError); return _ret; } @@ -240,24 +225,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRClientCore_IVRClientCore_003 *create_winIVRClientCore_IVRClientCore_003(void *linux_side) +struct w_steam_iface *create_winIVRClientCore_IVRClientCore_003(void *u_iface) { - winIVRClientCore_IVRClientCore_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRClientCore_IVRClientCore_003)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRClientCore_IVRClientCore_003_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRClientCore_IVRClientCore_003(void *object) +void destroy_winIVRClientCore_IVRClientCore_003(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRClientCore_IVRClientCore_003 *create_winIVRClientCore_IVRClientCore_003_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRClientCore_IVRClientCore_003_FnTable(void *u_iface) { - winIVRClientCore_IVRClientCore_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRClientCore_IVRClientCore_003)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(7); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 7 * sizeof(*vtable)); int i; @@ -272,17 +257,16 @@ winIVRClientCore_IVRClientCore_003 *create_winIVRClientCore_IVRClientCore_003_Fn init_thunk(&thunks[6], r, winIVRClientCore_IVRClientCore_003_GetIDForVRInitError, 1, FALSE, FALSE); for (i = 0; i < 7; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRClientCore_IVRClientCore_003_FnTable(void *object) +void destroy_winIVRClientCore_IVRClientCore_003_FnTable(struct w_steam_iface *object) { - winIVRClientCore_IVRClientCore_003 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } diff --git a/vrclient_x64/vrclient_x64/winIVRCompositor.c b/vrclient_x64/vrclient_x64/winIVRCompositor.c index a604e6c6..4d693dbb 100644 --- a/vrclient_x64/vrclient_x64/winIVRCompositor.c +++ b/vrclient_x64/vrclient_x64/winIVRCompositor.c @@ -6,8 +6,6 @@ #include "winbase.h" #include "wine/debug.h" -#include "cxx.h" - #include "vrclient_defs.h" #include "vrclient_private.h" @@ -20,11 +18,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); #include "cppIVRCompositor_IVRCompositor_005.h" -typedef struct __winIVRCompositor_IVRCompositor_005 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_005; - DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetLastError, 12) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetVSync, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetVSync, 4) @@ -50,163 +43,163 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_ComputeOverlayInterse DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetTrackingSpace, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetTrackingSpace, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_005_GetLastError(winIVRCompositor_IVRCompositor_005 *_this, char *pchBuffer, uint32_t unBufferSize) +uint32_t __thiscall winIVRCompositor_IVRCompositor_005_GetLastError(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_005_GetLastError(_this->linux_side, pchBuffer, unBufferSize); + _ret = cppIVRCompositor_IVRCompositor_005_GetLastError(_this->u_iface, pchBuffer, unBufferSize); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_005_SetVSync(winIVRCompositor_IVRCompositor_005 *_this, bool bVSync) +void __thiscall winIVRCompositor_IVRCompositor_005_SetVSync(struct w_steam_iface *_this, bool bVSync) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetVSync(_this->linux_side, bVSync); + cppIVRCompositor_IVRCompositor_005_SetVSync(_this->u_iface, bVSync); } -bool __thiscall winIVRCompositor_IVRCompositor_005_GetVSync(winIVRCompositor_IVRCompositor_005 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_005_GetVSync(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_005_GetVSync(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_005_GetVSync(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_005_SetGamma(winIVRCompositor_IVRCompositor_005 *_this, float fGamma) +void __thiscall winIVRCompositor_IVRCompositor_005_SetGamma(struct w_steam_iface *_this, float fGamma) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetGamma(_this->linux_side, fGamma); + cppIVRCompositor_IVRCompositor_005_SetGamma(_this->u_iface, fGamma); } -float __thiscall winIVRCompositor_IVRCompositor_005_GetGamma(winIVRCompositor_IVRCompositor_005 *_this) +float __thiscall winIVRCompositor_IVRCompositor_005_GetGamma(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_005_GetGamma(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_005_GetGamma(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_005_SetGraphicsDevice(winIVRCompositor_IVRCompositor_005 *_this, Compositor_DeviceType eType, void *pDevice) +void __thiscall winIVRCompositor_IVRCompositor_005_SetGraphicsDevice(struct w_steam_iface *_this, Compositor_DeviceType eType, void *pDevice) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetGraphicsDevice(_this->linux_side, eType, pDevice); + cppIVRCompositor_IVRCompositor_005_SetGraphicsDevice(_this->u_iface, eType, pDevice); } -void __thiscall winIVRCompositor_IVRCompositor_005_WaitGetPoses(winIVRCompositor_IVRCompositor_005 *_this, TrackedDevicePose_t *pPoseArray, uint32_t unPoseArrayCount) +void __thiscall winIVRCompositor_IVRCompositor_005_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pPoseArray, uint32_t unPoseArrayCount) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_WaitGetPoses(_this->linux_side, pPoseArray, unPoseArrayCount); + cppIVRCompositor_IVRCompositor_005_WaitGetPoses(_this->u_iface, pPoseArray, unPoseArrayCount); } -void __thiscall winIVRCompositor_IVRCompositor_005_Submit(winIVRCompositor_IVRCompositor_005 *_this, Hmd_Eye eEye, void *pTexture, Compositor_TextureBounds *pBounds) +void __thiscall winIVRCompositor_IVRCompositor_005_Submit(struct w_steam_iface *_this, Hmd_Eye eEye, void *pTexture, Compositor_TextureBounds *pBounds) { TRACE("%p\n", _this); - ivrcompositor_005_submit(cppIVRCompositor_IVRCompositor_005_Submit, _this->linux_side, eEye, pTexture, pBounds, 5); + ivrcompositor_005_submit(cppIVRCompositor_IVRCompositor_005_Submit, _this->u_iface, eEye, pTexture, pBounds, 5); } -void __thiscall winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_005 *_this) +void __thiscall winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_005_GetOverlayDefaults(winIVRCompositor_IVRCompositor_005 *_this, Compositor_OverlaySettings *pSettings) +void __thiscall winIVRCompositor_IVRCompositor_005_GetOverlayDefaults(struct w_steam_iface *_this, Compositor_OverlaySettings *pSettings) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_GetOverlayDefaults(_this->linux_side, pSettings); + cppIVRCompositor_IVRCompositor_005_GetOverlayDefaults(_this->u_iface, pSettings); } -void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlay(winIVRCompositor_IVRCompositor_005 *_this, void *pTexture, Compositor_OverlaySettings *pSettings) +void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlay(struct w_steam_iface *_this, void *pTexture, Compositor_OverlaySettings *pSettings) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetOverlay(_this->linux_side, pTexture, pSettings); + cppIVRCompositor_IVRCompositor_005_SetOverlay(_this->u_iface, pTexture, pSettings); } -void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlayRaw(winIVRCompositor_IVRCompositor_005 *_this, void *buffer, uint32_t width, uint32_t height, uint32_t depth, Compositor_OverlaySettings *pSettings) +void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlayRaw(struct w_steam_iface *_this, void *buffer, uint32_t width, uint32_t height, uint32_t depth, Compositor_OverlaySettings *pSettings) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetOverlayRaw(_this->linux_side, buffer, width, height, depth, pSettings); + cppIVRCompositor_IVRCompositor_005_SetOverlayRaw(_this->u_iface, buffer, width, height, depth, pSettings); } -void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlayFromFile(winIVRCompositor_IVRCompositor_005 *_this, const char *pchFilePath, Compositor_OverlaySettings *pSettings) +void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlayFromFile(struct w_steam_iface *_this, const char *pchFilePath, Compositor_OverlaySettings *pSettings) { char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetOverlayFromFile(_this->linux_side, pchFilePath ? lin_pchFilePath : NULL, pSettings); + cppIVRCompositor_IVRCompositor_005_SetOverlayFromFile(_this->u_iface, pchFilePath ? lin_pchFilePath : NULL, pSettings); } -void __thiscall winIVRCompositor_IVRCompositor_005_ClearOverlay(winIVRCompositor_IVRCompositor_005 *_this) +void __thiscall winIVRCompositor_IVRCompositor_005_ClearOverlay(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_ClearOverlay(_this->linux_side); + cppIVRCompositor_IVRCompositor_005_ClearOverlay(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_005_GetFrameTiming(winIVRCompositor_IVRCompositor_005 *_this, winCompositor_FrameTiming_091 *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_005_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_091 *pTiming, uint32_t unFramesAgo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_005_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + _ret = cppIVRCompositor_IVRCompositor_005_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_005_FadeToColor(winIVRCompositor_IVRCompositor_005 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall winIVRCompositor_IVRCompositor_005_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_005_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -void __thiscall winIVRCompositor_IVRCompositor_005_FadeGrid(winIVRCompositor_IVRCompositor_005 *_this, float fSeconds, bool bFadeIn) +void __thiscall winIVRCompositor_IVRCompositor_005_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_FadeGrid(_this->linux_side, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_005_FadeGrid(_this->u_iface, fSeconds, bFadeIn); } -void __thiscall winIVRCompositor_IVRCompositor_005_CompositorBringToFront(winIVRCompositor_IVRCompositor_005 *_this) +void __thiscall winIVRCompositor_IVRCompositor_005_CompositorBringToFront(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_005_CompositorBringToFront(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_005_CompositorGoToBack(winIVRCompositor_IVRCompositor_005 *_this) +void __thiscall winIVRCompositor_IVRCompositor_005_CompositorGoToBack(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_CompositorGoToBack(_this->linux_side); + cppIVRCompositor_IVRCompositor_005_CompositorGoToBack(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_005_CompositorQuit(winIVRCompositor_IVRCompositor_005 *_this) +void __thiscall winIVRCompositor_IVRCompositor_005_CompositorQuit(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_CompositorQuit(_this->linux_side); + cppIVRCompositor_IVRCompositor_005_CompositorQuit(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_005_IsFullscreen(winIVRCompositor_IVRCompositor_005 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_005_IsFullscreen(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_005_IsFullscreen(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_005_IsFullscreen(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection(winIVRCompositor_IVRCompositor_005 *_this, const Compositor_OverlaySettings *pSettings, float fAspectRatio, TrackingUniverseOrigin eOrigin, HmdVector3_t vSource, HmdVector3_t vDirection, HmdVector2_t *pvecIntersectionUV, HmdVector3_t *pvecIntersectionTrackingSpace) +bool __thiscall winIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection(struct w_steam_iface *_this, const Compositor_OverlaySettings *pSettings, float fAspectRatio, TrackingUniverseOrigin eOrigin, HmdVector3_t vSource, HmdVector3_t vDirection, HmdVector2_t *pvecIntersectionUV, HmdVector3_t *pvecIntersectionTrackingSpace) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection(_this->linux_side, pSettings, fAspectRatio, eOrigin, vSource, vDirection, pvecIntersectionUV, pvecIntersectionTrackingSpace); + _ret = cppIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection(_this->u_iface, pSettings, fAspectRatio, eOrigin, vSource, vDirection, pvecIntersectionUV, pvecIntersectionTrackingSpace); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_005_SetTrackingSpace(winIVRCompositor_IVRCompositor_005 *_this, TrackingUniverseOrigin eOrigin) +void __thiscall winIVRCompositor_IVRCompositor_005_SetTrackingSpace(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetTrackingSpace(_this->linux_side, eOrigin); + cppIVRCompositor_IVRCompositor_005_SetTrackingSpace(_this->u_iface, eOrigin); } -TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_005_GetTrackingSpace(winIVRCompositor_IVRCompositor_005 *_this) +TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_005_GetTrackingSpace(struct w_steam_iface *_this) { TrackingUniverseOrigin _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_005_GetTrackingSpace(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_005_GetTrackingSpace(_this->u_iface); return _ret; } @@ -245,24 +238,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRCompositor_IVRCompositor_005 *create_winIVRCompositor_IVRCompositor_005(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_005(void *u_iface) { - winIVRCompositor_IVRCompositor_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_005)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRCompositor_IVRCompositor_005_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRCompositor_IVRCompositor_005(void *object) +void destroy_winIVRCompositor_IVRCompositor_005(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_005 *create_winIVRCompositor_IVRCompositor_005_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_005_FnTable(void *u_iface) { - winIVRCompositor_IVRCompositor_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_005)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(24); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 24 * sizeof(*vtable)); int i; @@ -294,27 +287,21 @@ winIVRCompositor_IVRCompositor_005 *create_winIVRCompositor_IVRCompositor_005_Fn init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_005_GetTrackingSpace, 0, FALSE, FALSE); for (i = 0; i < 24; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_005_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_005_FnTable(struct w_steam_iface *object) { - winIVRCompositor_IVRCompositor_005 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRCompositor_IVRCompositor_006.h" -typedef struct __winIVRCompositor_IVRCompositor_006 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_006; - DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetLastError, 12) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_SetVSync, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetVSync, 4) @@ -336,143 +323,143 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetTrackingSpace, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_CanRenderScene, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_006_GetLastError(winIVRCompositor_IVRCompositor_006 *_this, char *pchBuffer, uint32_t unBufferSize) +uint32_t __thiscall winIVRCompositor_IVRCompositor_006_GetLastError(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_006_GetLastError(_this->linux_side, pchBuffer, unBufferSize); + _ret = cppIVRCompositor_IVRCompositor_006_GetLastError(_this->u_iface, pchBuffer, unBufferSize); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_006_SetVSync(winIVRCompositor_IVRCompositor_006 *_this, bool bVSync) +void __thiscall winIVRCompositor_IVRCompositor_006_SetVSync(struct w_steam_iface *_this, bool bVSync) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_SetVSync(_this->linux_side, bVSync); + cppIVRCompositor_IVRCompositor_006_SetVSync(_this->u_iface, bVSync); } -bool __thiscall winIVRCompositor_IVRCompositor_006_GetVSync(winIVRCompositor_IVRCompositor_006 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_006_GetVSync(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_006_GetVSync(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_006_GetVSync(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_006_SetGamma(winIVRCompositor_IVRCompositor_006 *_this, float fGamma) +void __thiscall winIVRCompositor_IVRCompositor_006_SetGamma(struct w_steam_iface *_this, float fGamma) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_SetGamma(_this->linux_side, fGamma); + cppIVRCompositor_IVRCompositor_006_SetGamma(_this->u_iface, fGamma); } -float __thiscall winIVRCompositor_IVRCompositor_006_GetGamma(winIVRCompositor_IVRCompositor_006 *_this) +float __thiscall winIVRCompositor_IVRCompositor_006_GetGamma(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_006_GetGamma(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_006_GetGamma(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_006_SetGraphicsDevice(winIVRCompositor_IVRCompositor_006 *_this, Compositor_DeviceType eType, void *pDevice) +void __thiscall winIVRCompositor_IVRCompositor_006_SetGraphicsDevice(struct w_steam_iface *_this, Compositor_DeviceType eType, void *pDevice) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_SetGraphicsDevice(_this->linux_side, eType, pDevice); + cppIVRCompositor_IVRCompositor_006_SetGraphicsDevice(_this->u_iface, eType, pDevice); } -VRCompositorError __thiscall winIVRCompositor_IVRCompositor_006_WaitGetPoses(winIVRCompositor_IVRCompositor_006 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +VRCompositorError __thiscall winIVRCompositor_IVRCompositor_006_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { VRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_006_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_006_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -VRCompositorError __thiscall winIVRCompositor_IVRCompositor_006_Submit(winIVRCompositor_IVRCompositor_006 *_this, Hmd_Eye eEye, void *pTexture, VRTextureBounds_t *pBounds) +VRCompositorError __thiscall winIVRCompositor_IVRCompositor_006_Submit(struct w_steam_iface *_this, Hmd_Eye eEye, void *pTexture, VRTextureBounds_t *pBounds) { VRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_006_submit(cppIVRCompositor_IVRCompositor_006_Submit, _this->linux_side, eEye, pTexture, pBounds, 6); + _ret = ivrcompositor_006_submit(cppIVRCompositor_IVRCompositor_006_Submit, _this->u_iface, eEye, pTexture, pBounds, 6); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_006 *_this) +void __thiscall winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_006_GetFrameTiming(winIVRCompositor_IVRCompositor_006 *_this, winCompositor_FrameTiming_092 *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_006_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_092 *pTiming, uint32_t unFramesAgo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_006_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + _ret = cppIVRCompositor_IVRCompositor_006_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_006_FadeToColor(winIVRCompositor_IVRCompositor_006 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall winIVRCompositor_IVRCompositor_006_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_006_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -void __thiscall winIVRCompositor_IVRCompositor_006_FadeGrid(winIVRCompositor_IVRCompositor_006 *_this, float fSeconds, bool bFadeIn) +void __thiscall winIVRCompositor_IVRCompositor_006_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_FadeGrid(_this->linux_side, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_006_FadeGrid(_this->u_iface, fSeconds, bFadeIn); } -void __thiscall winIVRCompositor_IVRCompositor_006_CompositorBringToFront(winIVRCompositor_IVRCompositor_006 *_this) +void __thiscall winIVRCompositor_IVRCompositor_006_CompositorBringToFront(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_006_CompositorBringToFront(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_006_CompositorGoToBack(winIVRCompositor_IVRCompositor_006 *_this) +void __thiscall winIVRCompositor_IVRCompositor_006_CompositorGoToBack(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_CompositorGoToBack(_this->linux_side); + cppIVRCompositor_IVRCompositor_006_CompositorGoToBack(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_006_CompositorQuit(winIVRCompositor_IVRCompositor_006 *_this) +void __thiscall winIVRCompositor_IVRCompositor_006_CompositorQuit(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_CompositorQuit(_this->linux_side); + cppIVRCompositor_IVRCompositor_006_CompositorQuit(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_006_IsFullscreen(winIVRCompositor_IVRCompositor_006 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_006_IsFullscreen(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_006_IsFullscreen(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_006_IsFullscreen(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_006_SetTrackingSpace(winIVRCompositor_IVRCompositor_006 *_this, TrackingUniverseOrigin eOrigin) +void __thiscall winIVRCompositor_IVRCompositor_006_SetTrackingSpace(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_SetTrackingSpace(_this->linux_side, eOrigin); + cppIVRCompositor_IVRCompositor_006_SetTrackingSpace(_this->u_iface, eOrigin); } -TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_006_GetTrackingSpace(winIVRCompositor_IVRCompositor_006 *_this) +TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_006_GetTrackingSpace(struct w_steam_iface *_this) { TrackingUniverseOrigin _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_006_GetTrackingSpace(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_006_GetTrackingSpace(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_006 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_006_CanRenderScene(winIVRCompositor_IVRCompositor_006 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_006_CanRenderScene(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_006_CanRenderScene(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_006_CanRenderScene(_this->u_iface); return _ret; } @@ -507,24 +494,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRCompositor_IVRCompositor_006 *create_winIVRCompositor_IVRCompositor_006(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_006(void *u_iface) { - winIVRCompositor_IVRCompositor_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_006)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRCompositor_IVRCompositor_006_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRCompositor_IVRCompositor_006(void *object) +void destroy_winIVRCompositor_IVRCompositor_006(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_006 *create_winIVRCompositor_IVRCompositor_006_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_006_FnTable(void *u_iface) { - winIVRCompositor_IVRCompositor_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_006)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(20); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 20 * sizeof(*vtable)); int i; @@ -552,27 +539,21 @@ winIVRCompositor_IVRCompositor_006 *create_winIVRCompositor_IVRCompositor_006_Fn init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_006_CanRenderScene, 0, FALSE, FALSE); for (i = 0; i < 20; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_006_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_006_FnTable(struct w_steam_iface *object) { - winIVRCompositor_IVRCompositor_006 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRCompositor_IVRCompositor_007.h" -typedef struct __winIVRCompositor_IVRCompositor_007 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_007; - DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetLastError, 12) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_SetVSync, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetVSync, 4) @@ -593,137 +574,137 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetTrackingSpace, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_CanRenderScene, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_007_GetLastError(winIVRCompositor_IVRCompositor_007 *_this, char *pchBuffer, uint32_t unBufferSize) +uint32_t __thiscall winIVRCompositor_IVRCompositor_007_GetLastError(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_007_GetLastError(_this->linux_side, pchBuffer, unBufferSize); + _ret = cppIVRCompositor_IVRCompositor_007_GetLastError(_this->u_iface, pchBuffer, unBufferSize); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_007_SetVSync(winIVRCompositor_IVRCompositor_007 *_this, bool bVSync) +void __thiscall winIVRCompositor_IVRCompositor_007_SetVSync(struct w_steam_iface *_this, bool bVSync) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_SetVSync(_this->linux_side, bVSync); + cppIVRCompositor_IVRCompositor_007_SetVSync(_this->u_iface, bVSync); } -bool __thiscall winIVRCompositor_IVRCompositor_007_GetVSync(winIVRCompositor_IVRCompositor_007 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_007_GetVSync(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_007_GetVSync(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_007_GetVSync(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_007_SetGamma(winIVRCompositor_IVRCompositor_007 *_this, float fGamma) +void __thiscall winIVRCompositor_IVRCompositor_007_SetGamma(struct w_steam_iface *_this, float fGamma) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_SetGamma(_this->linux_side, fGamma); + cppIVRCompositor_IVRCompositor_007_SetGamma(_this->u_iface, fGamma); } -float __thiscall winIVRCompositor_IVRCompositor_007_GetGamma(winIVRCompositor_IVRCompositor_007 *_this) +float __thiscall winIVRCompositor_IVRCompositor_007_GetGamma(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_007_GetGamma(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_007_GetGamma(_this->u_iface); return _ret; } -VRCompositorError __thiscall winIVRCompositor_IVRCompositor_007_WaitGetPoses(winIVRCompositor_IVRCompositor_007 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +VRCompositorError __thiscall winIVRCompositor_IVRCompositor_007_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { VRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_007_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_007_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -VRCompositorError __thiscall winIVRCompositor_IVRCompositor_007_Submit(winIVRCompositor_IVRCompositor_007 *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void *pTexture, const VRTextureBounds_t *pBounds) +VRCompositorError __thiscall winIVRCompositor_IVRCompositor_007_Submit(struct w_steam_iface *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void *pTexture, const VRTextureBounds_t *pBounds) { VRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_007_submit(cppIVRCompositor_IVRCompositor_007_Submit, _this->linux_side, eEye, eTextureType, pTexture, pBounds, 7); + _ret = ivrcompositor_007_submit(cppIVRCompositor_IVRCompositor_007_Submit, _this->u_iface, eEye, eTextureType, pTexture, pBounds, 7); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_007 *_this) +void __thiscall winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_007_GetFrameTiming(winIVRCompositor_IVRCompositor_007 *_this, winCompositor_FrameTiming_098 *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_007_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_098 *pTiming, uint32_t unFramesAgo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_007_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + _ret = cppIVRCompositor_IVRCompositor_007_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_007_FadeToColor(winIVRCompositor_IVRCompositor_007 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall winIVRCompositor_IVRCompositor_007_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_007_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -void __thiscall winIVRCompositor_IVRCompositor_007_FadeGrid(winIVRCompositor_IVRCompositor_007 *_this, float fSeconds, bool bFadeIn) +void __thiscall winIVRCompositor_IVRCompositor_007_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_FadeGrid(_this->linux_side, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_007_FadeGrid(_this->u_iface, fSeconds, bFadeIn); } -void __thiscall winIVRCompositor_IVRCompositor_007_CompositorBringToFront(winIVRCompositor_IVRCompositor_007 *_this) +void __thiscall winIVRCompositor_IVRCompositor_007_CompositorBringToFront(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_007_CompositorBringToFront(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_007_CompositorGoToBack(winIVRCompositor_IVRCompositor_007 *_this) +void __thiscall winIVRCompositor_IVRCompositor_007_CompositorGoToBack(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_CompositorGoToBack(_this->linux_side); + cppIVRCompositor_IVRCompositor_007_CompositorGoToBack(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_007_CompositorQuit(winIVRCompositor_IVRCompositor_007 *_this) +void __thiscall winIVRCompositor_IVRCompositor_007_CompositorQuit(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_CompositorQuit(_this->linux_side); + cppIVRCompositor_IVRCompositor_007_CompositorQuit(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_007_IsFullscreen(winIVRCompositor_IVRCompositor_007 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_007_IsFullscreen(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_007_IsFullscreen(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_007_IsFullscreen(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_007_SetTrackingSpace(winIVRCompositor_IVRCompositor_007 *_this, TrackingUniverseOrigin eOrigin) +void __thiscall winIVRCompositor_IVRCompositor_007_SetTrackingSpace(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_SetTrackingSpace(_this->linux_side, eOrigin); + cppIVRCompositor_IVRCompositor_007_SetTrackingSpace(_this->u_iface, eOrigin); } -TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_007_GetTrackingSpace(winIVRCompositor_IVRCompositor_007 *_this) +TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_007_GetTrackingSpace(struct w_steam_iface *_this) { TrackingUniverseOrigin _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_007_GetTrackingSpace(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_007_GetTrackingSpace(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_007 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_007_CanRenderScene(winIVRCompositor_IVRCompositor_007 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_007_CanRenderScene(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_007_CanRenderScene(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_007_CanRenderScene(_this->u_iface); return _ret; } @@ -757,24 +738,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRCompositor_IVRCompositor_007 *create_winIVRCompositor_IVRCompositor_007(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_007(void *u_iface) { - winIVRCompositor_IVRCompositor_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_007)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRCompositor_IVRCompositor_007_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRCompositor_IVRCompositor_007(void *object) +void destroy_winIVRCompositor_IVRCompositor_007(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_007 *create_winIVRCompositor_IVRCompositor_007_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_007_FnTable(void *u_iface) { - winIVRCompositor_IVRCompositor_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_007)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(19); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 19 * sizeof(*vtable)); int i; @@ -801,27 +782,21 @@ winIVRCompositor_IVRCompositor_007 *create_winIVRCompositor_IVRCompositor_007_Fn init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_007_CanRenderScene, 0, FALSE, FALSE); for (i = 0; i < 19; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_007_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_007_FnTable(struct w_steam_iface *object) { - winIVRCompositor_IVRCompositor_007 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRCompositor_IVRCompositor_008.h" -typedef struct __winIVRCompositor_IVRCompositor_008 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_008; - DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetLastError, 12) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_SetVSync, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetVSync, 4) @@ -849,183 +824,183 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CompositorDumpImages, DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetLastError(winIVRCompositor_IVRCompositor_008 *_this, char *pchBuffer, uint32_t unBufferSize) +uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetLastError(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_008_GetLastError(_this->linux_side, pchBuffer, unBufferSize); + _ret = cppIVRCompositor_IVRCompositor_008_GetLastError(_this->u_iface, pchBuffer, unBufferSize); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_008_SetVSync(winIVRCompositor_IVRCompositor_008 *_this, bool bVSync) +void __thiscall winIVRCompositor_IVRCompositor_008_SetVSync(struct w_steam_iface *_this, bool bVSync) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_SetVSync(_this->linux_side, bVSync); + cppIVRCompositor_IVRCompositor_008_SetVSync(_this->u_iface, bVSync); } -bool __thiscall winIVRCompositor_IVRCompositor_008_GetVSync(winIVRCompositor_IVRCompositor_008 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_008_GetVSync(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_008_GetVSync(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_008_GetVSync(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_008_SetGamma(winIVRCompositor_IVRCompositor_008 *_this, float fGamma) +void __thiscall winIVRCompositor_IVRCompositor_008_SetGamma(struct w_steam_iface *_this, float fGamma) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_SetGamma(_this->linux_side, fGamma); + cppIVRCompositor_IVRCompositor_008_SetGamma(_this->u_iface, fGamma); } -float __thiscall winIVRCompositor_IVRCompositor_008_GetGamma(winIVRCompositor_IVRCompositor_008 *_this) +float __thiscall winIVRCompositor_IVRCompositor_008_GetGamma(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_008_GetGamma(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_008_GetGamma(_this->u_iface); return _ret; } -VRCompositorError __thiscall winIVRCompositor_IVRCompositor_008_WaitGetPoses(winIVRCompositor_IVRCompositor_008 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +VRCompositorError __thiscall winIVRCompositor_IVRCompositor_008_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { VRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_008_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_008_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -VRCompositorError __thiscall winIVRCompositor_IVRCompositor_008_Submit(winIVRCompositor_IVRCompositor_008 *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void *pTexture, const VRTextureBounds_t *pBounds, VRSubmitFlags_t nSubmitFlags) +VRCompositorError __thiscall winIVRCompositor_IVRCompositor_008_Submit(struct w_steam_iface *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void *pTexture, const VRTextureBounds_t *pBounds, VRSubmitFlags_t nSubmitFlags) { VRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_008_submit(cppIVRCompositor_IVRCompositor_008_Submit, _this->linux_side, eEye, eTextureType, pTexture, pBounds, nSubmitFlags, 8); + _ret = ivrcompositor_008_submit(cppIVRCompositor_IVRCompositor_008_Submit, _this->u_iface, eEye, eTextureType, pTexture, pBounds, nSubmitFlags, 8); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_008 *_this) +void __thiscall winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_008_GetFrameTiming(winIVRCompositor_IVRCompositor_008 *_this, winCompositor_FrameTiming_0910 *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_008_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_0910 *pTiming, uint32_t unFramesAgo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_008_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + _ret = cppIVRCompositor_IVRCompositor_008_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_008_FadeToColor(winIVRCompositor_IVRCompositor_008 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall winIVRCompositor_IVRCompositor_008_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_008_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -void __thiscall winIVRCompositor_IVRCompositor_008_FadeGrid(winIVRCompositor_IVRCompositor_008 *_this, float fSeconds, bool bFadeIn) +void __thiscall winIVRCompositor_IVRCompositor_008_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_FadeGrid(_this->linux_side, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_008_FadeGrid(_this->u_iface, fSeconds, bFadeIn); } -void __thiscall winIVRCompositor_IVRCompositor_008_SetSkyboxOverride(winIVRCompositor_IVRCompositor_008 *_this, GraphicsAPIConvention eTextureType, void *pFront, void *pBack, void *pLeft, void *pRight, void *pTop, void *pBottom) +void __thiscall winIVRCompositor_IVRCompositor_008_SetSkyboxOverride(struct w_steam_iface *_this, GraphicsAPIConvention eTextureType, void *pFront, void *pBack, void *pLeft, void *pRight, void *pTop, void *pBottom) { TRACE("%p\n", _this); - ivrcompositor_008_set_skybox_override(cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride, _this->linux_side, eTextureType, pFront, pBack, pLeft, pRight, pTop, pBottom, 8); + ivrcompositor_008_set_skybox_override(cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride, _this->u_iface, eTextureType, pFront, pBack, pLeft, pRight, pTop, pBottom, 8); } -void __thiscall winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_008 *_this) +void __thiscall winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_ClearSkyboxOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_008_ClearSkyboxOverride(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_008_CompositorBringToFront(winIVRCompositor_IVRCompositor_008 *_this) +void __thiscall winIVRCompositor_IVRCompositor_008_CompositorBringToFront(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_008_CompositorBringToFront(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_008_CompositorGoToBack(winIVRCompositor_IVRCompositor_008 *_this) +void __thiscall winIVRCompositor_IVRCompositor_008_CompositorGoToBack(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_CompositorGoToBack(_this->linux_side); + cppIVRCompositor_IVRCompositor_008_CompositorGoToBack(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_008_CompositorQuit(winIVRCompositor_IVRCompositor_008 *_this) +void __thiscall winIVRCompositor_IVRCompositor_008_CompositorQuit(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_CompositorQuit(_this->linux_side); + cppIVRCompositor_IVRCompositor_008_CompositorQuit(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_008_IsFullscreen(winIVRCompositor_IVRCompositor_008 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_008_IsFullscreen(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_008_IsFullscreen(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_008_IsFullscreen(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_008_SetTrackingSpace(winIVRCompositor_IVRCompositor_008 *_this, TrackingUniverseOrigin eOrigin) +void __thiscall winIVRCompositor_IVRCompositor_008_SetTrackingSpace(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_SetTrackingSpace(_this->linux_side, eOrigin); + cppIVRCompositor_IVRCompositor_008_SetTrackingSpace(_this->u_iface, eOrigin); } -TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_008_GetTrackingSpace(winIVRCompositor_IVRCompositor_008 *_this) +TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_008_GetTrackingSpace(struct w_steam_iface *_this) { TrackingUniverseOrigin _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_008_GetTrackingSpace(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_008_GetTrackingSpace(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_008 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_008_CanRenderScene(winIVRCompositor_IVRCompositor_008 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_008_CanRenderScene(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_008_CanRenderScene(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_008_CanRenderScene(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_008_ShowMirrorWindow(winIVRCompositor_IVRCompositor_008 *_this) +void __thiscall winIVRCompositor_IVRCompositor_008_ShowMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_ShowMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_008_ShowMirrorWindow(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_008_HideMirrorWindow(winIVRCompositor_IVRCompositor_008 *_this) +void __thiscall winIVRCompositor_IVRCompositor_008_HideMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_HideMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_008_HideMirrorWindow(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_008_CompositorDumpImages(winIVRCompositor_IVRCompositor_008 *_this) +void __thiscall winIVRCompositor_IVRCompositor_008_CompositorDumpImages(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_CompositorDumpImages(_this->linux_side); + cppIVRCompositor_IVRCompositor_008_CompositorDumpImages(_this->u_iface); } -float __thiscall winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_008 *_this) +float __thiscall winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_008 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer(_this->u_iface); return _ret; } @@ -1066,24 +1041,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRCompositor_IVRCompositor_008 *create_winIVRCompositor_IVRCompositor_008(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_008(void *u_iface) { - winIVRCompositor_IVRCompositor_008 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_008)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRCompositor_IVRCompositor_008_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRCompositor_IVRCompositor_008(void *object) +void destroy_winIVRCompositor_IVRCompositor_008(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_008 *create_winIVRCompositor_IVRCompositor_008_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_008_FnTable(void *u_iface) { - winIVRCompositor_IVRCompositor_008 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_008)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(26); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 26 * sizeof(*vtable)); int i; @@ -1117,27 +1092,21 @@ winIVRCompositor_IVRCompositor_008 *create_winIVRCompositor_IVRCompositor_008_Fn init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer, 0, FALSE, FALSE); for (i = 0; i < 26; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_008_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_008_FnTable(struct w_steam_iface *object) { - winIVRCompositor_IVRCompositor_008 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRCompositor_IVRCompositor_009.h" -typedef struct __winIVRCompositor_IVRCompositor_009 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_009; - DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_SetTrackingSpace, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetTrackingSpace, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_WaitGetPoses, 20) @@ -1163,172 +1132,172 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_HideMirrorWindow, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_009_SetTrackingSpace(winIVRCompositor_IVRCompositor_009 *_this, ETrackingUniverseOrigin eOrigin) +void __thiscall winIVRCompositor_IVRCompositor_009_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_SetTrackingSpace(_this->linux_side, eOrigin); + cppIVRCompositor_IVRCompositor_009_SetTrackingSpace(_this->u_iface, eOrigin); } -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_009_GetTrackingSpace(winIVRCompositor_IVRCompositor_009 *_this) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_009_GetTrackingSpace(struct w_steam_iface *_this) { ETrackingUniverseOrigin _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_009_GetTrackingSpace(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_009_GetTrackingSpace(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_WaitGetPoses(winIVRCompositor_IVRCompositor_009 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_009_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_009_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_GetLastPoses(winIVRCompositor_IVRCompositor_009 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_009_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_009_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_Submit(winIVRCompositor_IVRCompositor_009 *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_009_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 9); + _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_009_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 9); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_009 *_this) +void __thiscall winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_009_PostPresentHandoff(winIVRCompositor_IVRCompositor_009 *_this) +void __thiscall winIVRCompositor_IVRCompositor_009_PostPresentHandoff(struct w_steam_iface *_this) { TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_009_PostPresentHandoff, _this->linux_side, 9); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_009_PostPresentHandoff, _this->u_iface, 9); } -bool __thiscall winIVRCompositor_IVRCompositor_009_GetFrameTiming(winIVRCompositor_IVRCompositor_009 *_this, winCompositor_FrameTiming_0913 *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_009_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_0913 *pTiming, uint32_t unFramesAgo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_009_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + _ret = cppIVRCompositor_IVRCompositor_009_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); return _ret; } -float __thiscall winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_009 *_this) +float __thiscall winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_009_FadeToColor(winIVRCompositor_IVRCompositor_009 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall winIVRCompositor_IVRCompositor_009_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_009_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -void __thiscall winIVRCompositor_IVRCompositor_009_FadeGrid(winIVRCompositor_IVRCompositor_009 *_this, float fSeconds, bool bFadeIn) +void __thiscall winIVRCompositor_IVRCompositor_009_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_FadeGrid(_this->linux_side, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_009_FadeGrid(_this->u_iface, fSeconds, bFadeIn); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_SetSkyboxOverride(winIVRCompositor_IVRCompositor_009 *_this, const Texture_t *pTextures, uint32_t unTextureCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 9); + _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 9); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_009 *_this) +void __thiscall winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_ClearSkyboxOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_009_ClearSkyboxOverride(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_009_CompositorBringToFront(winIVRCompositor_IVRCompositor_009 *_this) +void __thiscall winIVRCompositor_IVRCompositor_009_CompositorBringToFront(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_009_CompositorBringToFront(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_009_CompositorGoToBack(winIVRCompositor_IVRCompositor_009 *_this) +void __thiscall winIVRCompositor_IVRCompositor_009_CompositorGoToBack(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_CompositorGoToBack(_this->linux_side); + cppIVRCompositor_IVRCompositor_009_CompositorGoToBack(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_009_CompositorQuit(winIVRCompositor_IVRCompositor_009 *_this) +void __thiscall winIVRCompositor_IVRCompositor_009_CompositorQuit(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_CompositorQuit(_this->linux_side); + cppIVRCompositor_IVRCompositor_009_CompositorQuit(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_009_IsFullscreen(winIVRCompositor_IVRCompositor_009 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_009_IsFullscreen(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_009_IsFullscreen(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_009_IsFullscreen(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_009 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_009 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_009_GetLastFrameRenderer(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_009_GetLastFrameRenderer(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_009_CanRenderScene(winIVRCompositor_IVRCompositor_009 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_009_CanRenderScene(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_009_CanRenderScene(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_009_CanRenderScene(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_009_ShowMirrorWindow(winIVRCompositor_IVRCompositor_009 *_this) +void __thiscall winIVRCompositor_IVRCompositor_009_ShowMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_ShowMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_009_ShowMirrorWindow(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_009_HideMirrorWindow(winIVRCompositor_IVRCompositor_009 *_this) +void __thiscall winIVRCompositor_IVRCompositor_009_HideMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_HideMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_009_HideMirrorWindow(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_009 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_009_CompositorDumpImages(winIVRCompositor_IVRCompositor_009 *_this) +void __thiscall winIVRCompositor_IVRCompositor_009_CompositorDumpImages(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_CompositorDumpImages(_this->linux_side); + cppIVRCompositor_IVRCompositor_009_CompositorDumpImages(_this->u_iface); } extern vtable_ptr winIVRCompositor_IVRCompositor_009_vtable; @@ -1366,24 +1335,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRCompositor_IVRCompositor_009 *create_winIVRCompositor_IVRCompositor_009(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_009(void *u_iface) { - winIVRCompositor_IVRCompositor_009 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_009)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRCompositor_IVRCompositor_009_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRCompositor_IVRCompositor_009(void *object) +void destroy_winIVRCompositor_IVRCompositor_009(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_009 *create_winIVRCompositor_IVRCompositor_009_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_009_FnTable(void *u_iface) { - winIVRCompositor_IVRCompositor_009 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_009)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(24); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 24 * sizeof(*vtable)); int i; @@ -1415,27 +1384,21 @@ winIVRCompositor_IVRCompositor_009 *create_winIVRCompositor_IVRCompositor_009_Fn init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_009_CompositorDumpImages, 0, FALSE, FALSE); for (i = 0; i < 24; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_009_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_009_FnTable(struct w_steam_iface *object) { - winIVRCompositor_IVRCompositor_009 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRCompositor_IVRCompositor_010.h" -typedef struct __winIVRCompositor_IVRCompositor_010 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_010; - DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_SetTrackingSpace, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetTrackingSpace, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_WaitGetPoses, 20) @@ -1461,172 +1424,172 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_HideMirrorWindow, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_010_SetTrackingSpace(winIVRCompositor_IVRCompositor_010 *_this, ETrackingUniverseOrigin eOrigin) +void __thiscall winIVRCompositor_IVRCompositor_010_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_SetTrackingSpace(_this->linux_side, eOrigin); + cppIVRCompositor_IVRCompositor_010_SetTrackingSpace(_this->u_iface, eOrigin); } -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_010_GetTrackingSpace(winIVRCompositor_IVRCompositor_010 *_this) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_010_GetTrackingSpace(struct w_steam_iface *_this) { ETrackingUniverseOrigin _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_010_GetTrackingSpace(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_010_GetTrackingSpace(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_WaitGetPoses(winIVRCompositor_IVRCompositor_010 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_010_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_010_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_GetLastPoses(winIVRCompositor_IVRCompositor_010 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_010_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_010_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_Submit(winIVRCompositor_IVRCompositor_010 *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_010_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 10); + _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_010_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 10); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_010 *_this) +void __thiscall winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_010_PostPresentHandoff(winIVRCompositor_IVRCompositor_010 *_this) +void __thiscall winIVRCompositor_IVRCompositor_010_PostPresentHandoff(struct w_steam_iface *_this) { TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_010_PostPresentHandoff, _this->linux_side, 10); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_010_PostPresentHandoff, _this->u_iface, 10); } -bool __thiscall winIVRCompositor_IVRCompositor_010_GetFrameTiming(winIVRCompositor_IVRCompositor_010 *_this, winCompositor_FrameTiming_0914 *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_010_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_0914 *pTiming, uint32_t unFramesAgo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_010_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + _ret = cppIVRCompositor_IVRCompositor_010_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); return _ret; } -float __thiscall winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_010 *_this) +float __thiscall winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_010_FadeToColor(winIVRCompositor_IVRCompositor_010 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall winIVRCompositor_IVRCompositor_010_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_010_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -void __thiscall winIVRCompositor_IVRCompositor_010_FadeGrid(winIVRCompositor_IVRCompositor_010 *_this, float fSeconds, bool bFadeIn) +void __thiscall winIVRCompositor_IVRCompositor_010_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_FadeGrid(_this->linux_side, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_010_FadeGrid(_this->u_iface, fSeconds, bFadeIn); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_SetSkyboxOverride(winIVRCompositor_IVRCompositor_010 *_this, const Texture_t *pTextures, uint32_t unTextureCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 10); + _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 10); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_010 *_this) +void __thiscall winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_ClearSkyboxOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_010_ClearSkyboxOverride(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_010_CompositorBringToFront(winIVRCompositor_IVRCompositor_010 *_this) +void __thiscall winIVRCompositor_IVRCompositor_010_CompositorBringToFront(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_010_CompositorBringToFront(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_010_CompositorGoToBack(winIVRCompositor_IVRCompositor_010 *_this) +void __thiscall winIVRCompositor_IVRCompositor_010_CompositorGoToBack(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_CompositorGoToBack(_this->linux_side); + cppIVRCompositor_IVRCompositor_010_CompositorGoToBack(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_010_CompositorQuit(winIVRCompositor_IVRCompositor_010 *_this) +void __thiscall winIVRCompositor_IVRCompositor_010_CompositorQuit(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_CompositorQuit(_this->linux_side); + cppIVRCompositor_IVRCompositor_010_CompositorQuit(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_010_IsFullscreen(winIVRCompositor_IVRCompositor_010 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_010_IsFullscreen(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_010_IsFullscreen(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_010_IsFullscreen(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_010 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_010 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_010_GetLastFrameRenderer(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_010_GetLastFrameRenderer(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_010_CanRenderScene(winIVRCompositor_IVRCompositor_010 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_010_CanRenderScene(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_010_CanRenderScene(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_010_CanRenderScene(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_010_ShowMirrorWindow(winIVRCompositor_IVRCompositor_010 *_this) +void __thiscall winIVRCompositor_IVRCompositor_010_ShowMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_ShowMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_010_ShowMirrorWindow(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_010_HideMirrorWindow(winIVRCompositor_IVRCompositor_010 *_this) +void __thiscall winIVRCompositor_IVRCompositor_010_HideMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_HideMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_010_HideMirrorWindow(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_010 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_010_CompositorDumpImages(winIVRCompositor_IVRCompositor_010 *_this) +void __thiscall winIVRCompositor_IVRCompositor_010_CompositorDumpImages(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_CompositorDumpImages(_this->linux_side); + cppIVRCompositor_IVRCompositor_010_CompositorDumpImages(_this->u_iface); } extern vtable_ptr winIVRCompositor_IVRCompositor_010_vtable; @@ -1664,24 +1627,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRCompositor_IVRCompositor_010 *create_winIVRCompositor_IVRCompositor_010(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_010(void *u_iface) { - winIVRCompositor_IVRCompositor_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_010)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRCompositor_IVRCompositor_010_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRCompositor_IVRCompositor_010(void *object) +void destroy_winIVRCompositor_IVRCompositor_010(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_010 *create_winIVRCompositor_IVRCompositor_010_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_010_FnTable(void *u_iface) { - winIVRCompositor_IVRCompositor_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_010)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(24); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 24 * sizeof(*vtable)); int i; @@ -1713,27 +1676,21 @@ winIVRCompositor_IVRCompositor_010 *create_winIVRCompositor_IVRCompositor_010_Fn init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_010_CompositorDumpImages, 0, FALSE, FALSE); for (i = 0; i < 24; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_010_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_010_FnTable(struct w_steam_iface *object) { - winIVRCompositor_IVRCompositor_010 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRCompositor_IVRCompositor_011.h" -typedef struct __winIVRCompositor_IVRCompositor_011 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_011; - DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_SetTrackingSpace, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetTrackingSpace, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_WaitGetPoses, 20) @@ -1759,172 +1716,172 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_HideMirrorWindow, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_011_SetTrackingSpace(winIVRCompositor_IVRCompositor_011 *_this, ETrackingUniverseOrigin eOrigin) +void __thiscall winIVRCompositor_IVRCompositor_011_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_SetTrackingSpace(_this->linux_side, eOrigin); + cppIVRCompositor_IVRCompositor_011_SetTrackingSpace(_this->u_iface, eOrigin); } -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_011_GetTrackingSpace(winIVRCompositor_IVRCompositor_011 *_this) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_011_GetTrackingSpace(struct w_steam_iface *_this) { ETrackingUniverseOrigin _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_011_GetTrackingSpace(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_011_GetTrackingSpace(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_WaitGetPoses(winIVRCompositor_IVRCompositor_011 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_011_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_011_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_GetLastPoses(winIVRCompositor_IVRCompositor_011 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_011_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_011_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_Submit(winIVRCompositor_IVRCompositor_011 *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_011_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 11); + _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_011_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 11); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_011 *_this) +void __thiscall winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_011_PostPresentHandoff(winIVRCompositor_IVRCompositor_011 *_this) +void __thiscall winIVRCompositor_IVRCompositor_011_PostPresentHandoff(struct w_steam_iface *_this) { TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_011_PostPresentHandoff, _this->linux_side, 11); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_011_PostPresentHandoff, _this->u_iface, 11); } -bool __thiscall winIVRCompositor_IVRCompositor_011_GetFrameTiming(winIVRCompositor_IVRCompositor_011 *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_011_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_011_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + _ret = cppIVRCompositor_IVRCompositor_011_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); return _ret; } -float __thiscall winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_011 *_this) +float __thiscall winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_011_FadeToColor(winIVRCompositor_IVRCompositor_011 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall winIVRCompositor_IVRCompositor_011_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_011_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -void __thiscall winIVRCompositor_IVRCompositor_011_FadeGrid(winIVRCompositor_IVRCompositor_011 *_this, float fSeconds, bool bFadeIn) +void __thiscall winIVRCompositor_IVRCompositor_011_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_FadeGrid(_this->linux_side, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_011_FadeGrid(_this->u_iface, fSeconds, bFadeIn); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_SetSkyboxOverride(winIVRCompositor_IVRCompositor_011 *_this, const Texture_t *pTextures, uint32_t unTextureCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 11); + _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 11); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_011 *_this) +void __thiscall winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_ClearSkyboxOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_011_ClearSkyboxOverride(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_011_CompositorBringToFront(winIVRCompositor_IVRCompositor_011 *_this) +void __thiscall winIVRCompositor_IVRCompositor_011_CompositorBringToFront(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_011_CompositorBringToFront(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_011_CompositorGoToBack(winIVRCompositor_IVRCompositor_011 *_this) +void __thiscall winIVRCompositor_IVRCompositor_011_CompositorGoToBack(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_CompositorGoToBack(_this->linux_side); + cppIVRCompositor_IVRCompositor_011_CompositorGoToBack(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_011_CompositorQuit(winIVRCompositor_IVRCompositor_011 *_this) +void __thiscall winIVRCompositor_IVRCompositor_011_CompositorQuit(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_CompositorQuit(_this->linux_side); + cppIVRCompositor_IVRCompositor_011_CompositorQuit(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_011_IsFullscreen(winIVRCompositor_IVRCompositor_011 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_011_IsFullscreen(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_011_IsFullscreen(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_011_IsFullscreen(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_011 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_011 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_011_GetLastFrameRenderer(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_011_GetLastFrameRenderer(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_011_CanRenderScene(winIVRCompositor_IVRCompositor_011 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_011_CanRenderScene(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_011_CanRenderScene(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_011_CanRenderScene(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_011_ShowMirrorWindow(winIVRCompositor_IVRCompositor_011 *_this) +void __thiscall winIVRCompositor_IVRCompositor_011_ShowMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_ShowMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_011_ShowMirrorWindow(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_011_HideMirrorWindow(winIVRCompositor_IVRCompositor_011 *_this) +void __thiscall winIVRCompositor_IVRCompositor_011_HideMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_HideMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_011_HideMirrorWindow(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_011 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_011_CompositorDumpImages(winIVRCompositor_IVRCompositor_011 *_this) +void __thiscall winIVRCompositor_IVRCompositor_011_CompositorDumpImages(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_CompositorDumpImages(_this->linux_side); + cppIVRCompositor_IVRCompositor_011_CompositorDumpImages(_this->u_iface); } extern vtable_ptr winIVRCompositor_IVRCompositor_011_vtable; @@ -1962,24 +1919,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRCompositor_IVRCompositor_011 *create_winIVRCompositor_IVRCompositor_011(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_011(void *u_iface) { - winIVRCompositor_IVRCompositor_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_011)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRCompositor_IVRCompositor_011_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRCompositor_IVRCompositor_011(void *object) +void destroy_winIVRCompositor_IVRCompositor_011(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_011 *create_winIVRCompositor_IVRCompositor_011_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_011_FnTable(void *u_iface) { - winIVRCompositor_IVRCompositor_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_011)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(24); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 24 * sizeof(*vtable)); int i; @@ -2011,27 +1968,21 @@ winIVRCompositor_IVRCompositor_011 *create_winIVRCompositor_IVRCompositor_011_Fn init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_011_CompositorDumpImages, 0, FALSE, FALSE); for (i = 0; i < 24; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_011_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_011_FnTable(struct w_steam_iface *object) { - winIVRCompositor_IVRCompositor_011 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRCompositor_IVRCompositor_012.h" -typedef struct __winIVRCompositor_IVRCompositor_012 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_012; - DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_SetTrackingSpace, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetTrackingSpace, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_WaitGetPoses, 20) @@ -2059,187 +2010,187 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CompositorDumpImages, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources, 4) -void __thiscall winIVRCompositor_IVRCompositor_012_SetTrackingSpace(winIVRCompositor_IVRCompositor_012 *_this, ETrackingUniverseOrigin eOrigin) +void __thiscall winIVRCompositor_IVRCompositor_012_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_SetTrackingSpace(_this->linux_side, eOrigin); + cppIVRCompositor_IVRCompositor_012_SetTrackingSpace(_this->u_iface, eOrigin); } -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_012_GetTrackingSpace(winIVRCompositor_IVRCompositor_012 *_this) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_012_GetTrackingSpace(struct w_steam_iface *_this) { ETrackingUniverseOrigin _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_GetTrackingSpace(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_012_GetTrackingSpace(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_WaitGetPoses(winIVRCompositor_IVRCompositor_012 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_012_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_GetLastPoses(winIVRCompositor_IVRCompositor_012 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_012_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_012 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); + _ret = cppIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_Submit(winIVRCompositor_IVRCompositor_012 *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_012_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 12); + _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_012_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 12); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_012 *_this) +void __thiscall winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_012_PostPresentHandoff(winIVRCompositor_IVRCompositor_012 *_this) +void __thiscall winIVRCompositor_IVRCompositor_012_PostPresentHandoff(struct w_steam_iface *_this) { TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_012_PostPresentHandoff, _this->linux_side, 12); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_012_PostPresentHandoff, _this->u_iface, 12); } -bool __thiscall winIVRCompositor_IVRCompositor_012_GetFrameTiming(winIVRCompositor_IVRCompositor_012 *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_012_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + _ret = cppIVRCompositor_IVRCompositor_012_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); return _ret; } -float __thiscall winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_012 *_this) +float __thiscall winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_012_FadeToColor(winIVRCompositor_IVRCompositor_012 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall winIVRCompositor_IVRCompositor_012_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_012_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -void __thiscall winIVRCompositor_IVRCompositor_012_FadeGrid(winIVRCompositor_IVRCompositor_012 *_this, float fSeconds, bool bFadeIn) +void __thiscall winIVRCompositor_IVRCompositor_012_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_FadeGrid(_this->linux_side, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_012_FadeGrid(_this->u_iface, fSeconds, bFadeIn); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_SetSkyboxOverride(winIVRCompositor_IVRCompositor_012 *_this, const Texture_t *pTextures, uint32_t unTextureCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 12); + _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 12); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_012 *_this) +void __thiscall winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_ClearSkyboxOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_012_ClearSkyboxOverride(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_012_CompositorBringToFront(winIVRCompositor_IVRCompositor_012 *_this) +void __thiscall winIVRCompositor_IVRCompositor_012_CompositorBringToFront(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_012_CompositorBringToFront(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_012_CompositorGoToBack(winIVRCompositor_IVRCompositor_012 *_this) +void __thiscall winIVRCompositor_IVRCompositor_012_CompositorGoToBack(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_CompositorGoToBack(_this->linux_side); + cppIVRCompositor_IVRCompositor_012_CompositorGoToBack(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_012_CompositorQuit(winIVRCompositor_IVRCompositor_012 *_this) +void __thiscall winIVRCompositor_IVRCompositor_012_CompositorQuit(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_CompositorQuit(_this->linux_side); + cppIVRCompositor_IVRCompositor_012_CompositorQuit(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_012_IsFullscreen(winIVRCompositor_IVRCompositor_012 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_012_IsFullscreen(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_IsFullscreen(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_012_IsFullscreen(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_012 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_012 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_GetLastFrameRenderer(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_012_GetLastFrameRenderer(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_012_CanRenderScene(winIVRCompositor_IVRCompositor_012 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_012_CanRenderScene(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_CanRenderScene(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_012_CanRenderScene(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_012_ShowMirrorWindow(winIVRCompositor_IVRCompositor_012 *_this) +void __thiscall winIVRCompositor_IVRCompositor_012_ShowMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_ShowMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_012_ShowMirrorWindow(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_012_HideMirrorWindow(winIVRCompositor_IVRCompositor_012 *_this) +void __thiscall winIVRCompositor_IVRCompositor_012_HideMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_HideMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_012_HideMirrorWindow(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_012 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_012_CompositorDumpImages(winIVRCompositor_IVRCompositor_012 *_this) +void __thiscall winIVRCompositor_IVRCompositor_012_CompositorDumpImages(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_CompositorDumpImages(_this->linux_side); + cppIVRCompositor_IVRCompositor_012_CompositorDumpImages(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_012 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources(_this->u_iface); return _ret; } @@ -2280,24 +2231,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRCompositor_IVRCompositor_012 *create_winIVRCompositor_IVRCompositor_012(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_012(void *u_iface) { - winIVRCompositor_IVRCompositor_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_012)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRCompositor_IVRCompositor_012_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRCompositor_IVRCompositor_012(void *object) +void destroy_winIVRCompositor_IVRCompositor_012(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_012 *create_winIVRCompositor_IVRCompositor_012_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_012_FnTable(void *u_iface) { - winIVRCompositor_IVRCompositor_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_012)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(26); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 26 * sizeof(*vtable)); int i; @@ -2331,27 +2282,21 @@ winIVRCompositor_IVRCompositor_012 *create_winIVRCompositor_IVRCompositor_012_Fn init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); for (i = 0; i < 26; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_012_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_012_FnTable(struct w_steam_iface *object) { - winIVRCompositor_IVRCompositor_012 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRCompositor_IVRCompositor_013.h" -typedef struct __winIVRCompositor_IVRCompositor_013 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_013; - DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_SetTrackingSpace, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetTrackingSpace, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_WaitGetPoses, 20) @@ -2380,194 +2325,194 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CompositorDumpImages, DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn, 8) -void __thiscall winIVRCompositor_IVRCompositor_013_SetTrackingSpace(winIVRCompositor_IVRCompositor_013 *_this, ETrackingUniverseOrigin eOrigin) +void __thiscall winIVRCompositor_IVRCompositor_013_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_SetTrackingSpace(_this->linux_side, eOrigin); + cppIVRCompositor_IVRCompositor_013_SetTrackingSpace(_this->u_iface, eOrigin); } -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_013_GetTrackingSpace(winIVRCompositor_IVRCompositor_013 *_this) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_013_GetTrackingSpace(struct w_steam_iface *_this) { ETrackingUniverseOrigin _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_GetTrackingSpace(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_013_GetTrackingSpace(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_WaitGetPoses(winIVRCompositor_IVRCompositor_013 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_013_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_GetLastPoses(winIVRCompositor_IVRCompositor_013 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_013_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_013 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); + _ret = cppIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_Submit(winIVRCompositor_IVRCompositor_013 *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_013_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 13); + _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_013_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 13); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_013 *_this) +void __thiscall winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_013_PostPresentHandoff(winIVRCompositor_IVRCompositor_013 *_this) +void __thiscall winIVRCompositor_IVRCompositor_013_PostPresentHandoff(struct w_steam_iface *_this) { TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_013_PostPresentHandoff, _this->linux_side, 13); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_013_PostPresentHandoff, _this->u_iface, 13); } -bool __thiscall winIVRCompositor_IVRCompositor_013_GetFrameTiming(winIVRCompositor_IVRCompositor_013 *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_013_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + _ret = cppIVRCompositor_IVRCompositor_013_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); return _ret; } -float __thiscall winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_013 *_this) +float __thiscall winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_013_FadeToColor(winIVRCompositor_IVRCompositor_013 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall winIVRCompositor_IVRCompositor_013_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_013_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -void __thiscall winIVRCompositor_IVRCompositor_013_FadeGrid(winIVRCompositor_IVRCompositor_013 *_this, float fSeconds, bool bFadeIn) +void __thiscall winIVRCompositor_IVRCompositor_013_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_FadeGrid(_this->linux_side, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_013_FadeGrid(_this->u_iface, fSeconds, bFadeIn); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_SetSkyboxOverride(winIVRCompositor_IVRCompositor_013 *_this, const Texture_t *pTextures, uint32_t unTextureCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 13); + _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 13); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_013 *_this) +void __thiscall winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_ClearSkyboxOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_013_ClearSkyboxOverride(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_013_CompositorBringToFront(winIVRCompositor_IVRCompositor_013 *_this) +void __thiscall winIVRCompositor_IVRCompositor_013_CompositorBringToFront(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_013_CompositorBringToFront(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_013_CompositorGoToBack(winIVRCompositor_IVRCompositor_013 *_this) +void __thiscall winIVRCompositor_IVRCompositor_013_CompositorGoToBack(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_CompositorGoToBack(_this->linux_side); + cppIVRCompositor_IVRCompositor_013_CompositorGoToBack(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_013_CompositorQuit(winIVRCompositor_IVRCompositor_013 *_this) +void __thiscall winIVRCompositor_IVRCompositor_013_CompositorQuit(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_CompositorQuit(_this->linux_side); + cppIVRCompositor_IVRCompositor_013_CompositorQuit(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_013_IsFullscreen(winIVRCompositor_IVRCompositor_013 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_013_IsFullscreen(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_IsFullscreen(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_013_IsFullscreen(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_013 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_013 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_GetLastFrameRenderer(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_013_GetLastFrameRenderer(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_013_CanRenderScene(winIVRCompositor_IVRCompositor_013 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_013_CanRenderScene(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_CanRenderScene(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_013_CanRenderScene(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_013_ShowMirrorWindow(winIVRCompositor_IVRCompositor_013 *_this) +void __thiscall winIVRCompositor_IVRCompositor_013_ShowMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_ShowMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_013_ShowMirrorWindow(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_013_HideMirrorWindow(winIVRCompositor_IVRCompositor_013 *_this) +void __thiscall winIVRCompositor_IVRCompositor_013_HideMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_HideMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_013_HideMirrorWindow(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_013 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_013_CompositorDumpImages(winIVRCompositor_IVRCompositor_013 *_this) +void __thiscall winIVRCompositor_IVRCompositor_013_CompositorDumpImages(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_CompositorDumpImages(_this->linux_side); + cppIVRCompositor_IVRCompositor_013_CompositorDumpImages(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_013 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_013 *_this, bool bOverride) +void __thiscall winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); + cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); } extern vtable_ptr winIVRCompositor_IVRCompositor_013_vtable; @@ -2608,24 +2553,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRCompositor_IVRCompositor_013 *create_winIVRCompositor_IVRCompositor_013(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_013(void *u_iface) { - winIVRCompositor_IVRCompositor_013 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_013)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRCompositor_IVRCompositor_013_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRCompositor_IVRCompositor_013(void *object) +void destroy_winIVRCompositor_IVRCompositor_013(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_013 *create_winIVRCompositor_IVRCompositor_013_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_013_FnTable(void *u_iface) { - winIVRCompositor_IVRCompositor_013 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_013)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(27); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 27 * sizeof(*vtable)); int i; @@ -2660,27 +2605,21 @@ winIVRCompositor_IVRCompositor_013 *create_winIVRCompositor_IVRCompositor_013_Fn init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); for (i = 0; i < 27; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_013_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_013_FnTable(struct w_steam_iface *object) { - winIVRCompositor_IVRCompositor_013 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRCompositor_IVRCompositor_014.h" -typedef struct __winIVRCompositor_IVRCompositor_014 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_014; - DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_SetTrackingSpace, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetTrackingSpace, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_WaitGetPoses, 20) @@ -2711,206 +2650,206 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ForceInterleavedRepro DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ForceReconnectProcess, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_SuspendRendering, 8) -void __thiscall winIVRCompositor_IVRCompositor_014_SetTrackingSpace(winIVRCompositor_IVRCompositor_014 *_this, ETrackingUniverseOrigin eOrigin) +void __thiscall winIVRCompositor_IVRCompositor_014_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_SetTrackingSpace(_this->linux_side, eOrigin); + cppIVRCompositor_IVRCompositor_014_SetTrackingSpace(_this->u_iface, eOrigin); } -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_014_GetTrackingSpace(winIVRCompositor_IVRCompositor_014 *_this) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_014_GetTrackingSpace(struct w_steam_iface *_this) { ETrackingUniverseOrigin _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_GetTrackingSpace(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_014_GetTrackingSpace(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_WaitGetPoses(winIVRCompositor_IVRCompositor_014 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_014_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_GetLastPoses(winIVRCompositor_IVRCompositor_014 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_014_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_014 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); + _ret = cppIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_Submit(winIVRCompositor_IVRCompositor_014 *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_014_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 14); + _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_014_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 14); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_014 *_this) +void __thiscall winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_014_PostPresentHandoff(winIVRCompositor_IVRCompositor_014 *_this) +void __thiscall winIVRCompositor_IVRCompositor_014_PostPresentHandoff(struct w_steam_iface *_this) { TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_014_PostPresentHandoff, _this->linux_side, 14); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_014_PostPresentHandoff, _this->u_iface, 14); } -bool __thiscall winIVRCompositor_IVRCompositor_014_GetFrameTiming(winIVRCompositor_IVRCompositor_014 *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_014_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + _ret = cppIVRCompositor_IVRCompositor_014_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); return _ret; } -float __thiscall winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_014 *_this) +float __thiscall winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_014_FadeToColor(winIVRCompositor_IVRCompositor_014 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall winIVRCompositor_IVRCompositor_014_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_014_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -void __thiscall winIVRCompositor_IVRCompositor_014_FadeGrid(winIVRCompositor_IVRCompositor_014 *_this, float fSeconds, bool bFadeIn) +void __thiscall winIVRCompositor_IVRCompositor_014_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_FadeGrid(_this->linux_side, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_014_FadeGrid(_this->u_iface, fSeconds, bFadeIn); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_SetSkyboxOverride(winIVRCompositor_IVRCompositor_014 *_this, const Texture_t *pTextures, uint32_t unTextureCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 14); + _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 14); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_014 *_this) +void __thiscall winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_ClearSkyboxOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_014_ClearSkyboxOverride(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_014_CompositorBringToFront(winIVRCompositor_IVRCompositor_014 *_this) +void __thiscall winIVRCompositor_IVRCompositor_014_CompositorBringToFront(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_014_CompositorBringToFront(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_014_CompositorGoToBack(winIVRCompositor_IVRCompositor_014 *_this) +void __thiscall winIVRCompositor_IVRCompositor_014_CompositorGoToBack(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_CompositorGoToBack(_this->linux_side); + cppIVRCompositor_IVRCompositor_014_CompositorGoToBack(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_014_CompositorQuit(winIVRCompositor_IVRCompositor_014 *_this) +void __thiscall winIVRCompositor_IVRCompositor_014_CompositorQuit(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_CompositorQuit(_this->linux_side); + cppIVRCompositor_IVRCompositor_014_CompositorQuit(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_014_IsFullscreen(winIVRCompositor_IVRCompositor_014 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_014_IsFullscreen(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_IsFullscreen(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_014_IsFullscreen(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_014 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_014 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_GetLastFrameRenderer(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_014_GetLastFrameRenderer(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_014_CanRenderScene(winIVRCompositor_IVRCompositor_014 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_014_CanRenderScene(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_CanRenderScene(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_014_CanRenderScene(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_014_ShowMirrorWindow(winIVRCompositor_IVRCompositor_014 *_this) +void __thiscall winIVRCompositor_IVRCompositor_014_ShowMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_ShowMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_014_ShowMirrorWindow(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_014_HideMirrorWindow(winIVRCompositor_IVRCompositor_014 *_this) +void __thiscall winIVRCompositor_IVRCompositor_014_HideMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_HideMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_014_HideMirrorWindow(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_014 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_014_CompositorDumpImages(winIVRCompositor_IVRCompositor_014 *_this) +void __thiscall winIVRCompositor_IVRCompositor_014_CompositorDumpImages(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_CompositorDumpImages(_this->linux_side); + cppIVRCompositor_IVRCompositor_014_CompositorDumpImages(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_014 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_014 *_this, bool bOverride) +void __thiscall winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); + cppIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); } -void __thiscall winIVRCompositor_IVRCompositor_014_ForceReconnectProcess(winIVRCompositor_IVRCompositor_014 *_this) +void __thiscall winIVRCompositor_IVRCompositor_014_ForceReconnectProcess(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_ForceReconnectProcess(_this->linux_side); + cppIVRCompositor_IVRCompositor_014_ForceReconnectProcess(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_014_SuspendRendering(winIVRCompositor_IVRCompositor_014 *_this, bool bSuspend) +void __thiscall winIVRCompositor_IVRCompositor_014_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_SuspendRendering(_this->linux_side, bSuspend); + cppIVRCompositor_IVRCompositor_014_SuspendRendering(_this->u_iface, bSuspend); } extern vtable_ptr winIVRCompositor_IVRCompositor_014_vtable; @@ -2953,24 +2892,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRCompositor_IVRCompositor_014 *create_winIVRCompositor_IVRCompositor_014(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_014(void *u_iface) { - winIVRCompositor_IVRCompositor_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_014)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRCompositor_IVRCompositor_014_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRCompositor_IVRCompositor_014(void *object) +void destroy_winIVRCompositor_IVRCompositor_014(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_014 *create_winIVRCompositor_IVRCompositor_014_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_014_FnTable(void *u_iface) { - winIVRCompositor_IVRCompositor_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_014)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(29); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 29 * sizeof(*vtable)); int i; @@ -3007,27 +2946,21 @@ winIVRCompositor_IVRCompositor_014 *create_winIVRCompositor_IVRCompositor_014_Fn init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_014_SuspendRendering, 1, FALSE, FALSE); for (i = 0; i < 29; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_014_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_014_FnTable(struct w_steam_iface *object) { - winIVRCompositor_IVRCompositor_014 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRCompositor_IVRCompositor_015.h" -typedef struct __winIVRCompositor_IVRCompositor_015 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_015; - DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_SetTrackingSpace, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetTrackingSpace, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_WaitGetPoses, 20) @@ -3066,264 +2999,264 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTextur DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_015_SetTrackingSpace(winIVRCompositor_IVRCompositor_015 *_this, ETrackingUniverseOrigin eOrigin) +void __thiscall winIVRCompositor_IVRCompositor_015_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_SetTrackingSpace(_this->linux_side, eOrigin); + cppIVRCompositor_IVRCompositor_015_SetTrackingSpace(_this->u_iface, eOrigin); } -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_015_GetTrackingSpace(winIVRCompositor_IVRCompositor_015 *_this) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_015_GetTrackingSpace(struct w_steam_iface *_this) { ETrackingUniverseOrigin _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_GetTrackingSpace(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_015_GetTrackingSpace(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_WaitGetPoses(winIVRCompositor_IVRCompositor_015 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_015_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetLastPoses(winIVRCompositor_IVRCompositor_015 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_015_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_015 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); + _ret = cppIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_Submit(winIVRCompositor_IVRCompositor_015 *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_015_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 15); + _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_015_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 15); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_015 *_this) +void __thiscall winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_015_PostPresentHandoff(winIVRCompositor_IVRCompositor_015 *_this) +void __thiscall winIVRCompositor_IVRCompositor_015_PostPresentHandoff(struct w_steam_iface *_this) { TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_015_PostPresentHandoff, _this->linux_side, 15); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_015_PostPresentHandoff, _this->u_iface, 15); } -bool __thiscall winIVRCompositor_IVRCompositor_015_GetFrameTiming(winIVRCompositor_IVRCompositor_015 *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_015_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + _ret = cppIVRCompositor_IVRCompositor_015_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); return _ret; } -float __thiscall winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_015 *_this) +float __thiscall winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_015_GetCumulativeStats(winIVRCompositor_IVRCompositor_015 *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void __thiscall winIVRCompositor_IVRCompositor_015_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_015_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes); } -void __thiscall winIVRCompositor_IVRCompositor_015_FadeToColor(winIVRCompositor_IVRCompositor_015 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall winIVRCompositor_IVRCompositor_015_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_015_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -void __thiscall winIVRCompositor_IVRCompositor_015_FadeGrid(winIVRCompositor_IVRCompositor_015 *_this, float fSeconds, bool bFadeIn) +void __thiscall winIVRCompositor_IVRCompositor_015_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_FadeGrid(_this->linux_side, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_015_FadeGrid(_this->u_iface, fSeconds, bFadeIn); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_SetSkyboxOverride(winIVRCompositor_IVRCompositor_015 *_this, const Texture_t *pTextures, uint32_t unTextureCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 15); + _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 15); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_015 *_this) +void __thiscall winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_ClearSkyboxOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_015_ClearSkyboxOverride(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_015_CompositorBringToFront(winIVRCompositor_IVRCompositor_015 *_this) +void __thiscall winIVRCompositor_IVRCompositor_015_CompositorBringToFront(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_015_CompositorBringToFront(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_015_CompositorGoToBack(winIVRCompositor_IVRCompositor_015 *_this) +void __thiscall winIVRCompositor_IVRCompositor_015_CompositorGoToBack(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_CompositorGoToBack(_this->linux_side); + cppIVRCompositor_IVRCompositor_015_CompositorGoToBack(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_015_CompositorQuit(winIVRCompositor_IVRCompositor_015 *_this) +void __thiscall winIVRCompositor_IVRCompositor_015_CompositorQuit(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_CompositorQuit(_this->linux_side); + cppIVRCompositor_IVRCompositor_015_CompositorQuit(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_015_IsFullscreen(winIVRCompositor_IVRCompositor_015 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_015_IsFullscreen(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_IsFullscreen(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_015_IsFullscreen(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_015 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_015 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_GetLastFrameRenderer(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_015_GetLastFrameRenderer(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_015_CanRenderScene(winIVRCompositor_IVRCompositor_015 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_015_CanRenderScene(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_CanRenderScene(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_015_CanRenderScene(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_015_ShowMirrorWindow(winIVRCompositor_IVRCompositor_015 *_this) +void __thiscall winIVRCompositor_IVRCompositor_015_ShowMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_ShowMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_015_ShowMirrorWindow(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_015_HideMirrorWindow(winIVRCompositor_IVRCompositor_015 *_this) +void __thiscall winIVRCompositor_IVRCompositor_015_HideMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_HideMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_015_HideMirrorWindow(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_015 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_015_CompositorDumpImages(winIVRCompositor_IVRCompositor_015 *_this) +void __thiscall winIVRCompositor_IVRCompositor_015_CompositorDumpImages(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_CompositorDumpImages(_this->linux_side); + cppIVRCompositor_IVRCompositor_015_CompositorDumpImages(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_015 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_015 *_this, bool bOverride) +void __thiscall winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); + cppIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); } -void __thiscall winIVRCompositor_IVRCompositor_015_ForceReconnectProcess(winIVRCompositor_IVRCompositor_015 *_this) +void __thiscall winIVRCompositor_IVRCompositor_015_ForceReconnectProcess(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_ForceReconnectProcess(_this->linux_side); + cppIVRCompositor_IVRCompositor_015_ForceReconnectProcess(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_015_SuspendRendering(winIVRCompositor_IVRCompositor_015 *_this, bool bSuspend) +void __thiscall winIVRCompositor_IVRCompositor_015_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_SuspendRendering(_this->linux_side, bSuspend); + cppIVRCompositor_IVRCompositor_015_SuspendRendering(_this->u_iface, bSuspend); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_RequestScreenshot(winIVRCompositor_IVRCompositor_015 *_this, EVRScreenshotType type, const char *pchDestinationFileName, const char *pchVRDestinationFileName) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_RequestScreenshot(struct w_steam_iface *_this, EVRScreenshotType type, const char *pchDestinationFileName, const char *pchVRDestinationFileName) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_RequestScreenshot(_this->linux_side, type, pchDestinationFileName, pchVRDestinationFileName); + _ret = cppIVRCompositor_IVRCompositor_015_RequestScreenshot(_this->u_iface, type, pchDestinationFileName, pchVRDestinationFileName); return _ret; } -EVRScreenshotType __thiscall winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType(winIVRCompositor_IVRCompositor_015 *_this) +EVRScreenshotType __thiscall winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType(struct w_steam_iface *_this) { EVRScreenshotType _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_015 *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); + _ret = cppIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_015 *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); + _ret = cppIVRCompositor_IVRCompositor_015_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_015 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +bool __thiscall winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); + _ret = cppIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_015 *_this, glSharedTextureHandle_t glSharedTextureHandle) +void __thiscall winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); } -void __thiscall winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_015 *_this, glSharedTextureHandle_t glSharedTextureHandle) +void __thiscall winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); } extern vtable_ptr winIVRCompositor_IVRCompositor_015_vtable; @@ -3374,24 +3307,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRCompositor_IVRCompositor_015 *create_winIVRCompositor_IVRCompositor_015(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_015(void *u_iface) { - winIVRCompositor_IVRCompositor_015 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_015)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRCompositor_IVRCompositor_015_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRCompositor_IVRCompositor_015(void *object) +void destroy_winIVRCompositor_IVRCompositor_015(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_015 *create_winIVRCompositor_IVRCompositor_015_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_015_FnTable(void *u_iface) { - winIVRCompositor_IVRCompositor_015 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_015)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(37); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 37 * sizeof(*vtable)); int i; @@ -3436,27 +3369,21 @@ winIVRCompositor_IVRCompositor_015 *create_winIVRCompositor_IVRCompositor_015_Fn init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); for (i = 0; i < 37; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_015_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_015_FnTable(struct w_steam_iface *object) { - winIVRCompositor_IVRCompositor_015 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRCompositor_IVRCompositor_016.h" -typedef struct __winIVRCompositor_IVRCompositor_016 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_016; - DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_SetTrackingSpace, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetTrackingSpace, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_WaitGetPoses, 20) @@ -3493,248 +3420,248 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTextur DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_016_SetTrackingSpace(winIVRCompositor_IVRCompositor_016 *_this, ETrackingUniverseOrigin eOrigin) +void __thiscall winIVRCompositor_IVRCompositor_016_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_SetTrackingSpace(_this->linux_side, eOrigin); + cppIVRCompositor_IVRCompositor_016_SetTrackingSpace(_this->u_iface, eOrigin); } -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_016_GetTrackingSpace(winIVRCompositor_IVRCompositor_016 *_this) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_016_GetTrackingSpace(struct w_steam_iface *_this) { ETrackingUniverseOrigin _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_GetTrackingSpace(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_016_GetTrackingSpace(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_WaitGetPoses(winIVRCompositor_IVRCompositor_016 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_016_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 16); + _ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_016_WaitGetPoses, _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 16); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetLastPoses(winIVRCompositor_IVRCompositor_016 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_016_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_016 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); + _ret = cppIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_Submit(winIVRCompositor_IVRCompositor_016 *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_016_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 16); + _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_016_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 16); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_016 *_this) +void __thiscall winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_016_PostPresentHandoff(winIVRCompositor_IVRCompositor_016 *_this) +void __thiscall winIVRCompositor_IVRCompositor_016_PostPresentHandoff(struct w_steam_iface *_this) { TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_016_PostPresentHandoff, _this->linux_side, 16); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_016_PostPresentHandoff, _this->u_iface, 16); } -bool __thiscall winIVRCompositor_IVRCompositor_016_GetFrameTiming(winIVRCompositor_IVRCompositor_016 *_this, winCompositor_FrameTiming_103 *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_016_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_103 *pTiming, uint32_t unFramesAgo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + _ret = cppIVRCompositor_IVRCompositor_016_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); return _ret; } -float __thiscall winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_016 *_this) +float __thiscall winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_016_GetCumulativeStats(winIVRCompositor_IVRCompositor_016 *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void __thiscall winIVRCompositor_IVRCompositor_016_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_016_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes); } -void __thiscall winIVRCompositor_IVRCompositor_016_FadeToColor(winIVRCompositor_IVRCompositor_016 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall winIVRCompositor_IVRCompositor_016_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_016_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -void __thiscall winIVRCompositor_IVRCompositor_016_FadeGrid(winIVRCompositor_IVRCompositor_016 *_this, float fSeconds, bool bFadeIn) +void __thiscall winIVRCompositor_IVRCompositor_016_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_FadeGrid(_this->linux_side, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_016_FadeGrid(_this->u_iface, fSeconds, bFadeIn); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_SetSkyboxOverride(winIVRCompositor_IVRCompositor_016 *_this, const Texture_t *pTextures, uint32_t unTextureCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 16); + _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 16); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_016 *_this) +void __thiscall winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_ClearSkyboxOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_016_ClearSkyboxOverride(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_016_CompositorBringToFront(winIVRCompositor_IVRCompositor_016 *_this) +void __thiscall winIVRCompositor_IVRCompositor_016_CompositorBringToFront(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_016_CompositorBringToFront(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_016_CompositorGoToBack(winIVRCompositor_IVRCompositor_016 *_this) +void __thiscall winIVRCompositor_IVRCompositor_016_CompositorGoToBack(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_CompositorGoToBack(_this->linux_side); + cppIVRCompositor_IVRCompositor_016_CompositorGoToBack(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_016_CompositorQuit(winIVRCompositor_IVRCompositor_016 *_this) +void __thiscall winIVRCompositor_IVRCompositor_016_CompositorQuit(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_CompositorQuit(_this->linux_side); + cppIVRCompositor_IVRCompositor_016_CompositorQuit(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_016_IsFullscreen(winIVRCompositor_IVRCompositor_016 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_016_IsFullscreen(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_IsFullscreen(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_016_IsFullscreen(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_016 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_016 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_GetLastFrameRenderer(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_016_GetLastFrameRenderer(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_016_CanRenderScene(winIVRCompositor_IVRCompositor_016 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_016_CanRenderScene(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_CanRenderScene(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_016_CanRenderScene(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_016_ShowMirrorWindow(winIVRCompositor_IVRCompositor_016 *_this) +void __thiscall winIVRCompositor_IVRCompositor_016_ShowMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_ShowMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_016_ShowMirrorWindow(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_016_HideMirrorWindow(winIVRCompositor_IVRCompositor_016 *_this) +void __thiscall winIVRCompositor_IVRCompositor_016_HideMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_HideMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_016_HideMirrorWindow(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_016 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_016_CompositorDumpImages(winIVRCompositor_IVRCompositor_016 *_this) +void __thiscall winIVRCompositor_IVRCompositor_016_CompositorDumpImages(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_CompositorDumpImages(_this->linux_side); + cppIVRCompositor_IVRCompositor_016_CompositorDumpImages(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_016 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_016 *_this, bool bOverride) +void __thiscall winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); + cppIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); } -void __thiscall winIVRCompositor_IVRCompositor_016_ForceReconnectProcess(winIVRCompositor_IVRCompositor_016 *_this) +void __thiscall winIVRCompositor_IVRCompositor_016_ForceReconnectProcess(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_ForceReconnectProcess(_this->linux_side); + cppIVRCompositor_IVRCompositor_016_ForceReconnectProcess(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_016_SuspendRendering(winIVRCompositor_IVRCompositor_016 *_this, bool bSuspend) +void __thiscall winIVRCompositor_IVRCompositor_016_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_SuspendRendering(_this->linux_side, bSuspend); + cppIVRCompositor_IVRCompositor_016_SuspendRendering(_this->u_iface, bSuspend); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_016 *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); + _ret = cppIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_016 *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); + _ret = cppIVRCompositor_IVRCompositor_016_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_016 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +bool __thiscall winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); + _ret = cppIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_016 *_this, glSharedTextureHandle_t glSharedTextureHandle) +void __thiscall winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); } -void __thiscall winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_016 *_this, glSharedTextureHandle_t glSharedTextureHandle) +void __thiscall winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); } extern vtable_ptr winIVRCompositor_IVRCompositor_016_vtable; @@ -3783,24 +3710,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRCompositor_IVRCompositor_016 *create_winIVRCompositor_IVRCompositor_016(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_016(void *u_iface) { - winIVRCompositor_IVRCompositor_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_016)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRCompositor_IVRCompositor_016_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRCompositor_IVRCompositor_016(void *object) +void destroy_winIVRCompositor_IVRCompositor_016(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_016 *create_winIVRCompositor_IVRCompositor_016_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_016_FnTable(void *u_iface) { - winIVRCompositor_IVRCompositor_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_016)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(35); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 35 * sizeof(*vtable)); int i; @@ -3843,27 +3770,21 @@ winIVRCompositor_IVRCompositor_016 *create_winIVRCompositor_IVRCompositor_016_Fn init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); for (i = 0; i < 35; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_016_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_016_FnTable(struct w_steam_iface *object) { - winIVRCompositor_IVRCompositor_016 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRCompositor_IVRCompositor_017.h" -typedef struct __winIVRCompositor_IVRCompositor_017 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_017; - DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_SetTrackingSpace, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetTrackingSpace, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_WaitGetPoses, 20) @@ -3901,256 +3822,256 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTextur DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_017_SetTrackingSpace(winIVRCompositor_IVRCompositor_017 *_this, ETrackingUniverseOrigin eOrigin) +void __thiscall winIVRCompositor_IVRCompositor_017_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_SetTrackingSpace(_this->linux_side, eOrigin); + cppIVRCompositor_IVRCompositor_017_SetTrackingSpace(_this->u_iface, eOrigin); } -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_017_GetTrackingSpace(winIVRCompositor_IVRCompositor_017 *_this) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_017_GetTrackingSpace(struct w_steam_iface *_this) { ETrackingUniverseOrigin _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_GetTrackingSpace(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_017_GetTrackingSpace(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_WaitGetPoses(winIVRCompositor_IVRCompositor_017 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_017_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 17); + _ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_017_WaitGetPoses, _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 17); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetLastPoses(winIVRCompositor_IVRCompositor_017 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_017_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_017 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); + _ret = cppIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_Submit(winIVRCompositor_IVRCompositor_017 *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_017_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 17); + _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_017_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 17); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_017 *_this) +void __thiscall winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_017_PostPresentHandoff(winIVRCompositor_IVRCompositor_017 *_this) +void __thiscall winIVRCompositor_IVRCompositor_017_PostPresentHandoff(struct w_steam_iface *_this) { TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_017_PostPresentHandoff, _this->linux_side, 17); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_017_PostPresentHandoff, _this->u_iface, 17); } -bool __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTiming(winIVRCompositor_IVRCompositor_017 *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + _ret = cppIVRCompositor_IVRCompositor_017_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTimings(winIVRCompositor_IVRCompositor_017 *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) +uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_GetFrameTimings(_this->linux_side, pTiming, nFrames); + _ret = cppIVRCompositor_IVRCompositor_017_GetFrameTimings(_this->u_iface, pTiming, nFrames); return _ret; } -float __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_017 *_this) +float __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_017_GetCumulativeStats(winIVRCompositor_IVRCompositor_017 *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void __thiscall winIVRCompositor_IVRCompositor_017_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_017_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes); } -void __thiscall winIVRCompositor_IVRCompositor_017_FadeToColor(winIVRCompositor_IVRCompositor_017 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall winIVRCompositor_IVRCompositor_017_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_017_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -void __thiscall winIVRCompositor_IVRCompositor_017_FadeGrid(winIVRCompositor_IVRCompositor_017 *_this, float fSeconds, bool bFadeIn) +void __thiscall winIVRCompositor_IVRCompositor_017_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_FadeGrid(_this->linux_side, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_017_FadeGrid(_this->u_iface, fSeconds, bFadeIn); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_SetSkyboxOverride(winIVRCompositor_IVRCompositor_017 *_this, const Texture_t *pTextures, uint32_t unTextureCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 17); + _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 17); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_017 *_this) +void __thiscall winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_ClearSkyboxOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_017_ClearSkyboxOverride(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_017_CompositorBringToFront(winIVRCompositor_IVRCompositor_017 *_this) +void __thiscall winIVRCompositor_IVRCompositor_017_CompositorBringToFront(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_017_CompositorBringToFront(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_017_CompositorGoToBack(winIVRCompositor_IVRCompositor_017 *_this) +void __thiscall winIVRCompositor_IVRCompositor_017_CompositorGoToBack(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_CompositorGoToBack(_this->linux_side); + cppIVRCompositor_IVRCompositor_017_CompositorGoToBack(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_017_CompositorQuit(winIVRCompositor_IVRCompositor_017 *_this) +void __thiscall winIVRCompositor_IVRCompositor_017_CompositorQuit(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_CompositorQuit(_this->linux_side); + cppIVRCompositor_IVRCompositor_017_CompositorQuit(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_017_IsFullscreen(winIVRCompositor_IVRCompositor_017 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_017_IsFullscreen(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_IsFullscreen(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_017_IsFullscreen(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_017 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_017 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_GetLastFrameRenderer(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_017_GetLastFrameRenderer(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_017_CanRenderScene(winIVRCompositor_IVRCompositor_017 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_017_CanRenderScene(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_CanRenderScene(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_017_CanRenderScene(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_017_ShowMirrorWindow(winIVRCompositor_IVRCompositor_017 *_this) +void __thiscall winIVRCompositor_IVRCompositor_017_ShowMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_ShowMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_017_ShowMirrorWindow(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_017_HideMirrorWindow(winIVRCompositor_IVRCompositor_017 *_this) +void __thiscall winIVRCompositor_IVRCompositor_017_HideMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_HideMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_017_HideMirrorWindow(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_017 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_017_CompositorDumpImages(winIVRCompositor_IVRCompositor_017 *_this) +void __thiscall winIVRCompositor_IVRCompositor_017_CompositorDumpImages(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_CompositorDumpImages(_this->linux_side); + cppIVRCompositor_IVRCompositor_017_CompositorDumpImages(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_017 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_017 *_this, bool bOverride) +void __thiscall winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); + cppIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); } -void __thiscall winIVRCompositor_IVRCompositor_017_ForceReconnectProcess(winIVRCompositor_IVRCompositor_017 *_this) +void __thiscall winIVRCompositor_IVRCompositor_017_ForceReconnectProcess(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_ForceReconnectProcess(_this->linux_side); + cppIVRCompositor_IVRCompositor_017_ForceReconnectProcess(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_017_SuspendRendering(winIVRCompositor_IVRCompositor_017 *_this, bool bSuspend) +void __thiscall winIVRCompositor_IVRCompositor_017_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_SuspendRendering(_this->linux_side, bSuspend); + cppIVRCompositor_IVRCompositor_017_SuspendRendering(_this->u_iface, bSuspend); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_017 *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); + _ret = cppIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_017 *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); + _ret = cppIVRCompositor_IVRCompositor_017_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_017 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +bool __thiscall winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); + _ret = cppIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_017 *_this, glSharedTextureHandle_t glSharedTextureHandle) +void __thiscall winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); } -void __thiscall winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_017 *_this, glSharedTextureHandle_t glSharedTextureHandle) +void __thiscall winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); } extern vtable_ptr winIVRCompositor_IVRCompositor_017_vtable; @@ -4200,24 +4121,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRCompositor_IVRCompositor_017 *create_winIVRCompositor_IVRCompositor_017(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_017(void *u_iface) { - winIVRCompositor_IVRCompositor_017 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_017)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRCompositor_IVRCompositor_017_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRCompositor_IVRCompositor_017(void *object) +void destroy_winIVRCompositor_IVRCompositor_017(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_017 *create_winIVRCompositor_IVRCompositor_017_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_017_FnTable(void *u_iface) { - winIVRCompositor_IVRCompositor_017 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_017)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(36); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 36 * sizeof(*vtable)); int i; @@ -4261,27 +4182,21 @@ winIVRCompositor_IVRCompositor_017 *create_winIVRCompositor_IVRCompositor_017_Fn init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); for (i = 0; i < 36; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_017_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_017_FnTable(struct w_steam_iface *object) { - winIVRCompositor_IVRCompositor_017 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRCompositor_IVRCompositor_018.h" -typedef struct __winIVRCompositor_IVRCompositor_018 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_018; - DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_SetTrackingSpace, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetTrackingSpace, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_WaitGetPoses, 20) @@ -4321,271 +4236,271 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTextur DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_018_SetTrackingSpace(winIVRCompositor_IVRCompositor_018 *_this, ETrackingUniverseOrigin eOrigin) +void __thiscall winIVRCompositor_IVRCompositor_018_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_SetTrackingSpace(_this->linux_side, eOrigin); + cppIVRCompositor_IVRCompositor_018_SetTrackingSpace(_this->u_iface, eOrigin); } -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_018_GetTrackingSpace(winIVRCompositor_IVRCompositor_018 *_this) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_018_GetTrackingSpace(struct w_steam_iface *_this) { ETrackingUniverseOrigin _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_GetTrackingSpace(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_018_GetTrackingSpace(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_WaitGetPoses(winIVRCompositor_IVRCompositor_018 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_018_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 18); + _ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_018_WaitGetPoses, _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 18); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetLastPoses(winIVRCompositor_IVRCompositor_018 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_018_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_018 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); + _ret = cppIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_Submit(winIVRCompositor_IVRCompositor_018 *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_018_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 18); + _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_018_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 18); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_018 *_this) +void __thiscall winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_018_PostPresentHandoff(winIVRCompositor_IVRCompositor_018 *_this) +void __thiscall winIVRCompositor_IVRCompositor_018_PostPresentHandoff(struct w_steam_iface *_this) { TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_018_PostPresentHandoff, _this->linux_side, 18); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_018_PostPresentHandoff, _this->u_iface, 18); } -bool __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTiming(winIVRCompositor_IVRCompositor_018 *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + _ret = cppIVRCompositor_IVRCompositor_018_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTimings(winIVRCompositor_IVRCompositor_018 *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) +uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_GetFrameTimings(_this->linux_side, pTiming, nFrames); + _ret = cppIVRCompositor_IVRCompositor_018_GetFrameTimings(_this->u_iface, pTiming, nFrames); return _ret; } -float __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_018 *_this) +float __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_018_GetCumulativeStats(winIVRCompositor_IVRCompositor_018 *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void __thiscall winIVRCompositor_IVRCompositor_018_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_018_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes); } -void __thiscall winIVRCompositor_IVRCompositor_018_FadeToColor(winIVRCompositor_IVRCompositor_018 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall winIVRCompositor_IVRCompositor_018_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_018_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_018 *_this, HmdColor_t *_ret, bool bBackground) +HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground) { TRACE("%p\n", _this); - *_ret = cppIVRCompositor_IVRCompositor_018_GetCurrentFadeColor(_this->linux_side, bBackground); + *_ret = cppIVRCompositor_IVRCompositor_018_GetCurrentFadeColor(_this->u_iface, bBackground); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_018_FadeGrid(winIVRCompositor_IVRCompositor_018 *_this, float fSeconds, bool bFadeIn) +void __thiscall winIVRCompositor_IVRCompositor_018_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_FadeGrid(_this->linux_side, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_018_FadeGrid(_this->u_iface, fSeconds, bFadeIn); } -float __thiscall winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_018 *_this) +float __thiscall winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_SetSkyboxOverride(winIVRCompositor_IVRCompositor_018 *_this, const Texture_t *pTextures, uint32_t unTextureCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 18); + _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 18); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_018 *_this) +void __thiscall winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_ClearSkyboxOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_018_ClearSkyboxOverride(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_018_CompositorBringToFront(winIVRCompositor_IVRCompositor_018 *_this) +void __thiscall winIVRCompositor_IVRCompositor_018_CompositorBringToFront(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_018_CompositorBringToFront(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_018_CompositorGoToBack(winIVRCompositor_IVRCompositor_018 *_this) +void __thiscall winIVRCompositor_IVRCompositor_018_CompositorGoToBack(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_CompositorGoToBack(_this->linux_side); + cppIVRCompositor_IVRCompositor_018_CompositorGoToBack(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_018_CompositorQuit(winIVRCompositor_IVRCompositor_018 *_this) +void __thiscall winIVRCompositor_IVRCompositor_018_CompositorQuit(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_CompositorQuit(_this->linux_side); + cppIVRCompositor_IVRCompositor_018_CompositorQuit(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_018_IsFullscreen(winIVRCompositor_IVRCompositor_018 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_018_IsFullscreen(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_IsFullscreen(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_018_IsFullscreen(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_018 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_018 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_GetLastFrameRenderer(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_018_GetLastFrameRenderer(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_018_CanRenderScene(winIVRCompositor_IVRCompositor_018 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_018_CanRenderScene(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_CanRenderScene(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_018_CanRenderScene(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_018_ShowMirrorWindow(winIVRCompositor_IVRCompositor_018 *_this) +void __thiscall winIVRCompositor_IVRCompositor_018_ShowMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_ShowMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_018_ShowMirrorWindow(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_018_HideMirrorWindow(winIVRCompositor_IVRCompositor_018 *_this) +void __thiscall winIVRCompositor_IVRCompositor_018_HideMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_HideMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_018_HideMirrorWindow(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_018 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_018_CompositorDumpImages(winIVRCompositor_IVRCompositor_018 *_this) +void __thiscall winIVRCompositor_IVRCompositor_018_CompositorDumpImages(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_CompositorDumpImages(_this->linux_side); + cppIVRCompositor_IVRCompositor_018_CompositorDumpImages(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_018 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_018 *_this, bool bOverride) +void __thiscall winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); + cppIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); } -void __thiscall winIVRCompositor_IVRCompositor_018_ForceReconnectProcess(winIVRCompositor_IVRCompositor_018 *_this) +void __thiscall winIVRCompositor_IVRCompositor_018_ForceReconnectProcess(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_ForceReconnectProcess(_this->linux_side); + cppIVRCompositor_IVRCompositor_018_ForceReconnectProcess(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_018_SuspendRendering(winIVRCompositor_IVRCompositor_018 *_this, bool bSuspend) +void __thiscall winIVRCompositor_IVRCompositor_018_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_SuspendRendering(_this->linux_side, bSuspend); + cppIVRCompositor_IVRCompositor_018_SuspendRendering(_this->u_iface, bSuspend); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_018 *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); + _ret = cppIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_018 *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); + _ret = cppIVRCompositor_IVRCompositor_018_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_018 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +bool __thiscall winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); + _ret = cppIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_018 *_this, glSharedTextureHandle_t glSharedTextureHandle) +void __thiscall winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); } -void __thiscall winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_018 *_this, glSharedTextureHandle_t glSharedTextureHandle) +void __thiscall winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); } extern vtable_ptr winIVRCompositor_IVRCompositor_018_vtable; @@ -4637,24 +4552,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRCompositor_IVRCompositor_018 *create_winIVRCompositor_IVRCompositor_018(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_018(void *u_iface) { - winIVRCompositor_IVRCompositor_018 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_018)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRCompositor_IVRCompositor_018_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRCompositor_IVRCompositor_018(void *object) +void destroy_winIVRCompositor_IVRCompositor_018(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_018 *create_winIVRCompositor_IVRCompositor_018_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_018_FnTable(void *u_iface) { - winIVRCompositor_IVRCompositor_018 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_018)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(38); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 38 * sizeof(*vtable)); int i; @@ -4700,27 +4615,21 @@ winIVRCompositor_IVRCompositor_018 *create_winIVRCompositor_IVRCompositor_018_Fn init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); for (i = 0; i < 38; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_018_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_018_FnTable(struct w_steam_iface *object) { - winIVRCompositor_IVRCompositor_018 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRCompositor_IVRCompositor_019.h" -typedef struct __winIVRCompositor_IVRCompositor_019 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_019; - DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_SetTrackingSpace, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetTrackingSpace, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_WaitGetPoses, 20) @@ -4762,286 +4671,286 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_UnlockGLSharedTexture DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired, 12) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired, 16) -void __thiscall winIVRCompositor_IVRCompositor_019_SetTrackingSpace(winIVRCompositor_IVRCompositor_019 *_this, ETrackingUniverseOrigin eOrigin) +void __thiscall winIVRCompositor_IVRCompositor_019_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_SetTrackingSpace(_this->linux_side, eOrigin); + cppIVRCompositor_IVRCompositor_019_SetTrackingSpace(_this->u_iface, eOrigin); } -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_019_GetTrackingSpace(winIVRCompositor_IVRCompositor_019 *_this) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_019_GetTrackingSpace(struct w_steam_iface *_this) { ETrackingUniverseOrigin _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetTrackingSpace(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_019_GetTrackingSpace(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_WaitGetPoses(winIVRCompositor_IVRCompositor_019 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_019_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 19); + _ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_019_WaitGetPoses, _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 19); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetLastPoses(winIVRCompositor_IVRCompositor_019 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_019_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_019 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); + _ret = cppIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_Submit(winIVRCompositor_IVRCompositor_019 *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_019_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 19); + _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_019_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 19); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_019 *_this) +void __thiscall winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_019_PostPresentHandoff(winIVRCompositor_IVRCompositor_019 *_this) +void __thiscall winIVRCompositor_IVRCompositor_019_PostPresentHandoff(struct w_steam_iface *_this) { TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_019_PostPresentHandoff, _this->linux_side, 19); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_019_PostPresentHandoff, _this->u_iface, 19); } -bool __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTiming(winIVRCompositor_IVRCompositor_019 *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + _ret = cppIVRCompositor_IVRCompositor_019_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTimings(winIVRCompositor_IVRCompositor_019 *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetFrameTimings(_this->linux_side, pTiming, nFrames); + _ret = cppIVRCompositor_IVRCompositor_019_GetFrameTimings(_this->u_iface, pTiming, nFrames); return _ret; } -float __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_019 *_this) +float __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_019_GetCumulativeStats(winIVRCompositor_IVRCompositor_019 *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void __thiscall winIVRCompositor_IVRCompositor_019_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_019_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes); } -void __thiscall winIVRCompositor_IVRCompositor_019_FadeToColor(winIVRCompositor_IVRCompositor_019 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall winIVRCompositor_IVRCompositor_019_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_019_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_019 *_this, HmdColor_t *_ret, bool bBackground) +HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground) { TRACE("%p\n", _this); - *_ret = cppIVRCompositor_IVRCompositor_019_GetCurrentFadeColor(_this->linux_side, bBackground); + *_ret = cppIVRCompositor_IVRCompositor_019_GetCurrentFadeColor(_this->u_iface, bBackground); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_019_FadeGrid(winIVRCompositor_IVRCompositor_019 *_this, float fSeconds, bool bFadeIn) +void __thiscall winIVRCompositor_IVRCompositor_019_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_FadeGrid(_this->linux_side, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_019_FadeGrid(_this->u_iface, fSeconds, bFadeIn); } -float __thiscall winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_019 *_this) +float __thiscall winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_SetSkyboxOverride(winIVRCompositor_IVRCompositor_019 *_this, const Texture_t *pTextures, uint32_t unTextureCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 19); + _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 19); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_019 *_this) +void __thiscall winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_ClearSkyboxOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_019_ClearSkyboxOverride(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_019_CompositorBringToFront(winIVRCompositor_IVRCompositor_019 *_this) +void __thiscall winIVRCompositor_IVRCompositor_019_CompositorBringToFront(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_019_CompositorBringToFront(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_019_CompositorGoToBack(winIVRCompositor_IVRCompositor_019 *_this) +void __thiscall winIVRCompositor_IVRCompositor_019_CompositorGoToBack(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_CompositorGoToBack(_this->linux_side); + cppIVRCompositor_IVRCompositor_019_CompositorGoToBack(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_019_CompositorQuit(winIVRCompositor_IVRCompositor_019 *_this) +void __thiscall winIVRCompositor_IVRCompositor_019_CompositorQuit(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_CompositorQuit(_this->linux_side); + cppIVRCompositor_IVRCompositor_019_CompositorQuit(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_019_IsFullscreen(winIVRCompositor_IVRCompositor_019 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_019_IsFullscreen(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_IsFullscreen(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_019_IsFullscreen(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_019 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_019 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetLastFrameRenderer(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_019_GetLastFrameRenderer(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_019_CanRenderScene(winIVRCompositor_IVRCompositor_019 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_019_CanRenderScene(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_CanRenderScene(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_019_CanRenderScene(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_019_ShowMirrorWindow(winIVRCompositor_IVRCompositor_019 *_this) +void __thiscall winIVRCompositor_IVRCompositor_019_ShowMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_ShowMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_019_ShowMirrorWindow(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_019_HideMirrorWindow(winIVRCompositor_IVRCompositor_019 *_this) +void __thiscall winIVRCompositor_IVRCompositor_019_HideMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_HideMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_019_HideMirrorWindow(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_019 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_019_CompositorDumpImages(winIVRCompositor_IVRCompositor_019 *_this) +void __thiscall winIVRCompositor_IVRCompositor_019_CompositorDumpImages(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_CompositorDumpImages(_this->linux_side); + cppIVRCompositor_IVRCompositor_019_CompositorDumpImages(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_019 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_019 *_this, bool bOverride) +void __thiscall winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); + cppIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); } -void __thiscall winIVRCompositor_IVRCompositor_019_ForceReconnectProcess(winIVRCompositor_IVRCompositor_019 *_this) +void __thiscall winIVRCompositor_IVRCompositor_019_ForceReconnectProcess(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_ForceReconnectProcess(_this->linux_side); + cppIVRCompositor_IVRCompositor_019_ForceReconnectProcess(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_019_SuspendRendering(winIVRCompositor_IVRCompositor_019 *_this, bool bSuspend) +void __thiscall winIVRCompositor_IVRCompositor_019_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_SuspendRendering(_this->linux_side, bSuspend); + cppIVRCompositor_IVRCompositor_019_SuspendRendering(_this->u_iface, bSuspend); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_019 *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); + _ret = cppIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_019 *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); + _ret = cppIVRCompositor_IVRCompositor_019_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_019 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +bool __thiscall winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); + _ret = cppIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_019 *_this, glSharedTextureHandle_t glSharedTextureHandle) +void __thiscall winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); } -void __thiscall winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_019 *_this, glSharedTextureHandle_t glSharedTextureHandle) +void __thiscall winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); } -uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_019 *_this, char *pchValue, uint32_t unBufferSize) +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); + _ret = cppIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired(_this->u_iface, pchValue, unBufferSize); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_019 *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 19); + _ret = ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired, _this->u_iface, pPhysicalDevice, pchValue, unBufferSize, 19); return _ret; } @@ -5096,24 +5005,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRCompositor_IVRCompositor_019 *create_winIVRCompositor_IVRCompositor_019(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_019(void *u_iface) { - winIVRCompositor_IVRCompositor_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_019)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRCompositor_IVRCompositor_019_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRCompositor_IVRCompositor_019(void *object) +void destroy_winIVRCompositor_IVRCompositor_019(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_019 *create_winIVRCompositor_IVRCompositor_019_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_019_FnTable(void *u_iface) { - winIVRCompositor_IVRCompositor_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_019)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(40); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 40 * sizeof(*vtable)); int i; @@ -5161,27 +5070,21 @@ winIVRCompositor_IVRCompositor_019 *create_winIVRCompositor_IVRCompositor_019_Fn init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); for (i = 0; i < 40; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_019_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_019_FnTable(struct w_steam_iface *object) { - winIVRCompositor_IVRCompositor_019 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRCompositor_IVRCompositor_020.h" -typedef struct __winIVRCompositor_IVRCompositor_020 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_020; - DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_SetTrackingSpace, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetTrackingSpace, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_WaitGetPoses, 20) @@ -5224,292 +5127,292 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_UnlockGLSharedTexture DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired, 12) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired, 16) -void __thiscall winIVRCompositor_IVRCompositor_020_SetTrackingSpace(winIVRCompositor_IVRCompositor_020 *_this, ETrackingUniverseOrigin eOrigin) +void __thiscall winIVRCompositor_IVRCompositor_020_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_SetTrackingSpace(_this->linux_side, eOrigin); + cppIVRCompositor_IVRCompositor_020_SetTrackingSpace(_this->u_iface, eOrigin); } -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_020_GetTrackingSpace(winIVRCompositor_IVRCompositor_020 *_this) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_020_GetTrackingSpace(struct w_steam_iface *_this) { ETrackingUniverseOrigin _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetTrackingSpace(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_020_GetTrackingSpace(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_WaitGetPoses(winIVRCompositor_IVRCompositor_020 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_020_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 20); + _ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_020_WaitGetPoses, _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 20); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetLastPoses(winIVRCompositor_IVRCompositor_020 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_020_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_020 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); + _ret = cppIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_Submit(winIVRCompositor_IVRCompositor_020 *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_020_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 20); + _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_020_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 20); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_020 *_this) +void __thiscall winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_020_PostPresentHandoff(winIVRCompositor_IVRCompositor_020 *_this) +void __thiscall winIVRCompositor_IVRCompositor_020_PostPresentHandoff(struct w_steam_iface *_this) { TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_020_PostPresentHandoff, _this->linux_side, 20); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_020_PostPresentHandoff, _this->u_iface, 20); } -bool __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTiming(winIVRCompositor_IVRCompositor_020 *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + _ret = cppIVRCompositor_IVRCompositor_020_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTimings(winIVRCompositor_IVRCompositor_020 *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetFrameTimings(_this->linux_side, pTiming, nFrames); + _ret = cppIVRCompositor_IVRCompositor_020_GetFrameTimings(_this->u_iface, pTiming, nFrames); return _ret; } -float __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_020 *_this) +float __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_020_GetCumulativeStats(winIVRCompositor_IVRCompositor_020 *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void __thiscall winIVRCompositor_IVRCompositor_020_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_020_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes); } -void __thiscall winIVRCompositor_IVRCompositor_020_FadeToColor(winIVRCompositor_IVRCompositor_020 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall winIVRCompositor_IVRCompositor_020_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_020_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_020 *_this, HmdColor_t *_ret, bool bBackground) +HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground) { TRACE("%p\n", _this); - *_ret = cppIVRCompositor_IVRCompositor_020_GetCurrentFadeColor(_this->linux_side, bBackground); + *_ret = cppIVRCompositor_IVRCompositor_020_GetCurrentFadeColor(_this->u_iface, bBackground); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_020_FadeGrid(winIVRCompositor_IVRCompositor_020 *_this, float fSeconds, bool bFadeIn) +void __thiscall winIVRCompositor_IVRCompositor_020_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_FadeGrid(_this->linux_side, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_020_FadeGrid(_this->u_iface, fSeconds, bFadeIn); } -float __thiscall winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_020 *_this) +float __thiscall winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_SetSkyboxOverride(winIVRCompositor_IVRCompositor_020 *_this, const Texture_t *pTextures, uint32_t unTextureCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 20); + _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 20); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_020 *_this) +void __thiscall winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ClearSkyboxOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_020_ClearSkyboxOverride(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_020_CompositorBringToFront(winIVRCompositor_IVRCompositor_020 *_this) +void __thiscall winIVRCompositor_IVRCompositor_020_CompositorBringToFront(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_020_CompositorBringToFront(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_020_CompositorGoToBack(winIVRCompositor_IVRCompositor_020 *_this) +void __thiscall winIVRCompositor_IVRCompositor_020_CompositorGoToBack(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_CompositorGoToBack(_this->linux_side); + cppIVRCompositor_IVRCompositor_020_CompositorGoToBack(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_020_CompositorQuit(winIVRCompositor_IVRCompositor_020 *_this) +void __thiscall winIVRCompositor_IVRCompositor_020_CompositorQuit(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_CompositorQuit(_this->linux_side); + cppIVRCompositor_IVRCompositor_020_CompositorQuit(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_020_IsFullscreen(winIVRCompositor_IVRCompositor_020 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_020_IsFullscreen(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_IsFullscreen(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_020_IsFullscreen(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_020 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_020 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetLastFrameRenderer(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_020_GetLastFrameRenderer(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_020_CanRenderScene(winIVRCompositor_IVRCompositor_020 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_020_CanRenderScene(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_CanRenderScene(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_020_CanRenderScene(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_020_ShowMirrorWindow(winIVRCompositor_IVRCompositor_020 *_this) +void __thiscall winIVRCompositor_IVRCompositor_020_ShowMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ShowMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_020_ShowMirrorWindow(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_020_HideMirrorWindow(winIVRCompositor_IVRCompositor_020 *_this) +void __thiscall winIVRCompositor_IVRCompositor_020_HideMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_HideMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_020_HideMirrorWindow(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_020 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_020_CompositorDumpImages(winIVRCompositor_IVRCompositor_020 *_this) +void __thiscall winIVRCompositor_IVRCompositor_020_CompositorDumpImages(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_CompositorDumpImages(_this->linux_side); + cppIVRCompositor_IVRCompositor_020_CompositorDumpImages(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_020 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_020 *_this, bool bOverride) +void __thiscall winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); + cppIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); } -void __thiscall winIVRCompositor_IVRCompositor_020_ForceReconnectProcess(winIVRCompositor_IVRCompositor_020 *_this) +void __thiscall winIVRCompositor_IVRCompositor_020_ForceReconnectProcess(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ForceReconnectProcess(_this->linux_side); + cppIVRCompositor_IVRCompositor_020_ForceReconnectProcess(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_020_SuspendRendering(winIVRCompositor_IVRCompositor_020 *_this, bool bSuspend) +void __thiscall winIVRCompositor_IVRCompositor_020_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_SuspendRendering(_this->linux_side, bSuspend); + cppIVRCompositor_IVRCompositor_020_SuspendRendering(_this->u_iface, bSuspend); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_020 *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); + _ret = cppIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11(winIVRCompositor_IVRCompositor_020 *_this, void *pD3D11ShaderResourceView) +void __thiscall winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11(_this->linux_side, pD3D11ShaderResourceView); + cppIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11(_this->u_iface, pD3D11ShaderResourceView); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_020 *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); + _ret = cppIVRCompositor_IVRCompositor_020_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_020 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +bool __thiscall winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); + _ret = cppIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_020 *_this, glSharedTextureHandle_t glSharedTextureHandle) +void __thiscall winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); } -void __thiscall winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_020 *_this, glSharedTextureHandle_t glSharedTextureHandle) +void __thiscall winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); } -uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_020 *_this, char *pchValue, uint32_t unBufferSize) +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); + _ret = cppIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired(_this->u_iface, pchValue, unBufferSize); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_020 *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 20); + _ret = ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired, _this->u_iface, pPhysicalDevice, pchValue, unBufferSize, 20); return _ret; } @@ -5565,24 +5468,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRCompositor_IVRCompositor_020 *create_winIVRCompositor_IVRCompositor_020(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_020(void *u_iface) { - winIVRCompositor_IVRCompositor_020 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_020)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRCompositor_IVRCompositor_020_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRCompositor_IVRCompositor_020(void *object) +void destroy_winIVRCompositor_IVRCompositor_020(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_020 *create_winIVRCompositor_IVRCompositor_020_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_020_FnTable(void *u_iface) { - winIVRCompositor_IVRCompositor_020 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_020)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(41); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 41 * sizeof(*vtable)); int i; @@ -5631,27 +5534,21 @@ winIVRCompositor_IVRCompositor_020 *create_winIVRCompositor_IVRCompositor_020_Fn init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); for (i = 0; i < 41; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_020_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_020_FnTable(struct w_steam_iface *object) { - winIVRCompositor_IVRCompositor_020 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRCompositor_IVRCompositor_021.h" -typedef struct __winIVRCompositor_IVRCompositor_021 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_021; - DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SetTrackingSpace, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetTrackingSpace, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_WaitGetPoses, 20) @@ -5696,306 +5593,306 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtens DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData, 4) -void __thiscall winIVRCompositor_IVRCompositor_021_SetTrackingSpace(winIVRCompositor_IVRCompositor_021 *_this, ETrackingUniverseOrigin eOrigin) +void __thiscall winIVRCompositor_IVRCompositor_021_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_SetTrackingSpace(_this->linux_side, eOrigin); + cppIVRCompositor_IVRCompositor_021_SetTrackingSpace(_this->u_iface, eOrigin); } -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_021_GetTrackingSpace(winIVRCompositor_IVRCompositor_021 *_this) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_021_GetTrackingSpace(struct w_steam_iface *_this) { ETrackingUniverseOrigin _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetTrackingSpace(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_021_GetTrackingSpace(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_WaitGetPoses(winIVRCompositor_IVRCompositor_021 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_021_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 21); + _ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_021_WaitGetPoses, _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 21); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetLastPoses(winIVRCompositor_IVRCompositor_021 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_021_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_021 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); + _ret = cppIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_Submit(winIVRCompositor_IVRCompositor_021 *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_021_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 21); + _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_021_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 21); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_021 *_this) +void __thiscall winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_021_PostPresentHandoff(winIVRCompositor_IVRCompositor_021 *_this) +void __thiscall winIVRCompositor_IVRCompositor_021_PostPresentHandoff(struct w_steam_iface *_this) { TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_021_PostPresentHandoff, _this->linux_side, 21); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_021_PostPresentHandoff, _this->u_iface, 21); } -bool __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTiming(winIVRCompositor_IVRCompositor_021 *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + _ret = cppIVRCompositor_IVRCompositor_021_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTimings(winIVRCompositor_IVRCompositor_021 *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetFrameTimings(_this->linux_side, pTiming, nFrames); + _ret = cppIVRCompositor_IVRCompositor_021_GetFrameTimings(_this->u_iface, pTiming, nFrames); return _ret; } -float __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_021 *_this) +float __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_021_GetCumulativeStats(winIVRCompositor_IVRCompositor_021 *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void __thiscall winIVRCompositor_IVRCompositor_021_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_021_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes); } -void __thiscall winIVRCompositor_IVRCompositor_021_FadeToColor(winIVRCompositor_IVRCompositor_021 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall winIVRCompositor_IVRCompositor_021_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_021_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_021 *_this, HmdColor_t *_ret, bool bBackground) +HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground) { TRACE("%p\n", _this); - *_ret = cppIVRCompositor_IVRCompositor_021_GetCurrentFadeColor(_this->linux_side, bBackground); + *_ret = cppIVRCompositor_IVRCompositor_021_GetCurrentFadeColor(_this->u_iface, bBackground); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_021_FadeGrid(winIVRCompositor_IVRCompositor_021 *_this, float fSeconds, bool bFadeIn) +void __thiscall winIVRCompositor_IVRCompositor_021_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_FadeGrid(_this->linux_side, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_021_FadeGrid(_this->u_iface, fSeconds, bFadeIn); } -float __thiscall winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_021 *_this) +float __thiscall winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_SetSkyboxOverride(winIVRCompositor_IVRCompositor_021 *_this, const Texture_t *pTextures, uint32_t unTextureCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 21); + _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 21); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_021 *_this) +void __thiscall winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ClearSkyboxOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_021_ClearSkyboxOverride(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_021_CompositorBringToFront(winIVRCompositor_IVRCompositor_021 *_this) +void __thiscall winIVRCompositor_IVRCompositor_021_CompositorBringToFront(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_021_CompositorBringToFront(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_021_CompositorGoToBack(winIVRCompositor_IVRCompositor_021 *_this) +void __thiscall winIVRCompositor_IVRCompositor_021_CompositorGoToBack(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_CompositorGoToBack(_this->linux_side); + cppIVRCompositor_IVRCompositor_021_CompositorGoToBack(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_021_CompositorQuit(winIVRCompositor_IVRCompositor_021 *_this) +void __thiscall winIVRCompositor_IVRCompositor_021_CompositorQuit(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_CompositorQuit(_this->linux_side); + cppIVRCompositor_IVRCompositor_021_CompositorQuit(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_021_IsFullscreen(winIVRCompositor_IVRCompositor_021 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_021_IsFullscreen(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_IsFullscreen(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_021_IsFullscreen(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_021 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_021 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetLastFrameRenderer(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_021_GetLastFrameRenderer(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_021_CanRenderScene(winIVRCompositor_IVRCompositor_021 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_021_CanRenderScene(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_CanRenderScene(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_021_CanRenderScene(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_021_ShowMirrorWindow(winIVRCompositor_IVRCompositor_021 *_this) +void __thiscall winIVRCompositor_IVRCompositor_021_ShowMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ShowMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_021_ShowMirrorWindow(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_021_HideMirrorWindow(winIVRCompositor_IVRCompositor_021 *_this) +void __thiscall winIVRCompositor_IVRCompositor_021_HideMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_HideMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_021_HideMirrorWindow(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_021 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_021_CompositorDumpImages(winIVRCompositor_IVRCompositor_021 *_this) +void __thiscall winIVRCompositor_IVRCompositor_021_CompositorDumpImages(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_CompositorDumpImages(_this->linux_side); + cppIVRCompositor_IVRCompositor_021_CompositorDumpImages(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_021 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_021 *_this, bool bOverride) +void __thiscall winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); + cppIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); } -void __thiscall winIVRCompositor_IVRCompositor_021_ForceReconnectProcess(winIVRCompositor_IVRCompositor_021 *_this) +void __thiscall winIVRCompositor_IVRCompositor_021_ForceReconnectProcess(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ForceReconnectProcess(_this->linux_side); + cppIVRCompositor_IVRCompositor_021_ForceReconnectProcess(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_021_SuspendRendering(winIVRCompositor_IVRCompositor_021 *_this, bool bSuspend) +void __thiscall winIVRCompositor_IVRCompositor_021_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_SuspendRendering(_this->linux_side, bSuspend); + cppIVRCompositor_IVRCompositor_021_SuspendRendering(_this->u_iface, bSuspend); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_021 *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); + _ret = cppIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11(winIVRCompositor_IVRCompositor_021 *_this, void *pD3D11ShaderResourceView) +void __thiscall winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11(_this->linux_side, pD3D11ShaderResourceView); + cppIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11(_this->u_iface, pD3D11ShaderResourceView); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_021 *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); + _ret = cppIVRCompositor_IVRCompositor_021_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_021 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +bool __thiscall winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); + _ret = cppIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_021 *_this, glSharedTextureHandle_t glSharedTextureHandle) +void __thiscall winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); } -void __thiscall winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_021 *_this, glSharedTextureHandle_t glSharedTextureHandle) +void __thiscall winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); } -uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_021 *_this, char *pchValue, uint32_t unBufferSize) +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); + _ret = cppIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired(_this->u_iface, pchValue, unBufferSize); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_021 *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 21); + _ret = ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired, _this->u_iface, pPhysicalDevice, pchValue, unBufferSize, 21); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode(winIVRCompositor_IVRCompositor_021 *_this, bool bExplicitTimingMode) +void __thiscall winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode(struct w_steam_iface *_this, bool bExplicitTimingMode) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode(_this->linux_side, bExplicitTimingMode); + cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode(_this->u_iface, bExplicitTimingMode); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData(winIVRCompositor_IVRCompositor_021 *_this) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData(struct w_steam_iface *_this) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData(_this->u_iface); return _ret; } @@ -6053,24 +5950,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRCompositor_IVRCompositor_021 *create_winIVRCompositor_IVRCompositor_021(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_021(void *u_iface) { - winIVRCompositor_IVRCompositor_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_021)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRCompositor_IVRCompositor_021_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRCompositor_IVRCompositor_021(void *object) +void destroy_winIVRCompositor_IVRCompositor_021(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_021 *create_winIVRCompositor_IVRCompositor_021_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_021_FnTable(void *u_iface) { - winIVRCompositor_IVRCompositor_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_021)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(43); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 43 * sizeof(*vtable)); int i; @@ -6121,27 +6018,21 @@ winIVRCompositor_IVRCompositor_021 *create_winIVRCompositor_IVRCompositor_021_Fn init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData, 0, FALSE, FALSE); for (i = 0; i < 43; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_021_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_021_FnTable(struct w_steam_iface *object) { - winIVRCompositor_IVRCompositor_021 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRCompositor_IVRCompositor_022.h" -typedef struct __winIVRCompositor_IVRCompositor_022 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_022; - DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SetTrackingSpace, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetTrackingSpace, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_WaitGetPoses, 20) @@ -6189,330 +6080,330 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnab DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading, 4) -void __thiscall winIVRCompositor_IVRCompositor_022_SetTrackingSpace(winIVRCompositor_IVRCompositor_022 *_this, ETrackingUniverseOrigin eOrigin) +void __thiscall winIVRCompositor_IVRCompositor_022_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_SetTrackingSpace(_this->linux_side, eOrigin); + cppIVRCompositor_IVRCompositor_022_SetTrackingSpace(_this->u_iface, eOrigin); } -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_022_GetTrackingSpace(winIVRCompositor_IVRCompositor_022 *_this) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_022_GetTrackingSpace(struct w_steam_iface *_this) { ETrackingUniverseOrigin _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetTrackingSpace(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_022_GetTrackingSpace(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_WaitGetPoses(winIVRCompositor_IVRCompositor_022 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_022_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 22); + _ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_022_WaitGetPoses, _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 22); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetLastPoses(winIVRCompositor_IVRCompositor_022 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_022_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_022 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); + _ret = cppIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_Submit(winIVRCompositor_IVRCompositor_022 *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_022_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 22); + _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_022_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 22); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_022 *_this) +void __thiscall winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_022_PostPresentHandoff(winIVRCompositor_IVRCompositor_022 *_this) +void __thiscall winIVRCompositor_IVRCompositor_022_PostPresentHandoff(struct w_steam_iface *_this) { TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_022_PostPresentHandoff, _this->linux_side, 22); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_022_PostPresentHandoff, _this->u_iface, 22); } -bool __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTiming(winIVRCompositor_IVRCompositor_022 *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + _ret = cppIVRCompositor_IVRCompositor_022_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTimings(winIVRCompositor_IVRCompositor_022 *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetFrameTimings(_this->linux_side, pTiming, nFrames); + _ret = cppIVRCompositor_IVRCompositor_022_GetFrameTimings(_this->u_iface, pTiming, nFrames); return _ret; } -float __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_022 *_this) +float __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_022_GetCumulativeStats(winIVRCompositor_IVRCompositor_022 *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void __thiscall winIVRCompositor_IVRCompositor_022_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_022_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes); } -void __thiscall winIVRCompositor_IVRCompositor_022_FadeToColor(winIVRCompositor_IVRCompositor_022 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall winIVRCompositor_IVRCompositor_022_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_022_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_022 *_this, HmdColor_t *_ret, bool bBackground) +HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground) { TRACE("%p\n", _this); - *_ret = cppIVRCompositor_IVRCompositor_022_GetCurrentFadeColor(_this->linux_side, bBackground); + *_ret = cppIVRCompositor_IVRCompositor_022_GetCurrentFadeColor(_this->u_iface, bBackground); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_022_FadeGrid(winIVRCompositor_IVRCompositor_022 *_this, float fSeconds, bool bFadeIn) +void __thiscall winIVRCompositor_IVRCompositor_022_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_FadeGrid(_this->linux_side, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_022_FadeGrid(_this->u_iface, fSeconds, bFadeIn); } -float __thiscall winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_022 *_this) +float __thiscall winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_SetSkyboxOverride(winIVRCompositor_IVRCompositor_022 *_this, const Texture_t *pTextures, uint32_t unTextureCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 22); + _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 22); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_022 *_this) +void __thiscall winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ClearSkyboxOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_022_ClearSkyboxOverride(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_022_CompositorBringToFront(winIVRCompositor_IVRCompositor_022 *_this) +void __thiscall winIVRCompositor_IVRCompositor_022_CompositorBringToFront(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_022_CompositorBringToFront(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_022_CompositorGoToBack(winIVRCompositor_IVRCompositor_022 *_this) +void __thiscall winIVRCompositor_IVRCompositor_022_CompositorGoToBack(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_CompositorGoToBack(_this->linux_side); + cppIVRCompositor_IVRCompositor_022_CompositorGoToBack(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_022_CompositorQuit(winIVRCompositor_IVRCompositor_022 *_this) +void __thiscall winIVRCompositor_IVRCompositor_022_CompositorQuit(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_CompositorQuit(_this->linux_side); + cppIVRCompositor_IVRCompositor_022_CompositorQuit(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_022_IsFullscreen(winIVRCompositor_IVRCompositor_022 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_022_IsFullscreen(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_IsFullscreen(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_022_IsFullscreen(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_022 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_022 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetLastFrameRenderer(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_022_GetLastFrameRenderer(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_022_CanRenderScene(winIVRCompositor_IVRCompositor_022 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_022_CanRenderScene(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_CanRenderScene(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_022_CanRenderScene(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_022_ShowMirrorWindow(winIVRCompositor_IVRCompositor_022 *_this) +void __thiscall winIVRCompositor_IVRCompositor_022_ShowMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ShowMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_022_ShowMirrorWindow(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_022_HideMirrorWindow(winIVRCompositor_IVRCompositor_022 *_this) +void __thiscall winIVRCompositor_IVRCompositor_022_HideMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_HideMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_022_HideMirrorWindow(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_022 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_022_CompositorDumpImages(winIVRCompositor_IVRCompositor_022 *_this) +void __thiscall winIVRCompositor_IVRCompositor_022_CompositorDumpImages(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_CompositorDumpImages(_this->linux_side); + cppIVRCompositor_IVRCompositor_022_CompositorDumpImages(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_022 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_022 *_this, bool bOverride) +void __thiscall winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); + cppIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); } -void __thiscall winIVRCompositor_IVRCompositor_022_ForceReconnectProcess(winIVRCompositor_IVRCompositor_022 *_this) +void __thiscall winIVRCompositor_IVRCompositor_022_ForceReconnectProcess(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ForceReconnectProcess(_this->linux_side); + cppIVRCompositor_IVRCompositor_022_ForceReconnectProcess(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_022_SuspendRendering(winIVRCompositor_IVRCompositor_022 *_this, bool bSuspend) +void __thiscall winIVRCompositor_IVRCompositor_022_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_SuspendRendering(_this->linux_side, bSuspend); + cppIVRCompositor_IVRCompositor_022_SuspendRendering(_this->u_iface, bSuspend); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_022 *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); + _ret = cppIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11(winIVRCompositor_IVRCompositor_022 *_this, void *pD3D11ShaderResourceView) +void __thiscall winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11(_this->linux_side, pD3D11ShaderResourceView); + cppIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11(_this->u_iface, pD3D11ShaderResourceView); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_022 *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); + _ret = cppIVRCompositor_IVRCompositor_022_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_022 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +bool __thiscall winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); + _ret = cppIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_022 *_this, glSharedTextureHandle_t glSharedTextureHandle) +void __thiscall winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); } -void __thiscall winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_022 *_this, glSharedTextureHandle_t glSharedTextureHandle) +void __thiscall winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); } -uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_022 *_this, char *pchValue, uint32_t unBufferSize) +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); + _ret = cppIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired(_this->u_iface, pchValue, unBufferSize); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_022 *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 22); + _ret = ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired, _this->u_iface, pPhysicalDevice, pchValue, unBufferSize, 22); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode(winIVRCompositor_IVRCompositor_022 *_this, EVRCompositorTimingMode eTimingMode) +void __thiscall winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode(struct w_steam_iface *_this, EVRCompositorTimingMode eTimingMode) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_SetExplicitTimingMode(_this->linux_side, eTimingMode); + cppIVRCompositor_IVRCompositor_022_SetExplicitTimingMode(_this->u_iface, eTimingMode); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(winIVRCompositor_IVRCompositor_022 *_this) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(struct w_steam_iface *_this) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled(winIVRCompositor_IVRCompositor_022 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported(winIVRCompositor_IVRCompositor_022 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading(winIVRCompositor_IVRCompositor_022 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading(_this->u_iface); return _ret; } @@ -6573,24 +6464,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRCompositor_IVRCompositor_022 *create_winIVRCompositor_IVRCompositor_022(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_022(void *u_iface) { - winIVRCompositor_IVRCompositor_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_022)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRCompositor_IVRCompositor_022_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRCompositor_IVRCompositor_022(void *object) +void destroy_winIVRCompositor_IVRCompositor_022(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_022 *create_winIVRCompositor_IVRCompositor_022_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_022_FnTable(void *u_iface) { - winIVRCompositor_IVRCompositor_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_022)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(46); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); int i; @@ -6644,27 +6535,21 @@ winIVRCompositor_IVRCompositor_022 *create_winIVRCompositor_IVRCompositor_022_Fn init_thunk(&thunks[45], r, winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); for (i = 0; i < 46; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_022_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_022_FnTable(struct w_steam_iface *object) { - winIVRCompositor_IVRCompositor_022 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRCompositor_IVRCompositor_024.h" -typedef struct __winIVRCompositor_IVRCompositor_024 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_024; - DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SetTrackingSpace, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetTrackingSpace, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_WaitGetPoses, 20) @@ -6714,347 +6599,347 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAp DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SetStageOverride_Async, 20) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ClearStageOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_SetTrackingSpace(winIVRCompositor_IVRCompositor_024 *_this, ETrackingUniverseOrigin eOrigin) +void __thiscall winIVRCompositor_IVRCompositor_024_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_SetTrackingSpace(_this->linux_side, eOrigin); + cppIVRCompositor_IVRCompositor_024_SetTrackingSpace(_this->u_iface, eOrigin); } -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_024_GetTrackingSpace(winIVRCompositor_IVRCompositor_024 *_this) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_024_GetTrackingSpace(struct w_steam_iface *_this) { ETrackingUniverseOrigin _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetTrackingSpace(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_024_GetTrackingSpace(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_WaitGetPoses(winIVRCompositor_IVRCompositor_024 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_024_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 24); + _ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_024_WaitGetPoses, _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 24); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetLastPoses(winIVRCompositor_IVRCompositor_024 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_024_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_024 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); + _ret = cppIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_Submit(winIVRCompositor_IVRCompositor_024 *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_024_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 24); + _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_024_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 24); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_024 *_this) +void __thiscall winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_024_PostPresentHandoff(winIVRCompositor_IVRCompositor_024 *_this) +void __thiscall winIVRCompositor_IVRCompositor_024_PostPresentHandoff(struct w_steam_iface *_this) { TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_024_PostPresentHandoff, _this->linux_side, 24); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_024_PostPresentHandoff, _this->u_iface, 24); } -bool __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTiming(winIVRCompositor_IVRCompositor_024 *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + _ret = cppIVRCompositor_IVRCompositor_024_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTimings(winIVRCompositor_IVRCompositor_024 *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetFrameTimings(_this->linux_side, pTiming, nFrames); + _ret = cppIVRCompositor_IVRCompositor_024_GetFrameTimings(_this->u_iface, pTiming, nFrames); return _ret; } -float __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_024 *_this) +float __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_024_GetCumulativeStats(winIVRCompositor_IVRCompositor_024 *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void __thiscall winIVRCompositor_IVRCompositor_024_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_024_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes); } -void __thiscall winIVRCompositor_IVRCompositor_024_FadeToColor(winIVRCompositor_IVRCompositor_024 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall winIVRCompositor_IVRCompositor_024_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_024_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_024 *_this, HmdColor_t *_ret, bool bBackground) +HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground) { TRACE("%p\n", _this); - *_ret = cppIVRCompositor_IVRCompositor_024_GetCurrentFadeColor(_this->linux_side, bBackground); + *_ret = cppIVRCompositor_IVRCompositor_024_GetCurrentFadeColor(_this->u_iface, bBackground); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_024_FadeGrid(winIVRCompositor_IVRCompositor_024 *_this, float fSeconds, bool bFadeIn) +void __thiscall winIVRCompositor_IVRCompositor_024_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_FadeGrid(_this->linux_side, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_024_FadeGrid(_this->u_iface, fSeconds, bFadeIn); } -float __thiscall winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_024 *_this) +float __thiscall winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_SetSkyboxOverride(winIVRCompositor_IVRCompositor_024 *_this, const Texture_t *pTextures, uint32_t unTextureCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 24); + _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 24); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_024 *_this) +void __thiscall winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ClearSkyboxOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_024_ClearSkyboxOverride(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_024_CompositorBringToFront(winIVRCompositor_IVRCompositor_024 *_this) +void __thiscall winIVRCompositor_IVRCompositor_024_CompositorBringToFront(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_024_CompositorBringToFront(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_024_CompositorGoToBack(winIVRCompositor_IVRCompositor_024 *_this) +void __thiscall winIVRCompositor_IVRCompositor_024_CompositorGoToBack(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_CompositorGoToBack(_this->linux_side); + cppIVRCompositor_IVRCompositor_024_CompositorGoToBack(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_024_CompositorQuit(winIVRCompositor_IVRCompositor_024 *_this) +void __thiscall winIVRCompositor_IVRCompositor_024_CompositorQuit(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_CompositorQuit(_this->linux_side); + cppIVRCompositor_IVRCompositor_024_CompositorQuit(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_024_IsFullscreen(winIVRCompositor_IVRCompositor_024 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_024_IsFullscreen(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_IsFullscreen(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_024_IsFullscreen(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_024 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_024 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetLastFrameRenderer(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_024_GetLastFrameRenderer(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_024_CanRenderScene(winIVRCompositor_IVRCompositor_024 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_024_CanRenderScene(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_CanRenderScene(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_024_CanRenderScene(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_024_ShowMirrorWindow(winIVRCompositor_IVRCompositor_024 *_this) +void __thiscall winIVRCompositor_IVRCompositor_024_ShowMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ShowMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_024_ShowMirrorWindow(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_024_HideMirrorWindow(winIVRCompositor_IVRCompositor_024 *_this) +void __thiscall winIVRCompositor_IVRCompositor_024_HideMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_HideMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_024_HideMirrorWindow(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_024 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_024_CompositorDumpImages(winIVRCompositor_IVRCompositor_024 *_this) +void __thiscall winIVRCompositor_IVRCompositor_024_CompositorDumpImages(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_CompositorDumpImages(_this->linux_side); + cppIVRCompositor_IVRCompositor_024_CompositorDumpImages(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_024 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_024 *_this, bool bOverride) +void __thiscall winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); + cppIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); } -void __thiscall winIVRCompositor_IVRCompositor_024_ForceReconnectProcess(winIVRCompositor_IVRCompositor_024 *_this) +void __thiscall winIVRCompositor_IVRCompositor_024_ForceReconnectProcess(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ForceReconnectProcess(_this->linux_side); + cppIVRCompositor_IVRCompositor_024_ForceReconnectProcess(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_024_SuspendRendering(winIVRCompositor_IVRCompositor_024 *_this, bool bSuspend) +void __thiscall winIVRCompositor_IVRCompositor_024_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_SuspendRendering(_this->linux_side, bSuspend); + cppIVRCompositor_IVRCompositor_024_SuspendRendering(_this->u_iface, bSuspend); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_024 *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); + _ret = cppIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11(winIVRCompositor_IVRCompositor_024 *_this, void *pD3D11ShaderResourceView) +void __thiscall winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11(_this->linux_side, pD3D11ShaderResourceView); + cppIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11(_this->u_iface, pD3D11ShaderResourceView); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_024 *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); + _ret = cppIVRCompositor_IVRCompositor_024_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_024 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +bool __thiscall winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); + _ret = cppIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_024 *_this, glSharedTextureHandle_t glSharedTextureHandle) +void __thiscall winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); } -void __thiscall winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_024 *_this, glSharedTextureHandle_t glSharedTextureHandle) +void __thiscall winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); } -uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_024 *_this, char *pchValue, uint32_t unBufferSize) +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); + _ret = cppIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired(_this->u_iface, pchValue, unBufferSize); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_024 *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 24); + _ret = ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired, _this->u_iface, pPhysicalDevice, pchValue, unBufferSize, 24); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode(winIVRCompositor_IVRCompositor_024 *_this, EVRCompositorTimingMode eTimingMode) +void __thiscall winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode(struct w_steam_iface *_this, EVRCompositorTimingMode eTimingMode) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_SetExplicitTimingMode(_this->linux_side, eTimingMode); + cppIVRCompositor_IVRCompositor_024_SetExplicitTimingMode(_this->u_iface, eTimingMode); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData(winIVRCompositor_IVRCompositor_024 *_this) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData(struct w_steam_iface *_this) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled(winIVRCompositor_IVRCompositor_024 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported(winIVRCompositor_IVRCompositor_024 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading(winIVRCompositor_IVRCompositor_024 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_SetStageOverride_Async(winIVRCompositor_IVRCompositor_024 *_this, const char *pchRenderModelPath, const HmdMatrix34_t *pTransform, const Compositor_StageRenderSettings *pRenderSettings, uint32_t nSizeOfRenderSettings) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_SetStageOverride_Async(struct w_steam_iface *_this, const char *pchRenderModelPath, const HmdMatrix34_t *pTransform, const Compositor_StageRenderSettings *pRenderSettings, uint32_t nSizeOfRenderSettings) { EVRCompositorError _ret; char lin_pchRenderModelPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchRenderModelPath, lin_pchRenderModelPath); TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_SetStageOverride_Async(_this->linux_side, pchRenderModelPath ? lin_pchRenderModelPath : NULL, pTransform, pRenderSettings, nSizeOfRenderSettings); + _ret = cppIVRCompositor_IVRCompositor_024_SetStageOverride_Async(_this->u_iface, pchRenderModelPath ? lin_pchRenderModelPath : NULL, pTransform, pRenderSettings, nSizeOfRenderSettings); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_024_ClearStageOverride(winIVRCompositor_IVRCompositor_024 *_this) +void __thiscall winIVRCompositor_IVRCompositor_024_ClearStageOverride(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ClearStageOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_024_ClearStageOverride(_this->u_iface); } extern vtable_ptr winIVRCompositor_IVRCompositor_024_vtable; @@ -7116,24 +7001,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRCompositor_IVRCompositor_024 *create_winIVRCompositor_IVRCompositor_024(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_024(void *u_iface) { - winIVRCompositor_IVRCompositor_024 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_024)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRCompositor_IVRCompositor_024_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRCompositor_IVRCompositor_024(void *object) +void destroy_winIVRCompositor_IVRCompositor_024(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_024 *create_winIVRCompositor_IVRCompositor_024_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_024_FnTable(void *u_iface) { - winIVRCompositor_IVRCompositor_024 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_024)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(48); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 48 * sizeof(*vtable)); int i; @@ -7189,27 +7074,21 @@ winIVRCompositor_IVRCompositor_024 *create_winIVRCompositor_IVRCompositor_024_Fn init_thunk(&thunks[47], r, winIVRCompositor_IVRCompositor_024_ClearStageOverride, 0, FALSE, FALSE); for (i = 0; i < 48; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_024_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_024_FnTable(struct w_steam_iface *object) { - winIVRCompositor_IVRCompositor_024 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRCompositor_IVRCompositor_026.h" -typedef struct __winIVRCompositor_IVRCompositor_026 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_026; - DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_SetTrackingSpace, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetTrackingSpace, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_WaitGetPoses, 20) @@ -7262,370 +7141,370 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetCompositorBenchmar DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs, 12) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetPosesForFrame, 16) -void __thiscall winIVRCompositor_IVRCompositor_026_SetTrackingSpace(winIVRCompositor_IVRCompositor_026 *_this, ETrackingUniverseOrigin eOrigin) +void __thiscall winIVRCompositor_IVRCompositor_026_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_SetTrackingSpace(_this->linux_side, eOrigin); + cppIVRCompositor_IVRCompositor_026_SetTrackingSpace(_this->u_iface, eOrigin); } -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_026_GetTrackingSpace(winIVRCompositor_IVRCompositor_026 *_this) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_026_GetTrackingSpace(struct w_steam_iface *_this) { ETrackingUniverseOrigin _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetTrackingSpace(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_026_GetTrackingSpace(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_WaitGetPoses(winIVRCompositor_IVRCompositor_026 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_026_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 26); + _ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_026_WaitGetPoses, _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 26); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetLastPoses(winIVRCompositor_IVRCompositor_026 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_026_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_026 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); + _ret = cppIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_Submit(winIVRCompositor_IVRCompositor_026 *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_026_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 26); + _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_026_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 26); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_026 *_this) +void __thiscall winIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_026_PostPresentHandoff(winIVRCompositor_IVRCompositor_026 *_this) +void __thiscall winIVRCompositor_IVRCompositor_026_PostPresentHandoff(struct w_steam_iface *_this) { TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_026_PostPresentHandoff, _this->linux_side, 26); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_026_PostPresentHandoff, _this->u_iface, 26); } -bool __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTiming(winIVRCompositor_IVRCompositor_026 *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + _ret = cppIVRCompositor_IVRCompositor_026_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTimings(winIVRCompositor_IVRCompositor_026 *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetFrameTimings(_this->linux_side, pTiming, nFrames); + _ret = cppIVRCompositor_IVRCompositor_026_GetFrameTimings(_this->u_iface, pTiming, nFrames); return _ret; } -float __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_026 *_this) +float __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_026_GetCumulativeStats(winIVRCompositor_IVRCompositor_026 *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void __thiscall winIVRCompositor_IVRCompositor_026_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_026_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes); } -void __thiscall winIVRCompositor_IVRCompositor_026_FadeToColor(winIVRCompositor_IVRCompositor_026 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall winIVRCompositor_IVRCompositor_026_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_026_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_026_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_026 *_this, HmdColor_t *_ret, bool bBackground) +HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_026_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground) { TRACE("%p\n", _this); - *_ret = cppIVRCompositor_IVRCompositor_026_GetCurrentFadeColor(_this->linux_side, bBackground); + *_ret = cppIVRCompositor_IVRCompositor_026_GetCurrentFadeColor(_this->u_iface, bBackground); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_026_FadeGrid(winIVRCompositor_IVRCompositor_026 *_this, float fSeconds, bool bFadeIn) +void __thiscall winIVRCompositor_IVRCompositor_026_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_FadeGrid(_this->linux_side, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_026_FadeGrid(_this->u_iface, fSeconds, bFadeIn); } -float __thiscall winIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_026 *_this) +float __thiscall winIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_SetSkyboxOverride(winIVRCompositor_IVRCompositor_026 *_this, const Texture_t *pTextures, uint32_t unTextureCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_026_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 26); + _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_026_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 26); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_026_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_026 *_this) +void __thiscall winIVRCompositor_IVRCompositor_026_ClearSkyboxOverride(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_ClearSkyboxOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_026_ClearSkyboxOverride(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_026_CompositorBringToFront(winIVRCompositor_IVRCompositor_026 *_this) +void __thiscall winIVRCompositor_IVRCompositor_026_CompositorBringToFront(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_026_CompositorBringToFront(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_026_CompositorGoToBack(winIVRCompositor_IVRCompositor_026 *_this) +void __thiscall winIVRCompositor_IVRCompositor_026_CompositorGoToBack(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_CompositorGoToBack(_this->linux_side); + cppIVRCompositor_IVRCompositor_026_CompositorGoToBack(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_026_CompositorQuit(winIVRCompositor_IVRCompositor_026 *_this) +void __thiscall winIVRCompositor_IVRCompositor_026_CompositorQuit(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_CompositorQuit(_this->linux_side); + cppIVRCompositor_IVRCompositor_026_CompositorQuit(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_026_IsFullscreen(winIVRCompositor_IVRCompositor_026 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_026_IsFullscreen(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_IsFullscreen(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_026_IsFullscreen(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_026 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_026 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetLastFrameRenderer(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetLastFrameRenderer(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_026_GetLastFrameRenderer(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_026_CanRenderScene(winIVRCompositor_IVRCompositor_026 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_026_CanRenderScene(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_CanRenderScene(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_026_CanRenderScene(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_026_ShowMirrorWindow(winIVRCompositor_IVRCompositor_026 *_this) +void __thiscall winIVRCompositor_IVRCompositor_026_ShowMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_ShowMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_026_ShowMirrorWindow(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_026_HideMirrorWindow(winIVRCompositor_IVRCompositor_026 *_this) +void __thiscall winIVRCompositor_IVRCompositor_026_HideMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_HideMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_026_HideMirrorWindow(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_026 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_026_CompositorDumpImages(winIVRCompositor_IVRCompositor_026 *_this) +void __thiscall winIVRCompositor_IVRCompositor_026_CompositorDumpImages(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_CompositorDumpImages(_this->linux_side); + cppIVRCompositor_IVRCompositor_026_CompositorDumpImages(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_026 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_026 *_this, bool bOverride) +void __thiscall winIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); + cppIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); } -void __thiscall winIVRCompositor_IVRCompositor_026_ForceReconnectProcess(winIVRCompositor_IVRCompositor_026 *_this) +void __thiscall winIVRCompositor_IVRCompositor_026_ForceReconnectProcess(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_ForceReconnectProcess(_this->linux_side); + cppIVRCompositor_IVRCompositor_026_ForceReconnectProcess(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_026_SuspendRendering(winIVRCompositor_IVRCompositor_026 *_this, bool bSuspend) +void __thiscall winIVRCompositor_IVRCompositor_026_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_SuspendRendering(_this->linux_side, bSuspend); + cppIVRCompositor_IVRCompositor_026_SuspendRendering(_this->u_iface, bSuspend); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_026 *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); + _ret = cppIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11(winIVRCompositor_IVRCompositor_026 *_this, void *pD3D11ShaderResourceView) +void __thiscall winIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11(_this->linux_side, pD3D11ShaderResourceView); + cppIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11(_this->u_iface, pD3D11ShaderResourceView); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_026 *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); + _ret = cppIVRCompositor_IVRCompositor_026_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_026 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +bool __thiscall winIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); + _ret = cppIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_026 *_this, glSharedTextureHandle_t glSharedTextureHandle) +void __thiscall winIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); } -void __thiscall winIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_026 *_this, glSharedTextureHandle_t glSharedTextureHandle) +void __thiscall winIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); } -uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_026 *_this, char *pchValue, uint32_t unBufferSize) +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); + _ret = cppIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired(_this->u_iface, pchValue, unBufferSize); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_026 *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 26); + _ret = ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired, _this->u_iface, pPhysicalDevice, pchValue, unBufferSize, 26); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_026_SetExplicitTimingMode(winIVRCompositor_IVRCompositor_026 *_this, EVRCompositorTimingMode eTimingMode) +void __thiscall winIVRCompositor_IVRCompositor_026_SetExplicitTimingMode(struct w_steam_iface *_this, EVRCompositorTimingMode eTimingMode) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_SetExplicitTimingMode(_this->linux_side, eTimingMode); + cppIVRCompositor_IVRCompositor_026_SetExplicitTimingMode(_this->u_iface, eTimingMode); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData(winIVRCompositor_IVRCompositor_026 *_this) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData(struct w_steam_iface *_this) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled(winIVRCompositor_IVRCompositor_026 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported(winIVRCompositor_IVRCompositor_026 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading(winIVRCompositor_IVRCompositor_026 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_SetStageOverride_Async(winIVRCompositor_IVRCompositor_026 *_this, const char *pchRenderModelPath, const HmdMatrix34_t *pTransform, const Compositor_StageRenderSettings *pRenderSettings, uint32_t nSizeOfRenderSettings) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_SetStageOverride_Async(struct w_steam_iface *_this, const char *pchRenderModelPath, const HmdMatrix34_t *pTransform, const Compositor_StageRenderSettings *pRenderSettings, uint32_t nSizeOfRenderSettings) { EVRCompositorError _ret; char lin_pchRenderModelPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchRenderModelPath, lin_pchRenderModelPath); TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_SetStageOverride_Async(_this->linux_side, pchRenderModelPath ? lin_pchRenderModelPath : NULL, pTransform, pRenderSettings, nSizeOfRenderSettings); + _ret = cppIVRCompositor_IVRCompositor_026_SetStageOverride_Async(_this->u_iface, pchRenderModelPath ? lin_pchRenderModelPath : NULL, pTransform, pRenderSettings, nSizeOfRenderSettings); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_026_ClearStageOverride(winIVRCompositor_IVRCompositor_026 *_this) +void __thiscall winIVRCompositor_IVRCompositor_026_ClearStageOverride(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_ClearStageOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_026_ClearStageOverride(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults(winIVRCompositor_IVRCompositor_026 *_this, Compositor_BenchmarkResults *pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) +bool __thiscall winIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults(struct w_steam_iface *_this, Compositor_BenchmarkResults *pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults(_this->linux_side, pBenchmarkResults, nSizeOfBenchmarkResults); + _ret = cppIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults(_this->u_iface, pBenchmarkResults, nSizeOfBenchmarkResults); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs(winIVRCompositor_IVRCompositor_026 *_this, uint32_t *pRenderPosePredictionID, uint32_t *pGamePosePredictionID) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs(struct w_steam_iface *_this, uint32_t *pRenderPosePredictionID, uint32_t *pGamePosePredictionID) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs(_this->linux_side, pRenderPosePredictionID, pGamePosePredictionID); + _ret = cppIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs(_this->u_iface, pRenderPosePredictionID, pGamePosePredictionID); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetPosesForFrame(winIVRCompositor_IVRCompositor_026 *_this, uint32_t unPosePredictionID, TrackedDevicePose_t *pPoseArray, uint32_t unPoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetPosesForFrame(struct w_steam_iface *_this, uint32_t unPosePredictionID, TrackedDevicePose_t *pPoseArray, uint32_t unPoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetPosesForFrame(_this->linux_side, unPosePredictionID, pPoseArray, unPoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_026_GetPosesForFrame(_this->u_iface, unPosePredictionID, pPoseArray, unPoseArrayCount); return _ret; } @@ -7691,24 +7570,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRCompositor_IVRCompositor_026 *create_winIVRCompositor_IVRCompositor_026(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_026(void *u_iface) { - winIVRCompositor_IVRCompositor_026 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_026)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRCompositor_IVRCompositor_026_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRCompositor_IVRCompositor_026(void *object) +void destroy_winIVRCompositor_IVRCompositor_026(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_026 *create_winIVRCompositor_IVRCompositor_026_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_026_FnTable(void *u_iface) { - winIVRCompositor_IVRCompositor_026 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_026)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(51); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 51 * sizeof(*vtable)); int i; @@ -7767,27 +7646,21 @@ winIVRCompositor_IVRCompositor_026 *create_winIVRCompositor_IVRCompositor_026_Fn init_thunk(&thunks[50], r, winIVRCompositor_IVRCompositor_026_GetPosesForFrame, 3, FALSE, FALSE); for (i = 0; i < 51; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_026_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_026_FnTable(struct w_steam_iface *object) { - winIVRCompositor_IVRCompositor_026 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRCompositor_IVRCompositor_027.h" -typedef struct __winIVRCompositor_IVRCompositor_027 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_027; - DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SetTrackingSpace, 8) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetTrackingSpace, 4) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_WaitGetPoses, 20) @@ -7840,370 +7713,370 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCompositorBenchmar DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs, 12) DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetPosesForFrame, 16) -void __thiscall winIVRCompositor_IVRCompositor_027_SetTrackingSpace(winIVRCompositor_IVRCompositor_027 *_this, ETrackingUniverseOrigin eOrigin) +void __thiscall winIVRCompositor_IVRCompositor_027_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_SetTrackingSpace(_this->linux_side, eOrigin); + cppIVRCompositor_IVRCompositor_027_SetTrackingSpace(_this->u_iface, eOrigin); } -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_027_GetTrackingSpace(winIVRCompositor_IVRCompositor_027 *_this) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_027_GetTrackingSpace(struct w_steam_iface *_this) { ETrackingUniverseOrigin _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetTrackingSpace(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_027_GetTrackingSpace(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_WaitGetPoses(winIVRCompositor_IVRCompositor_027 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_027_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetLastPoses(winIVRCompositor_IVRCompositor_027 *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_027_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_027 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); + _ret = cppIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_Submit(winIVRCompositor_IVRCompositor_027 *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_027_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 27); + _ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_027_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 27); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_027 *_this) +void __thiscall winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_027_PostPresentHandoff(winIVRCompositor_IVRCompositor_027 *_this) +void __thiscall winIVRCompositor_IVRCompositor_027_PostPresentHandoff(struct w_steam_iface *_this) { TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_027_PostPresentHandoff, _this->linux_side, 27); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_027_PostPresentHandoff, _this->u_iface, 27); } -bool __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTiming(winIVRCompositor_IVRCompositor_027 *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +bool __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + _ret = cppIVRCompositor_IVRCompositor_027_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTimings(winIVRCompositor_IVRCompositor_027 *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetFrameTimings(_this->linux_side, pTiming, nFrames); + _ret = cppIVRCompositor_IVRCompositor_027_GetFrameTimings(_this->u_iface, pTiming, nFrames); return _ret; } -float __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_027 *_this) +float __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_027_GetCumulativeStats(winIVRCompositor_IVRCompositor_027 *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void __thiscall winIVRCompositor_IVRCompositor_027_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_027_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes); } -void __thiscall winIVRCompositor_IVRCompositor_027_FadeToColor(winIVRCompositor_IVRCompositor_027 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall winIVRCompositor_IVRCompositor_027_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_027_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_027 *_this, HmdColor_t *_ret, bool bBackground) +HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground) { TRACE("%p\n", _this); - *_ret = cppIVRCompositor_IVRCompositor_027_GetCurrentFadeColor(_this->linux_side, bBackground); + *_ret = cppIVRCompositor_IVRCompositor_027_GetCurrentFadeColor(_this->u_iface, bBackground); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_027_FadeGrid(winIVRCompositor_IVRCompositor_027 *_this, float fSeconds, bool bFadeGridIn) +void __thiscall winIVRCompositor_IVRCompositor_027_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeGridIn) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_FadeGrid(_this->linux_side, fSeconds, bFadeGridIn); + cppIVRCompositor_IVRCompositor_027_FadeGrid(_this->u_iface, fSeconds, bFadeGridIn); } -float __thiscall winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_027 *_this) +float __thiscall winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_SetSkyboxOverride(winIVRCompositor_IVRCompositor_027 *_this, const Texture_t *pTextures, uint32_t unTextureCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 27); + _ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 27); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_027 *_this) +void __thiscall winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ClearSkyboxOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_027_ClearSkyboxOverride(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_027_CompositorBringToFront(winIVRCompositor_IVRCompositor_027 *_this) +void __thiscall winIVRCompositor_IVRCompositor_027_CompositorBringToFront(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_027_CompositorBringToFront(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_027_CompositorGoToBack(winIVRCompositor_IVRCompositor_027 *_this) +void __thiscall winIVRCompositor_IVRCompositor_027_CompositorGoToBack(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_CompositorGoToBack(_this->linux_side); + cppIVRCompositor_IVRCompositor_027_CompositorGoToBack(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_027_CompositorQuit(winIVRCompositor_IVRCompositor_027 *_this) +void __thiscall winIVRCompositor_IVRCompositor_027_CompositorQuit(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_CompositorQuit(_this->linux_side); + cppIVRCompositor_IVRCompositor_027_CompositorQuit(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_027_IsFullscreen(winIVRCompositor_IVRCompositor_027 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_027_IsFullscreen(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_IsFullscreen(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_027_IsFullscreen(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_027 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_027 *_this) +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetLastFrameRenderer(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_027_GetLastFrameRenderer(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_027_CanRenderScene(winIVRCompositor_IVRCompositor_027 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_027_CanRenderScene(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_CanRenderScene(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_027_CanRenderScene(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_027_ShowMirrorWindow(winIVRCompositor_IVRCompositor_027 *_this) +void __thiscall winIVRCompositor_IVRCompositor_027_ShowMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ShowMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_027_ShowMirrorWindow(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_027_HideMirrorWindow(winIVRCompositor_IVRCompositor_027 *_this) +void __thiscall winIVRCompositor_IVRCompositor_027_HideMirrorWindow(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_HideMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_027_HideMirrorWindow(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_027 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_027_CompositorDumpImages(winIVRCompositor_IVRCompositor_027 *_this) +void __thiscall winIVRCompositor_IVRCompositor_027_CompositorDumpImages(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_CompositorDumpImages(_this->linux_side); + cppIVRCompositor_IVRCompositor_027_CompositorDumpImages(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_027 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources(_this->u_iface); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_027 *_this, bool bOverride) +void __thiscall winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); + cppIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); } -void __thiscall winIVRCompositor_IVRCompositor_027_ForceReconnectProcess(winIVRCompositor_IVRCompositor_027 *_this) +void __thiscall winIVRCompositor_IVRCompositor_027_ForceReconnectProcess(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ForceReconnectProcess(_this->linux_side); + cppIVRCompositor_IVRCompositor_027_ForceReconnectProcess(_this->u_iface); } -void __thiscall winIVRCompositor_IVRCompositor_027_SuspendRendering(winIVRCompositor_IVRCompositor_027 *_this, bool bSuspend) +void __thiscall winIVRCompositor_IVRCompositor_027_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_SuspendRendering(_this->linux_side, bSuspend); + cppIVRCompositor_IVRCompositor_027_SuspendRendering(_this->u_iface, bSuspend); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_027 *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); + _ret = cppIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11(winIVRCompositor_IVRCompositor_027 *_this, void *pD3D11ShaderResourceView) +void __thiscall winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11(_this->linux_side, pD3D11ShaderResourceView); + cppIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11(_this->u_iface, pD3D11ShaderResourceView); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_027 *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); + _ret = cppIVRCompositor_IVRCompositor_027_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_027 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +bool __thiscall winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); + _ret = cppIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_027 *_this, glSharedTextureHandle_t glSharedTextureHandle) +void __thiscall winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); } -void __thiscall winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_027 *_this, glSharedTextureHandle_t glSharedTextureHandle) +void __thiscall winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); } -uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_027 *_this, char *pchValue, uint32_t unBufferSize) +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); + _ret = cppIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired(_this->u_iface, pchValue, unBufferSize); return _ret; } -uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_027 *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 27); + _ret = ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired, _this->u_iface, pPhysicalDevice, pchValue, unBufferSize, 27); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode(winIVRCompositor_IVRCompositor_027 *_this, EVRCompositorTimingMode eTimingMode) +void __thiscall winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode(struct w_steam_iface *_this, EVRCompositorTimingMode eTimingMode) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_SetExplicitTimingMode(_this->linux_side, eTimingMode); + cppIVRCompositor_IVRCompositor_027_SetExplicitTimingMode(_this->u_iface, eTimingMode); } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData(winIVRCompositor_IVRCompositor_027 *_this) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData(struct w_steam_iface *_this) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled(winIVRCompositor_IVRCompositor_027 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported(winIVRCompositor_IVRCompositor_027 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported(_this->u_iface); return _ret; } -bool __thiscall winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading(winIVRCompositor_IVRCompositor_027 *_this) +bool __thiscall winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading(_this->linux_side); + _ret = cppIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_SetStageOverride_Async(winIVRCompositor_IVRCompositor_027 *_this, const char *pchRenderModelPath, const HmdMatrix34_t *pTransform, const Compositor_StageRenderSettings *pRenderSettings, uint32_t nSizeOfRenderSettings) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_SetStageOverride_Async(struct w_steam_iface *_this, const char *pchRenderModelPath, const HmdMatrix34_t *pTransform, const Compositor_StageRenderSettings *pRenderSettings, uint32_t nSizeOfRenderSettings) { EVRCompositorError _ret; char lin_pchRenderModelPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchRenderModelPath, lin_pchRenderModelPath); TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_SetStageOverride_Async(_this->linux_side, pchRenderModelPath ? lin_pchRenderModelPath : NULL, pTransform, pRenderSettings, nSizeOfRenderSettings); + _ret = cppIVRCompositor_IVRCompositor_027_SetStageOverride_Async(_this->u_iface, pchRenderModelPath ? lin_pchRenderModelPath : NULL, pTransform, pRenderSettings, nSizeOfRenderSettings); return _ret; } -void __thiscall winIVRCompositor_IVRCompositor_027_ClearStageOverride(winIVRCompositor_IVRCompositor_027 *_this) +void __thiscall winIVRCompositor_IVRCompositor_027_ClearStageOverride(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ClearStageOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_027_ClearStageOverride(_this->u_iface); } -bool __thiscall winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults(winIVRCompositor_IVRCompositor_027 *_this, Compositor_BenchmarkResults *pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) +bool __thiscall winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults(struct w_steam_iface *_this, Compositor_BenchmarkResults *pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults(_this->linux_side, pBenchmarkResults, nSizeOfBenchmarkResults); + _ret = cppIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults(_this->u_iface, pBenchmarkResults, nSizeOfBenchmarkResults); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs(winIVRCompositor_IVRCompositor_027 *_this, uint32_t *pRenderPosePredictionID, uint32_t *pGamePosePredictionID) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs(struct w_steam_iface *_this, uint32_t *pRenderPosePredictionID, uint32_t *pGamePosePredictionID) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs(_this->linux_side, pRenderPosePredictionID, pGamePosePredictionID); + _ret = cppIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs(_this->u_iface, pRenderPosePredictionID, pGamePosePredictionID); return _ret; } -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetPosesForFrame(winIVRCompositor_IVRCompositor_027 *_this, uint32_t unPosePredictionID, TrackedDevicePose_t *pPoseArray, uint32_t unPoseArrayCount) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetPosesForFrame(struct w_steam_iface *_this, uint32_t unPosePredictionID, TrackedDevicePose_t *pPoseArray, uint32_t unPoseArrayCount) { EVRCompositorError _ret; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetPosesForFrame(_this->linux_side, unPosePredictionID, pPoseArray, unPoseArrayCount); + _ret = cppIVRCompositor_IVRCompositor_027_GetPosesForFrame(_this->u_iface, unPosePredictionID, pPoseArray, unPoseArrayCount); return _ret; } @@ -8269,24 +8142,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRCompositor_IVRCompositor_027 *create_winIVRCompositor_IVRCompositor_027(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_027(void *u_iface) { - winIVRCompositor_IVRCompositor_027 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_027)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRCompositor_IVRCompositor_027_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRCompositor_IVRCompositor_027(void *object) +void destroy_winIVRCompositor_IVRCompositor_027(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_027 *create_winIVRCompositor_IVRCompositor_027_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_027_FnTable(void *u_iface) { - winIVRCompositor_IVRCompositor_027 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_027)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(51); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 51 * sizeof(*vtable)); int i; @@ -8345,17 +8218,16 @@ winIVRCompositor_IVRCompositor_027 *create_winIVRCompositor_IVRCompositor_027_Fn init_thunk(&thunks[50], r, winIVRCompositor_IVRCompositor_027_GetPosesForFrame, 3, FALSE, FALSE); for (i = 0; i < 51; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_027_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_027_FnTable(struct w_steam_iface *object) { - winIVRCompositor_IVRCompositor_027 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } diff --git a/vrclient_x64/vrclient_x64/winIVRControlPanel.c b/vrclient_x64/vrclient_x64/winIVRControlPanel.c index 2653836a..1b3c538c 100644 --- a/vrclient_x64/vrclient_x64/winIVRControlPanel.c +++ b/vrclient_x64/vrclient_x64/winIVRControlPanel.c @@ -6,8 +6,6 @@ #include "winbase.h" #include "wine/debug.h" -#include "cxx.h" - #include "vrclient_defs.h" #include "vrclient_private.h" @@ -20,11 +18,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); #include "cppIVRControlPanel_IVRControlPanel_006.h" -typedef struct __winIVRControlPanel_IVRControlPanel_006 { - vtable_ptr *vtable; - void *linux_side; -} winIVRControlPanel_IVRControlPanel_006; - DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc1, 4) DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc2, 16) DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc3, 8) @@ -54,214 +47,214 @@ DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc26, 4) DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc27, 8) DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc28, 12) -uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc1(winIVRControlPanel_IVRControlPanel_006 *_this) +uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc1(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc1(_this->linux_side); + _ret = cppIVRControlPanel_IVRControlPanel_006_undoc1(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc2(winIVRControlPanel_IVRControlPanel_006 *_this, uint32_t a, char *b, uint32_t c) +uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc2(struct w_steam_iface *_this, uint32_t a, char *b, uint32_t c) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc2(_this->linux_side, a, b, c); + _ret = cppIVRControlPanel_IVRControlPanel_006_undoc2(_this->u_iface, a, b, c); return _ret; } -EVRInitError __thiscall winIVRControlPanel_IVRControlPanel_006_undoc3(winIVRControlPanel_IVRControlPanel_006 *_this, const char *a) +EVRInitError __thiscall winIVRControlPanel_IVRControlPanel_006_undoc3(struct w_steam_iface *_this, const char *a) { EVRInitError _ret; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc3(_this->linux_side, a); + _ret = cppIVRControlPanel_IVRControlPanel_006_undoc3(_this->u_iface, a); return _ret; } -uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc4(winIVRControlPanel_IVRControlPanel_006 *_this, const char *a) +uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc4(struct w_steam_iface *_this, const char *a) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc4(_this->linux_side, a); + _ret = cppIVRControlPanel_IVRControlPanel_006_undoc4(_this->u_iface, a); return _ret; } -uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc5(winIVRControlPanel_IVRControlPanel_006 *_this, const char *a, uint32_t b, char *c, uint32_t d) +uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc5(struct w_steam_iface *_this, const char *a, uint32_t b, char *c, uint32_t d) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc5(_this->linux_side, a, b, c, d); + _ret = cppIVRControlPanel_IVRControlPanel_006_undoc5(_this->u_iface, a, b, c, d); return _ret; } -uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc6(winIVRControlPanel_IVRControlPanel_006 *_this, const char *a, const char *b, char *c, uint32_t d) +uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc6(struct w_steam_iface *_this, const char *a, const char *b, char *c, uint32_t d) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc6(_this->linux_side, a, b, c, d); + _ret = cppIVRControlPanel_IVRControlPanel_006_undoc6(_this->u_iface, a, b, c, d); return _ret; } -uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc7(winIVRControlPanel_IVRControlPanel_006 *_this, const char *a, const char *b, char *c, uint32_t d) +uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc7(struct w_steam_iface *_this, const char *a, const char *b, char *c, uint32_t d) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc7(_this->linux_side, a, b, c, d); + _ret = cppIVRControlPanel_IVRControlPanel_006_undoc7(_this->u_iface, a, b, c, d); return _ret; } -bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc8(winIVRControlPanel_IVRControlPanel_006 *_this, uint32_t a) +bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc8(struct w_steam_iface *_this, uint32_t a) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc8(_this->linux_side, a); + _ret = cppIVRControlPanel_IVRControlPanel_006_undoc8(_this->u_iface, a); return _ret; } -void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc9(winIVRControlPanel_IVRControlPanel_006 *_this) +void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc9(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc9(_this->linux_side); + cppIVRControlPanel_IVRControlPanel_006_undoc9(_this->u_iface); } -void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc10(winIVRControlPanel_IVRControlPanel_006 *_this) +void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc10(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc10(_this->linux_side); + cppIVRControlPanel_IVRControlPanel_006_undoc10(_this->u_iface); } -bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc11(winIVRControlPanel_IVRControlPanel_006 *_this, uint32_t a) +bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc11(struct w_steam_iface *_this, uint32_t a) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc11(_this->linux_side, a); + _ret = cppIVRControlPanel_IVRControlPanel_006_undoc11(_this->u_iface, a); return _ret; } -void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc12(winIVRControlPanel_IVRControlPanel_006 *_this) +void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc12(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc12(_this->linux_side); + cppIVRControlPanel_IVRControlPanel_006_undoc12(_this->u_iface); } -void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc13(winIVRControlPanel_IVRControlPanel_006 *_this, TrackedDeviceIndex_t a) +void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc13(struct w_steam_iface *_this, TrackedDeviceIndex_t a) { TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc13(_this->linux_side, a); + cppIVRControlPanel_IVRControlPanel_006_undoc13(_this->u_iface, a); } -void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc14(winIVRControlPanel_IVRControlPanel_006 *_this, EVRState a) +void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc14(struct w_steam_iface *_this, EVRState a) { TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc14(_this->linux_side, a); + cppIVRControlPanel_IVRControlPanel_006_undoc14(_this->u_iface, a); } -EVRState __thiscall winIVRControlPanel_IVRControlPanel_006_undoc15(winIVRControlPanel_IVRControlPanel_006 *_this) +EVRState __thiscall winIVRControlPanel_IVRControlPanel_006_undoc15(struct w_steam_iface *_this) { EVRState _ret; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc15(_this->linux_side); + _ret = cppIVRControlPanel_IVRControlPanel_006_undoc15(_this->u_iface); return _ret; } -void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc16(winIVRControlPanel_IVRControlPanel_006 *_this, bool a) +void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc16(struct w_steam_iface *_this, bool a) { TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc16(_this->linux_side, a); + cppIVRControlPanel_IVRControlPanel_006_undoc16(_this->u_iface, a); } -bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc17(winIVRControlPanel_IVRControlPanel_006 *_this) +bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc17(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc17(_this->linux_side); + _ret = cppIVRControlPanel_IVRControlPanel_006_undoc17(_this->u_iface); return _ret; } -EVRApplicationError __thiscall winIVRControlPanel_IVRControlPanel_006_undoc18(winIVRControlPanel_IVRControlPanel_006 *_this) +EVRApplicationError __thiscall winIVRControlPanel_IVRControlPanel_006_undoc18(struct w_steam_iface *_this) { EVRApplicationError _ret; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc18(_this->linux_side); + _ret = cppIVRControlPanel_IVRControlPanel_006_undoc18(_this->u_iface); return _ret; } -void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc19(winIVRControlPanel_IVRControlPanel_006 *_this, bool a) +void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc19(struct w_steam_iface *_this, bool a) { TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc19(_this->linux_side, a); + cppIVRControlPanel_IVRControlPanel_006_undoc19(_this->u_iface, a); } -bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc20(winIVRControlPanel_IVRControlPanel_006 *_this) +bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc20(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc20(_this->linux_side); + _ret = cppIVRControlPanel_IVRControlPanel_006_undoc20(_this->u_iface); return _ret; } -EVRInitError __thiscall winIVRControlPanel_IVRControlPanel_006_undoc21(winIVRControlPanel_IVRControlPanel_006 *_this) +EVRInitError __thiscall winIVRControlPanel_IVRControlPanel_006_undoc21(struct w_steam_iface *_this) { EVRInitError _ret; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc21(_this->linux_side); + _ret = cppIVRControlPanel_IVRControlPanel_006_undoc21(_this->u_iface); return _ret; } -void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc22(winIVRControlPanel_IVRControlPanel_006 *_this, WebConsoleHandle_t a, const char *b, uint32_t c, uint32_t d, const char *e) +void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc22(struct w_steam_iface *_this, WebConsoleHandle_t a, const char *b, uint32_t c, uint32_t d, const char *e) { TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc22(_this->linux_side, a, b, c, d, e); + cppIVRControlPanel_IVRControlPanel_006_undoc22(_this->u_iface, a, b, c, d, e); } -bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc23(winIVRControlPanel_IVRControlPanel_006 *_this, const char *a) +bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc23(struct w_steam_iface *_this, const char *a) { bool _ret; char lin_a[PATH_MAX]; vrclient_dos_path_to_unix_path(a, lin_a); TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc23(_this->linux_side, a ? lin_a : NULL); + _ret = cppIVRControlPanel_IVRControlPanel_006_undoc23(_this->u_iface, a ? lin_a : NULL); return _ret; } -bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc24(winIVRControlPanel_IVRControlPanel_006 *_this) +bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc24(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc24(_this->linux_side); + _ret = cppIVRControlPanel_IVRControlPanel_006_undoc24(_this->u_iface); return _ret; } -bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc25(winIVRControlPanel_IVRControlPanel_006 *_this, bool a) +bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc25(struct w_steam_iface *_this, bool a) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc25(_this->linux_side, a); + _ret = cppIVRControlPanel_IVRControlPanel_006_undoc25(_this->u_iface, a); return _ret; } -uint64_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc26(winIVRControlPanel_IVRControlPanel_006 *_this) +uint64_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc26(struct w_steam_iface *_this) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc26(_this->linux_side); + _ret = cppIVRControlPanel_IVRControlPanel_006_undoc26(_this->u_iface); return _ret; } -EVRCompositorError __thiscall winIVRControlPanel_IVRControlPanel_006_undoc27(winIVRControlPanel_IVRControlPanel_006 *_this, const char *a) +EVRCompositorError __thiscall winIVRControlPanel_IVRControlPanel_006_undoc27(struct w_steam_iface *_this, const char *a) { EVRCompositorError _ret; char lin_a[PATH_MAX]; vrclient_dos_path_to_unix_path(a, lin_a); TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc27(_this->linux_side, a ? lin_a : NULL); + _ret = cppIVRControlPanel_IVRControlPanel_006_undoc27(_this->u_iface, a ? lin_a : NULL); return _ret; } -void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc28(winIVRControlPanel_IVRControlPanel_006 *_this, VROverlayHandle_t a) +void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc28(struct w_steam_iface *_this, VROverlayHandle_t a) { TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc28(_this->linux_side, a); + cppIVRControlPanel_IVRControlPanel_006_undoc28(_this->u_iface, a); } extern vtable_ptr winIVRControlPanel_IVRControlPanel_006_vtable; @@ -303,24 +296,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRControlPanel_IVRControlPanel_006 *create_winIVRControlPanel_IVRControlPanel_006(void *linux_side) +struct w_steam_iface *create_winIVRControlPanel_IVRControlPanel_006(void *u_iface) { - winIVRControlPanel_IVRControlPanel_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRControlPanel_IVRControlPanel_006)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRControlPanel_IVRControlPanel_006_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRControlPanel_IVRControlPanel_006(void *object) +void destroy_winIVRControlPanel_IVRControlPanel_006(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRControlPanel_IVRControlPanel_006 *create_winIVRControlPanel_IVRControlPanel_006_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRControlPanel_IVRControlPanel_006_FnTable(void *u_iface) { - winIVRControlPanel_IVRControlPanel_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRControlPanel_IVRControlPanel_006)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(28); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 28 * sizeof(*vtable)); int i; @@ -356,17 +349,16 @@ winIVRControlPanel_IVRControlPanel_006 *create_winIVRControlPanel_IVRControlPane init_thunk(&thunks[27], r, winIVRControlPanel_IVRControlPanel_006_undoc28, 1, FALSE, FALSE); for (i = 0; i < 28; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRControlPanel_IVRControlPanel_006_FnTable(void *object) +void destroy_winIVRControlPanel_IVRControlPanel_006_FnTable(struct w_steam_iface *object) { - winIVRControlPanel_IVRControlPanel_006 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } diff --git a/vrclient_x64/vrclient_x64/winIVRDriverManager.c b/vrclient_x64/vrclient_x64/winIVRDriverManager.c index b4768b53..ba0d1db0 100644 --- a/vrclient_x64/vrclient_x64/winIVRDriverManager.c +++ b/vrclient_x64/vrclient_x64/winIVRDriverManager.c @@ -6,8 +6,6 @@ #include "winbase.h" #include "wine/debug.h" -#include "cxx.h" - #include "vrclient_defs.h" #include "vrclient_private.h" @@ -20,45 +18,40 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); #include "cppIVRDriverManager_IVRDriverManager_001.h" -typedef struct __winIVRDriverManager_IVRDriverManager_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVRDriverManager_IVRDriverManager_001; - DEFINE_THISCALL_WRAPPER(winIVRDriverManager_IVRDriverManager_001_GetDriverCount, 4) DEFINE_THISCALL_WRAPPER(winIVRDriverManager_IVRDriverManager_001_GetDriverName, 16) DEFINE_THISCALL_WRAPPER(winIVRDriverManager_IVRDriverManager_001_GetDriverHandle, 8) DEFINE_THISCALL_WRAPPER(winIVRDriverManager_IVRDriverManager_001_IsEnabled, 8) -uint32_t __thiscall winIVRDriverManager_IVRDriverManager_001_GetDriverCount(winIVRDriverManager_IVRDriverManager_001 *_this) +uint32_t __thiscall winIVRDriverManager_IVRDriverManager_001_GetDriverCount(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRDriverManager_IVRDriverManager_001_GetDriverCount(_this->linux_side); + _ret = cppIVRDriverManager_IVRDriverManager_001_GetDriverCount(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRDriverManager_IVRDriverManager_001_GetDriverName(winIVRDriverManager_IVRDriverManager_001 *_this, DriverId_t nDriver, char *pchValue, uint32_t unBufferSize) +uint32_t __thiscall winIVRDriverManager_IVRDriverManager_001_GetDriverName(struct w_steam_iface *_this, DriverId_t nDriver, char *pchValue, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRDriverManager_IVRDriverManager_001_GetDriverName(_this->linux_side, nDriver, pchValue, unBufferSize); + _ret = cppIVRDriverManager_IVRDriverManager_001_GetDriverName(_this->u_iface, nDriver, pchValue, unBufferSize); return _ret; } -DriverHandle_t __thiscall winIVRDriverManager_IVRDriverManager_001_GetDriverHandle(winIVRDriverManager_IVRDriverManager_001 *_this, const char *pchDriverName) +DriverHandle_t __thiscall winIVRDriverManager_IVRDriverManager_001_GetDriverHandle(struct w_steam_iface *_this, const char *pchDriverName) { DriverHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVRDriverManager_IVRDriverManager_001_GetDriverHandle(_this->linux_side, pchDriverName); + _ret = cppIVRDriverManager_IVRDriverManager_001_GetDriverHandle(_this->u_iface, pchDriverName); return _ret; } -bool __thiscall winIVRDriverManager_IVRDriverManager_001_IsEnabled(winIVRDriverManager_IVRDriverManager_001 *_this, DriverId_t nDriver) +bool __thiscall winIVRDriverManager_IVRDriverManager_001_IsEnabled(struct w_steam_iface *_this, DriverId_t nDriver) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRDriverManager_IVRDriverManager_001_IsEnabled(_this->linux_side, nDriver); + _ret = cppIVRDriverManager_IVRDriverManager_001_IsEnabled(_this->u_iface, nDriver); return _ret; } @@ -77,24 +70,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRDriverManager_IVRDriverManager_001 *create_winIVRDriverManager_IVRDriverManager_001(void *linux_side) +struct w_steam_iface *create_winIVRDriverManager_IVRDriverManager_001(void *u_iface) { - winIVRDriverManager_IVRDriverManager_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRDriverManager_IVRDriverManager_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRDriverManager_IVRDriverManager_001_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRDriverManager_IVRDriverManager_001(void *object) +void destroy_winIVRDriverManager_IVRDriverManager_001(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRDriverManager_IVRDriverManager_001 *create_winIVRDriverManager_IVRDriverManager_001_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRDriverManager_IVRDriverManager_001_FnTable(void *u_iface) { - winIVRDriverManager_IVRDriverManager_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRDriverManager_IVRDriverManager_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(4); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 4 * sizeof(*vtable)); int i; @@ -106,17 +99,16 @@ winIVRDriverManager_IVRDriverManager_001 *create_winIVRDriverManager_IVRDriverMa init_thunk(&thunks[3], r, winIVRDriverManager_IVRDriverManager_001_IsEnabled, 1, FALSE, FALSE); for (i = 0; i < 4; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRDriverManager_IVRDriverManager_001_FnTable(void *object) +void destroy_winIVRDriverManager_IVRDriverManager_001_FnTable(struct w_steam_iface *object) { - winIVRDriverManager_IVRDriverManager_001 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } diff --git a/vrclient_x64/vrclient_x64/winIVRExtendedDisplay.c b/vrclient_x64/vrclient_x64/winIVRExtendedDisplay.c index 860a1e5c..f8ee6a82 100644 --- a/vrclient_x64/vrclient_x64/winIVRExtendedDisplay.c +++ b/vrclient_x64/vrclient_x64/winIVRExtendedDisplay.c @@ -6,8 +6,6 @@ #include "winbase.h" #include "wine/debug.h" -#include "cxx.h" - #include "vrclient_defs.h" #include "vrclient_private.h" @@ -20,31 +18,26 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); #include "cppIVRExtendedDisplay_IVRExtendedDisplay_001.h" -typedef struct __winIVRExtendedDisplay_IVRExtendedDisplay_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVRExtendedDisplay_IVRExtendedDisplay_001; - DEFINE_THISCALL_WRAPPER(winIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds, 20) DEFINE_THISCALL_WRAPPER(winIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport, 24) DEFINE_THISCALL_WRAPPER(winIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo, 12) -void __thiscall winIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds(winIVRExtendedDisplay_IVRExtendedDisplay_001 *_this, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds(struct w_steam_iface *_this, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds(_this->linux_side, pnX, pnY, pnWidth, pnHeight); + cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds(_this->u_iface, pnX, pnY, pnWidth, pnHeight); } -void __thiscall winIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport(winIVRExtendedDisplay_IVRExtendedDisplay_001 *_this, EVREye eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport(struct w_steam_iface *_this, EVREye eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport(_this->linux_side, eEye, pnX, pnY, pnWidth, pnHeight); + cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport(_this->u_iface, eEye, pnX, pnY, pnWidth, pnHeight); } -void __thiscall winIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo(winIVRExtendedDisplay_IVRExtendedDisplay_001 *_this, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex) +void __thiscall winIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex) { TRACE("%p\n", _this); - cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo(_this->linux_side, pnAdapterIndex, pnAdapterOutputIndex); + cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo(_this->u_iface, pnAdapterIndex, pnAdapterOutputIndex); } extern vtable_ptr winIVRExtendedDisplay_IVRExtendedDisplay_001_vtable; @@ -61,24 +54,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRExtendedDisplay_IVRExtendedDisplay_001 *create_winIVRExtendedDisplay_IVRExtendedDisplay_001(void *linux_side) +struct w_steam_iface *create_winIVRExtendedDisplay_IVRExtendedDisplay_001(void *u_iface) { - winIVRExtendedDisplay_IVRExtendedDisplay_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRExtendedDisplay_IVRExtendedDisplay_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRExtendedDisplay_IVRExtendedDisplay_001_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001(void *object) +void destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRExtendedDisplay_IVRExtendedDisplay_001 *create_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable(void *u_iface) { - winIVRExtendedDisplay_IVRExtendedDisplay_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRExtendedDisplay_IVRExtendedDisplay_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(3); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 3 * sizeof(*vtable)); int i; @@ -89,17 +82,16 @@ winIVRExtendedDisplay_IVRExtendedDisplay_001 *create_winIVRExtendedDisplay_IVREx init_thunk(&thunks[2], r, winIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo, 2, FALSE, FALSE); for (i = 0; i < 3; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable(void *object) +void destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable(struct w_steam_iface *object) { - winIVRExtendedDisplay_IVRExtendedDisplay_001 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } diff --git a/vrclient_x64/vrclient_x64/winIVRHeadsetView.c b/vrclient_x64/vrclient_x64/winIVRHeadsetView.c index e526ec68..7cdfab7b 100644 --- a/vrclient_x64/vrclient_x64/winIVRHeadsetView.c +++ b/vrclient_x64/vrclient_x64/winIVRHeadsetView.c @@ -6,8 +6,6 @@ #include "winbase.h" #include "wine/debug.h" -#include "cxx.h" - #include "vrclient_defs.h" #include "vrclient_private.h" @@ -20,11 +18,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); #include "cppIVRHeadsetView_IVRHeadsetView_001.h" -typedef struct __winIVRHeadsetView_IVRHeadsetView_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVRHeadsetView_IVRHeadsetView_001; - DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize, 12) DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize, 12) DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode, 8) @@ -35,64 +28,64 @@ DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspec DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange, 12) DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange, 12) -void __thiscall winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize(winIVRHeadsetView_IVRHeadsetView_001 *_this, uint32_t nWidth, uint32_t nHeight) +void __thiscall winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize(struct w_steam_iface *_this, uint32_t nWidth, uint32_t nHeight) { TRACE("%p\n", _this); - cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize(_this->linux_side, nWidth, nHeight); + cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize(_this->u_iface, nWidth, nHeight); } -void __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize(winIVRHeadsetView_IVRHeadsetView_001 *_this, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize(_this->linux_side, pnWidth, pnHeight); + cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize(_this->u_iface, pnWidth, pnHeight); } -void __thiscall winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode(winIVRHeadsetView_IVRHeadsetView_001 *_this, HeadsetViewMode_t eHeadsetViewMode) +void __thiscall winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode(struct w_steam_iface *_this, HeadsetViewMode_t eHeadsetViewMode) { TRACE("%p\n", _this); - cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode(_this->linux_side, eHeadsetViewMode); + cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode(_this->u_iface, eHeadsetViewMode); } -HeadsetViewMode_t __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode(winIVRHeadsetView_IVRHeadsetView_001 *_this) +HeadsetViewMode_t __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode(struct w_steam_iface *_this) { HeadsetViewMode_t _ret; TRACE("%p\n", _this); - _ret = cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode(_this->linux_side); + _ret = cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode(_this->u_iface); return _ret; } -void __thiscall winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped(winIVRHeadsetView_IVRHeadsetView_001 *_this, bool bCropped) +void __thiscall winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped(struct w_steam_iface *_this, bool bCropped) { TRACE("%p\n", _this); - cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped(_this->linux_side, bCropped); + cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped(_this->u_iface, bCropped); } -bool __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped(winIVRHeadsetView_IVRHeadsetView_001 *_this) +bool __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped(_this->linux_side); + _ret = cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped(_this->u_iface); return _ret; } -float __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio(winIVRHeadsetView_IVRHeadsetView_001 *_this) +float __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio(struct w_steam_iface *_this) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio(_this->linux_side); + _ret = cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio(_this->u_iface); return _ret; } -void __thiscall winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange(winIVRHeadsetView_IVRHeadsetView_001 *_this, float flStartPct, float flEndPct) +void __thiscall winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange(struct w_steam_iface *_this, float flStartPct, float flEndPct) { TRACE("%p\n", _this); - cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange(_this->linux_side, flStartPct, flEndPct); + cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange(_this->u_iface, flStartPct, flEndPct); } -void __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange(winIVRHeadsetView_IVRHeadsetView_001 *_this, float *pStartPct, float *pEndPct) +void __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange(struct w_steam_iface *_this, float *pStartPct, float *pEndPct) { TRACE("%p\n", _this); - cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange(_this->linux_side, pStartPct, pEndPct); + cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange(_this->u_iface, pStartPct, pEndPct); } extern vtable_ptr winIVRHeadsetView_IVRHeadsetView_001_vtable; @@ -115,24 +108,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRHeadsetView_IVRHeadsetView_001 *create_winIVRHeadsetView_IVRHeadsetView_001(void *linux_side) +struct w_steam_iface *create_winIVRHeadsetView_IVRHeadsetView_001(void *u_iface) { - winIVRHeadsetView_IVRHeadsetView_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRHeadsetView_IVRHeadsetView_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRHeadsetView_IVRHeadsetView_001_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRHeadsetView_IVRHeadsetView_001(void *object) +void destroy_winIVRHeadsetView_IVRHeadsetView_001(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRHeadsetView_IVRHeadsetView_001 *create_winIVRHeadsetView_IVRHeadsetView_001_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRHeadsetView_IVRHeadsetView_001_FnTable(void *u_iface) { - winIVRHeadsetView_IVRHeadsetView_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRHeadsetView_IVRHeadsetView_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(9); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 9 * sizeof(*vtable)); int i; @@ -149,17 +142,16 @@ winIVRHeadsetView_IVRHeadsetView_001 *create_winIVRHeadsetView_IVRHeadsetView_00 init_thunk(&thunks[8], r, winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange, 2, FALSE, FALSE); for (i = 0; i < 9; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRHeadsetView_IVRHeadsetView_001_FnTable(void *object) +void destroy_winIVRHeadsetView_IVRHeadsetView_001_FnTable(struct w_steam_iface *object) { - winIVRHeadsetView_IVRHeadsetView_001 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } diff --git a/vrclient_x64/vrclient_x64/winIVRIOBuffer.c b/vrclient_x64/vrclient_x64/winIVRIOBuffer.c index f1aac1ee..dd264ff0 100644 --- a/vrclient_x64/vrclient_x64/winIVRIOBuffer.c +++ b/vrclient_x64/vrclient_x64/winIVRIOBuffer.c @@ -6,8 +6,6 @@ #include "winbase.h" #include "wine/debug.h" -#include "cxx.h" - #include "vrclient_defs.h" #include "vrclient_private.h" @@ -20,54 +18,49 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); #include "cppIVRIOBuffer_IVRIOBuffer_001.h" -typedef struct __winIVRIOBuffer_IVRIOBuffer_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVRIOBuffer_IVRIOBuffer_001; - DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_Open, 24) DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_Close, 12) DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_Read, 24) DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_Write, 20) DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_PropertyContainer, 12) -EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Open(winIVRIOBuffer_IVRIOBuffer_001 *_this, const char *pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t *pulBuffer) +EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Open(struct w_steam_iface *_this, const char *pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t *pulBuffer) { EIOBufferError _ret; TRACE("%p\n", _this); - _ret = cppIVRIOBuffer_IVRIOBuffer_001_Open(_this->linux_side, pchPath, mode, unElementSize, unElements, pulBuffer); + _ret = cppIVRIOBuffer_IVRIOBuffer_001_Open(_this->u_iface, pchPath, mode, unElementSize, unElements, pulBuffer); return _ret; } -EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Close(winIVRIOBuffer_IVRIOBuffer_001 *_this, IOBufferHandle_t ulBuffer) +EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Close(struct w_steam_iface *_this, IOBufferHandle_t ulBuffer) { EIOBufferError _ret; TRACE("%p\n", _this); - _ret = cppIVRIOBuffer_IVRIOBuffer_001_Close(_this->linux_side, ulBuffer); + _ret = cppIVRIOBuffer_IVRIOBuffer_001_Close(_this->u_iface, ulBuffer); return _ret; } -EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Read(winIVRIOBuffer_IVRIOBuffer_001 *_this, IOBufferHandle_t ulBuffer, void *pDst, uint32_t unBytes, uint32_t *punRead) +EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Read(struct w_steam_iface *_this, IOBufferHandle_t ulBuffer, void *pDst, uint32_t unBytes, uint32_t *punRead) { EIOBufferError _ret; TRACE("%p\n", _this); - _ret = cppIVRIOBuffer_IVRIOBuffer_001_Read(_this->linux_side, ulBuffer, pDst, unBytes, punRead); + _ret = cppIVRIOBuffer_IVRIOBuffer_001_Read(_this->u_iface, ulBuffer, pDst, unBytes, punRead); return _ret; } -EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Write(winIVRIOBuffer_IVRIOBuffer_001 *_this, IOBufferHandle_t ulBuffer, void *pSrc, uint32_t unBytes) +EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Write(struct w_steam_iface *_this, IOBufferHandle_t ulBuffer, void *pSrc, uint32_t unBytes) { EIOBufferError _ret; TRACE("%p\n", _this); - _ret = cppIVRIOBuffer_IVRIOBuffer_001_Write(_this->linux_side, ulBuffer, pSrc, unBytes); + _ret = cppIVRIOBuffer_IVRIOBuffer_001_Write(_this->u_iface, ulBuffer, pSrc, unBytes); return _ret; } -PropertyContainerHandle_t __thiscall winIVRIOBuffer_IVRIOBuffer_001_PropertyContainer(winIVRIOBuffer_IVRIOBuffer_001 *_this, IOBufferHandle_t ulBuffer) +PropertyContainerHandle_t __thiscall winIVRIOBuffer_IVRIOBuffer_001_PropertyContainer(struct w_steam_iface *_this, IOBufferHandle_t ulBuffer) { PropertyContainerHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVRIOBuffer_IVRIOBuffer_001_PropertyContainer(_this->linux_side, ulBuffer); + _ret = cppIVRIOBuffer_IVRIOBuffer_001_PropertyContainer(_this->u_iface, ulBuffer); return _ret; } @@ -87,24 +80,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRIOBuffer_IVRIOBuffer_001 *create_winIVRIOBuffer_IVRIOBuffer_001(void *linux_side) +struct w_steam_iface *create_winIVRIOBuffer_IVRIOBuffer_001(void *u_iface) { - winIVRIOBuffer_IVRIOBuffer_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRIOBuffer_IVRIOBuffer_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRIOBuffer_IVRIOBuffer_001_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRIOBuffer_IVRIOBuffer_001(void *object) +void destroy_winIVRIOBuffer_IVRIOBuffer_001(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRIOBuffer_IVRIOBuffer_001 *create_winIVRIOBuffer_IVRIOBuffer_001_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRIOBuffer_IVRIOBuffer_001_FnTable(void *u_iface) { - winIVRIOBuffer_IVRIOBuffer_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRIOBuffer_IVRIOBuffer_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(5); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 5 * sizeof(*vtable)); int i; @@ -117,27 +110,21 @@ winIVRIOBuffer_IVRIOBuffer_001 *create_winIVRIOBuffer_IVRIOBuffer_001_FnTable(vo init_thunk(&thunks[4], r, winIVRIOBuffer_IVRIOBuffer_001_PropertyContainer, 1, FALSE, FALSE); for (i = 0; i < 5; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRIOBuffer_IVRIOBuffer_001_FnTable(void *object) +void destroy_winIVRIOBuffer_IVRIOBuffer_001_FnTable(struct w_steam_iface *object) { - winIVRIOBuffer_IVRIOBuffer_001 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRIOBuffer_IVRIOBuffer_002.h" -typedef struct __winIVRIOBuffer_IVRIOBuffer_002 { - vtable_ptr *vtable; - void *linux_side; -} winIVRIOBuffer_IVRIOBuffer_002; - DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_002_Open, 24) DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_002_Close, 12) DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_002_Read, 24) @@ -145,51 +132,51 @@ DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_002_Write, 20) DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_002_PropertyContainer, 12) DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_002_HasReaders, 12) -EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_002_Open(winIVRIOBuffer_IVRIOBuffer_002 *_this, const char *pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t *pulBuffer) +EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_002_Open(struct w_steam_iface *_this, const char *pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t *pulBuffer) { EIOBufferError _ret; TRACE("%p\n", _this); - _ret = cppIVRIOBuffer_IVRIOBuffer_002_Open(_this->linux_side, pchPath, mode, unElementSize, unElements, pulBuffer); + _ret = cppIVRIOBuffer_IVRIOBuffer_002_Open(_this->u_iface, pchPath, mode, unElementSize, unElements, pulBuffer); return _ret; } -EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_002_Close(winIVRIOBuffer_IVRIOBuffer_002 *_this, IOBufferHandle_t ulBuffer) +EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_002_Close(struct w_steam_iface *_this, IOBufferHandle_t ulBuffer) { EIOBufferError _ret; TRACE("%p\n", _this); - _ret = cppIVRIOBuffer_IVRIOBuffer_002_Close(_this->linux_side, ulBuffer); + _ret = cppIVRIOBuffer_IVRIOBuffer_002_Close(_this->u_iface, ulBuffer); return _ret; } -EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_002_Read(winIVRIOBuffer_IVRIOBuffer_002 *_this, IOBufferHandle_t ulBuffer, void *pDst, uint32_t unBytes, uint32_t *punRead) +EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_002_Read(struct w_steam_iface *_this, IOBufferHandle_t ulBuffer, void *pDst, uint32_t unBytes, uint32_t *punRead) { EIOBufferError _ret; TRACE("%p\n", _this); - _ret = cppIVRIOBuffer_IVRIOBuffer_002_Read(_this->linux_side, ulBuffer, pDst, unBytes, punRead); + _ret = cppIVRIOBuffer_IVRIOBuffer_002_Read(_this->u_iface, ulBuffer, pDst, unBytes, punRead); return _ret; } -EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_002_Write(winIVRIOBuffer_IVRIOBuffer_002 *_this, IOBufferHandle_t ulBuffer, void *pSrc, uint32_t unBytes) +EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_002_Write(struct w_steam_iface *_this, IOBufferHandle_t ulBuffer, void *pSrc, uint32_t unBytes) { EIOBufferError _ret; TRACE("%p\n", _this); - _ret = cppIVRIOBuffer_IVRIOBuffer_002_Write(_this->linux_side, ulBuffer, pSrc, unBytes); + _ret = cppIVRIOBuffer_IVRIOBuffer_002_Write(_this->u_iface, ulBuffer, pSrc, unBytes); return _ret; } -PropertyContainerHandle_t __thiscall winIVRIOBuffer_IVRIOBuffer_002_PropertyContainer(winIVRIOBuffer_IVRIOBuffer_002 *_this, IOBufferHandle_t ulBuffer) +PropertyContainerHandle_t __thiscall winIVRIOBuffer_IVRIOBuffer_002_PropertyContainer(struct w_steam_iface *_this, IOBufferHandle_t ulBuffer) { PropertyContainerHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVRIOBuffer_IVRIOBuffer_002_PropertyContainer(_this->linux_side, ulBuffer); + _ret = cppIVRIOBuffer_IVRIOBuffer_002_PropertyContainer(_this->u_iface, ulBuffer); return _ret; } -bool __thiscall winIVRIOBuffer_IVRIOBuffer_002_HasReaders(winIVRIOBuffer_IVRIOBuffer_002 *_this, IOBufferHandle_t ulBuffer) +bool __thiscall winIVRIOBuffer_IVRIOBuffer_002_HasReaders(struct w_steam_iface *_this, IOBufferHandle_t ulBuffer) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRIOBuffer_IVRIOBuffer_002_HasReaders(_this->linux_side, ulBuffer); + _ret = cppIVRIOBuffer_IVRIOBuffer_002_HasReaders(_this->u_iface, ulBuffer); return _ret; } @@ -210,24 +197,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRIOBuffer_IVRIOBuffer_002 *create_winIVRIOBuffer_IVRIOBuffer_002(void *linux_side) +struct w_steam_iface *create_winIVRIOBuffer_IVRIOBuffer_002(void *u_iface) { - winIVRIOBuffer_IVRIOBuffer_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRIOBuffer_IVRIOBuffer_002)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRIOBuffer_IVRIOBuffer_002_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRIOBuffer_IVRIOBuffer_002(void *object) +void destroy_winIVRIOBuffer_IVRIOBuffer_002(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRIOBuffer_IVRIOBuffer_002 *create_winIVRIOBuffer_IVRIOBuffer_002_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRIOBuffer_IVRIOBuffer_002_FnTable(void *u_iface) { - winIVRIOBuffer_IVRIOBuffer_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRIOBuffer_IVRIOBuffer_002)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(6); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 6 * sizeof(*vtable)); int i; @@ -241,17 +228,16 @@ winIVRIOBuffer_IVRIOBuffer_002 *create_winIVRIOBuffer_IVRIOBuffer_002_FnTable(vo init_thunk(&thunks[5], r, winIVRIOBuffer_IVRIOBuffer_002_HasReaders, 1, FALSE, FALSE); for (i = 0; i < 6; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRIOBuffer_IVRIOBuffer_002_FnTable(void *object) +void destroy_winIVRIOBuffer_IVRIOBuffer_002_FnTable(struct w_steam_iface *object) { - winIVRIOBuffer_IVRIOBuffer_002 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } diff --git a/vrclient_x64/vrclient_x64/winIVRInput.c b/vrclient_x64/vrclient_x64/winIVRInput.c index 96b09723..e895e4fc 100644 --- a/vrclient_x64/vrclient_x64/winIVRInput.c +++ b/vrclient_x64/vrclient_x64/winIVRInput.c @@ -6,8 +6,6 @@ #include "winbase.h" #include "wine/debug.h" -#include "cxx.h" - #include "vrclient_defs.h" #include "vrclient_private.h" @@ -20,11 +18,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); #include "cppIVRInput_IVRInput_003.h" -typedef struct __winIVRInput_IVRInput_003 { - vtable_ptr *vtable; - void *linux_side; -} winIVRInput_IVRInput_003; - DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_SetActionManifestPath, 8) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetActionSetHandle, 12) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetActionHandle, 12) @@ -43,141 +36,141 @@ DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo, 20) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_ShowActionOrigins, 20) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_ShowBindingsForActionSet, 24) -EVRInputError __thiscall winIVRInput_IVRInput_003_SetActionManifestPath(winIVRInput_IVRInput_003 *_this, const char *pchActionManifestPath) +EVRInputError __thiscall winIVRInput_IVRInput_003_SetActionManifestPath(struct w_steam_iface *_this, const char *pchActionManifestPath) { EVRInputError _ret; char lin_pchActionManifestPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchActionManifestPath, lin_pchActionManifestPath); TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_SetActionManifestPath(_this->linux_side, pchActionManifestPath ? lin_pchActionManifestPath : NULL); + _ret = cppIVRInput_IVRInput_003_SetActionManifestPath(_this->u_iface, pchActionManifestPath ? lin_pchActionManifestPath : NULL); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_003_GetActionSetHandle(winIVRInput_IVRInput_003 *_this, const char *pchActionSetName, VRActionSetHandle_t *pHandle) +EVRInputError __thiscall winIVRInput_IVRInput_003_GetActionSetHandle(struct w_steam_iface *_this, const char *pchActionSetName, VRActionSetHandle_t *pHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_GetActionSetHandle(_this->linux_side, pchActionSetName, pHandle); + _ret = cppIVRInput_IVRInput_003_GetActionSetHandle(_this->u_iface, pchActionSetName, pHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_003_GetActionHandle(winIVRInput_IVRInput_003 *_this, const char *pchActionName, VRActionHandle_t *pHandle) +EVRInputError __thiscall winIVRInput_IVRInput_003_GetActionHandle(struct w_steam_iface *_this, const char *pchActionName, VRActionHandle_t *pHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_GetActionHandle(_this->linux_side, pchActionName, pHandle); + _ret = cppIVRInput_IVRInput_003_GetActionHandle(_this->u_iface, pchActionName, pHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_003_GetInputSourceHandle(winIVRInput_IVRInput_003 *_this, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) +EVRInputError __thiscall winIVRInput_IVRInput_003_GetInputSourceHandle(struct w_steam_iface *_this, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_GetInputSourceHandle(_this->linux_side, pchInputSourcePath, pHandle); + _ret = cppIVRInput_IVRInput_003_GetInputSourceHandle(_this->u_iface, pchInputSourcePath, pHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_003_UpdateActionState(winIVRInput_IVRInput_003 *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +EVRInputError __thiscall winIVRInput_IVRInput_003_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_UpdateActionState(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); + _ret = cppIVRInput_IVRInput_003_UpdateActionState(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_003_GetDigitalActionData(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, winInputDigitalActionData_t_1015 *pActionData, uint32_t unActionDataSize) +EVRInputError __thiscall winIVRInput_IVRInput_003_GetDigitalActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputDigitalActionData_t_1015 *pActionData, uint32_t unActionDataSize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_GetDigitalActionData(_this->linux_side, action, pActionData, unActionDataSize); + _ret = cppIVRInput_IVRInput_003_GetDigitalActionData(_this->u_iface, action, pActionData, unActionDataSize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_003_GetAnalogActionData(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, winInputAnalogActionData_t_1015 *pActionData, uint32_t unActionDataSize) +EVRInputError __thiscall winIVRInput_IVRInput_003_GetAnalogActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputAnalogActionData_t_1015 *pActionData, uint32_t unActionDataSize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_GetAnalogActionData(_this->linux_side, action, pActionData, unActionDataSize); + _ret = cppIVRInput_IVRInput_003_GetAnalogActionData(_this->u_iface, action, pActionData, unActionDataSize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_003_GetPoseActionData(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1015 *pActionData, uint32_t unActionDataSize) +EVRInputError __thiscall winIVRInput_IVRInput_003_GetPoseActionData(struct w_steam_iface *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1015 *pActionData, uint32_t unActionDataSize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_GetPoseActionData(_this->linux_side, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize); + _ret = cppIVRInput_IVRInput_003_GetPoseActionData(_this->u_iface, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_003_GetSkeletalActionData(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, winInputSkeletonActionData_t_1015 *pActionData, uint32_t unActionDataSize, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +EVRInputError __thiscall winIVRInput_IVRInput_003_GetSkeletalActionData(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, winInputSkeletonActionData_t_1015 *pActionData, uint32_t unActionDataSize, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_GetSkeletalActionData(_this->linux_side, action, eBoneParent, fPredictedSecondsFromNow, pActionData, unActionDataSize, pTransformArray, unTransformArrayCount); + _ret = cppIVRInput_IVRInput_003_GetSkeletalActionData(_this->u_iface, action, eBoneParent, fPredictedSecondsFromNow, pActionData, unActionDataSize, pTransformArray, unTransformArrayCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_003_GetSkeletalActionDataCompressed(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize) +EVRInputError __thiscall winIVRInput_IVRInput_003_GetSkeletalActionDataCompressed(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_GetSkeletalActionDataCompressed(_this->linux_side, action, eBoneParent, fPredictedSecondsFromNow, pvCompressedData, unCompressedSize, punRequiredCompressedSize); + _ret = cppIVRInput_IVRInput_003_GetSkeletalActionDataCompressed(_this->u_iface, action, eBoneParent, fPredictedSecondsFromNow, pvCompressedData, unCompressedSize, punRequiredCompressedSize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_003_UncompressSkeletalActionData(winIVRInput_IVRInput_003 *_this, void *pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace *peBoneParent, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +EVRInputError __thiscall winIVRInput_IVRInput_003_UncompressSkeletalActionData(struct w_steam_iface *_this, void *pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace *peBoneParent, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_UncompressSkeletalActionData(_this->linux_side, pvCompressedBuffer, unCompressedBufferSize, peBoneParent, pTransformArray, unTransformArrayCount); + _ret = cppIVRInput_IVRInput_003_UncompressSkeletalActionData(_this->u_iface, pvCompressedBuffer, unCompressedBufferSize, peBoneParent, pTransformArray, unTransformArrayCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_003_TriggerHapticVibrationAction(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude) +EVRInputError __thiscall winIVRInput_IVRInput_003_TriggerHapticVibrationAction(struct w_steam_iface *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_TriggerHapticVibrationAction(_this->linux_side, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude); + _ret = cppIVRInput_IVRInput_003_TriggerHapticVibrationAction(_this->u_iface, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_003_GetActionOrigins(winIVRInput_IVRInput_003 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t *originsOut, uint32_t originOutCount) +EVRInputError __thiscall winIVRInput_IVRInput_003_GetActionOrigins(struct w_steam_iface *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t *originsOut, uint32_t originOutCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_GetActionOrigins(_this->linux_side, actionSetHandle, digitalActionHandle, originsOut, originOutCount); + _ret = cppIVRInput_IVRInput_003_GetActionOrigins(_this->u_iface, actionSetHandle, digitalActionHandle, originsOut, originOutCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_003_GetOriginLocalizedName(winIVRInput_IVRInput_003 *_this, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize) +EVRInputError __thiscall winIVRInput_IVRInput_003_GetOriginLocalizedName(struct w_steam_iface *_this, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_GetOriginLocalizedName(_this->linux_side, origin, pchNameArray, unNameArraySize); + _ret = cppIVRInput_IVRInput_003_GetOriginLocalizedName(_this->u_iface, origin, pchNameArray, unNameArraySize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo(winIVRInput_IVRInput_003 *_this, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) +EVRInputError __thiscall winIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo(_this->linux_side, origin, pOriginInfo, unOriginInfoSize); + _ret = cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo(_this->u_iface, origin, pOriginInfo, unOriginInfoSize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_003_ShowActionOrigins(winIVRInput_IVRInput_003 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) +EVRInputError __thiscall winIVRInput_IVRInput_003_ShowActionOrigins(struct w_steam_iface *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_ShowActionOrigins(_this->linux_side, actionSetHandle, ulActionHandle); + _ret = cppIVRInput_IVRInput_003_ShowActionOrigins(_this->u_iface, actionSetHandle, ulActionHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_003_ShowBindingsForActionSet(winIVRInput_IVRInput_003 *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) +EVRInputError __thiscall winIVRInput_IVRInput_003_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_ShowBindingsForActionSet(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); + _ret = cppIVRInput_IVRInput_003_ShowBindingsForActionSet(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); return _ret; } @@ -209,24 +202,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRInput_IVRInput_003 *create_winIVRInput_IVRInput_003(void *linux_side) +struct w_steam_iface *create_winIVRInput_IVRInput_003(void *u_iface) { - winIVRInput_IVRInput_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_003)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRInput_IVRInput_003_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRInput_IVRInput_003(void *object) +void destroy_winIVRInput_IVRInput_003(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRInput_IVRInput_003 *create_winIVRInput_IVRInput_003_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRInput_IVRInput_003_FnTable(void *u_iface) { - winIVRInput_IVRInput_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_003)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(17); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 17 * sizeof(*vtable)); int i; @@ -251,27 +244,21 @@ winIVRInput_IVRInput_003 *create_winIVRInput_IVRInput_003_FnTable(void *linux_si init_thunk(&thunks[16], r, winIVRInput_IVRInput_003_ShowBindingsForActionSet, 4, FALSE, FALSE); for (i = 0; i < 17; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRInput_IVRInput_003_FnTable(void *object) +void destroy_winIVRInput_IVRInput_003_FnTable(struct w_steam_iface *object) { - winIVRInput_IVRInput_003 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRInput_IVRInput_004.h" -typedef struct __winIVRInput_IVRInput_004 { - vtable_ptr *vtable; - void *linux_side; -} winIVRInput_IVRInput_004; - DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_SetActionManifestPath, 8) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetActionSetHandle, 12) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetActionHandle, 12) @@ -291,149 +278,149 @@ DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo, 20) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_ShowActionOrigins, 20) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_ShowBindingsForActionSet, 24) -EVRInputError __thiscall winIVRInput_IVRInput_004_SetActionManifestPath(winIVRInput_IVRInput_004 *_this, const char *pchActionManifestPath) +EVRInputError __thiscall winIVRInput_IVRInput_004_SetActionManifestPath(struct w_steam_iface *_this, const char *pchActionManifestPath) { EVRInputError _ret; char lin_pchActionManifestPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchActionManifestPath, lin_pchActionManifestPath); TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_SetActionManifestPath(_this->linux_side, pchActionManifestPath ? lin_pchActionManifestPath : NULL); + _ret = cppIVRInput_IVRInput_004_SetActionManifestPath(_this->u_iface, pchActionManifestPath ? lin_pchActionManifestPath : NULL); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_004_GetActionSetHandle(winIVRInput_IVRInput_004 *_this, const char *pchActionSetName, VRActionSetHandle_t *pHandle) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetActionSetHandle(struct w_steam_iface *_this, const char *pchActionSetName, VRActionSetHandle_t *pHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_GetActionSetHandle(_this->linux_side, pchActionSetName, pHandle); + _ret = cppIVRInput_IVRInput_004_GetActionSetHandle(_this->u_iface, pchActionSetName, pHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_004_GetActionHandle(winIVRInput_IVRInput_004 *_this, const char *pchActionName, VRActionHandle_t *pHandle) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetActionHandle(struct w_steam_iface *_this, const char *pchActionName, VRActionHandle_t *pHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_GetActionHandle(_this->linux_side, pchActionName, pHandle); + _ret = cppIVRInput_IVRInput_004_GetActionHandle(_this->u_iface, pchActionName, pHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_004_GetInputSourceHandle(winIVRInput_IVRInput_004 *_this, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetInputSourceHandle(struct w_steam_iface *_this, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_GetInputSourceHandle(_this->linux_side, pchInputSourcePath, pHandle); + _ret = cppIVRInput_IVRInput_004_GetInputSourceHandle(_this->u_iface, pchInputSourcePath, pHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_004_UpdateActionState(winIVRInput_IVRInput_004 *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +EVRInputError __thiscall winIVRInput_IVRInput_004_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_UpdateActionState(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); + _ret = cppIVRInput_IVRInput_004_UpdateActionState(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_004_GetDigitalActionData(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, winInputDigitalActionData_t_1017 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetDigitalActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputDigitalActionData_t_1017 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = ivrinput_get_digital_action_data(cppIVRInput_IVRInput_004_GetDigitalActionData, _this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice, 4); + _ret = ivrinput_get_digital_action_data(cppIVRInput_IVRInput_004_GetDigitalActionData, _this->u_iface, action, pActionData, unActionDataSize, ulRestrictToDevice, 4); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_004_GetAnalogActionData(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, winInputAnalogActionData_t_1017 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetAnalogActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputAnalogActionData_t_1017 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_GetAnalogActionData(_this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice); + _ret = cppIVRInput_IVRInput_004_GetAnalogActionData(_this->u_iface, action, pActionData, unActionDataSize, ulRestrictToDevice); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_004_GetPoseActionData(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1017 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetPoseActionData(struct w_steam_iface *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1017 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_GetPoseActionData(_this->linux_side, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); + _ret = cppIVRInput_IVRInput_004_GetPoseActionData(_this->u_iface, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_004_GetSkeletalActionData(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1017 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetSkeletalActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1017 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_GetSkeletalActionData(_this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice); + _ret = cppIVRInput_IVRInput_004_GetSkeletalActionData(_this->u_iface, action, pActionData, unActionDataSize, ulRestrictToDevice); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_004_GetSkeletalBoneData(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetSkeletalBoneData(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_GetSkeletalBoneData(_this->linux_side, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount, ulRestrictToDevice); + _ret = cppIVRInput_IVRInput_004_GetSkeletalBoneData(_this->u_iface, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount, ulRestrictToDevice); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed(_this->linux_side, action, eTransformSpace, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize, ulRestrictToDevice); + _ret = cppIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed(_this->u_iface, action, eTransformSpace, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize, ulRestrictToDevice); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_004_DecompressSkeletalBoneData(winIVRInput_IVRInput_004 *_this, void *pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace *peTransformSpace, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +EVRInputError __thiscall winIVRInput_IVRInput_004_DecompressSkeletalBoneData(struct w_steam_iface *_this, void *pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace *peTransformSpace, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_DecompressSkeletalBoneData(_this->linux_side, pvCompressedBuffer, unCompressedBufferSize, peTransformSpace, pTransformArray, unTransformArrayCount); + _ret = cppIVRInput_IVRInput_004_DecompressSkeletalBoneData(_this->u_iface, pvCompressedBuffer, unCompressedBufferSize, peTransformSpace, pTransformArray, unTransformArrayCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_004_TriggerHapticVibrationAction(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_004_TriggerHapticVibrationAction(struct w_steam_iface *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_TriggerHapticVibrationAction(_this->linux_side, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); + _ret = cppIVRInput_IVRInput_004_TriggerHapticVibrationAction(_this->u_iface, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_004_GetActionOrigins(winIVRInput_IVRInput_004 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t *originsOut, uint32_t originOutCount) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetActionOrigins(struct w_steam_iface *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t *originsOut, uint32_t originOutCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_GetActionOrigins(_this->linux_side, actionSetHandle, digitalActionHandle, originsOut, originOutCount); + _ret = cppIVRInput_IVRInput_004_GetActionOrigins(_this->u_iface, actionSetHandle, digitalActionHandle, originsOut, originOutCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_004_GetOriginLocalizedName(winIVRInput_IVRInput_004 *_this, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetOriginLocalizedName(struct w_steam_iface *_this, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_GetOriginLocalizedName(_this->linux_side, origin, pchNameArray, unNameArraySize); + _ret = cppIVRInput_IVRInput_004_GetOriginLocalizedName(_this->u_iface, origin, pchNameArray, unNameArraySize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo(winIVRInput_IVRInput_004 *_this, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo(_this->linux_side, origin, pOriginInfo, unOriginInfoSize); + _ret = cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo(_this->u_iface, origin, pOriginInfo, unOriginInfoSize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_004_ShowActionOrigins(winIVRInput_IVRInput_004 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) +EVRInputError __thiscall winIVRInput_IVRInput_004_ShowActionOrigins(struct w_steam_iface *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_ShowActionOrigins(_this->linux_side, actionSetHandle, ulActionHandle); + _ret = cppIVRInput_IVRInput_004_ShowActionOrigins(_this->u_iface, actionSetHandle, ulActionHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_004_ShowBindingsForActionSet(winIVRInput_IVRInput_004 *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) +EVRInputError __thiscall winIVRInput_IVRInput_004_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_ShowBindingsForActionSet(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); + _ret = cppIVRInput_IVRInput_004_ShowBindingsForActionSet(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); return _ret; } @@ -466,24 +453,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRInput_IVRInput_004 *create_winIVRInput_IVRInput_004(void *linux_side) +struct w_steam_iface *create_winIVRInput_IVRInput_004(void *u_iface) { - winIVRInput_IVRInput_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_004)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRInput_IVRInput_004_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRInput_IVRInput_004(void *object) +void destroy_winIVRInput_IVRInput_004(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRInput_IVRInput_004 *create_winIVRInput_IVRInput_004_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRInput_IVRInput_004_FnTable(void *u_iface) { - winIVRInput_IVRInput_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_004)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(18); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 18 * sizeof(*vtable)); int i; @@ -509,27 +496,21 @@ winIVRInput_IVRInput_004 *create_winIVRInput_IVRInput_004_FnTable(void *linux_si init_thunk(&thunks[17], r, winIVRInput_IVRInput_004_ShowBindingsForActionSet, 4, FALSE, FALSE); for (i = 0; i < 18; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRInput_IVRInput_004_FnTable(void *object) +void destroy_winIVRInput_IVRInput_004_FnTable(struct w_steam_iface *object) { - winIVRInput_IVRInput_004 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRInput_IVRInput_005.h" -typedef struct __winIVRInput_IVRInput_005 { - vtable_ptr *vtable; - void *linux_side; -} winIVRInput_IVRInput_005; - DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_SetActionManifestPath, 8) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetActionSetHandle, 12) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetActionHandle, 12) @@ -556,205 +537,205 @@ DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_ShowActionOrigins, 20) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_ShowBindingsForActionSet, 24) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_IsUsingLegacyInput, 4) -EVRInputError __thiscall winIVRInput_IVRInput_005_SetActionManifestPath(winIVRInput_IVRInput_005 *_this, const char *pchActionManifestPath) +EVRInputError __thiscall winIVRInput_IVRInput_005_SetActionManifestPath(struct w_steam_iface *_this, const char *pchActionManifestPath) { EVRInputError _ret; char lin_pchActionManifestPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchActionManifestPath, lin_pchActionManifestPath); TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_SetActionManifestPath(_this->linux_side, pchActionManifestPath ? lin_pchActionManifestPath : NULL); + _ret = cppIVRInput_IVRInput_005_SetActionManifestPath(_this->u_iface, pchActionManifestPath ? lin_pchActionManifestPath : NULL); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_GetActionSetHandle(winIVRInput_IVRInput_005 *_this, const char *pchActionSetName, VRActionSetHandle_t *pHandle) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetActionSetHandle(struct w_steam_iface *_this, const char *pchActionSetName, VRActionSetHandle_t *pHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetActionSetHandle(_this->linux_side, pchActionSetName, pHandle); + _ret = cppIVRInput_IVRInput_005_GetActionSetHandle(_this->u_iface, pchActionSetName, pHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_GetActionHandle(winIVRInput_IVRInput_005 *_this, const char *pchActionName, VRActionHandle_t *pHandle) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetActionHandle(struct w_steam_iface *_this, const char *pchActionName, VRActionHandle_t *pHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetActionHandle(_this->linux_side, pchActionName, pHandle); + _ret = cppIVRInput_IVRInput_005_GetActionHandle(_this->u_iface, pchActionName, pHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_GetInputSourceHandle(winIVRInput_IVRInput_005 *_this, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetInputSourceHandle(struct w_steam_iface *_this, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetInputSourceHandle(_this->linux_side, pchInputSourcePath, pHandle); + _ret = cppIVRInput_IVRInput_005_GetInputSourceHandle(_this->u_iface, pchInputSourcePath, pHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_UpdateActionState(winIVRInput_IVRInput_005 *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +EVRInputError __thiscall winIVRInput_IVRInput_005_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_UpdateActionState(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); + _ret = cppIVRInput_IVRInput_005_UpdateActionState(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_GetDigitalActionData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, winInputDigitalActionData_t_1322 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetDigitalActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputDigitalActionData_t_1322 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = ivrinput_get_digital_action_data(cppIVRInput_IVRInput_005_GetDigitalActionData, _this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice, 5); + _ret = ivrinput_get_digital_action_data(cppIVRInput_IVRInput_005_GetDigitalActionData, _this->u_iface, action, pActionData, unActionDataSize, ulRestrictToDevice, 5); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_GetAnalogActionData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, winInputAnalogActionData_t_1322 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetAnalogActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputAnalogActionData_t_1322 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetAnalogActionData(_this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice); + _ret = cppIVRInput_IVRInput_005_GetAnalogActionData(_this->u_iface, action, pActionData, unActionDataSize, ulRestrictToDevice); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_GetPoseActionData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1322 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetPoseActionData(struct w_steam_iface *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1322 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetPoseActionData(_this->linux_side, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); + _ret = cppIVRInput_IVRInput_005_GetPoseActionData(_this->u_iface, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalActionData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1322 *pActionData, uint32_t unActionDataSize) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1322 *pActionData, uint32_t unActionDataSize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetSkeletalActionData(_this->linux_side, action, pActionData, unActionDataSize); + _ret = cppIVRInput_IVRInput_005_GetSkeletalActionData(_this->u_iface, action, pActionData, unActionDataSize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_GetBoneCount(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, uint32_t *pBoneCount) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetBoneCount(struct w_steam_iface *_this, VRActionHandle_t action, uint32_t *pBoneCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetBoneCount(_this->linux_side, action, pBoneCount); + _ret = cppIVRInput_IVRInput_005_GetBoneCount(_this->u_iface, action, pBoneCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_GetBoneHierarchy(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, BoneIndex_t *pParentIndices, uint32_t unIndexArayCount) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetBoneHierarchy(struct w_steam_iface *_this, VRActionHandle_t action, BoneIndex_t *pParentIndices, uint32_t unIndexArayCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetBoneHierarchy(_this->linux_side, action, pParentIndices, unIndexArayCount); + _ret = cppIVRInput_IVRInput_005_GetBoneHierarchy(_this->u_iface, action, pParentIndices, unIndexArayCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_GetBoneName(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char *pchBoneName, uint32_t unNameBufferSize) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetBoneName(struct w_steam_iface *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char *pchBoneName, uint32_t unNameBufferSize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetBoneName(_this->linux_side, action, nBoneIndex, pchBoneName, unNameBufferSize); + _ret = cppIVRInput_IVRInput_005_GetBoneName(_this->u_iface, action, nBoneIndex, pchBoneName, unNameBufferSize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalReferenceTransforms(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalReferenceTransforms(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetSkeletalReferenceTransforms(_this->linux_side, action, eTransformSpace, eReferencePose, pTransformArray, unTransformArrayCount); + _ret = cppIVRInput_IVRInput_005_GetSkeletalReferenceTransforms(_this->u_iface, action, eTransformSpace, eReferencePose, pTransformArray, unTransformArrayCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalTrackingLevel(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel *pSkeletalTrackingLevel) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalTrackingLevel(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel *pSkeletalTrackingLevel) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetSkeletalTrackingLevel(_this->linux_side, action, pSkeletalTrackingLevel); + _ret = cppIVRInput_IVRInput_005_GetSkeletalTrackingLevel(_this->u_iface, action, pSkeletalTrackingLevel); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalBoneData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalBoneData(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetSkeletalBoneData(_this->linux_side, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount); + _ret = cppIVRInput_IVRInput_005_GetSkeletalBoneData(_this->u_iface, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalSummaryData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, VRSkeletalSummaryData_t *pSkeletalSummaryData) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalSummaryData(struct w_steam_iface *_this, VRActionHandle_t action, VRSkeletalSummaryData_t *pSkeletalSummaryData) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetSkeletalSummaryData(_this->linux_side, action, pSkeletalSummaryData); + _ret = cppIVRInput_IVRInput_005_GetSkeletalSummaryData(_this->u_iface, action, pSkeletalSummaryData); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed(_this->linux_side, action, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize); + _ret = cppIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed(_this->u_iface, action, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_DecompressSkeletalBoneData(winIVRInput_IVRInput_005 *_this, const void *pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +EVRInputError __thiscall winIVRInput_IVRInput_005_DecompressSkeletalBoneData(struct w_steam_iface *_this, const void *pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_DecompressSkeletalBoneData(_this->linux_side, pvCompressedBuffer, unCompressedBufferSize, eTransformSpace, pTransformArray, unTransformArrayCount); + _ret = cppIVRInput_IVRInput_005_DecompressSkeletalBoneData(_this->u_iface, pvCompressedBuffer, unCompressedBufferSize, eTransformSpace, pTransformArray, unTransformArrayCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_TriggerHapticVibrationAction(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_005_TriggerHapticVibrationAction(struct w_steam_iface *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_TriggerHapticVibrationAction(_this->linux_side, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); + _ret = cppIVRInput_IVRInput_005_TriggerHapticVibrationAction(_this->u_iface, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_GetActionOrigins(winIVRInput_IVRInput_005 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t *originsOut, uint32_t originOutCount) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetActionOrigins(struct w_steam_iface *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t *originsOut, uint32_t originOutCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetActionOrigins(_this->linux_side, actionSetHandle, digitalActionHandle, originsOut, originOutCount); + _ret = cppIVRInput_IVRInput_005_GetActionOrigins(_this->u_iface, actionSetHandle, digitalActionHandle, originsOut, originOutCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_GetOriginLocalizedName(winIVRInput_IVRInput_005 *_this, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetOriginLocalizedName(struct w_steam_iface *_this, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetOriginLocalizedName(_this->linux_side, origin, pchNameArray, unNameArraySize, unStringSectionsToInclude); + _ret = cppIVRInput_IVRInput_005_GetOriginLocalizedName(_this->u_iface, origin, pchNameArray, unNameArraySize, unStringSectionsToInclude); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo(winIVRInput_IVRInput_005 *_this, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo(_this->linux_side, origin, pOriginInfo, unOriginInfoSize); + _ret = cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo(_this->u_iface, origin, pOriginInfo, unOriginInfoSize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_ShowActionOrigins(winIVRInput_IVRInput_005 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) +EVRInputError __thiscall winIVRInput_IVRInput_005_ShowActionOrigins(struct w_steam_iface *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_ShowActionOrigins(_this->linux_side, actionSetHandle, ulActionHandle); + _ret = cppIVRInput_IVRInput_005_ShowActionOrigins(_this->u_iface, actionSetHandle, ulActionHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_005_ShowBindingsForActionSet(winIVRInput_IVRInput_005 *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) +EVRInputError __thiscall winIVRInput_IVRInput_005_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_ShowBindingsForActionSet(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); + _ret = cppIVRInput_IVRInput_005_ShowBindingsForActionSet(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); return _ret; } -bool __thiscall winIVRInput_IVRInput_005_IsUsingLegacyInput(winIVRInput_IVRInput_005 *_this) +bool __thiscall winIVRInput_IVRInput_005_IsUsingLegacyInput(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_IsUsingLegacyInput(_this->linux_side); + _ret = cppIVRInput_IVRInput_005_IsUsingLegacyInput(_this->u_iface); return _ret; } @@ -794,24 +775,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRInput_IVRInput_005 *create_winIVRInput_IVRInput_005(void *linux_side) +struct w_steam_iface *create_winIVRInput_IVRInput_005(void *u_iface) { - winIVRInput_IVRInput_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_005)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRInput_IVRInput_005_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRInput_IVRInput_005(void *object) +void destroy_winIVRInput_IVRInput_005(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRInput_IVRInput_005 *create_winIVRInput_IVRInput_005_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRInput_IVRInput_005_FnTable(void *u_iface) { - winIVRInput_IVRInput_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_005)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(25); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 25 * sizeof(*vtable)); int i; @@ -844,27 +825,21 @@ winIVRInput_IVRInput_005 *create_winIVRInput_IVRInput_005_FnTable(void *linux_si init_thunk(&thunks[24], r, winIVRInput_IVRInput_005_IsUsingLegacyInput, 0, FALSE, FALSE); for (i = 0; i < 25; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRInput_IVRInput_005_FnTable(void *object) +void destroy_winIVRInput_IVRInput_005_FnTable(struct w_steam_iface *object) { - winIVRInput_IVRInput_005 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRInput_IVRInput_006.h" -typedef struct __winIVRInput_IVRInput_006 { - vtable_ptr *vtable; - void *linux_side; -} winIVRInput_IVRInput_006; - DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_SetActionManifestPath, 8) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetActionSetHandle, 12) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetActionHandle, 12) @@ -892,213 +867,213 @@ DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_ShowActionOrigins, 20) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_ShowBindingsForActionSet, 24) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_IsUsingLegacyInput, 4) -EVRInputError __thiscall winIVRInput_IVRInput_006_SetActionManifestPath(winIVRInput_IVRInput_006 *_this, const char *pchActionManifestPath) +EVRInputError __thiscall winIVRInput_IVRInput_006_SetActionManifestPath(struct w_steam_iface *_this, const char *pchActionManifestPath) { EVRInputError _ret; char lin_pchActionManifestPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchActionManifestPath, lin_pchActionManifestPath); TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_SetActionManifestPath(_this->linux_side, pchActionManifestPath ? lin_pchActionManifestPath : NULL); + _ret = cppIVRInput_IVRInput_006_SetActionManifestPath(_this->u_iface, pchActionManifestPath ? lin_pchActionManifestPath : NULL); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_GetActionSetHandle(winIVRInput_IVRInput_006 *_this, const char *pchActionSetName, VRActionSetHandle_t *pHandle) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetActionSetHandle(struct w_steam_iface *_this, const char *pchActionSetName, VRActionSetHandle_t *pHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetActionSetHandle(_this->linux_side, pchActionSetName, pHandle); + _ret = cppIVRInput_IVRInput_006_GetActionSetHandle(_this->u_iface, pchActionSetName, pHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_GetActionHandle(winIVRInput_IVRInput_006 *_this, const char *pchActionName, VRActionHandle_t *pHandle) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetActionHandle(struct w_steam_iface *_this, const char *pchActionName, VRActionHandle_t *pHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetActionHandle(_this->linux_side, pchActionName, pHandle); + _ret = cppIVRInput_IVRInput_006_GetActionHandle(_this->u_iface, pchActionName, pHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_GetInputSourceHandle(winIVRInput_IVRInput_006 *_this, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetInputSourceHandle(struct w_steam_iface *_this, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetInputSourceHandle(_this->linux_side, pchInputSourcePath, pHandle); + _ret = cppIVRInput_IVRInput_006_GetInputSourceHandle(_this->u_iface, pchInputSourcePath, pHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_UpdateActionState(winIVRInput_IVRInput_006 *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +EVRInputError __thiscall winIVRInput_IVRInput_006_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_UpdateActionState(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); + _ret = cppIVRInput_IVRInput_006_UpdateActionState(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_GetDigitalActionData(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, winInputDigitalActionData_t_1418 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetDigitalActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputDigitalActionData_t_1418 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = ivrinput_get_digital_action_data(cppIVRInput_IVRInput_006_GetDigitalActionData, _this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice, 6); + _ret = ivrinput_get_digital_action_data(cppIVRInput_IVRInput_006_GetDigitalActionData, _this->u_iface, action, pActionData, unActionDataSize, ulRestrictToDevice, 6); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_GetAnalogActionData(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, winInputAnalogActionData_t_1418 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetAnalogActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputAnalogActionData_t_1418 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetAnalogActionData(_this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice); + _ret = cppIVRInput_IVRInput_006_GetAnalogActionData(_this->u_iface, action, pActionData, unActionDataSize, ulRestrictToDevice); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1418 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow(struct w_steam_iface *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1418 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow(_this->linux_side, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); + _ret = cppIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow(_this->u_iface, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_GetPoseActionDataForNextFrame(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, winInputPoseActionData_t_1418 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetPoseActionDataForNextFrame(struct w_steam_iface *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, winInputPoseActionData_t_1418 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetPoseActionDataForNextFrame(_this->linux_side, action, eOrigin, pActionData, unActionDataSize, ulRestrictToDevice); + _ret = cppIVRInput_IVRInput_006_GetPoseActionDataForNextFrame(_this->u_iface, action, eOrigin, pActionData, unActionDataSize, ulRestrictToDevice); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalActionData(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1418 *pActionData, uint32_t unActionDataSize) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1418 *pActionData, uint32_t unActionDataSize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetSkeletalActionData(_this->linux_side, action, pActionData, unActionDataSize); + _ret = cppIVRInput_IVRInput_006_GetSkeletalActionData(_this->u_iface, action, pActionData, unActionDataSize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_GetBoneCount(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, uint32_t *pBoneCount) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetBoneCount(struct w_steam_iface *_this, VRActionHandle_t action, uint32_t *pBoneCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetBoneCount(_this->linux_side, action, pBoneCount); + _ret = cppIVRInput_IVRInput_006_GetBoneCount(_this->u_iface, action, pBoneCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_GetBoneHierarchy(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, BoneIndex_t *pParentIndices, uint32_t unIndexArayCount) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetBoneHierarchy(struct w_steam_iface *_this, VRActionHandle_t action, BoneIndex_t *pParentIndices, uint32_t unIndexArayCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetBoneHierarchy(_this->linux_side, action, pParentIndices, unIndexArayCount); + _ret = cppIVRInput_IVRInput_006_GetBoneHierarchy(_this->u_iface, action, pParentIndices, unIndexArayCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_GetBoneName(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char *pchBoneName, uint32_t unNameBufferSize) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetBoneName(struct w_steam_iface *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char *pchBoneName, uint32_t unNameBufferSize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetBoneName(_this->linux_side, action, nBoneIndex, pchBoneName, unNameBufferSize); + _ret = cppIVRInput_IVRInput_006_GetBoneName(_this->u_iface, action, nBoneIndex, pchBoneName, unNameBufferSize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalReferenceTransforms(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalReferenceTransforms(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetSkeletalReferenceTransforms(_this->linux_side, action, eTransformSpace, eReferencePose, pTransformArray, unTransformArrayCount); + _ret = cppIVRInput_IVRInput_006_GetSkeletalReferenceTransforms(_this->u_iface, action, eTransformSpace, eReferencePose, pTransformArray, unTransformArrayCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalTrackingLevel(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel *pSkeletalTrackingLevel) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalTrackingLevel(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel *pSkeletalTrackingLevel) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetSkeletalTrackingLevel(_this->linux_side, action, pSkeletalTrackingLevel); + _ret = cppIVRInput_IVRInput_006_GetSkeletalTrackingLevel(_this->u_iface, action, pSkeletalTrackingLevel); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalBoneData(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalBoneData(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetSkeletalBoneData(_this->linux_side, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount); + _ret = cppIVRInput_IVRInput_006_GetSkeletalBoneData(_this->u_iface, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalSummaryData(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t *pSkeletalSummaryData) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalSummaryData(struct w_steam_iface *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t *pSkeletalSummaryData) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetSkeletalSummaryData(_this->linux_side, action, eSummaryType, pSkeletalSummaryData); + _ret = cppIVRInput_IVRInput_006_GetSkeletalSummaryData(_this->u_iface, action, eSummaryType, pSkeletalSummaryData); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed(_this->linux_side, action, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize); + _ret = cppIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed(_this->u_iface, action, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_DecompressSkeletalBoneData(winIVRInput_IVRInput_006 *_this, const void *pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +EVRInputError __thiscall winIVRInput_IVRInput_006_DecompressSkeletalBoneData(struct w_steam_iface *_this, const void *pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_DecompressSkeletalBoneData(_this->linux_side, pvCompressedBuffer, unCompressedBufferSize, eTransformSpace, pTransformArray, unTransformArrayCount); + _ret = cppIVRInput_IVRInput_006_DecompressSkeletalBoneData(_this->u_iface, pvCompressedBuffer, unCompressedBufferSize, eTransformSpace, pTransformArray, unTransformArrayCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_TriggerHapticVibrationAction(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_006_TriggerHapticVibrationAction(struct w_steam_iface *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_TriggerHapticVibrationAction(_this->linux_side, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); + _ret = cppIVRInput_IVRInput_006_TriggerHapticVibrationAction(_this->u_iface, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_GetActionOrigins(winIVRInput_IVRInput_006 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t *originsOut, uint32_t originOutCount) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetActionOrigins(struct w_steam_iface *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t *originsOut, uint32_t originOutCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetActionOrigins(_this->linux_side, actionSetHandle, digitalActionHandle, originsOut, originOutCount); + _ret = cppIVRInput_IVRInput_006_GetActionOrigins(_this->u_iface, actionSetHandle, digitalActionHandle, originsOut, originOutCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_GetOriginLocalizedName(winIVRInput_IVRInput_006 *_this, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetOriginLocalizedName(struct w_steam_iface *_this, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetOriginLocalizedName(_this->linux_side, origin, pchNameArray, unNameArraySize, unStringSectionsToInclude); + _ret = cppIVRInput_IVRInput_006_GetOriginLocalizedName(_this->u_iface, origin, pchNameArray, unNameArraySize, unStringSectionsToInclude); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo(winIVRInput_IVRInput_006 *_this, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo(_this->linux_side, origin, pOriginInfo, unOriginInfoSize); + _ret = cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo(_this->u_iface, origin, pOriginInfo, unOriginInfoSize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_ShowActionOrigins(winIVRInput_IVRInput_006 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) +EVRInputError __thiscall winIVRInput_IVRInput_006_ShowActionOrigins(struct w_steam_iface *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_ShowActionOrigins(_this->linux_side, actionSetHandle, ulActionHandle); + _ret = cppIVRInput_IVRInput_006_ShowActionOrigins(_this->u_iface, actionSetHandle, ulActionHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_006_ShowBindingsForActionSet(winIVRInput_IVRInput_006 *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) +EVRInputError __thiscall winIVRInput_IVRInput_006_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_ShowBindingsForActionSet(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); + _ret = cppIVRInput_IVRInput_006_ShowBindingsForActionSet(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); return _ret; } -bool __thiscall winIVRInput_IVRInput_006_IsUsingLegacyInput(winIVRInput_IVRInput_006 *_this) +bool __thiscall winIVRInput_IVRInput_006_IsUsingLegacyInput(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_IsUsingLegacyInput(_this->linux_side); + _ret = cppIVRInput_IVRInput_006_IsUsingLegacyInput(_this->u_iface); return _ret; } @@ -1139,24 +1114,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRInput_IVRInput_006 *create_winIVRInput_IVRInput_006(void *linux_side) +struct w_steam_iface *create_winIVRInput_IVRInput_006(void *u_iface) { - winIVRInput_IVRInput_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_006)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRInput_IVRInput_006_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRInput_IVRInput_006(void *object) +void destroy_winIVRInput_IVRInput_006(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRInput_IVRInput_006 *create_winIVRInput_IVRInput_006_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRInput_IVRInput_006_FnTable(void *u_iface) { - winIVRInput_IVRInput_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_006)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(26); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 26 * sizeof(*vtable)); int i; @@ -1190,27 +1165,21 @@ winIVRInput_IVRInput_006 *create_winIVRInput_IVRInput_006_FnTable(void *linux_si init_thunk(&thunks[25], r, winIVRInput_IVRInput_006_IsUsingLegacyInput, 0, FALSE, FALSE); for (i = 0; i < 26; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRInput_IVRInput_006_FnTable(void *object) +void destroy_winIVRInput_IVRInput_006_FnTable(struct w_steam_iface *object) { - winIVRInput_IVRInput_006 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRInput_IVRInput_007.h" -typedef struct __winIVRInput_IVRInput_007 { - vtable_ptr *vtable; - void *linux_side; -} winIVRInput_IVRInput_007; - DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_SetActionManifestPath, 8) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetActionSetHandle, 12) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetActionHandle, 12) @@ -1240,229 +1209,229 @@ DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_ShowBindingsForActionSet, 24) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_IsUsingLegacyInput, 4) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_OpenBindingUI, 28) -EVRInputError __thiscall winIVRInput_IVRInput_007_SetActionManifestPath(winIVRInput_IVRInput_007 *_this, const char *pchActionManifestPath) +EVRInputError __thiscall winIVRInput_IVRInput_007_SetActionManifestPath(struct w_steam_iface *_this, const char *pchActionManifestPath) { EVRInputError _ret; char lin_pchActionManifestPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchActionManifestPath, lin_pchActionManifestPath); TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_SetActionManifestPath(_this->linux_side, pchActionManifestPath ? lin_pchActionManifestPath : NULL); + _ret = cppIVRInput_IVRInput_007_SetActionManifestPath(_this->u_iface, pchActionManifestPath ? lin_pchActionManifestPath : NULL); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_GetActionSetHandle(winIVRInput_IVRInput_007 *_this, const char *pchActionSetName, VRActionSetHandle_t *pHandle) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetActionSetHandle(struct w_steam_iface *_this, const char *pchActionSetName, VRActionSetHandle_t *pHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetActionSetHandle(_this->linux_side, pchActionSetName, pHandle); + _ret = cppIVRInput_IVRInput_007_GetActionSetHandle(_this->u_iface, pchActionSetName, pHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_GetActionHandle(winIVRInput_IVRInput_007 *_this, const char *pchActionName, VRActionHandle_t *pHandle) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetActionHandle(struct w_steam_iface *_this, const char *pchActionName, VRActionHandle_t *pHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetActionHandle(_this->linux_side, pchActionName, pHandle); + _ret = cppIVRInput_IVRInput_007_GetActionHandle(_this->u_iface, pchActionName, pHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_GetInputSourceHandle(winIVRInput_IVRInput_007 *_this, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetInputSourceHandle(struct w_steam_iface *_this, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetInputSourceHandle(_this->linux_side, pchInputSourcePath, pHandle); + _ret = cppIVRInput_IVRInput_007_GetInputSourceHandle(_this->u_iface, pchInputSourcePath, pHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_UpdateActionState(winIVRInput_IVRInput_007 *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +EVRInputError __thiscall winIVRInput_IVRInput_007_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_UpdateActionState(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); + _ret = cppIVRInput_IVRInput_007_UpdateActionState(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_GetDigitalActionData(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, winInputDigitalActionData_t_1916 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetDigitalActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputDigitalActionData_t_1916 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = ivrinput_get_digital_action_data(cppIVRInput_IVRInput_007_GetDigitalActionData, _this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice, 7); + _ret = ivrinput_get_digital_action_data(cppIVRInput_IVRInput_007_GetDigitalActionData, _this->u_iface, action, pActionData, unActionDataSize, ulRestrictToDevice, 7); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_GetAnalogActionData(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, winInputAnalogActionData_t_1916 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetAnalogActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputAnalogActionData_t_1916 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetAnalogActionData(_this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice); + _ret = cppIVRInput_IVRInput_007_GetAnalogActionData(_this->u_iface, action, pActionData, unActionDataSize, ulRestrictToDevice); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1916 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow(struct w_steam_iface *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1916 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow(_this->linux_side, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); + _ret = cppIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow(_this->u_iface, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_GetPoseActionDataForNextFrame(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, winInputPoseActionData_t_1916 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetPoseActionDataForNextFrame(struct w_steam_iface *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, winInputPoseActionData_t_1916 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetPoseActionDataForNextFrame(_this->linux_side, action, eOrigin, pActionData, unActionDataSize, ulRestrictToDevice); + _ret = cppIVRInput_IVRInput_007_GetPoseActionDataForNextFrame(_this->u_iface, action, eOrigin, pActionData, unActionDataSize, ulRestrictToDevice); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalActionData(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1916 *pActionData, uint32_t unActionDataSize) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1916 *pActionData, uint32_t unActionDataSize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetSkeletalActionData(_this->linux_side, action, pActionData, unActionDataSize); + _ret = cppIVRInput_IVRInput_007_GetSkeletalActionData(_this->u_iface, action, pActionData, unActionDataSize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_GetBoneCount(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, uint32_t *pBoneCount) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetBoneCount(struct w_steam_iface *_this, VRActionHandle_t action, uint32_t *pBoneCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetBoneCount(_this->linux_side, action, pBoneCount); + _ret = cppIVRInput_IVRInput_007_GetBoneCount(_this->u_iface, action, pBoneCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_GetBoneHierarchy(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, BoneIndex_t *pParentIndices, uint32_t unIndexArayCount) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetBoneHierarchy(struct w_steam_iface *_this, VRActionHandle_t action, BoneIndex_t *pParentIndices, uint32_t unIndexArayCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetBoneHierarchy(_this->linux_side, action, pParentIndices, unIndexArayCount); + _ret = cppIVRInput_IVRInput_007_GetBoneHierarchy(_this->u_iface, action, pParentIndices, unIndexArayCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_GetBoneName(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char *pchBoneName, uint32_t unNameBufferSize) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetBoneName(struct w_steam_iface *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char *pchBoneName, uint32_t unNameBufferSize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetBoneName(_this->linux_side, action, nBoneIndex, pchBoneName, unNameBufferSize); + _ret = cppIVRInput_IVRInput_007_GetBoneName(_this->u_iface, action, nBoneIndex, pchBoneName, unNameBufferSize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalReferenceTransforms(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalReferenceTransforms(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetSkeletalReferenceTransforms(_this->linux_side, action, eTransformSpace, eReferencePose, pTransformArray, unTransformArrayCount); + _ret = cppIVRInput_IVRInput_007_GetSkeletalReferenceTransforms(_this->u_iface, action, eTransformSpace, eReferencePose, pTransformArray, unTransformArrayCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalTrackingLevel(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel *pSkeletalTrackingLevel) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalTrackingLevel(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel *pSkeletalTrackingLevel) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetSkeletalTrackingLevel(_this->linux_side, action, pSkeletalTrackingLevel); + _ret = cppIVRInput_IVRInput_007_GetSkeletalTrackingLevel(_this->u_iface, action, pSkeletalTrackingLevel); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalBoneData(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalBoneData(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetSkeletalBoneData(_this->linux_side, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount); + _ret = cppIVRInput_IVRInput_007_GetSkeletalBoneData(_this->u_iface, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalSummaryData(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t *pSkeletalSummaryData) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalSummaryData(struct w_steam_iface *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t *pSkeletalSummaryData) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetSkeletalSummaryData(_this->linux_side, action, eSummaryType, pSkeletalSummaryData); + _ret = cppIVRInput_IVRInput_007_GetSkeletalSummaryData(_this->u_iface, action, eSummaryType, pSkeletalSummaryData); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed(_this->linux_side, action, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize); + _ret = cppIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed(_this->u_iface, action, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_DecompressSkeletalBoneData(winIVRInput_IVRInput_007 *_this, const void *pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +EVRInputError __thiscall winIVRInput_IVRInput_007_DecompressSkeletalBoneData(struct w_steam_iface *_this, const void *pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_DecompressSkeletalBoneData(_this->linux_side, pvCompressedBuffer, unCompressedBufferSize, eTransformSpace, pTransformArray, unTransformArrayCount); + _ret = cppIVRInput_IVRInput_007_DecompressSkeletalBoneData(_this->u_iface, pvCompressedBuffer, unCompressedBufferSize, eTransformSpace, pTransformArray, unTransformArrayCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_TriggerHapticVibrationAction(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_007_TriggerHapticVibrationAction(struct w_steam_iface *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_TriggerHapticVibrationAction(_this->linux_side, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); + _ret = cppIVRInput_IVRInput_007_TriggerHapticVibrationAction(_this->u_iface, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_GetActionOrigins(winIVRInput_IVRInput_007 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t *originsOut, uint32_t originOutCount) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetActionOrigins(struct w_steam_iface *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t *originsOut, uint32_t originOutCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetActionOrigins(_this->linux_side, actionSetHandle, digitalActionHandle, originsOut, originOutCount); + _ret = cppIVRInput_IVRInput_007_GetActionOrigins(_this->u_iface, actionSetHandle, digitalActionHandle, originsOut, originOutCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_GetOriginLocalizedName(winIVRInput_IVRInput_007 *_this, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetOriginLocalizedName(struct w_steam_iface *_this, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetOriginLocalizedName(_this->linux_side, origin, pchNameArray, unNameArraySize, unStringSectionsToInclude); + _ret = cppIVRInput_IVRInput_007_GetOriginLocalizedName(_this->u_iface, origin, pchNameArray, unNameArraySize, unStringSectionsToInclude); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo(winIVRInput_IVRInput_007 *_this, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo(_this->linux_side, origin, pOriginInfo, unOriginInfoSize); + _ret = cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo(_this->u_iface, origin, pOriginInfo, unOriginInfoSize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_GetActionBindingInfo(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, InputBindingInfo_t *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t *punReturnedBindingInfoCount) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetActionBindingInfo(struct w_steam_iface *_this, VRActionHandle_t action, InputBindingInfo_t *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t *punReturnedBindingInfoCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetActionBindingInfo(_this->linux_side, action, pOriginInfo, unBindingInfoSize, unBindingInfoCount, punReturnedBindingInfoCount); + _ret = cppIVRInput_IVRInput_007_GetActionBindingInfo(_this->u_iface, action, pOriginInfo, unBindingInfoSize, unBindingInfoCount, punReturnedBindingInfoCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_ShowActionOrigins(winIVRInput_IVRInput_007 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) +EVRInputError __thiscall winIVRInput_IVRInput_007_ShowActionOrigins(struct w_steam_iface *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_ShowActionOrigins(_this->linux_side, actionSetHandle, ulActionHandle); + _ret = cppIVRInput_IVRInput_007_ShowActionOrigins(_this->u_iface, actionSetHandle, ulActionHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_ShowBindingsForActionSet(winIVRInput_IVRInput_007 *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) +EVRInputError __thiscall winIVRInput_IVRInput_007_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_ShowBindingsForActionSet(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); + _ret = cppIVRInput_IVRInput_007_ShowBindingsForActionSet(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); return _ret; } -bool __thiscall winIVRInput_IVRInput_007_IsUsingLegacyInput(winIVRInput_IVRInput_007 *_this) +bool __thiscall winIVRInput_IVRInput_007_IsUsingLegacyInput(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_IsUsingLegacyInput(_this->linux_side); + _ret = cppIVRInput_IVRInput_007_IsUsingLegacyInput(_this->u_iface); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_007_OpenBindingUI(winIVRInput_IVRInput_007 *_this, const char *pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop) +EVRInputError __thiscall winIVRInput_IVRInput_007_OpenBindingUI(struct w_steam_iface *_this, const char *pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_OpenBindingUI(_this->linux_side, pchAppKey, ulActionSetHandle, ulDeviceHandle, bShowOnDesktop); + _ret = cppIVRInput_IVRInput_007_OpenBindingUI(_this->u_iface, pchAppKey, ulActionSetHandle, ulDeviceHandle, bShowOnDesktop); return _ret; } @@ -1505,24 +1474,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRInput_IVRInput_007 *create_winIVRInput_IVRInput_007(void *linux_side) +struct w_steam_iface *create_winIVRInput_IVRInput_007(void *u_iface) { - winIVRInput_IVRInput_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_007)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRInput_IVRInput_007_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRInput_IVRInput_007(void *object) +void destroy_winIVRInput_IVRInput_007(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRInput_IVRInput_007 *create_winIVRInput_IVRInput_007_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRInput_IVRInput_007_FnTable(void *u_iface) { - winIVRInput_IVRInput_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_007)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(28); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 28 * sizeof(*vtable)); int i; @@ -1558,27 +1527,21 @@ winIVRInput_IVRInput_007 *create_winIVRInput_IVRInput_007_FnTable(void *linux_si init_thunk(&thunks[27], r, winIVRInput_IVRInput_007_OpenBindingUI, 4, FALSE, FALSE); for (i = 0; i < 28; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRInput_IVRInput_007_FnTable(void *object) +void destroy_winIVRInput_IVRInput_007_FnTable(struct w_steam_iface *object) { - winIVRInput_IVRInput_007 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRInput_IVRInput_010.h" -typedef struct __winIVRInput_IVRInput_010 { - vtable_ptr *vtable; - void *linux_side; -} winIVRInput_IVRInput_010; - DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_SetActionManifestPath, 8) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetActionSetHandle, 12) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetActionHandle, 12) @@ -1612,261 +1575,261 @@ DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_IsUsingLegacyInput, 4) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_OpenBindingUI, 28) DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetBindingVariant, 20) -EVRInputError __thiscall winIVRInput_IVRInput_010_SetActionManifestPath(winIVRInput_IVRInput_010 *_this, const char *pchActionManifestPath) +EVRInputError __thiscall winIVRInput_IVRInput_010_SetActionManifestPath(struct w_steam_iface *_this, const char *pchActionManifestPath) { EVRInputError _ret; char lin_pchActionManifestPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchActionManifestPath, lin_pchActionManifestPath); TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_SetActionManifestPath(_this->linux_side, pchActionManifestPath ? lin_pchActionManifestPath : NULL); + _ret = cppIVRInput_IVRInput_010_SetActionManifestPath(_this->u_iface, pchActionManifestPath ? lin_pchActionManifestPath : NULL); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetActionSetHandle(winIVRInput_IVRInput_010 *_this, const char *pchActionSetName, VRActionSetHandle_t *pHandle) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetActionSetHandle(struct w_steam_iface *_this, const char *pchActionSetName, VRActionSetHandle_t *pHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetActionSetHandle(_this->linux_side, pchActionSetName, pHandle); + _ret = cppIVRInput_IVRInput_010_GetActionSetHandle(_this->u_iface, pchActionSetName, pHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetActionHandle(winIVRInput_IVRInput_010 *_this, const char *pchActionName, VRActionHandle_t *pHandle) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetActionHandle(struct w_steam_iface *_this, const char *pchActionName, VRActionHandle_t *pHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetActionHandle(_this->linux_side, pchActionName, pHandle); + _ret = cppIVRInput_IVRInput_010_GetActionHandle(_this->u_iface, pchActionName, pHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetInputSourceHandle(winIVRInput_IVRInput_010 *_this, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetInputSourceHandle(struct w_steam_iface *_this, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetInputSourceHandle(_this->linux_side, pchInputSourcePath, pHandle); + _ret = cppIVRInput_IVRInput_010_GetInputSourceHandle(_this->u_iface, pchInputSourcePath, pHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_UpdateActionState(winIVRInput_IVRInput_010 *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +EVRInputError __thiscall winIVRInput_IVRInput_010_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_UpdateActionState(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); + _ret = cppIVRInput_IVRInput_010_UpdateActionState(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetDigitalActionData(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, winInputDigitalActionData_t_1267 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetDigitalActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputDigitalActionData_t_1267 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = ivrinput_get_digital_action_data(cppIVRInput_IVRInput_010_GetDigitalActionData, _this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice, 10); + _ret = ivrinput_get_digital_action_data(cppIVRInput_IVRInput_010_GetDigitalActionData, _this->u_iface, action, pActionData, unActionDataSize, ulRestrictToDevice, 10); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetAnalogActionData(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, winInputAnalogActionData_t_1267 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetAnalogActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputAnalogActionData_t_1267 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetAnalogActionData(_this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice); + _ret = cppIVRInput_IVRInput_010_GetAnalogActionData(_this->u_iface, action, pActionData, unActionDataSize, ulRestrictToDevice); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1267 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow(struct w_steam_iface *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1267 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow(_this->linux_side, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); + _ret = cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow(_this->u_iface, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetPoseActionDataForNextFrame(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, winInputPoseActionData_t_1267 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetPoseActionDataForNextFrame(struct w_steam_iface *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, winInputPoseActionData_t_1267 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame(_this->linux_side, action, eOrigin, pActionData, unActionDataSize, ulRestrictToDevice); + _ret = cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame(_this->u_iface, action, eOrigin, pActionData, unActionDataSize, ulRestrictToDevice); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetSkeletalActionData(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1267 *pActionData, uint32_t unActionDataSize) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetSkeletalActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1267 *pActionData, uint32_t unActionDataSize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetSkeletalActionData(_this->linux_side, action, pActionData, unActionDataSize); + _ret = cppIVRInput_IVRInput_010_GetSkeletalActionData(_this->u_iface, action, pActionData, unActionDataSize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetDominantHand(winIVRInput_IVRInput_010 *_this, ETrackedControllerRole *peDominantHand) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetDominantHand(struct w_steam_iface *_this, ETrackedControllerRole *peDominantHand) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetDominantHand(_this->linux_side, peDominantHand); + _ret = cppIVRInput_IVRInput_010_GetDominantHand(_this->u_iface, peDominantHand); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_SetDominantHand(winIVRInput_IVRInput_010 *_this, ETrackedControllerRole eDominantHand) +EVRInputError __thiscall winIVRInput_IVRInput_010_SetDominantHand(struct w_steam_iface *_this, ETrackedControllerRole eDominantHand) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_SetDominantHand(_this->linux_side, eDominantHand); + _ret = cppIVRInput_IVRInput_010_SetDominantHand(_this->u_iface, eDominantHand); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetBoneCount(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, uint32_t *pBoneCount) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetBoneCount(struct w_steam_iface *_this, VRActionHandle_t action, uint32_t *pBoneCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetBoneCount(_this->linux_side, action, pBoneCount); + _ret = cppIVRInput_IVRInput_010_GetBoneCount(_this->u_iface, action, pBoneCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetBoneHierarchy(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, BoneIndex_t *pParentIndices, uint32_t unIndexArayCount) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetBoneHierarchy(struct w_steam_iface *_this, VRActionHandle_t action, BoneIndex_t *pParentIndices, uint32_t unIndexArayCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetBoneHierarchy(_this->linux_side, action, pParentIndices, unIndexArayCount); + _ret = cppIVRInput_IVRInput_010_GetBoneHierarchy(_this->u_iface, action, pParentIndices, unIndexArayCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetBoneName(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char *pchBoneName, uint32_t unNameBufferSize) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetBoneName(struct w_steam_iface *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char *pchBoneName, uint32_t unNameBufferSize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetBoneName(_this->linux_side, action, nBoneIndex, pchBoneName, unNameBufferSize); + _ret = cppIVRInput_IVRInput_010_GetBoneName(_this->u_iface, action, nBoneIndex, pchBoneName, unNameBufferSize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetSkeletalReferenceTransforms(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetSkeletalReferenceTransforms(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetSkeletalReferenceTransforms(_this->linux_side, action, eTransformSpace, eReferencePose, pTransformArray, unTransformArrayCount); + _ret = cppIVRInput_IVRInput_010_GetSkeletalReferenceTransforms(_this->u_iface, action, eTransformSpace, eReferencePose, pTransformArray, unTransformArrayCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetSkeletalTrackingLevel(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel *pSkeletalTrackingLevel) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetSkeletalTrackingLevel(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel *pSkeletalTrackingLevel) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetSkeletalTrackingLevel(_this->linux_side, action, pSkeletalTrackingLevel); + _ret = cppIVRInput_IVRInput_010_GetSkeletalTrackingLevel(_this->u_iface, action, pSkeletalTrackingLevel); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetSkeletalBoneData(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetSkeletalBoneData(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetSkeletalBoneData(_this->linux_side, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount); + _ret = cppIVRInput_IVRInput_010_GetSkeletalBoneData(_this->u_iface, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetSkeletalSummaryData(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t *pSkeletalSummaryData) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetSkeletalSummaryData(struct w_steam_iface *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t *pSkeletalSummaryData) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetSkeletalSummaryData(_this->linux_side, action, eSummaryType, pSkeletalSummaryData); + _ret = cppIVRInput_IVRInput_010_GetSkeletalSummaryData(_this->u_iface, action, eSummaryType, pSkeletalSummaryData); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed(_this->linux_side, action, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize); + _ret = cppIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed(_this->u_iface, action, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_DecompressSkeletalBoneData(winIVRInput_IVRInput_010 *_this, const void *pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +EVRInputError __thiscall winIVRInput_IVRInput_010_DecompressSkeletalBoneData(struct w_steam_iface *_this, const void *pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_DecompressSkeletalBoneData(_this->linux_side, pvCompressedBuffer, unCompressedBufferSize, eTransformSpace, pTransformArray, unTransformArrayCount); + _ret = cppIVRInput_IVRInput_010_DecompressSkeletalBoneData(_this->u_iface, pvCompressedBuffer, unCompressedBufferSize, eTransformSpace, pTransformArray, unTransformArrayCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_TriggerHapticVibrationAction(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall winIVRInput_IVRInput_010_TriggerHapticVibrationAction(struct w_steam_iface *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_TriggerHapticVibrationAction(_this->linux_side, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); + _ret = cppIVRInput_IVRInput_010_TriggerHapticVibrationAction(_this->u_iface, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetActionOrigins(winIVRInput_IVRInput_010 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t *originsOut, uint32_t originOutCount) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetActionOrigins(struct w_steam_iface *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t *originsOut, uint32_t originOutCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetActionOrigins(_this->linux_side, actionSetHandle, digitalActionHandle, originsOut, originOutCount); + _ret = cppIVRInput_IVRInput_010_GetActionOrigins(_this->u_iface, actionSetHandle, digitalActionHandle, originsOut, originOutCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetOriginLocalizedName(winIVRInput_IVRInput_010 *_this, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetOriginLocalizedName(struct w_steam_iface *_this, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetOriginLocalizedName(_this->linux_side, origin, pchNameArray, unNameArraySize, unStringSectionsToInclude); + _ret = cppIVRInput_IVRInput_010_GetOriginLocalizedName(_this->u_iface, origin, pchNameArray, unNameArraySize, unStringSectionsToInclude); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo(winIVRInput_IVRInput_010 *_this, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo(_this->linux_side, origin, pOriginInfo, unOriginInfoSize); + _ret = cppIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo(_this->u_iface, origin, pOriginInfo, unOriginInfoSize); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetActionBindingInfo(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, InputBindingInfo_t *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t *punReturnedBindingInfoCount) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetActionBindingInfo(struct w_steam_iface *_this, VRActionHandle_t action, InputBindingInfo_t *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t *punReturnedBindingInfoCount) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetActionBindingInfo(_this->linux_side, action, pOriginInfo, unBindingInfoSize, unBindingInfoCount, punReturnedBindingInfoCount); + _ret = cppIVRInput_IVRInput_010_GetActionBindingInfo(_this->u_iface, action, pOriginInfo, unBindingInfoSize, unBindingInfoCount, punReturnedBindingInfoCount); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_ShowActionOrigins(winIVRInput_IVRInput_010 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) +EVRInputError __thiscall winIVRInput_IVRInput_010_ShowActionOrigins(struct w_steam_iface *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_ShowActionOrigins(_this->linux_side, actionSetHandle, ulActionHandle); + _ret = cppIVRInput_IVRInput_010_ShowActionOrigins(_this->u_iface, actionSetHandle, ulActionHandle); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_ShowBindingsForActionSet(winIVRInput_IVRInput_010 *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) +EVRInputError __thiscall winIVRInput_IVRInput_010_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_ShowBindingsForActionSet(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); + _ret = cppIVRInput_IVRInput_010_ShowBindingsForActionSet(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetComponentStateForBinding(winIVRInput_IVRInput_010 *_this, const char *pchRenderModelName, const char *pchComponentName, const InputBindingInfo_t *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, RenderModel_ComponentState_t *pComponentState) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetComponentStateForBinding(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, const InputBindingInfo_t *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, RenderModel_ComponentState_t *pComponentState) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetComponentStateForBinding(_this->linux_side, pchRenderModelName, pchComponentName, pOriginInfo, unBindingInfoSize, unBindingInfoCount, pComponentState); + _ret = cppIVRInput_IVRInput_010_GetComponentStateForBinding(_this->u_iface, pchRenderModelName, pchComponentName, pOriginInfo, unBindingInfoSize, unBindingInfoCount, pComponentState); return _ret; } -bool __thiscall winIVRInput_IVRInput_010_IsUsingLegacyInput(winIVRInput_IVRInput_010 *_this) +bool __thiscall winIVRInput_IVRInput_010_IsUsingLegacyInput(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_IsUsingLegacyInput(_this->linux_side); + _ret = cppIVRInput_IVRInput_010_IsUsingLegacyInput(_this->u_iface); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_OpenBindingUI(winIVRInput_IVRInput_010 *_this, const char *pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop) +EVRInputError __thiscall winIVRInput_IVRInput_010_OpenBindingUI(struct w_steam_iface *_this, const char *pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_OpenBindingUI(_this->linux_side, pchAppKey, ulActionSetHandle, ulDeviceHandle, bShowOnDesktop); + _ret = cppIVRInput_IVRInput_010_OpenBindingUI(_this->u_iface, pchAppKey, ulActionSetHandle, ulDeviceHandle, bShowOnDesktop); return _ret; } -EVRInputError __thiscall winIVRInput_IVRInput_010_GetBindingVariant(winIVRInput_IVRInput_010 *_this, VRInputValueHandle_t ulDevicePath, char *pchVariantArray, uint32_t unVariantArraySize) +EVRInputError __thiscall winIVRInput_IVRInput_010_GetBindingVariant(struct w_steam_iface *_this, VRInputValueHandle_t ulDevicePath, char *pchVariantArray, uint32_t unVariantArraySize) { EVRInputError _ret; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetBindingVariant(_this->linux_side, ulDevicePath, pchVariantArray, unVariantArraySize); + _ret = cppIVRInput_IVRInput_010_GetBindingVariant(_this->u_iface, ulDevicePath, pchVariantArray, unVariantArraySize); return _ret; } @@ -1913,24 +1876,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRInput_IVRInput_010 *create_winIVRInput_IVRInput_010(void *linux_side) +struct w_steam_iface *create_winIVRInput_IVRInput_010(void *u_iface) { - winIVRInput_IVRInput_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_010)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRInput_IVRInput_010_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRInput_IVRInput_010(void *object) +void destroy_winIVRInput_IVRInput_010(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRInput_IVRInput_010 *create_winIVRInput_IVRInput_010_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRInput_IVRInput_010_FnTable(void *u_iface) { - winIVRInput_IVRInput_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_010)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(32); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 32 * sizeof(*vtable)); int i; @@ -1970,17 +1933,16 @@ winIVRInput_IVRInput_010 *create_winIVRInput_IVRInput_010_FnTable(void *linux_si init_thunk(&thunks[31], r, winIVRInput_IVRInput_010_GetBindingVariant, 3, FALSE, FALSE); for (i = 0; i < 32; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRInput_IVRInput_010_FnTable(void *object) +void destroy_winIVRInput_IVRInput_010_FnTable(struct w_steam_iface *object) { - winIVRInput_IVRInput_010 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } diff --git a/vrclient_x64/vrclient_x64/winIVRMailbox.c b/vrclient_x64/vrclient_x64/winIVRMailbox.c index fdc546b3..52a931fe 100644 --- a/vrclient_x64/vrclient_x64/winIVRMailbox.c +++ b/vrclient_x64/vrclient_x64/winIVRMailbox.c @@ -6,8 +6,6 @@ #include "winbase.h" #include "wine/debug.h" -#include "cxx.h" - #include "vrclient_defs.h" #include "vrclient_private.h" @@ -20,45 +18,40 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); #include "cppIVRMailbox_IVRMailbox_001.h" -typedef struct __winIVRMailbox_IVRMailbox_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVRMailbox_IVRMailbox_001; - DEFINE_THISCALL_WRAPPER(winIVRMailbox_IVRMailbox_001_undoc1, 12) DEFINE_THISCALL_WRAPPER(winIVRMailbox_IVRMailbox_001_undoc2, 12) DEFINE_THISCALL_WRAPPER(winIVRMailbox_IVRMailbox_001_undoc3, 20) DEFINE_THISCALL_WRAPPER(winIVRMailbox_IVRMailbox_001_undoc4, 24) -vrmb_typeb __thiscall winIVRMailbox_IVRMailbox_001_undoc1(winIVRMailbox_IVRMailbox_001 *_this, const char *a, vrmb_typea *b) +vrmb_typeb __thiscall winIVRMailbox_IVRMailbox_001_undoc1(struct w_steam_iface *_this, const char *a, vrmb_typea *b) { vrmb_typeb _ret; TRACE("%p\n", _this); - _ret = cppIVRMailbox_IVRMailbox_001_undoc1(_this->linux_side, a, b); + _ret = cppIVRMailbox_IVRMailbox_001_undoc1(_this->u_iface, a, b); return _ret; } -vrmb_typeb __thiscall winIVRMailbox_IVRMailbox_001_undoc2(winIVRMailbox_IVRMailbox_001 *_this, vrmb_typea a) +vrmb_typeb __thiscall winIVRMailbox_IVRMailbox_001_undoc2(struct w_steam_iface *_this, vrmb_typea a) { vrmb_typeb _ret; TRACE("%p\n", _this); - _ret = cppIVRMailbox_IVRMailbox_001_undoc2(_this->linux_side, a); + _ret = cppIVRMailbox_IVRMailbox_001_undoc2(_this->u_iface, a); return _ret; } -vrmb_typeb __thiscall winIVRMailbox_IVRMailbox_001_undoc3(winIVRMailbox_IVRMailbox_001 *_this, vrmb_typea a, const char *b, const char *c) +vrmb_typeb __thiscall winIVRMailbox_IVRMailbox_001_undoc3(struct w_steam_iface *_this, vrmb_typea a, const char *b, const char *c) { vrmb_typeb _ret; TRACE("%p\n", _this); - _ret = ivrmailbox_undoc3(cppIVRMailbox_IVRMailbox_001_undoc3, _this->linux_side, a, b, c, 1); + _ret = ivrmailbox_undoc3(cppIVRMailbox_IVRMailbox_001_undoc3, _this->u_iface, a, b, c, 1); return _ret; } -vrmb_typeb __thiscall winIVRMailbox_IVRMailbox_001_undoc4(winIVRMailbox_IVRMailbox_001 *_this, vrmb_typea a, char *b, uint32_t c, uint32_t *d) +vrmb_typeb __thiscall winIVRMailbox_IVRMailbox_001_undoc4(struct w_steam_iface *_this, vrmb_typea a, char *b, uint32_t c, uint32_t *d) { vrmb_typeb _ret; TRACE("%p\n", _this); - _ret = cppIVRMailbox_IVRMailbox_001_undoc4(_this->linux_side, a, b, c, d); + _ret = cppIVRMailbox_IVRMailbox_001_undoc4(_this->u_iface, a, b, c, d); return _ret; } @@ -77,24 +70,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRMailbox_IVRMailbox_001 *create_winIVRMailbox_IVRMailbox_001(void *linux_side) +struct w_steam_iface *create_winIVRMailbox_IVRMailbox_001(void *u_iface) { - winIVRMailbox_IVRMailbox_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRMailbox_IVRMailbox_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRMailbox_IVRMailbox_001_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRMailbox_IVRMailbox_001(void *object) +void destroy_winIVRMailbox_IVRMailbox_001(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRMailbox_IVRMailbox_001 *create_winIVRMailbox_IVRMailbox_001_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRMailbox_IVRMailbox_001_FnTable(void *u_iface) { - winIVRMailbox_IVRMailbox_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRMailbox_IVRMailbox_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(4); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 4 * sizeof(*vtable)); int i; @@ -106,17 +99,16 @@ winIVRMailbox_IVRMailbox_001 *create_winIVRMailbox_IVRMailbox_001_FnTable(void * init_thunk(&thunks[3], r, winIVRMailbox_IVRMailbox_001_undoc4, 4, FALSE, FALSE); for (i = 0; i < 4; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRMailbox_IVRMailbox_001_FnTable(void *object) +void destroy_winIVRMailbox_IVRMailbox_001_FnTable(struct w_steam_iface *object) { - winIVRMailbox_IVRMailbox_001 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } diff --git a/vrclient_x64/vrclient_x64/winIVRNotifications.c b/vrclient_x64/vrclient_x64/winIVRNotifications.c index bfed027f..a23c23bd 100644 --- a/vrclient_x64/vrclient_x64/winIVRNotifications.c +++ b/vrclient_x64/vrclient_x64/winIVRNotifications.c @@ -6,8 +6,6 @@ #include "winbase.h" #include "wine/debug.h" -#include "cxx.h" - #include "vrclient_defs.h" #include "vrclient_private.h" @@ -20,36 +18,31 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); #include "cppIVRNotifications_IVRNotifications_001.h" -typedef struct __winIVRNotifications_IVRNotifications_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVRNotifications_IVRNotifications_001; - DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_001_GetErrorString, 16) DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_001_CreateNotification, 40) DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_001_DismissNotification, 8) -uint32_t __thiscall winIVRNotifications_IVRNotifications_001_GetErrorString(winIVRNotifications_IVRNotifications_001 *_this, NotificationError_t error, char *pchBuffer, uint32_t unBufferSize) +uint32_t __thiscall winIVRNotifications_IVRNotifications_001_GetErrorString(struct w_steam_iface *_this, NotificationError_t error, char *pchBuffer, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRNotifications_IVRNotifications_001_GetErrorString(_this->linux_side, error, pchBuffer, unBufferSize); + _ret = cppIVRNotifications_IVRNotifications_001_GetErrorString(_this->u_iface, error, pchBuffer, unBufferSize); return _ret; } -NotificationError_t __thiscall winIVRNotifications_IVRNotifications_001_CreateNotification(winIVRNotifications_IVRNotifications_001 *_this, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, const char *strType, const char *strText, const char *strCategory, const NotificationBitmap *photo, VRNotificationId *notificationId) +NotificationError_t __thiscall winIVRNotifications_IVRNotifications_001_CreateNotification(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, const char *strType, const char *strText, const char *strCategory, const NotificationBitmap *photo, VRNotificationId *notificationId) { NotificationError_t _ret; TRACE("%p\n", _this); - _ret = cppIVRNotifications_IVRNotifications_001_CreateNotification(_this->linux_side, ulOverlayHandle, ulUserValue, strType, strText, strCategory, photo, notificationId); + _ret = cppIVRNotifications_IVRNotifications_001_CreateNotification(_this->u_iface, ulOverlayHandle, ulUserValue, strType, strText, strCategory, photo, notificationId); return _ret; } -NotificationError_t __thiscall winIVRNotifications_IVRNotifications_001_DismissNotification(winIVRNotifications_IVRNotifications_001 *_this, VRNotificationId notificationId) +NotificationError_t __thiscall winIVRNotifications_IVRNotifications_001_DismissNotification(struct w_steam_iface *_this, VRNotificationId notificationId) { NotificationError_t _ret; TRACE("%p\n", _this); - _ret = cppIVRNotifications_IVRNotifications_001_DismissNotification(_this->linux_side, notificationId); + _ret = cppIVRNotifications_IVRNotifications_001_DismissNotification(_this->u_iface, notificationId); return _ret; } @@ -67,24 +60,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRNotifications_IVRNotifications_001 *create_winIVRNotifications_IVRNotifications_001(void *linux_side) +struct w_steam_iface *create_winIVRNotifications_IVRNotifications_001(void *u_iface) { - winIVRNotifications_IVRNotifications_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRNotifications_IVRNotifications_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRNotifications_IVRNotifications_001_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRNotifications_IVRNotifications_001(void *object) +void destroy_winIVRNotifications_IVRNotifications_001(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRNotifications_IVRNotifications_001 *create_winIVRNotifications_IVRNotifications_001_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRNotifications_IVRNotifications_001_FnTable(void *u_iface) { - winIVRNotifications_IVRNotifications_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRNotifications_IVRNotifications_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(3); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 3 * sizeof(*vtable)); int i; @@ -95,43 +88,37 @@ winIVRNotifications_IVRNotifications_001 *create_winIVRNotifications_IVRNotifica init_thunk(&thunks[2], r, winIVRNotifications_IVRNotifications_001_DismissNotification, 1, FALSE, FALSE); for (i = 0; i < 3; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRNotifications_IVRNotifications_001_FnTable(void *object) +void destroy_winIVRNotifications_IVRNotifications_001_FnTable(struct w_steam_iface *object) { - winIVRNotifications_IVRNotifications_001 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRNotifications_IVRNotifications_002.h" -typedef struct __winIVRNotifications_IVRNotifications_002 { - vtable_ptr *vtable; - void *linux_side; -} winIVRNotifications_IVRNotifications_002; - DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_002_CreateNotification, 40) DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_002_RemoveNotification, 8) -EVRNotificationError __thiscall winIVRNotifications_IVRNotifications_002_CreateNotification(winIVRNotifications_IVRNotifications_002 *_this, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, EVRNotificationType type, const char *pchText, EVRNotificationStyle style, const NotificationBitmap_t *pImage, VRNotificationId *pNotificationId) +EVRNotificationError __thiscall winIVRNotifications_IVRNotifications_002_CreateNotification(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, EVRNotificationType type, const char *pchText, EVRNotificationStyle style, const NotificationBitmap_t *pImage, VRNotificationId *pNotificationId) { EVRNotificationError _ret; TRACE("%p\n", _this); - _ret = cppIVRNotifications_IVRNotifications_002_CreateNotification(_this->linux_side, ulOverlayHandle, ulUserValue, type, pchText, style, pImage, pNotificationId); + _ret = cppIVRNotifications_IVRNotifications_002_CreateNotification(_this->u_iface, ulOverlayHandle, ulUserValue, type, pchText, style, pImage, pNotificationId); return _ret; } -EVRNotificationError __thiscall winIVRNotifications_IVRNotifications_002_RemoveNotification(winIVRNotifications_IVRNotifications_002 *_this, VRNotificationId notificationId) +EVRNotificationError __thiscall winIVRNotifications_IVRNotifications_002_RemoveNotification(struct w_steam_iface *_this, VRNotificationId notificationId) { EVRNotificationError _ret; TRACE("%p\n", _this); - _ret = cppIVRNotifications_IVRNotifications_002_RemoveNotification(_this->linux_side, notificationId); + _ret = cppIVRNotifications_IVRNotifications_002_RemoveNotification(_this->u_iface, notificationId); return _ret; } @@ -148,24 +135,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRNotifications_IVRNotifications_002 *create_winIVRNotifications_IVRNotifications_002(void *linux_side) +struct w_steam_iface *create_winIVRNotifications_IVRNotifications_002(void *u_iface) { - winIVRNotifications_IVRNotifications_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRNotifications_IVRNotifications_002)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRNotifications_IVRNotifications_002_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRNotifications_IVRNotifications_002(void *object) +void destroy_winIVRNotifications_IVRNotifications_002(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRNotifications_IVRNotifications_002 *create_winIVRNotifications_IVRNotifications_002_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRNotifications_IVRNotifications_002_FnTable(void *u_iface) { - winIVRNotifications_IVRNotifications_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRNotifications_IVRNotifications_002)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(2); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 2 * sizeof(*vtable)); int i; @@ -175,17 +162,16 @@ winIVRNotifications_IVRNotifications_002 *create_winIVRNotifications_IVRNotifica init_thunk(&thunks[1], r, winIVRNotifications_IVRNotifications_002_RemoveNotification, 1, FALSE, FALSE); for (i = 0; i < 2; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRNotifications_IVRNotifications_002_FnTable(void *object) +void destroy_winIVRNotifications_IVRNotifications_002_FnTable(struct w_steam_iface *object) { - winIVRNotifications_IVRNotifications_002 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } diff --git a/vrclient_x64/vrclient_x64/winIVROverlay.c b/vrclient_x64/vrclient_x64/winIVROverlay.c index 34198dd1..416f7c41 100644 --- a/vrclient_x64/vrclient_x64/winIVROverlay.c +++ b/vrclient_x64/vrclient_x64/winIVROverlay.c @@ -6,8 +6,6 @@ #include "winbase.h" #include "wine/debug.h" -#include "cxx.h" - #include "vrclient_defs.h" #include "vrclient_private.h" @@ -20,11 +18,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); #include "cppIVROverlay_IVROverlay_001.h" -typedef struct __winIVROverlay_IVROverlay_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_001; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_DestroyOverlay, 12) @@ -66,325 +59,325 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_IsActiveSystemOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_FindOverlay(winIVROverlay_IVROverlay_001 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_001_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_CreateOverlay(winIVROverlay_IVROverlay_001 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_001_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_DestroyOverlay(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_001_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetHighQualityOverlay(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_001_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_001_GetHighQualityOverlay(winIVROverlay_IVROverlay_001 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_001_GetHighQualityOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetHighQualityOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_001_GetHighQualityOverlay(_this->u_iface); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_001 *_this, VROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, VROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayFlag(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_001_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayFlag(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_001_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayAlpha(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_001_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayAlpha(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_001_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayGamma(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayGamma(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayGamma(_this->linux_side, ulOverlayHandle, fGamma); + _ret = cppIVROverlay_IVROverlay_001_SetOverlayGamma(_this->u_iface, ulOverlayHandle, fGamma); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayGamma(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float *pfGamma) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayGamma(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfGamma) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayGamma(_this->linux_side, ulOverlayHandle, pfGamma); + _ret = cppIVROverlay_IVROverlay_001_GetOverlayGamma(_this->u_iface, ulOverlayHandle, pfGamma); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_001_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_001_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTextureBounds(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_001_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTextureBounds(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_001_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTransformType(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_001_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayVisibility(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility *peOverlayVisibility) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayVisibility(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility *peOverlayVisibility) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayVisibility(_this->linux_side, ulOverlayHandle, peOverlayVisibility); + _ret = cppIVROverlay_IVROverlay_001_GetOverlayVisibility(_this->u_iface, ulOverlayHandle, peOverlayVisibility); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayVisibility(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility eOverlayVisibility) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayVisibility(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility eOverlayVisibility) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayVisibility(_this->linux_side, ulOverlayHandle, eOverlayVisibility); + _ret = cppIVROverlay_IVROverlay_001_SetOverlayVisibility(_this->u_iface, ulOverlayHandle, eOverlayVisibility); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_ShowOverlay(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_001_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_HideOverlay(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_001_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_001_IsOverlayVisible(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_001_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_001_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_001_PollNextOverlayEvent(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) +bool __thiscall winIVROverlay_IVROverlay_001_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); + _ret = cppIVROverlay_IVROverlay_001_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayInputMethod(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_001_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayInputMethod(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_001_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayMouseScale(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_001_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayMouseScale(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_001_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_001_ComputeOverlayIntersection(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_001_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_001_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +bool __thiscall winIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + _ret = cppIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTexture(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, void *pTexture) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pTexture) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_001_set_overlay_texture(cppIVROverlay_IVROverlay_001_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 1); + _ret = ivroverlay_001_set_overlay_texture(cppIVROverlay_IVROverlay_001_SetOverlayTexture, _this->u_iface, ulOverlayHandle, pTexture, 1); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayRaw(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + _ret = cppIVROverlay_IVROverlay_001_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayFromFile(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { VROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_001_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_001_IsSystemOverlayVisible(winIVROverlay_IVROverlay_001 *_this) +bool __thiscall winIVROverlay_IVROverlay_001_IsSystemOverlayVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_IsSystemOverlayVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_001_IsSystemOverlayVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_001_IsActiveSystemOverlay(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_001_IsActiveSystemOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_IsActiveSystemOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_001_IsActiveSystemOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } @@ -439,24 +432,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_001 *create_winIVROverlay_IVROverlay_001(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_001(void *u_iface) { - winIVROverlay_IVROverlay_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_001_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_001(void *object) +void destroy_winIVROverlay_IVROverlay_001(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_001 *create_winIVROverlay_IVROverlay_001_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_001_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(40); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 40 * sizeof(*vtable)); int i; @@ -504,27 +497,21 @@ winIVROverlay_IVROverlay_001 *create_winIVROverlay_IVROverlay_001_FnTable(void * init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess, 2, FALSE, FALSE); for (i = 0; i < 40; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_001_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_001_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_001 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVROverlay_IVROverlay_002.h" -typedef struct __winIVROverlay_IVROverlay_002 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_002; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_DestroyOverlay, 12) @@ -568,341 +555,341 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_IsActiveDashboardOverlay, 1 DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_FindOverlay(winIVROverlay_IVROverlay_002 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_002_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_CreateOverlay(winIVROverlay_IVROverlay_002 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_002_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_DestroyOverlay(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_002_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetHighQualityOverlay(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_002_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_002_GetHighQualityOverlay(winIVROverlay_IVROverlay_002 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_002_GetHighQualityOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetHighQualityOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_002_GetHighQualityOverlay(_this->u_iface); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_002 *_this, VROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, VROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayFlag(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_002_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayFlag(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_002_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayColor(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + _ret = cppIVROverlay_IVROverlay_002_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayColor(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + _ret = cppIVROverlay_IVROverlay_002_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayAlpha(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_002_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayAlpha(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_002_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayGamma(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayGamma(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayGamma(_this->linux_side, ulOverlayHandle, fGamma); + _ret = cppIVROverlay_IVROverlay_002_SetOverlayGamma(_this->u_iface, ulOverlayHandle, fGamma); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayGamma(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float *pfGamma) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayGamma(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfGamma) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayGamma(_this->linux_side, ulOverlayHandle, pfGamma); + _ret = cppIVROverlay_IVROverlay_002_GetOverlayGamma(_this->u_iface, ulOverlayHandle, pfGamma); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_002_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_002_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTextureBounds(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_002_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTextureBounds(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_002_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTransformType(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_002_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_ShowOverlay(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_002_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_HideOverlay(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_002_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_002_IsOverlayVisible(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_002_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_002_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_002_PollNextOverlayEvent(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) +bool __thiscall winIVROverlay_IVROverlay_002_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); + _ret = cppIVROverlay_IVROverlay_002_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayInputMethod(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_002_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayInputMethod(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_002_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayMouseScale(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_002_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayMouseScale(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_002_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_002_ComputeOverlayIntersection(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_002_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_002_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +bool __thiscall winIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + _ret = cppIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTexture(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void *pTexture) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void *pTexture) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_005_set_overlay_texture(cppIVROverlay_IVROverlay_002_SetOverlayTexture, _this->linux_side, ulOverlayHandle, eTextureType, pTexture, 2); + _ret = ivroverlay_005_set_overlay_texture(cppIVROverlay_IVROverlay_002_SetOverlayTexture, _this->u_iface, ulOverlayHandle, eTextureType, pTexture, 2); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_ClearOverlayTexture(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_002_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayRaw(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + _ret = cppIVROverlay_IVROverlay_002_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayFromFile(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { VROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_002_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_CreateDashboardOverlay(winIVROverlay_IVROverlay_002 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + _ret = cppIVROverlay_IVROverlay_002_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_002_IsDashboardVisible(winIVROverlay_IVROverlay_002 *_this) +bool __thiscall winIVROverlay_IVROverlay_002_IsDashboardVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_IsDashboardVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_002_IsDashboardVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_002_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_002_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_002_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } @@ -959,24 +946,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_002 *create_winIVROverlay_IVROverlay_002(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_002(void *u_iface) { - winIVROverlay_IVROverlay_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_002)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_002_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_002(void *object) +void destroy_winIVROverlay_IVROverlay_002(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_002 *create_winIVROverlay_IVROverlay_002_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_002_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_002)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(42); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 42 * sizeof(*vtable)); int i; @@ -1026,27 +1013,21 @@ winIVROverlay_IVROverlay_002 *create_winIVROverlay_IVROverlay_002_FnTable(void * init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); for (i = 0; i < 42; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_002_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_002_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_002 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVROverlay_IVROverlay_003.h" -typedef struct __winIVROverlay_IVROverlay_003 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_003; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_DestroyOverlay, 12) @@ -1094,372 +1075,372 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetDashboardOverlayScenePro DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_ShowDashboard, 8) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_FindOverlay(winIVROverlay_IVROverlay_003 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_003_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_CreateOverlay(winIVROverlay_IVROverlay_003 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_003_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_DestroyOverlay(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_003_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetHighQualityOverlay(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_003_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_003_GetHighQualityOverlay(winIVROverlay_IVROverlay_003 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_003_GetHighQualityOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetHighQualityOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_003_GetHighQualityOverlay(_this->u_iface); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayKey(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, VROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayKey(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, VROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_003_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayName(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, VROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, VROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_003_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayImageData(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayImageData(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + _ret = cppIVROverlay_IVROverlay_003_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_003 *_this, VROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, VROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayFlag(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_003_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayFlag(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_003_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayColor(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + _ret = cppIVROverlay_IVROverlay_003_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayColor(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + _ret = cppIVROverlay_IVROverlay_003_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayAlpha(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_003_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayAlpha(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_003_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayGamma(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayGamma(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayGamma(_this->linux_side, ulOverlayHandle, fGamma); + _ret = cppIVROverlay_IVROverlay_003_SetOverlayGamma(_this->u_iface, ulOverlayHandle, fGamma); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayGamma(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float *pfGamma) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayGamma(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfGamma) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayGamma(_this->linux_side, ulOverlayHandle, pfGamma); + _ret = cppIVROverlay_IVROverlay_003_GetOverlayGamma(_this->u_iface, ulOverlayHandle, pfGamma); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_003_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_003_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTextureBounds(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_003_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTextureBounds(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_003_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTransformType(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_003_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_ShowOverlay(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_003_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_HideOverlay(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_003_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_003_IsOverlayVisible(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_003_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_003_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_003_PollNextOverlayEvent(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) +bool __thiscall winIVROverlay_IVROverlay_003_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); + _ret = cppIVROverlay_IVROverlay_003_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayInputMethod(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_003_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayInputMethod(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_003_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayMouseScale(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_003_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayMouseScale(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_003_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_003_ComputeOverlayIntersection(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_003_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_003_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +bool __thiscall winIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + _ret = cppIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTexture(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void *pTexture) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void *pTexture) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_005_set_overlay_texture(cppIVROverlay_IVROverlay_003_SetOverlayTexture, _this->linux_side, ulOverlayHandle, eTextureType, pTexture, 3); + _ret = ivroverlay_005_set_overlay_texture(cppIVROverlay_IVROverlay_003_SetOverlayTexture, _this->u_iface, ulOverlayHandle, eTextureType, pTexture, 3); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_ClearOverlayTexture(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_003_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayRaw(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + _ret = cppIVROverlay_IVROverlay_003_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayFromFile(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { VROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_003_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_CreateDashboardOverlay(winIVROverlay_IVROverlay_003 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + _ret = cppIVROverlay_IVROverlay_003_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_003_IsDashboardVisible(winIVROverlay_IVROverlay_003 *_this) +bool __thiscall winIVROverlay_IVROverlay_003_IsDashboardVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_IsDashboardVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_003_IsDashboardVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_003_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_003_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_003_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } -void __thiscall winIVROverlay_IVROverlay_003_ShowDashboard(winIVROverlay_IVROverlay_003 *_this, const char *pchOverlayToShow) +void __thiscall winIVROverlay_IVROverlay_003_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_003_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_003_ShowDashboard(_this->u_iface, pchOverlayToShow); } extern vtable_ptr winIVROverlay_IVROverlay_003_vtable; @@ -1519,24 +1500,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_003 *create_winIVROverlay_IVROverlay_003(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_003(void *u_iface) { - winIVROverlay_IVROverlay_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_003)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_003_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_003(void *object) +void destroy_winIVROverlay_IVROverlay_003(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_003 *create_winIVROverlay_IVROverlay_003_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_003_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_003)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(46); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); int i; @@ -1590,27 +1571,21 @@ winIVROverlay_IVROverlay_003 *create_winIVROverlay_IVROverlay_003_FnTable(void * init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_003_ShowDashboard, 1, FALSE, FALSE); for (i = 0; i < 46; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_003_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_003_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_003 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVROverlay_IVROverlay_004.h" -typedef struct __winIVROverlay_IVROverlay_004 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_004; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_DestroyOverlay, 12) @@ -1660,388 +1635,388 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetDashboardOverlayScenePro DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_ShowDashboard, 8) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_FindOverlay(winIVROverlay_IVROverlay_004 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_004_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_CreateOverlay(winIVROverlay_IVROverlay_004 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_004_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_DestroyOverlay(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_004_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetHighQualityOverlay(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_004_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_004_GetHighQualityOverlay(winIVROverlay_IVROverlay_004 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_004_GetHighQualityOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetHighQualityOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_004_GetHighQualityOverlay(_this->u_iface); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayKey(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, VROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayKey(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, VROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_004_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayName(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, VROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, VROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_004_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayImageData(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayImageData(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + _ret = cppIVROverlay_IVROverlay_004_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_004 *_this, VROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, VROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayFlag(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_004_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayFlag(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_004_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayColor(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + _ret = cppIVROverlay_IVROverlay_004_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayColor(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + _ret = cppIVROverlay_IVROverlay_004_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayAlpha(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_004_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayAlpha(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_004_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayGamma(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayGamma(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayGamma(_this->linux_side, ulOverlayHandle, fGamma); + _ret = cppIVROverlay_IVROverlay_004_SetOverlayGamma(_this->u_iface, ulOverlayHandle, fGamma); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayGamma(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float *pfGamma) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayGamma(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfGamma) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayGamma(_this->linux_side, ulOverlayHandle, pfGamma); + _ret = cppIVROverlay_IVROverlay_004_GetOverlayGamma(_this->u_iface, ulOverlayHandle, pfGamma); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_004_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_004_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTextureBounds(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_004_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTextureBounds(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_004_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTransformType(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_004_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_ShowOverlay(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_004_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_HideOverlay(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_004_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_004_IsOverlayVisible(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_004_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_004_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_004_PollNextOverlayEvent(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) +bool __thiscall winIVROverlay_IVROverlay_004_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); + _ret = cppIVROverlay_IVROverlay_004_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayInputMethod(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_004_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayInputMethod(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_004_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayMouseScale(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_004_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayMouseScale(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_004_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_004_ComputeOverlayIntersection(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_004_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_004_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +bool __thiscall winIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + _ret = cppIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTexture(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void *pTexture) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void *pTexture) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_005_set_overlay_texture(cppIVROverlay_IVROverlay_004_SetOverlayTexture, _this->linux_side, ulOverlayHandle, eTextureType, pTexture, 4); + _ret = ivroverlay_005_set_overlay_texture(cppIVROverlay_IVROverlay_004_SetOverlayTexture, _this->u_iface, ulOverlayHandle, eTextureType, pTexture, 4); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_ClearOverlayTexture(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_004_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayRaw(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + _ret = cppIVROverlay_IVROverlay_004_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayFromFile(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { VROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_004_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_CreateDashboardOverlay(winIVROverlay_IVROverlay_004 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + _ret = cppIVROverlay_IVROverlay_004_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_004_IsDashboardVisible(winIVROverlay_IVROverlay_004 *_this) +bool __thiscall winIVROverlay_IVROverlay_004_IsDashboardVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_IsDashboardVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_004_IsDashboardVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_004_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_004_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_004_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } -void __thiscall winIVROverlay_IVROverlay_004_ShowDashboard(winIVROverlay_IVROverlay_004 *_this, const char *pchOverlayToShow) +void __thiscall winIVROverlay_IVROverlay_004_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_004_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_004_ShowDashboard(_this->u_iface, pchOverlayToShow); } extern vtable_ptr winIVROverlay_IVROverlay_004_vtable; @@ -2103,24 +2078,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_004 *create_winIVROverlay_IVROverlay_004(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_004(void *u_iface) { - winIVROverlay_IVROverlay_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_004)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_004_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_004(void *object) +void destroy_winIVROverlay_IVROverlay_004(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_004 *create_winIVROverlay_IVROverlay_004_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_004_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_004)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(48); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 48 * sizeof(*vtable)); int i; @@ -2176,27 +2151,21 @@ winIVROverlay_IVROverlay_004 *create_winIVROverlay_IVROverlay_004_FnTable(void * init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_004_ShowDashboard, 1, FALSE, FALSE); for (i = 0; i < 48; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_004_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_004_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_004 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVROverlay_IVROverlay_005.h" -typedef struct __winIVROverlay_IVROverlay_005 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_005; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_DestroyOverlay, 12) @@ -2250,418 +2219,418 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_ShowKeyboard, 28) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetKeyboardText, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_HideKeyboard, 4) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_FindOverlay(winIVROverlay_IVROverlay_005 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_005_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_CreateOverlay(winIVROverlay_IVROverlay_005 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_005_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_DestroyOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_005_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetHighQualityOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_005_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_005_GetHighQualityOverlay(winIVROverlay_IVROverlay_005 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_005_GetHighQualityOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetHighQualityOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_005_GetHighQualityOverlay(_this->u_iface); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayKey(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, VROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayKey(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, VROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_005_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayName(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, VROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, VROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_005_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayImageData(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayImageData(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + _ret = cppIVROverlay_IVROverlay_005_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_005 *_this, VROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, VROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayFlag(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_005_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayFlag(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_005_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayColor(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + _ret = cppIVROverlay_IVROverlay_005_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayColor(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + _ret = cppIVROverlay_IVROverlay_005_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayAlpha(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_005_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayAlpha(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_005_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayGamma(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayGamma(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayGamma(_this->linux_side, ulOverlayHandle, fGamma); + _ret = cppIVROverlay_IVROverlay_005_SetOverlayGamma(_this->u_iface, ulOverlayHandle, fGamma); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayGamma(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float *pfGamma) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayGamma(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfGamma) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayGamma(_this->linux_side, ulOverlayHandle, pfGamma); + _ret = cppIVROverlay_IVROverlay_005_GetOverlayGamma(_this->u_iface, ulOverlayHandle, pfGamma); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_005_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_005_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTextureBounds(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_005_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTextureBounds(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_005_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTransformType(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_005_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_ShowOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_005_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_HideOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_005_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_005_IsOverlayVisible(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_005_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_005_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_005_PollNextOverlayEvent(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) +bool __thiscall winIVROverlay_IVROverlay_005_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); + _ret = cppIVROverlay_IVROverlay_005_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayInputMethod(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_005_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayInputMethod(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_005_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayMouseScale(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_005_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayMouseScale(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_005_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_005_ComputeOverlayIntersection(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_005_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_005_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +bool __thiscall winIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + _ret = cppIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_005_IsFocusOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_005_IsFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_IsFocusOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_005_IsFocusOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTexture(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void *pTexture) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void *pTexture) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_005_set_overlay_texture(cppIVROverlay_IVROverlay_005_SetOverlayTexture, _this->linux_side, ulOverlayHandle, eTextureType, pTexture, 5); + _ret = ivroverlay_005_set_overlay_texture(cppIVROverlay_IVROverlay_005_SetOverlayTexture, _this->u_iface, ulOverlayHandle, eTextureType, pTexture, 5); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_ClearOverlayTexture(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_005_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayRaw(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + _ret = cppIVROverlay_IVROverlay_005_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayFromFile(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { VROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_005_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_CreateDashboardOverlay(winIVROverlay_IVROverlay_005 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + _ret = cppIVROverlay_IVROverlay_005_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_005_IsDashboardVisible(winIVROverlay_IVROverlay_005 *_this) +bool __thiscall winIVROverlay_IVROverlay_005_IsDashboardVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_IsDashboardVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_005_IsDashboardVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_005_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_005_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_005_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } -void __thiscall winIVROverlay_IVROverlay_005_ShowDashboard(winIVROverlay_IVROverlay_005 *_this, const char *pchOverlayToShow) +void __thiscall winIVROverlay_IVROverlay_005_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_005_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_005_ShowDashboard(_this->u_iface, pchOverlayToShow); } -VROverlayError __thiscall winIVROverlay_IVROverlay_005_ShowKeyboard(winIVROverlay_IVROverlay_005 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_ShowKeyboard(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode) { VROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode); + _ret = cppIVROverlay_IVROverlay_005_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_005_GetKeyboardText(winIVROverlay_IVROverlay_005 *_this, char *pchText, uint32_t cchText) +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetKeyboardText(_this->linux_side, pchText, cchText); + _ret = cppIVROverlay_IVROverlay_005_GetKeyboardText(_this->u_iface, pchText, cchText); return _ret; } -void __thiscall winIVROverlay_IVROverlay_005_HideKeyboard(winIVROverlay_IVROverlay_005 *_this) +void __thiscall winIVROverlay_IVROverlay_005_HideKeyboard(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_005_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_005_HideKeyboard(_this->u_iface); } extern vtable_ptr winIVROverlay_IVROverlay_005_vtable; @@ -2727,24 +2696,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_005 *create_winIVROverlay_IVROverlay_005(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_005(void *u_iface) { - winIVROverlay_IVROverlay_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_005)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_005_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_005(void *object) +void destroy_winIVROverlay_IVROverlay_005(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_005 *create_winIVROverlay_IVROverlay_005_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_005_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_005)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(52); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 52 * sizeof(*vtable)); int i; @@ -2804,27 +2773,21 @@ winIVROverlay_IVROverlay_005 *create_winIVROverlay_IVROverlay_005_FnTable(void * init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_005_HideKeyboard, 0, FALSE, FALSE); for (i = 0; i < 52; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_005_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_005_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_005 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVROverlay_IVROverlay_007.h" -typedef struct __winIVROverlay_IVROverlay_007 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_007; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_DestroyOverlay, 12) @@ -2883,458 +2846,458 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ShowKeyboardForOverlay, 44) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetKeyboardText, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_HideKeyboard, 4) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_FindOverlay(winIVROverlay_IVROverlay_007 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_007_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_CreateOverlay(winIVROverlay_IVROverlay_007 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_007_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_DestroyOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_007_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetHighQualityOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_007_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_007_GetHighQualityOverlay(winIVROverlay_IVROverlay_007 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_007_GetHighQualityOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetHighQualityOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_007_GetHighQualityOverlay(_this->u_iface); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayKey(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayKey(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_007_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayName(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_007_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayImageData(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayImageData(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + _ret = cppIVROverlay_IVROverlay_007_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_007 *_this, EVROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayFlag(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_007_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayFlag(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_007_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayColor(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + _ret = cppIVROverlay_IVROverlay_007_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayColor(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + _ret = cppIVROverlay_IVROverlay_007_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayAlpha(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_007_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayAlpha(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_007_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_007_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_007_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTextureBounds(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_007_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTextureBounds(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_007_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTransformType(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_007_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_ShowOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_007_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_HideOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_007_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_007_IsOverlayVisible(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_007_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_007_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_007_PollNextOverlayEvent(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) +bool __thiscall winIVROverlay_IVROverlay_007_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); + _ret = cppIVROverlay_IVROverlay_007_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayInputMethod(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_007_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayInputMethod(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_007_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayMouseScale(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_007_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayMouseScale(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_007_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_007_ComputeOverlayIntersection(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_007_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_007_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +bool __thiscall winIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + _ret = cppIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_007_IsHoverTargetOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_007_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_007_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_007_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_007 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_007_GetGamepadFocusOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetGamepadFocusOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_007_GetGamepadFocusOverlay(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulNewFocusOverlay) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); + _ret = cppIVROverlay_IVROverlay_007_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayNeighbor(winIVROverlay_IVROverlay_007 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); + _ret = cppIVROverlay_IVROverlay_007_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_007 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); + _ret = cppIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTexture(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_007_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 7); + _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_007_SetOverlayTexture, _this->u_iface, ulOverlayHandle, pTexture, 7); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_ClearOverlayTexture(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_007_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayRaw(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + _ret = cppIVROverlay_IVROverlay_007_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayFromFile(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { EVROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_007_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_CreateDashboardOverlay(winIVROverlay_IVROverlay_007 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + _ret = cppIVROverlay_IVROverlay_007_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_007_IsDashboardVisible(winIVROverlay_IVROverlay_007 *_this) +bool __thiscall winIVROverlay_IVROverlay_007_IsDashboardVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_IsDashboardVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_007_IsDashboardVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_007_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_007_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_007_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } -void __thiscall winIVROverlay_IVROverlay_007_ShowDashboard(winIVROverlay_IVROverlay_007 *_this, const char *pchOverlayToShow) +void __thiscall winIVROverlay_IVROverlay_007_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_007_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_007_ShowDashboard(_this->u_iface, pchOverlayToShow); } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_ShowKeyboard(winIVROverlay_IVROverlay_007 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_ShowKeyboard(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_007_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_ShowKeyboardForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_007_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_007_GetKeyboardText(winIVROverlay_IVROverlay_007 *_this, char *pchText, uint32_t cchText) +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetKeyboardText(_this->linux_side, pchText, cchText); + _ret = cppIVROverlay_IVROverlay_007_GetKeyboardText(_this->u_iface, pchText, cchText); return _ret; } -void __thiscall winIVROverlay_IVROverlay_007_HideKeyboard(winIVROverlay_IVROverlay_007 *_this) +void __thiscall winIVROverlay_IVROverlay_007_HideKeyboard(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_007_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_007_HideKeyboard(_this->u_iface); } extern vtable_ptr winIVROverlay_IVROverlay_007_vtable; @@ -3405,24 +3368,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_007 *create_winIVROverlay_IVROverlay_007(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_007(void *u_iface) { - winIVROverlay_IVROverlay_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_007)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_007_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_007(void *object) +void destroy_winIVROverlay_IVROverlay_007(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_007 *create_winIVROverlay_IVROverlay_007_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_007_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_007)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(57); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 57 * sizeof(*vtable)); int i; @@ -3487,27 +3450,21 @@ winIVROverlay_IVROverlay_007 *create_winIVROverlay_IVROverlay_007_FnTable(void * init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_007_HideKeyboard, 0, FALSE, FALSE); for (i = 0; i < 57; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_007_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_007_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_007 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVROverlay_IVROverlay_008.h" -typedef struct __winIVROverlay_IVROverlay_008 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_008; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_DestroyOverlay, 12) @@ -3569,478 +3526,478 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_HideKeyboard, 4) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_FindOverlay(winIVROverlay_IVROverlay_008 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_008_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_CreateOverlay(winIVROverlay_IVROverlay_008 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_008_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_DestroyOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_008_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetHighQualityOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_008_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_008_GetHighQualityOverlay(winIVROverlay_IVROverlay_008 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_008_GetHighQualityOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetHighQualityOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_008_GetHighQualityOverlay(_this->u_iface); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayKey(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayKey(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_008_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayName(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_008_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayImageData(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayImageData(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + _ret = cppIVROverlay_IVROverlay_008_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_008 *_this, EVROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayFlag(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_008_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayFlag(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_008_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayColor(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + _ret = cppIVROverlay_IVROverlay_008_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayColor(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + _ret = cppIVROverlay_IVROverlay_008_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayAlpha(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_008_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayAlpha(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_008_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_008_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_008_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTextureBounds(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_008_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTextureBounds(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_008_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTransformType(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_008_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_ShowOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_008_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_HideOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_008_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_008_IsOverlayVisible(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_008_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_008_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + _ret = cppIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_008_PollNextOverlayEvent(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) +bool __thiscall winIVROverlay_IVROverlay_008_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); + _ret = cppIVROverlay_IVROverlay_008_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayInputMethod(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_008_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayInputMethod(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_008_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayMouseScale(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_008_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayMouseScale(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_008_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_008_ComputeOverlayIntersection(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_008_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_008_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +bool __thiscall winIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + _ret = cppIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_008_IsHoverTargetOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_008_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_008_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_008_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_008 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_008_GetGamepadFocusOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetGamepadFocusOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_008_GetGamepadFocusOverlay(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulNewFocusOverlay) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); + _ret = cppIVROverlay_IVROverlay_008_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayNeighbor(winIVROverlay_IVROverlay_008 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); + _ret = cppIVROverlay_IVROverlay_008_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_008 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); + _ret = cppIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTexture(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_008_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 8); + _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_008_SetOverlayTexture, _this->u_iface, ulOverlayHandle, pTexture, 8); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_ClearOverlayTexture(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_008_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayRaw(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + _ret = cppIVROverlay_IVROverlay_008_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayFromFile(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { EVROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_008_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_CreateDashboardOverlay(winIVROverlay_IVROverlay_008 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + _ret = cppIVROverlay_IVROverlay_008_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_008_IsDashboardVisible(winIVROverlay_IVROverlay_008 *_this) +bool __thiscall winIVROverlay_IVROverlay_008_IsDashboardVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_IsDashboardVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_008_IsDashboardVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_008_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_008_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_008_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } -void __thiscall winIVROverlay_IVROverlay_008_ShowDashboard(winIVROverlay_IVROverlay_008 *_this, const char *pchOverlayToShow) +void __thiscall winIVROverlay_IVROverlay_008_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_008_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_008_ShowDashboard(_this->u_iface, pchOverlayToShow); } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_ShowKeyboard(winIVROverlay_IVROverlay_008 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_ShowKeyboard(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_008_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_ShowKeyboardForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_008_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_008_GetKeyboardText(winIVROverlay_IVROverlay_008 *_this, char *pchText, uint32_t cchText) +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetKeyboardText(_this->linux_side, pchText, cchText); + _ret = cppIVROverlay_IVROverlay_008_GetKeyboardText(_this->u_iface, pchText, cchText); return _ret; } -void __thiscall winIVROverlay_IVROverlay_008_HideKeyboard(winIVROverlay_IVROverlay_008 *_this) +void __thiscall winIVROverlay_IVROverlay_008_HideKeyboard(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_008_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_008_HideKeyboard(_this->u_iface); } -void __thiscall winIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_008 *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void __thiscall winIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -void __thiscall winIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void __thiscall winIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); } extern vtable_ptr winIVROverlay_IVROverlay_008_vtable; @@ -4114,24 +4071,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_008 *create_winIVROverlay_IVROverlay_008(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_008(void *u_iface) { - winIVROverlay_IVROverlay_008 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_008)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_008_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_008(void *object) +void destroy_winIVROverlay_IVROverlay_008(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_008 *create_winIVROverlay_IVROverlay_008_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_008_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_008 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_008)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(60); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 60 * sizeof(*vtable)); int i; @@ -4199,27 +4156,21 @@ winIVROverlay_IVROverlay_008 *create_winIVROverlay_IVROverlay_008_FnTable(void * init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); for (i = 0; i < 60; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_008_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_008_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_008 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVROverlay_IVROverlay_010.h" -typedef struct __winIVROverlay_IVROverlay_010 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_010; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_DestroyOverlay, 12) @@ -4284,502 +4235,502 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_HideKeyboard, 4) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_FindOverlay(winIVROverlay_IVROverlay_010 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_010_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_CreateOverlay(winIVROverlay_IVROverlay_010 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_010_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_DestroyOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_010_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetHighQualityOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_010_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_010_GetHighQualityOverlay(winIVROverlay_IVROverlay_010 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_010_GetHighQualityOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetHighQualityOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_010_GetHighQualityOverlay(_this->u_iface); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayKey(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayKey(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_010_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayName(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_010_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayImageData(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayImageData(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + _ret = cppIVROverlay_IVROverlay_010_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_010 *_this, EVROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayFlag(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_010_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayFlag(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_010_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayColor(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + _ret = cppIVROverlay_IVROverlay_010_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayColor(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + _ret = cppIVROverlay_IVROverlay_010_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayAlpha(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_010_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayAlpha(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_010_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_010_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_010_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTextureBounds(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_010_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTextureBounds(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_010_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformType(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_010_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + _ret = cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + _ret = cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_ShowOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_010_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_HideOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_010_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_010_IsOverlayVisible(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_010_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_010_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + _ret = cppIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_010_PollNextOverlayEvent(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_0918 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_010_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_0918 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + _ret = cppIVROverlay_IVROverlay_010_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayInputMethod(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_010_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayInputMethod(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_010_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayMouseScale(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_010_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayMouseScale(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_010_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_010_ComputeOverlayIntersection(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_010_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_010_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +bool __thiscall winIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + _ret = cppIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_010_IsHoverTargetOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_010_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_010_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_010_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_010 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_010_GetGamepadFocusOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetGamepadFocusOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_010_GetGamepadFocusOverlay(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulNewFocusOverlay) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); + _ret = cppIVROverlay_IVROverlay_010_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayNeighbor(winIVROverlay_IVROverlay_010 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); + _ret = cppIVROverlay_IVROverlay_010_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_010 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); + _ret = cppIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTexture(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_010_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 10); + _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_010_SetOverlayTexture, _this->u_iface, ulOverlayHandle, pTexture, 10); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_ClearOverlayTexture(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_010_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayRaw(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + _ret = cppIVROverlay_IVROverlay_010_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayFromFile(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { EVROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_010_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_CreateDashboardOverlay(winIVROverlay_IVROverlay_010 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + _ret = cppIVROverlay_IVROverlay_010_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_010_IsDashboardVisible(winIVROverlay_IVROverlay_010 *_this) +bool __thiscall winIVROverlay_IVROverlay_010_IsDashboardVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_IsDashboardVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_010_IsDashboardVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_010_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_010_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_010_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } -void __thiscall winIVROverlay_IVROverlay_010_ShowDashboard(winIVROverlay_IVROverlay_010 *_this, const char *pchOverlayToShow) +void __thiscall winIVROverlay_IVROverlay_010_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_010_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_010_ShowDashboard(_this->u_iface, pchOverlayToShow); } -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_010 *_this) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_ShowKeyboard(winIVROverlay_IVROverlay_010 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_ShowKeyboard(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_010_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_ShowKeyboardForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_010_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_010_GetKeyboardText(winIVROverlay_IVROverlay_010 *_this, char *pchText, uint32_t cchText) +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetKeyboardText(_this->linux_side, pchText, cchText); + _ret = cppIVROverlay_IVROverlay_010_GetKeyboardText(_this->u_iface, pchText, cchText); return _ret; } -void __thiscall winIVROverlay_IVROverlay_010_HideKeyboard(winIVROverlay_IVROverlay_010 *_this) +void __thiscall winIVROverlay_IVROverlay_010_HideKeyboard(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_010_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_010_HideKeyboard(_this->u_iface); } -void __thiscall winIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_010 *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void __thiscall winIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -void __thiscall winIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void __thiscall winIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); } extern vtable_ptr winIVROverlay_IVROverlay_010_vtable; @@ -4856,24 +4807,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_010 *create_winIVROverlay_IVROverlay_010(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_010(void *u_iface) { - winIVROverlay_IVROverlay_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_010)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_010_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_010(void *object) +void destroy_winIVROverlay_IVROverlay_010(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_010 *create_winIVROverlay_IVROverlay_010_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_010_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_010)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(63); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 63 * sizeof(*vtable)); int i; @@ -4944,27 +4895,21 @@ winIVROverlay_IVROverlay_010 *create_winIVROverlay_IVROverlay_010_FnTable(void * init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); for (i = 0; i < 63; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_010_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_010_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_010 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVROverlay_IVROverlay_011.h" -typedef struct __winIVROverlay_IVROverlay_011 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_011; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_DestroyOverlay, 12) @@ -5033,534 +4978,534 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_HideKeyboard, 4) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_FindOverlay(winIVROverlay_IVROverlay_011 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_011_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_CreateOverlay(winIVROverlay_IVROverlay_011 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_011_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_DestroyOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_011_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetHighQualityOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_011_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_011_GetHighQualityOverlay(winIVROverlay_IVROverlay_011 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_011_GetHighQualityOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetHighQualityOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_011_GetHighQualityOverlay(_this->u_iface); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayKey(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayKey(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_011_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayName(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_011_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayImageData(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayImageData(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + _ret = cppIVROverlay_IVROverlay_011_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_011 *_this, EVROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayRenderingPid(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + _ret = cppIVROverlay_IVROverlay_011_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayRenderingPid(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_011_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayFlag(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_011_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayFlag(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_011_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayColor(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + _ret = cppIVROverlay_IVROverlay_011_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayColor(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + _ret = cppIVROverlay_IVROverlay_011_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayAlpha(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_011_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayAlpha(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_011_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_011_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_011_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTextureBounds(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_011_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTextureBounds(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_011_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformType(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_011_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + _ret = cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + _ret = cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ShowOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_011_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_HideOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_011_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_011_IsOverlayVisible(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_011_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_011_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + _ret = cppIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_011_PollNextOverlayEvent(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_0920 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_011_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_0920 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + _ret = cppIVROverlay_IVROverlay_011_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayInputMethod(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_011_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayInputMethod(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_011_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayMouseScale(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_011_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayMouseScale(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_011_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_011_ComputeOverlayIntersection(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_011_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_011_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +bool __thiscall winIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + _ret = cppIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_011_IsHoverTargetOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_011_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_011_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_011_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_011 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_011_GetGamepadFocusOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetGamepadFocusOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_011_GetGamepadFocusOverlay(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulNewFocusOverlay) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); + _ret = cppIVROverlay_IVROverlay_011_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayNeighbor(winIVROverlay_IVROverlay_011 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); + _ret = cppIVROverlay_IVROverlay_011_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_011 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); + _ret = cppIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTexture(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_011_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 11); + _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_011_SetOverlayTexture, _this->u_iface, ulOverlayHandle, pTexture, 11); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ClearOverlayTexture(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_011_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayRaw(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + _ret = cppIVROverlay_IVROverlay_011_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayFromFile(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { EVROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_011_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTexture(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, EGraphicsAPIConvention *pAPI, EColorSpace *pColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, EGraphicsAPIConvention *pAPI, EColorSpace *pColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPI, pColorSpace); + _ret = cppIVROverlay_IVROverlay_011_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPI, pColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + _ret = cppIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_CreateDashboardOverlay(winIVROverlay_IVROverlay_011 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + _ret = cppIVROverlay_IVROverlay_011_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_011_IsDashboardVisible(winIVROverlay_IVROverlay_011 *_this) +bool __thiscall winIVROverlay_IVROverlay_011_IsDashboardVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_IsDashboardVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_011_IsDashboardVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_011_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_011_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_011_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } -void __thiscall winIVROverlay_IVROverlay_011_ShowDashboard(winIVROverlay_IVROverlay_011 *_this, const char *pchOverlayToShow) +void __thiscall winIVROverlay_IVROverlay_011_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_011_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_011_ShowDashboard(_this->u_iface, pchOverlayToShow); } -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_011 *_this) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ShowKeyboard(winIVROverlay_IVROverlay_011 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ShowKeyboard(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_011_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ShowKeyboardForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_011_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_011_GetKeyboardText(winIVROverlay_IVROverlay_011 *_this, char *pchText, uint32_t cchText) +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetKeyboardText(_this->linux_side, pchText, cchText); + _ret = cppIVROverlay_IVROverlay_011_GetKeyboardText(_this->u_iface, pchText, cchText); return _ret; } -void __thiscall winIVROverlay_IVROverlay_011_HideKeyboard(winIVROverlay_IVROverlay_011 *_this) +void __thiscall winIVROverlay_IVROverlay_011_HideKeyboard(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_011_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_011_HideKeyboard(_this->u_iface); } -void __thiscall winIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_011 *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void __thiscall winIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -void __thiscall winIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void __thiscall winIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); } extern vtable_ptr winIVROverlay_IVROverlay_011_vtable; @@ -5641,24 +5586,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_011 *create_winIVROverlay_IVROverlay_011(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_011(void *u_iface) { - winIVROverlay_IVROverlay_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_011)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_011_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_011(void *object) +void destroy_winIVROverlay_IVROverlay_011(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_011 *create_winIVROverlay_IVROverlay_011_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_011_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_011)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(67); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 67 * sizeof(*vtable)); int i; @@ -5733,27 +5678,21 @@ winIVROverlay_IVROverlay_011 *create_winIVROverlay_IVROverlay_011_FnTable(void * init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); for (i = 0; i < 67; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_011_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_011_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_011 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVROverlay_IVROverlay_012.h" -typedef struct __winIVROverlay_IVROverlay_012 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_012; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_DestroyOverlay, 12) @@ -5823,542 +5762,542 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_HideKeyboard, 4) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_FindOverlay(winIVROverlay_IVROverlay_012 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_012_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_CreateOverlay(winIVROverlay_IVROverlay_012 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_012_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_DestroyOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_012_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetHighQualityOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_012_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_012_GetHighQualityOverlay(winIVROverlay_IVROverlay_012 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_012_GetHighQualityOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetHighQualityOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_012_GetHighQualityOverlay(_this->u_iface); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayKey(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayKey(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_012_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayName(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_012_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayImageData(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayImageData(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + _ret = cppIVROverlay_IVROverlay_012_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_012 *_this, EVROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayRenderingPid(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + _ret = cppIVROverlay_IVROverlay_012_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayRenderingPid(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_012_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayFlag(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_012_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayFlag(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_012_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayColor(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + _ret = cppIVROverlay_IVROverlay_012_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayColor(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + _ret = cppIVROverlay_IVROverlay_012_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayAlpha(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_012_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayAlpha(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_012_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_012_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_012_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTextureBounds(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_012_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTextureBounds(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_012_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformType(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_012_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + _ret = cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + _ret = cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ShowOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_012_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_HideOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_012_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_012_IsOverlayVisible(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_012_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_012_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + _ret = cppIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_012_PollNextOverlayEvent(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_101 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_012_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_101 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + _ret = cppIVROverlay_IVROverlay_012_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayInputMethod(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_012_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayInputMethod(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_012_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayMouseScale(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_012_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayMouseScale(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_012_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_012_ComputeOverlayIntersection(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_012_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_012_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +bool __thiscall winIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + _ret = cppIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_012_IsHoverTargetOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_012_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_012_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_012_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_012 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_012_GetGamepadFocusOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetGamepadFocusOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_012_GetGamepadFocusOverlay(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulNewFocusOverlay) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); + _ret = cppIVROverlay_IVROverlay_012_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayNeighbor(winIVROverlay_IVROverlay_012 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); + _ret = cppIVROverlay_IVROverlay_012_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_012 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); + _ret = cppIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTexture(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_012_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 12); + _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_012_SetOverlayTexture, _this->u_iface, ulOverlayHandle, pTexture, 12); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ClearOverlayTexture(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_012_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayRaw(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + _ret = cppIVROverlay_IVROverlay_012_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayFromFile(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { EVROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_012_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTexture(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, EGraphicsAPIConvention *pAPI, EColorSpace *pColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, EGraphicsAPIConvention *pAPI, EColorSpace *pColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPI, pColorSpace); + _ret = cppIVROverlay_IVROverlay_012_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPI, pColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + _ret = cppIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTextureSize(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + _ret = cppIVROverlay_IVROverlay_012_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_CreateDashboardOverlay(winIVROverlay_IVROverlay_012 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + _ret = cppIVROverlay_IVROverlay_012_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_012_IsDashboardVisible(winIVROverlay_IVROverlay_012 *_this) +bool __thiscall winIVROverlay_IVROverlay_012_IsDashboardVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_IsDashboardVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_012_IsDashboardVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_012_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_012_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_012_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } -void __thiscall winIVROverlay_IVROverlay_012_ShowDashboard(winIVROverlay_IVROverlay_012 *_this, const char *pchOverlayToShow) +void __thiscall winIVROverlay_IVROverlay_012_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_012_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_012_ShowDashboard(_this->u_iface, pchOverlayToShow); } -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_012 *_this) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ShowKeyboard(winIVROverlay_IVROverlay_012 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ShowKeyboard(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_012_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ShowKeyboardForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_012_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_012_GetKeyboardText(winIVROverlay_IVROverlay_012 *_this, char *pchText, uint32_t cchText) +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetKeyboardText(_this->linux_side, pchText, cchText); + _ret = cppIVROverlay_IVROverlay_012_GetKeyboardText(_this->u_iface, pchText, cchText); return _ret; } -void __thiscall winIVROverlay_IVROverlay_012_HideKeyboard(winIVROverlay_IVROverlay_012 *_this) +void __thiscall winIVROverlay_IVROverlay_012_HideKeyboard(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_012_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_012_HideKeyboard(_this->u_iface); } -void __thiscall winIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_012 *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void __thiscall winIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -void __thiscall winIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void __thiscall winIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); } extern vtable_ptr winIVROverlay_IVROverlay_012_vtable; @@ -6440,24 +6379,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_012 *create_winIVROverlay_IVROverlay_012(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_012(void *u_iface) { - winIVROverlay_IVROverlay_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_012)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_012_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_012(void *object) +void destroy_winIVROverlay_IVROverlay_012(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_012 *create_winIVROverlay_IVROverlay_012_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_012_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_012)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(68); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 68 * sizeof(*vtable)); int i; @@ -6533,27 +6472,21 @@ winIVROverlay_IVROverlay_012 *create_winIVROverlay_IVROverlay_012_FnTable(void * init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); for (i = 0; i < 68; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_012_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_012_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_012 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVROverlay_IVROverlay_013.h" -typedef struct __winIVROverlay_IVROverlay_013 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_013; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_DestroyOverlay, 12) @@ -6628,581 +6561,581 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolut DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay, 28) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_FindOverlay(winIVROverlay_IVROverlay_013 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_013_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_CreateOverlay(winIVROverlay_IVROverlay_013 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_013_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_DestroyOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_013_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetHighQualityOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_013_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_013_GetHighQualityOverlay(winIVROverlay_IVROverlay_013 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_013_GetHighQualityOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetHighQualityOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_013_GetHighQualityOverlay(_this->u_iface); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayKey(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayKey(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_013_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayName(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_013_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayImageData(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayImageData(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + _ret = cppIVROverlay_IVROverlay_013_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_013 *_this, EVROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayRenderingPid(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + _ret = cppIVROverlay_IVROverlay_013_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayRenderingPid(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_013_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayFlag(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_013_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayFlag(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_013_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayColor(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + _ret = cppIVROverlay_IVROverlay_013_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayColor(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + _ret = cppIVROverlay_IVROverlay_013_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayAlpha(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_013_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayAlpha(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_013_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTexelAspect(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + _ret = cppIVROverlay_IVROverlay_013_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTexelAspect(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + _ret = cppIVROverlay_IVROverlay_013_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlaySortOrder(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + _ret = cppIVROverlay_IVROverlay_013_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlaySortOrder(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + _ret = cppIVROverlay_IVROverlay_013_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_013_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_013_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTextureBounds(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_013_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTextureBounds(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_013_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformType(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_013_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + _ret = cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + _ret = cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ShowOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_013_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_HideOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_013_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_013_IsOverlayVisible(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_013_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_013_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + _ret = cppIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_013_PollNextOverlayEvent(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_104 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_013_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_104 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + _ret = cppIVROverlay_IVROverlay_013_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayInputMethod(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_013_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayInputMethod(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_013_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayMouseScale(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_013_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayMouseScale(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_013_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_013_ComputeOverlayIntersection(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_013_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_013_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +bool __thiscall winIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + _ret = cppIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_013_IsHoverTargetOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_013_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_013_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_013_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_013 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_013_GetGamepadFocusOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetGamepadFocusOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_013_GetGamepadFocusOverlay(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulNewFocusOverlay) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); + _ret = cppIVROverlay_IVROverlay_013_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayNeighbor(winIVROverlay_IVROverlay_013 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); + _ret = cppIVROverlay_IVROverlay_013_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_013 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); + _ret = cppIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTexture(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_013_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 13); + _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_013_SetOverlayTexture, _this->u_iface, ulOverlayHandle, pTexture, 13); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ClearOverlayTexture(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_013_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayRaw(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + _ret = cppIVROverlay_IVROverlay_013_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayFromFile(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { EVROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_013_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTexture(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, EGraphicsAPIConvention *pAPI, EColorSpace *pColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, EGraphicsAPIConvention *pAPI, EColorSpace *pColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPI, pColorSpace); + _ret = cppIVROverlay_IVROverlay_013_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPI, pColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + _ret = cppIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTextureSize(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + _ret = cppIVROverlay_IVROverlay_013_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_CreateDashboardOverlay(winIVROverlay_IVROverlay_013 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + _ret = cppIVROverlay_IVROverlay_013_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_013_IsDashboardVisible(winIVROverlay_IVROverlay_013 *_this) +bool __thiscall winIVROverlay_IVROverlay_013_IsDashboardVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_IsDashboardVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_013_IsDashboardVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_013_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_013_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_013_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } -void __thiscall winIVROverlay_IVROverlay_013_ShowDashboard(winIVROverlay_IVROverlay_013 *_this, const char *pchOverlayToShow) +void __thiscall winIVROverlay_IVROverlay_013_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_013_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_013_ShowDashboard(_this->u_iface, pchOverlayToShow); } -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_013 *_this) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ShowKeyboard(winIVROverlay_IVROverlay_013 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ShowKeyboard(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_013_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ShowKeyboardForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_013_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_013_GetKeyboardText(winIVROverlay_IVROverlay_013 *_this, char *pchText, uint32_t cchText) +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetKeyboardText(_this->linux_side, pchText, cchText); + _ret = cppIVROverlay_IVROverlay_013_GetKeyboardText(_this->u_iface, pchText, cchText); return _ret; } -void __thiscall winIVROverlay_IVROverlay_013_HideKeyboard(winIVROverlay_IVROverlay_013 *_this) +void __thiscall winIVROverlay_IVROverlay_013_HideKeyboard(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_013_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_013_HideKeyboard(_this->u_iface); } -void __thiscall winIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_013 *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void __thiscall winIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -void __thiscall winIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void __thiscall winIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); } -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayIntersectionMask(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); + _ret = cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); return _ret; } @@ -7290,24 +7223,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_013 *create_winIVROverlay_IVROverlay_013(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_013(void *u_iface) { - winIVROverlay_IVROverlay_013 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_013)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_013_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_013(void *object) +void destroy_winIVROverlay_IVROverlay_013(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_013 *create_winIVROverlay_IVROverlay_013_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_013_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_013 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_013)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(73); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 73 * sizeof(*vtable)); int i; @@ -7388,27 +7321,21 @@ winIVROverlay_IVROverlay_013 *create_winIVROverlay_IVROverlay_013_FnTable(void * init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_013_SetOverlayIntersectionMask, 4, FALSE, FALSE); for (i = 0; i < 73; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_013_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_013_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_013 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVROverlay_IVROverlay_014.h" -typedef struct __winIVROverlay_IVROverlay_014 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_014; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_DestroyOverlay, 12) @@ -7485,597 +7412,597 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayIntersectionMask, DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayFlags, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ShowMessageOverlay, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_FindOverlay(winIVROverlay_IVROverlay_014 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_014_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_CreateOverlay(winIVROverlay_IVROverlay_014 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_014_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_DestroyOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_014_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetHighQualityOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_014_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_014_GetHighQualityOverlay(winIVROverlay_IVROverlay_014 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_014_GetHighQualityOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetHighQualityOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_014_GetHighQualityOverlay(_this->u_iface); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayKey(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayKey(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_014_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayName(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_014_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayImageData(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayImageData(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + _ret = cppIVROverlay_IVROverlay_014_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_014 *_this, EVROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayRenderingPid(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + _ret = cppIVROverlay_IVROverlay_014_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayRenderingPid(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_014_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayFlag(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_014_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayFlag(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_014_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayColor(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + _ret = cppIVROverlay_IVROverlay_014_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayColor(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + _ret = cppIVROverlay_IVROverlay_014_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayAlpha(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_014_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayAlpha(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_014_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTexelAspect(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + _ret = cppIVROverlay_IVROverlay_014_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTexelAspect(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + _ret = cppIVROverlay_IVROverlay_014_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlaySortOrder(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + _ret = cppIVROverlay_IVROverlay_014_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlaySortOrder(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + _ret = cppIVROverlay_IVROverlay_014_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_014_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_014_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTextureBounds(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_014_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTextureBounds(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_014_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformType(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_014_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + _ret = cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + _ret = cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ShowOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_014_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_HideOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_014_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_014_IsOverlayVisible(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_014_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_014_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + _ret = cppIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_014_PollNextOverlayEvent(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_106 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_014_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_106 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + _ret = cppIVROverlay_IVROverlay_014_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayInputMethod(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_014_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayInputMethod(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_014_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayMouseScale(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_014_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayMouseScale(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_014_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_014_ComputeOverlayIntersection(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_014_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_014_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +bool __thiscall winIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + _ret = cppIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_014_IsHoverTargetOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_014_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_014_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_014_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_014 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_014_GetGamepadFocusOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetGamepadFocusOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_014_GetGamepadFocusOverlay(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulNewFocusOverlay) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); + _ret = cppIVROverlay_IVROverlay_014_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayNeighbor(winIVROverlay_IVROverlay_014 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); + _ret = cppIVROverlay_IVROverlay_014_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_014 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); + _ret = cppIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTexture(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_014_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 14); + _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_014_SetOverlayTexture, _this->u_iface, ulOverlayHandle, pTexture, 14); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ClearOverlayTexture(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_014_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayRaw(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + _ret = cppIVROverlay_IVROverlay_014_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayFromFile(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { EVROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_014_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTexture(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + _ret = cppIVROverlay_IVROverlay_014_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + _ret = cppIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTextureSize(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + _ret = cppIVROverlay_IVROverlay_014_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_CreateDashboardOverlay(winIVROverlay_IVROverlay_014 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + _ret = cppIVROverlay_IVROverlay_014_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_014_IsDashboardVisible(winIVROverlay_IVROverlay_014 *_this) +bool __thiscall winIVROverlay_IVROverlay_014_IsDashboardVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_IsDashboardVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_014_IsDashboardVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_014_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_014_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_014_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } -void __thiscall winIVROverlay_IVROverlay_014_ShowDashboard(winIVROverlay_IVROverlay_014 *_this, const char *pchOverlayToShow) +void __thiscall winIVROverlay_IVROverlay_014_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_014_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_014_ShowDashboard(_this->u_iface, pchOverlayToShow); } -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_014 *_this) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ShowKeyboard(winIVROverlay_IVROverlay_014 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ShowKeyboard(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_014_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ShowKeyboardForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_014_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_014_GetKeyboardText(winIVROverlay_IVROverlay_014 *_this, char *pchText, uint32_t cchText) +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetKeyboardText(_this->linux_side, pchText, cchText); + _ret = cppIVROverlay_IVROverlay_014_GetKeyboardText(_this->u_iface, pchText, cchText); return _ret; } -void __thiscall winIVROverlay_IVROverlay_014_HideKeyboard(winIVROverlay_IVROverlay_014 *_this) +void __thiscall winIVROverlay_IVROverlay_014_HideKeyboard(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_014_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_014_HideKeyboard(_this->u_iface); } -void __thiscall winIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_014 *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void __thiscall winIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -void __thiscall winIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void __thiscall winIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayIntersectionMask(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); + _ret = cppIVROverlay_IVROverlay_014_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayFlags(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); + _ret = cppIVROverlay_IVROverlay_014_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); return _ret; } -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_014_ShowMessageOverlay(winIVROverlay_IVROverlay_014 *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_014_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) { VRMessageOverlayResponse _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); + _ret = cppIVROverlay_IVROverlay_014_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); return _ret; } @@ -8165,24 +8092,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_014 *create_winIVROverlay_IVROverlay_014(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_014(void *u_iface) { - winIVROverlay_IVROverlay_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_014)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_014_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_014(void *object) +void destroy_winIVROverlay_IVROverlay_014(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_014 *create_winIVROverlay_IVROverlay_014_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_014_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_014)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(75); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 75 * sizeof(*vtable)); int i; @@ -8265,27 +8192,21 @@ winIVROverlay_IVROverlay_014 *create_winIVROverlay_IVROverlay_014_FnTable(void * init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_014_ShowMessageOverlay, 6, FALSE, FALSE); for (i = 0; i < 75; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_014_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_014_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_014 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVROverlay_IVROverlay_016.h" -typedef struct __winIVROverlay_IVROverlay_016 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_016; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_DestroyOverlay, 12) @@ -8368,644 +8289,644 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayFlags, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ShowMessageOverlay, 28) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_CloseMessageOverlay, 4) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_FindOverlay(winIVROverlay_IVROverlay_016 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_016_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_CreateOverlay(winIVROverlay_IVROverlay_016 *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_016_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayName, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_DestroyOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_016_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetHighQualityOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_016_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_016_GetHighQualityOverlay(winIVROverlay_IVROverlay_016 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_016_GetHighQualityOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetHighQualityOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_016_GetHighQualityOverlay(_this->u_iface); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayKey(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayKey(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayName(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayName(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); + _ret = cppIVROverlay_IVROverlay_016_SetOverlayName(_this->u_iface, ulOverlayHandle, pchName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayImageData(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayImageData(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_016 *_this, EVROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayRenderingPid(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + _ret = cppIVROverlay_IVROverlay_016_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayRenderingPid(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayFlag(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_016_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayFlag(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayColor(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + _ret = cppIVROverlay_IVROverlay_016_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayColor(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayAlpha(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_016_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayAlpha(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTexelAspect(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + _ret = cppIVROverlay_IVROverlay_016_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTexelAspect(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlaySortOrder(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + _ret = cppIVROverlay_IVROverlay_016_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlaySortOrder(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + _ret = cppIVROverlay_IVROverlay_016_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_016_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTextureBounds(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_016_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTextureBounds(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayRenderModel(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayRenderModel(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayRenderModel(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayRenderModel(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); + _ret = cppIVROverlay_IVROverlay_016_SetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchRenderModel, pColor); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformType(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + _ret = cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ShowOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_016_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_HideOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_016_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_016_IsOverlayVisible(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_016_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_016_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + _ret = cppIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_016_PollNextOverlayEvent(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1010 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_016_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1010 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + _ret = cppIVROverlay_IVROverlay_016_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayInputMethod(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayInputMethod(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_016_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayMouseScale(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayMouseScale(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_016_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_016_ComputeOverlayIntersection(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_016_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_016_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +bool __thiscall winIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + _ret = cppIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_016_IsHoverTargetOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_016_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_016_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_016_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_016 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_016_GetGamepadFocusOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetGamepadFocusOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_016_GetGamepadFocusOverlay(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulNewFocusOverlay) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); + _ret = cppIVROverlay_IVROverlay_016_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayNeighbor(winIVROverlay_IVROverlay_016 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); + _ret = cppIVROverlay_IVROverlay_016_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_016 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); + _ret = cppIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTexture(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_016_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 16); + _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_016_SetOverlayTexture, _this->u_iface, ulOverlayHandle, pTexture, 16); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ClearOverlayTexture(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_016_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayRaw(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + _ret = cppIVROverlay_IVROverlay_016_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayFromFile(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { EVROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_016_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTexture(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + _ret = cppIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTextureSize(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_CreateDashboardOverlay(winIVROverlay_IVROverlay_016 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + _ret = cppIVROverlay_IVROverlay_016_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_016_IsDashboardVisible(winIVROverlay_IVROverlay_016 *_this) +bool __thiscall winIVROverlay_IVROverlay_016_IsDashboardVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_IsDashboardVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_016_IsDashboardVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_016_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_016_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_016_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } -void __thiscall winIVROverlay_IVROverlay_016_ShowDashboard(winIVROverlay_IVROverlay_016 *_this, const char *pchOverlayToShow) +void __thiscall winIVROverlay_IVROverlay_016_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_016_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_016_ShowDashboard(_this->u_iface, pchOverlayToShow); } -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_016 *_this) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ShowKeyboard(winIVROverlay_IVROverlay_016 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ShowKeyboard(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_016_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ShowKeyboardForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_016_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_016_GetKeyboardText(winIVROverlay_IVROverlay_016 *_this, char *pchText, uint32_t cchText) +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetKeyboardText(_this->linux_side, pchText, cchText); + _ret = cppIVROverlay_IVROverlay_016_GetKeyboardText(_this->u_iface, pchText, cchText); return _ret; } -void __thiscall winIVROverlay_IVROverlay_016_HideKeyboard(winIVROverlay_IVROverlay_016 *_this) +void __thiscall winIVROverlay_IVROverlay_016_HideKeyboard(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_016_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_016_HideKeyboard(_this->u_iface); } -void __thiscall winIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_016 *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void __thiscall winIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -void __thiscall winIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void __thiscall winIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayIntersectionMask(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); + _ret = cppIVROverlay_IVROverlay_016_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayFlags(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); + _ret = cppIVROverlay_IVROverlay_016_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); return _ret; } -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_016_ShowMessageOverlay(winIVROverlay_IVROverlay_016 *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_016_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) { VRMessageOverlayResponse _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); + _ret = cppIVROverlay_IVROverlay_016_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); return _ret; } -void __thiscall winIVROverlay_IVROverlay_016_CloseMessageOverlay(winIVROverlay_IVROverlay_016 *_this) +void __thiscall winIVROverlay_IVROverlay_016_CloseMessageOverlay(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_016_CloseMessageOverlay(_this->linux_side); + cppIVROverlay_IVROverlay_016_CloseMessageOverlay(_this->u_iface); } extern vtable_ptr winIVROverlay_IVROverlay_016_vtable; @@ -9100,24 +9021,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_016 *create_winIVROverlay_IVROverlay_016(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_016(void *u_iface) { - winIVROverlay_IVROverlay_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_016)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_016_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_016(void *object) +void destroy_winIVROverlay_IVROverlay_016(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_016 *create_winIVROverlay_IVROverlay_016_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_016_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_016)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(81); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 81 * sizeof(*vtable)); int i; @@ -9206,27 +9127,21 @@ winIVROverlay_IVROverlay_016 *create_winIVROverlay_IVROverlay_016_FnTable(void * init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_016_CloseMessageOverlay, 0, FALSE, FALSE); for (i = 0; i < 81; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_016_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_016_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_016 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVROverlay_IVROverlay_017.h" -typedef struct __winIVROverlay_IVROverlay_017 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_017; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_DestroyOverlay, 12) @@ -9311,660 +9226,660 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayFlags, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_ShowMessageOverlay, 28) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_CloseMessageOverlay, 4) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_FindOverlay(winIVROverlay_IVROverlay_017 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_017_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_CreateOverlay(winIVROverlay_IVROverlay_017 *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_017_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayName, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_DestroyOverlay(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_017_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetHighQualityOverlay(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_017_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_017_GetHighQualityOverlay(winIVROverlay_IVROverlay_017 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_017_GetHighQualityOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetHighQualityOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_017_GetHighQualityOverlay(_this->u_iface); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayKey(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayKey(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayName(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayName(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); + _ret = cppIVROverlay_IVROverlay_017_SetOverlayName(_this->u_iface, ulOverlayHandle, pchName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayImageData(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayImageData(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_017 *_this, EVROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayRenderingPid(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + _ret = cppIVROverlay_IVROverlay_017_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayRenderingPid(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle) +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayFlag(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_017_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayFlag(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayColor(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + _ret = cppIVROverlay_IVROverlay_017_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayColor(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayAlpha(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_017_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayAlpha(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTexelAspect(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + _ret = cppIVROverlay_IVROverlay_017_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTexelAspect(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlaySortOrder(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + _ret = cppIVROverlay_IVROverlay_017_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlaySortOrder(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + _ret = cppIVROverlay_IVROverlay_017_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_017_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTextureBounds(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_017_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTextureBounds(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayRenderModel(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayRenderModel(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayRenderModel(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayRenderModel(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); + _ret = cppIVROverlay_IVROverlay_017_SetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchRenderModel, pColor); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformType(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + _ret = cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_ShowOverlay(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_017_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_HideOverlay(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_017_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_017_IsOverlayVisible(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_017_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_017_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + _ret = cppIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_017_PollNextOverlayEvent(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1011 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_017_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1011 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + _ret = cppIVROverlay_IVROverlay_017_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayInputMethod(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayInputMethod(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_017_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayMouseScale(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayMouseScale(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_017_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_017_ComputeOverlayIntersection(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_017_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_017_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +bool __thiscall winIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + _ret = cppIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_017_IsHoverTargetOverlay(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_017_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_017_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_017_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_017 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_017_GetGamepadFocusOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetGamepadFocusOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_017_GetGamepadFocusOverlay(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulNewFocusOverlay) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); + _ret = cppIVROverlay_IVROverlay_017_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayNeighbor(winIVROverlay_IVROverlay_017 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); + _ret = cppIVROverlay_IVROverlay_017_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_017 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); + _ret = cppIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *vCenter, float fRadius) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *vCenter, float fRadius) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, vCenter, fRadius); + _ret = cppIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, vCenter, fRadius); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, pfRadius); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, pvCenter, pfRadius); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTexture(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_017_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 17); + _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_017_SetOverlayTexture, _this->u_iface, ulOverlayHandle, pTexture, 17); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_ClearOverlayTexture(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_017_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayRaw(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + _ret = cppIVROverlay_IVROverlay_017_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayFromFile(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { EVROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_017_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTexture(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + _ret = cppIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTextureSize(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_CreateDashboardOverlay(winIVROverlay_IVROverlay_017 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + _ret = cppIVROverlay_IVROverlay_017_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_017_IsDashboardVisible(winIVROverlay_IVROverlay_017 *_this) +bool __thiscall winIVROverlay_IVROverlay_017_IsDashboardVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_IsDashboardVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_017_IsDashboardVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_017_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_017_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_017_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } -void __thiscall winIVROverlay_IVROverlay_017_ShowDashboard(winIVROverlay_IVROverlay_017 *_this, const char *pchOverlayToShow) +void __thiscall winIVROverlay_IVROverlay_017_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_017_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_017_ShowDashboard(_this->u_iface, pchOverlayToShow); } -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_017 *_this) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_ShowKeyboard(winIVROverlay_IVROverlay_017 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_ShowKeyboard(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_017_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_ShowKeyboardForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_017_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_017_GetKeyboardText(winIVROverlay_IVROverlay_017 *_this, char *pchText, uint32_t cchText) +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetKeyboardText(_this->linux_side, pchText, cchText); + _ret = cppIVROverlay_IVROverlay_017_GetKeyboardText(_this->u_iface, pchText, cchText); return _ret; } -void __thiscall winIVROverlay_IVROverlay_017_HideKeyboard(winIVROverlay_IVROverlay_017 *_this) +void __thiscall winIVROverlay_IVROverlay_017_HideKeyboard(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_017_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_017_HideKeyboard(_this->u_iface); } -void __thiscall winIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_017 *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void __thiscall winIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -void __thiscall winIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void __thiscall winIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayIntersectionMask(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); + _ret = cppIVROverlay_IVROverlay_017_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayFlags(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); + _ret = cppIVROverlay_IVROverlay_017_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); return _ret; } -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_017_ShowMessageOverlay(winIVROverlay_IVROverlay_017 *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_017_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) { VRMessageOverlayResponse _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); + _ret = cppIVROverlay_IVROverlay_017_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); return _ret; } -void __thiscall winIVROverlay_IVROverlay_017_CloseMessageOverlay(winIVROverlay_IVROverlay_017 *_this) +void __thiscall winIVROverlay_IVROverlay_017_CloseMessageOverlay(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_017_CloseMessageOverlay(_this->linux_side); + cppIVROverlay_IVROverlay_017_CloseMessageOverlay(_this->u_iface); } extern vtable_ptr winIVROverlay_IVROverlay_017_vtable; @@ -10061,24 +9976,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_017 *create_winIVROverlay_IVROverlay_017(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_017(void *u_iface) { - winIVROverlay_IVROverlay_017 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_017)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_017_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_017(void *object) +void destroy_winIVROverlay_IVROverlay_017(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_017 *create_winIVROverlay_IVROverlay_017_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_017_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_017 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_017)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(83); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 83 * sizeof(*vtable)); int i; @@ -10169,27 +10084,21 @@ winIVROverlay_IVROverlay_017 *create_winIVROverlay_IVROverlay_017_FnTable(void * init_thunk(&thunks[82], r, winIVROverlay_IVROverlay_017_CloseMessageOverlay, 0, FALSE, FALSE); for (i = 0; i < 83; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_017_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_017_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_017 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVROverlay_IVROverlay_018.h" -typedef struct __winIVROverlay_IVROverlay_018 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_018; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_DestroyOverlay, 12) @@ -10273,652 +10182,652 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayFlags, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ShowMessageOverlay, 28) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_CloseMessageOverlay, 4) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_FindOverlay(winIVROverlay_IVROverlay_018 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_018_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_CreateOverlay(winIVROverlay_IVROverlay_018 *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_018_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayName, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_DestroyOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_018_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetHighQualityOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_018_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_018_GetHighQualityOverlay(winIVROverlay_IVROverlay_018 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_018_GetHighQualityOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetHighQualityOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_018_GetHighQualityOverlay(_this->u_iface); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayKey(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayKey(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayName(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayName(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); + _ret = cppIVROverlay_IVROverlay_018_SetOverlayName(_this->u_iface, ulOverlayHandle, pchName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayImageData(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayImageData(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_018 *_this, EVROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayRenderingPid(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + _ret = cppIVROverlay_IVROverlay_018_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayRenderingPid(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayFlag(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_018_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayFlag(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayColor(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + _ret = cppIVROverlay_IVROverlay_018_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayColor(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayAlpha(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_018_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayAlpha(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTexelAspect(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + _ret = cppIVROverlay_IVROverlay_018_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTexelAspect(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlaySortOrder(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + _ret = cppIVROverlay_IVROverlay_018_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlaySortOrder(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + _ret = cppIVROverlay_IVROverlay_018_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_018_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTextureBounds(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_018_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTextureBounds(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayRenderModel(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayRenderModel(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayRenderModel(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayRenderModel(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); + _ret = cppIVROverlay_IVROverlay_018_SetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchRenderModel, pColor); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformType(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + _ret = cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ShowOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_018_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_HideOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_018_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_018_IsOverlayVisible(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_018_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_018_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + _ret = cppIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_018_PollNextOverlayEvent(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1017 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_018_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1017 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + _ret = cppIVROverlay_IVROverlay_018_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayInputMethod(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayInputMethod(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_018_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayMouseScale(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayMouseScale(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_018_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_018_ComputeOverlayIntersection(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_018_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_018_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_018_IsHoverTargetOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_018_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_018_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_018_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_018 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_018_GetGamepadFocusOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetGamepadFocusOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_018_GetGamepadFocusOverlay(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulNewFocusOverlay) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); + _ret = cppIVROverlay_IVROverlay_018_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayNeighbor(winIVROverlay_IVROverlay_018 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); + _ret = cppIVROverlay_IVROverlay_018_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_018 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); + _ret = cppIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *vCenter, float fRadius) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *vCenter, float fRadius) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, vCenter, fRadius); + _ret = cppIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, vCenter, fRadius); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, pfRadius); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, pvCenter, pfRadius); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTexture(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_018_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 18); + _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_018_SetOverlayTexture, _this->u_iface, ulOverlayHandle, pTexture, 18); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ClearOverlayTexture(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_018_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayRaw(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + _ret = cppIVROverlay_IVROverlay_018_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayFromFile(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { EVROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_018_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTexture(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + _ret = cppIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTextureSize(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_CreateDashboardOverlay(winIVROverlay_IVROverlay_018 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + _ret = cppIVROverlay_IVROverlay_018_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_018_IsDashboardVisible(winIVROverlay_IVROverlay_018 *_this) +bool __thiscall winIVROverlay_IVROverlay_018_IsDashboardVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_IsDashboardVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_018_IsDashboardVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_018_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_018_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_018_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } -void __thiscall winIVROverlay_IVROverlay_018_ShowDashboard(winIVROverlay_IVROverlay_018 *_this, const char *pchOverlayToShow) +void __thiscall winIVROverlay_IVROverlay_018_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_018_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_018_ShowDashboard(_this->u_iface, pchOverlayToShow); } -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_018 *_this) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ShowKeyboard(winIVROverlay_IVROverlay_018 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ShowKeyboard(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_018_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ShowKeyboardForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_018_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_018_GetKeyboardText(winIVROverlay_IVROverlay_018 *_this, char *pchText, uint32_t cchText) +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetKeyboardText(_this->linux_side, pchText, cchText); + _ret = cppIVROverlay_IVROverlay_018_GetKeyboardText(_this->u_iface, pchText, cchText); return _ret; } -void __thiscall winIVROverlay_IVROverlay_018_HideKeyboard(winIVROverlay_IVROverlay_018 *_this) +void __thiscall winIVROverlay_IVROverlay_018_HideKeyboard(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_018_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_018_HideKeyboard(_this->u_iface); } -void __thiscall winIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_018 *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void __thiscall winIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -void __thiscall winIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void __thiscall winIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayIntersectionMask(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); + _ret = cppIVROverlay_IVROverlay_018_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayFlags(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); + _ret = cppIVROverlay_IVROverlay_018_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); return _ret; } -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_018_ShowMessageOverlay(winIVROverlay_IVROverlay_018 *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_018_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) { VRMessageOverlayResponse _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); + _ret = cppIVROverlay_IVROverlay_018_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); return _ret; } -void __thiscall winIVROverlay_IVROverlay_018_CloseMessageOverlay(winIVROverlay_IVROverlay_018 *_this) +void __thiscall winIVROverlay_IVROverlay_018_CloseMessageOverlay(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_018_CloseMessageOverlay(_this->linux_side); + cppIVROverlay_IVROverlay_018_CloseMessageOverlay(_this->u_iface); } extern vtable_ptr winIVROverlay_IVROverlay_018_vtable; @@ -11014,24 +10923,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_018 *create_winIVROverlay_IVROverlay_018(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_018(void *u_iface) { - winIVROverlay_IVROverlay_018 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_018)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_018_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_018(void *object) +void destroy_winIVROverlay_IVROverlay_018(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_018 *create_winIVROverlay_IVROverlay_018_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_018_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_018 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_018)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(82); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 82 * sizeof(*vtable)); int i; @@ -11121,27 +11030,21 @@ winIVROverlay_IVROverlay_018 *create_winIVROverlay_IVROverlay_018_FnTable(void * init_thunk(&thunks[81], r, winIVROverlay_IVROverlay_018_CloseMessageOverlay, 0, FALSE, FALSE); for (i = 0; i < 82; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_018_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_018_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_018 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVROverlay_IVROverlay_019.h" -typedef struct __winIVROverlay_IVROverlay_019 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_019; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_DestroyOverlay, 12) @@ -11225,652 +11128,652 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayFlags, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ShowMessageOverlay, 28) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_CloseMessageOverlay, 4) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_FindOverlay(winIVROverlay_IVROverlay_019 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_019_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_CreateOverlay(winIVROverlay_IVROverlay_019 *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_019_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayName, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_DestroyOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_019_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetHighQualityOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_019_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_019_GetHighQualityOverlay(winIVROverlay_IVROverlay_019 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_019_GetHighQualityOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetHighQualityOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_019_GetHighQualityOverlay(_this->u_iface); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayKey(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayKey(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayName(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayName(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); + _ret = cppIVROverlay_IVROverlay_019_SetOverlayName(_this->u_iface, ulOverlayHandle, pchName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayImageData(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayImageData(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_019 *_this, EVROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayRenderingPid(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + _ret = cppIVROverlay_IVROverlay_019_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayRenderingPid(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayFlag(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_019_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayFlag(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayColor(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + _ret = cppIVROverlay_IVROverlay_019_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayColor(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayAlpha(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_019_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayAlpha(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTexelAspect(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + _ret = cppIVROverlay_IVROverlay_019_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTexelAspect(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlaySortOrder(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + _ret = cppIVROverlay_IVROverlay_019_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlaySortOrder(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + _ret = cppIVROverlay_IVROverlay_019_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_019_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTextureBounds(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_019_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTextureBounds(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayRenderModel(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayRenderModel(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayRenderModel(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayRenderModel(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); + _ret = cppIVROverlay_IVROverlay_019_SetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchRenderModel, pColor); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformType(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + _ret = cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ShowOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_019_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_HideOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_019_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_019_IsOverlayVisible(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_019_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_019_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + _ret = cppIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_019_PollNextOverlayEvent(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1610 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_019_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1610 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + _ret = cppIVROverlay_IVROverlay_019_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayInputMethod(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayInputMethod(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_019_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayMouseScale(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayMouseScale(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_019_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_019_ComputeOverlayIntersection(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_019_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_019_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_019_IsHoverTargetOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_019_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_019_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_019_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_019 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_019_GetGamepadFocusOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetGamepadFocusOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_019_GetGamepadFocusOverlay(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulNewFocusOverlay) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); + _ret = cppIVROverlay_IVROverlay_019_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayNeighbor(winIVROverlay_IVROverlay_019 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); + _ret = cppIVROverlay_IVROverlay_019_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_019 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); + _ret = cppIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *pvCenter, float fRadius) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *pvCenter, float fRadius) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, fRadius); + _ret = cppIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, pvCenter, fRadius); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, pfRadius); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, pvCenter, pfRadius); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTexture(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_019_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 19); + _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_019_SetOverlayTexture, _this->u_iface, ulOverlayHandle, pTexture, 19); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ClearOverlayTexture(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_019_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayRaw(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + _ret = cppIVROverlay_IVROverlay_019_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayFromFile(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { EVROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_019_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTexture(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + _ret = cppIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTextureSize(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_CreateDashboardOverlay(winIVROverlay_IVROverlay_019 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + _ret = cppIVROverlay_IVROverlay_019_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_019_IsDashboardVisible(winIVROverlay_IVROverlay_019 *_this) +bool __thiscall winIVROverlay_IVROverlay_019_IsDashboardVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_IsDashboardVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_019_IsDashboardVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_019_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_019_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_019_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } -void __thiscall winIVROverlay_IVROverlay_019_ShowDashboard(winIVROverlay_IVROverlay_019 *_this, const char *pchOverlayToShow) +void __thiscall winIVROverlay_IVROverlay_019_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_019_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_019_ShowDashboard(_this->u_iface, pchOverlayToShow); } -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_019 *_this) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ShowKeyboard(winIVROverlay_IVROverlay_019 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ShowKeyboard(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_019_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ShowKeyboardForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_019_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_019_GetKeyboardText(winIVROverlay_IVROverlay_019 *_this, char *pchText, uint32_t cchText) +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetKeyboardText(_this->linux_side, pchText, cchText); + _ret = cppIVROverlay_IVROverlay_019_GetKeyboardText(_this->u_iface, pchText, cchText); return _ret; } -void __thiscall winIVROverlay_IVROverlay_019_HideKeyboard(winIVROverlay_IVROverlay_019 *_this) +void __thiscall winIVROverlay_IVROverlay_019_HideKeyboard(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_019_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_019_HideKeyboard(_this->u_iface); } -void __thiscall winIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_019 *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void __thiscall winIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -void __thiscall winIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void __thiscall winIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayIntersectionMask(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); + _ret = cppIVROverlay_IVROverlay_019_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayFlags(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); + _ret = cppIVROverlay_IVROverlay_019_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); return _ret; } -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_019_ShowMessageOverlay(winIVROverlay_IVROverlay_019 *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_019_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) { VRMessageOverlayResponse _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); + _ret = cppIVROverlay_IVROverlay_019_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); return _ret; } -void __thiscall winIVROverlay_IVROverlay_019_CloseMessageOverlay(winIVROverlay_IVROverlay_019 *_this) +void __thiscall winIVROverlay_IVROverlay_019_CloseMessageOverlay(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_019_CloseMessageOverlay(_this->linux_side); + cppIVROverlay_IVROverlay_019_CloseMessageOverlay(_this->u_iface); } extern vtable_ptr winIVROverlay_IVROverlay_019_vtable; @@ -11966,24 +11869,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_019 *create_winIVROverlay_IVROverlay_019(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_019(void *u_iface) { - winIVROverlay_IVROverlay_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_019)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_019_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_019(void *object) +void destroy_winIVROverlay_IVROverlay_019(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_019 *create_winIVROverlay_IVROverlay_019_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_019_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_019)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(82); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 82 * sizeof(*vtable)); int i; @@ -12073,27 +11976,21 @@ winIVROverlay_IVROverlay_019 *create_winIVROverlay_IVROverlay_019_FnTable(void * init_thunk(&thunks[81], r, winIVROverlay_IVROverlay_019_CloseMessageOverlay, 0, FALSE, FALSE); for (i = 0; i < 82; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_019_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_019_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_019 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVROverlay_IVROverlay_020.h" -typedef struct __winIVROverlay_IVROverlay_020 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_020; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_DestroyOverlay, 12) @@ -12175,636 +12072,636 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayFlags, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ShowMessageOverlay, 28) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_CloseMessageOverlay, 4) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_FindOverlay(winIVROverlay_IVROverlay_020 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_020_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_CreateOverlay(winIVROverlay_IVROverlay_020 *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_020_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayName, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_DestroyOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_020_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayKey(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayKey(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayName(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayName(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); + _ret = cppIVROverlay_IVROverlay_020_SetOverlayName(_this->u_iface, ulOverlayHandle, pchName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayImageData(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayImageData(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_020 *_this, EVROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayRenderingPid(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + _ret = cppIVROverlay_IVROverlay_020_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayRenderingPid(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayFlag(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_020_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayFlag(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayColor(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + _ret = cppIVROverlay_IVROverlay_020_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayColor(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayAlpha(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_020_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayAlpha(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTexelAspect(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + _ret = cppIVROverlay_IVROverlay_020_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTexelAspect(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlaySortOrder(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + _ret = cppIVROverlay_IVROverlay_020_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlaySortOrder(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + _ret = cppIVROverlay_IVROverlay_020_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_020_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTextureBounds(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_020_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTextureBounds(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayRenderModel(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayRenderModel(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayRenderModel(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayRenderModel(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); + _ret = cppIVROverlay_IVROverlay_020_SetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchRenderModel, pColor); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformType(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + _ret = cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ShowOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_020_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_HideOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_020_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_020_IsOverlayVisible(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_020_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_020_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + _ret = cppIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_020_PollNextOverlayEvent(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1715 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_020_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1715 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + _ret = cppIVROverlay_IVROverlay_020_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayInputMethod(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayInputMethod(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_020_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayMouseScale(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayMouseScale(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_020_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_020_ComputeOverlayIntersection(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_020_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_020_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_020_IsHoverTargetOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_020_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_020_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_020_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_020 *_this) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_020_GetGamepadFocusOverlay(struct w_steam_iface *_this) { VROverlayHandle_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetGamepadFocusOverlay(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_020_GetGamepadFocusOverlay(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulNewFocusOverlay) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); + _ret = cppIVROverlay_IVROverlay_020_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayNeighbor(winIVROverlay_IVROverlay_020 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); + _ret = cppIVROverlay_IVROverlay_020_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_020 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); + _ret = cppIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *pvCenter, float fRadius) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *pvCenter, float fRadius) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, fRadius); + _ret = cppIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, pvCenter, fRadius); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, pfRadius); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, pvCenter, pfRadius); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTexture(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_020_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 20); + _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_020_SetOverlayTexture, _this->u_iface, ulOverlayHandle, pTexture, 20); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ClearOverlayTexture(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_020_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayRaw(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + _ret = cppIVROverlay_IVROverlay_020_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayFromFile(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { EVROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_020_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTexture(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + _ret = cppIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTextureSize(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_CreateDashboardOverlay(winIVROverlay_IVROverlay_020 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + _ret = cppIVROverlay_IVROverlay_020_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_020_IsDashboardVisible(winIVROverlay_IVROverlay_020 *_this) +bool __thiscall winIVROverlay_IVROverlay_020_IsDashboardVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_IsDashboardVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_020_IsDashboardVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_020_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_020_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_020_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } -void __thiscall winIVROverlay_IVROverlay_020_ShowDashboard(winIVROverlay_IVROverlay_020 *_this, const char *pchOverlayToShow) +void __thiscall winIVROverlay_IVROverlay_020_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_020_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_020_ShowDashboard(_this->u_iface, pchOverlayToShow); } -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_020 *_this) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ShowKeyboard(winIVROverlay_IVROverlay_020 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ShowKeyboard(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_020_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ShowKeyboardForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_020_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_020_GetKeyboardText(winIVROverlay_IVROverlay_020 *_this, char *pchText, uint32_t cchText) +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetKeyboardText(_this->linux_side, pchText, cchText); + _ret = cppIVROverlay_IVROverlay_020_GetKeyboardText(_this->u_iface, pchText, cchText); return _ret; } -void __thiscall winIVROverlay_IVROverlay_020_HideKeyboard(winIVROverlay_IVROverlay_020 *_this) +void __thiscall winIVROverlay_IVROverlay_020_HideKeyboard(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_020_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_020_HideKeyboard(_this->u_iface); } -void __thiscall winIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_020 *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void __thiscall winIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -void __thiscall winIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void __thiscall winIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayIntersectionMask(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); + _ret = cppIVROverlay_IVROverlay_020_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayFlags(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); + _ret = cppIVROverlay_IVROverlay_020_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); return _ret; } -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_020_ShowMessageOverlay(winIVROverlay_IVROverlay_020 *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_020_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) { VRMessageOverlayResponse _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); + _ret = cppIVROverlay_IVROverlay_020_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); return _ret; } -void __thiscall winIVROverlay_IVROverlay_020_CloseMessageOverlay(winIVROverlay_IVROverlay_020 *_this) +void __thiscall winIVROverlay_IVROverlay_020_CloseMessageOverlay(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_020_CloseMessageOverlay(_this->linux_side); + cppIVROverlay_IVROverlay_020_CloseMessageOverlay(_this->u_iface); } extern vtable_ptr winIVROverlay_IVROverlay_020_vtable; @@ -12898,24 +12795,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_020 *create_winIVROverlay_IVROverlay_020(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_020(void *u_iface) { - winIVROverlay_IVROverlay_020 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_020)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_020_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_020(void *object) +void destroy_winIVROverlay_IVROverlay_020(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_020 *create_winIVROverlay_IVROverlay_020_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_020_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_020 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_020)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(80); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 80 * sizeof(*vtable)); int i; @@ -13003,27 +12900,21 @@ winIVROverlay_IVROverlay_020 *create_winIVROverlay_IVROverlay_020_FnTable(void * init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_020_CloseMessageOverlay, 0, FALSE, FALSE); for (i = 0; i < 80; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_020_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_020_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_020 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVROverlay_IVROverlay_021.h" -typedef struct __winIVROverlay_IVROverlay_021 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_021; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_DestroyOverlay, 12) @@ -13101,604 +12992,604 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayFlags, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ShowMessageOverlay, 28) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_CloseMessageOverlay, 4) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_FindOverlay(winIVROverlay_IVROverlay_021 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_021_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_CreateOverlay(winIVROverlay_IVROverlay_021 *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_021_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayName, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_DestroyOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_021_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayKey(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayKey(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayName(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayName(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); + _ret = cppIVROverlay_IVROverlay_021_SetOverlayName(_this->u_iface, ulOverlayHandle, pchName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayImageData(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayImageData(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_021 *_this, EVROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayRenderingPid(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + _ret = cppIVROverlay_IVROverlay_021_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayRenderingPid(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayFlag(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_021_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayFlag(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayColor(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + _ret = cppIVROverlay_IVROverlay_021_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayColor(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayAlpha(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_021_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayAlpha(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTexelAspect(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + _ret = cppIVROverlay_IVROverlay_021_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTexelAspect(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlaySortOrder(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + _ret = cppIVROverlay_IVROverlay_021_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlaySortOrder(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + _ret = cppIVROverlay_IVROverlay_021_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_021_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayCurvature(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); + _ret = cppIVROverlay_IVROverlay_021_SetOverlayCurvature(_this->u_iface, ulOverlayHandle, fCurvature); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayCurvature(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayCurvature(_this->u_iface, ulOverlayHandle, pfCurvature); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTextureBounds(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_021_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTextureBounds(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayRenderModel(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayRenderModel(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayRenderModel(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayRenderModel(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); + _ret = cppIVROverlay_IVROverlay_021_SetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchRenderModel, pColor); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformType(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + _ret = cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ShowOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_021_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_HideOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_021_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_021_IsOverlayVisible(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_021_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_021_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + _ret = cppIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_021_PollNextOverlayEvent(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1819 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_021_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1819 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + _ret = cppIVROverlay_IVROverlay_021_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayInputMethod(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayInputMethod(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_021_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayMouseScale(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayMouseScale(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_021_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_021_ComputeOverlayIntersection(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_021_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_021_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_021_IsHoverTargetOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_021_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_021_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *pvCenter, float fRadius) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *pvCenter, float fRadius) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, fRadius); + _ret = cppIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, pvCenter, fRadius); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, pfRadius); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, pvCenter, pfRadius); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTexture(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_021_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 21); + _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_021_SetOverlayTexture, _this->u_iface, ulOverlayHandle, pTexture, 21); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ClearOverlayTexture(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_021_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayRaw(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + _ret = cppIVROverlay_IVROverlay_021_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayFromFile(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { EVROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_021_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTexture(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + _ret = cppIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTextureSize(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_CreateDashboardOverlay(winIVROverlay_IVROverlay_021 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + _ret = cppIVROverlay_IVROverlay_021_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_021_IsDashboardVisible(winIVROverlay_IVROverlay_021 *_this) +bool __thiscall winIVROverlay_IVROverlay_021_IsDashboardVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_IsDashboardVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_021_IsDashboardVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_021_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_021_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_021_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } -void __thiscall winIVROverlay_IVROverlay_021_ShowDashboard(winIVROverlay_IVROverlay_021 *_this, const char *pchOverlayToShow) +void __thiscall winIVROverlay_IVROverlay_021_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_021_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_021_ShowDashboard(_this->u_iface, pchOverlayToShow); } -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_021 *_this) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ShowKeyboard(winIVROverlay_IVROverlay_021 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ShowKeyboard(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_021_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ShowKeyboardForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_021_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_021_GetKeyboardText(winIVROverlay_IVROverlay_021 *_this, char *pchText, uint32_t cchText) +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetKeyboardText(_this->linux_side, pchText, cchText); + _ret = cppIVROverlay_IVROverlay_021_GetKeyboardText(_this->u_iface, pchText, cchText); return _ret; } -void __thiscall winIVROverlay_IVROverlay_021_HideKeyboard(winIVROverlay_IVROverlay_021 *_this) +void __thiscall winIVROverlay_IVROverlay_021_HideKeyboard(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_021_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_021_HideKeyboard(_this->u_iface); } -void __thiscall winIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_021 *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void __thiscall winIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -void __thiscall winIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void __thiscall winIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayIntersectionMask(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); + _ret = cppIVROverlay_IVROverlay_021_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayFlags(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); + _ret = cppIVROverlay_IVROverlay_021_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); return _ret; } -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_021_ShowMessageOverlay(winIVROverlay_IVROverlay_021 *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_021_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) { VRMessageOverlayResponse _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); + _ret = cppIVROverlay_IVROverlay_021_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); return _ret; } -void __thiscall winIVROverlay_IVROverlay_021_CloseMessageOverlay(winIVROverlay_IVROverlay_021 *_this) +void __thiscall winIVROverlay_IVROverlay_021_CloseMessageOverlay(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_021_CloseMessageOverlay(_this->linux_side); + cppIVROverlay_IVROverlay_021_CloseMessageOverlay(_this->u_iface); } extern vtable_ptr winIVROverlay_IVROverlay_021_vtable; @@ -13788,24 +13679,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_021 *create_winIVROverlay_IVROverlay_021(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_021(void *u_iface) { - winIVROverlay_IVROverlay_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_021)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_021_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_021(void *object) +void destroy_winIVROverlay_IVROverlay_021(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_021 *create_winIVROverlay_IVROverlay_021_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_021_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_021)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(76); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 76 * sizeof(*vtable)); int i; @@ -13889,27 +13780,21 @@ winIVROverlay_IVROverlay_021 *create_winIVROverlay_IVROverlay_021_FnTable(void * init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_021_CloseMessageOverlay, 0, FALSE, FALSE); for (i = 0; i < 76; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_021_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_021_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_021 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVROverlay_IVROverlay_022.h" -typedef struct __winIVROverlay_IVROverlay_022 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_022; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_DestroyOverlay, 12) @@ -13993,652 +13878,652 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetKeyboardPositionForOverl DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ShowMessageOverlay, 28) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_CloseMessageOverlay, 4) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_FindOverlay(winIVROverlay_IVROverlay_022 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_022_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_CreateOverlay(winIVROverlay_IVROverlay_022 *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_022_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayName, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_DestroyOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_022_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayKey(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayKey(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayName(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayName(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayName(_this->u_iface, ulOverlayHandle, pchName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayImageData(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayImageData(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_022 *_this, EVROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayRenderingPid(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayRenderingPid(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayFlag(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayFlag(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayFlags(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayColor(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayColor(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayAlpha(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayAlpha(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTexelAspect(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTexelAspect(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlaySortOrder(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + _ret = cppIVROverlay_IVROverlay_022_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlaySortOrder(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + _ret = cppIVROverlay_IVROverlay_022_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayCurvature(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayCurvature(_this->u_iface, ulOverlayHandle, fCurvature); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayCurvature(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayCurvature(_this->u_iface, ulOverlayHandle, pfCurvature); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTextureBounds(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTextureBounds(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayRenderModel(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayRenderModel(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayRenderModel(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayRenderModel(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchRenderModel, pColor); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformType(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformCursor(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformCursor(struct w_steam_iface *_this, VROverlayHandle_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayTransformCursor(_this->linux_side, ulCursorOverlayHandle, pvHotspot); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayTransformCursor(_this->u_iface, ulCursorOverlayHandle, pvHotspot); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformCursor(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvHotspot) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformCursor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvHotspot) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayTransformCursor(_this->linux_side, ulOverlayHandle, pvHotspot); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayTransformCursor(_this->u_iface, ulOverlayHandle, pvHotspot); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ShowOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_022_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_HideOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_022_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_022_IsOverlayVisible(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_022_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_022_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + _ret = cppIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_022_PollNextOverlayEvent(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1916 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_022_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1916 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + _ret = cppIVROverlay_IVROverlay_022_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayInputMethod(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayInputMethod(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayMouseScale(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayMouseScale(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_022_ComputeOverlayIntersection(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_022_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_022_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_022_IsHoverTargetOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_022_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_022_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *pvCenter, float fRadius) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *pvCenter, float fRadius) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, fRadius); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, pvCenter, fRadius); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, pfRadius); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, pvCenter, pfRadius); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayIntersectionMask(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration(_this->linux_side, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); + _ret = cppIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration(_this->u_iface, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayCursor(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayCursor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayCursor(_this->linux_side, ulOverlayHandle, ulCursorHandle); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayCursor(_this->u_iface, ulOverlayHandle, ulCursorHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvCursor) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvCursor) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle, pvCursor); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride(_this->u_iface, ulOverlayHandle, pvCursor); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTexture(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_022_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 22); + _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_022_SetOverlayTexture, _this->u_iface, ulOverlayHandle, pTexture, 22); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ClearOverlayTexture(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_022_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayRaw(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayFromFile(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { EVROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_022_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTexture(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + _ret = cppIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTextureSize(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + _ret = cppIVROverlay_IVROverlay_022_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_CreateDashboardOverlay(winIVROverlay_IVROverlay_022 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + _ret = cppIVROverlay_IVROverlay_022_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_022_IsDashboardVisible(winIVROverlay_IVROverlay_022 *_this) +bool __thiscall winIVROverlay_IVROverlay_022_IsDashboardVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_IsDashboardVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_022_IsDashboardVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_022_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_022_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_022_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } -void __thiscall winIVROverlay_IVROverlay_022_ShowDashboard(winIVROverlay_IVROverlay_022 *_this, const char *pchOverlayToShow) +void __thiscall winIVROverlay_IVROverlay_022_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_022_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_022_ShowDashboard(_this->u_iface, pchOverlayToShow); } -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_022 *_this) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ShowKeyboard(winIVROverlay_IVROverlay_022 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ShowKeyboard(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_022_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ShowKeyboardForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + _ret = cppIVROverlay_IVROverlay_022_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_022_GetKeyboardText(winIVROverlay_IVROverlay_022 *_this, char *pchText, uint32_t cchText) +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetKeyboardText(_this->linux_side, pchText, cchText); + _ret = cppIVROverlay_IVROverlay_022_GetKeyboardText(_this->u_iface, pchText, cchText); return _ret; } -void __thiscall winIVROverlay_IVROverlay_022_HideKeyboard(winIVROverlay_IVROverlay_022 *_this) +void __thiscall winIVROverlay_IVROverlay_022_HideKeyboard(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_022_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_022_HideKeyboard(_this->u_iface); } -void __thiscall winIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_022 *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void __thiscall winIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -void __thiscall winIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void __thiscall winIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); } -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_022_ShowMessageOverlay(winIVROverlay_IVROverlay_022 *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_022_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) { VRMessageOverlayResponse _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); + _ret = cppIVROverlay_IVROverlay_022_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); return _ret; } -void __thiscall winIVROverlay_IVROverlay_022_CloseMessageOverlay(winIVROverlay_IVROverlay_022 *_this) +void __thiscall winIVROverlay_IVROverlay_022_CloseMessageOverlay(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_022_CloseMessageOverlay(_this->linux_side); + cppIVROverlay_IVROverlay_022_CloseMessageOverlay(_this->u_iface); } extern vtable_ptr winIVROverlay_IVROverlay_022_vtable; @@ -14734,24 +14619,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_022 *create_winIVROverlay_IVROverlay_022(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_022(void *u_iface) { - winIVROverlay_IVROverlay_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_022)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_022_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_022(void *object) +void destroy_winIVROverlay_IVROverlay_022(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_022 *create_winIVROverlay_IVROverlay_022_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_022_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_022)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(82); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 82 * sizeof(*vtable)); int i; @@ -14841,27 +14726,21 @@ winIVROverlay_IVROverlay_022 *create_winIVROverlay_IVROverlay_022_FnTable(void * init_thunk(&thunks[81], r, winIVROverlay_IVROverlay_022_CloseMessageOverlay, 0, FALSE, FALSE); for (i = 0; i < 82; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_022_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_022_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_022 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVROverlay_IVROverlay_024.h" -typedef struct __winIVROverlay_IVROverlay_024 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_024; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_DestroyOverlay, 12) @@ -14941,620 +14820,620 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetKeyboardPositionForOverl DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ShowMessageOverlay, 28) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_CloseMessageOverlay, 4) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_FindOverlay(winIVROverlay_IVROverlay_024 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_024_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_CreateOverlay(winIVROverlay_IVROverlay_024 *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_024_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayName, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_DestroyOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_024_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayKey(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayKey(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayName(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayName(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); + _ret = cppIVROverlay_IVROverlay_024_SetOverlayName(_this->u_iface, ulOverlayHandle, pchName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayImageData(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayImageData(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_024 *_this, EVROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayRenderingPid(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + _ret = cppIVROverlay_IVROverlay_024_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayRenderingPid(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayFlag(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_024_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayFlag(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayFlags(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayColor(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + _ret = cppIVROverlay_IVROverlay_024_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayColor(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayAlpha(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_024_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayAlpha(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTexelAspect(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + _ret = cppIVROverlay_IVROverlay_024_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTexelAspect(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlaySortOrder(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + _ret = cppIVROverlay_IVROverlay_024_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlaySortOrder(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + _ret = cppIVROverlay_IVROverlay_024_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_024_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayCurvature(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); + _ret = cppIVROverlay_IVROverlay_024_SetOverlayCurvature(_this->u_iface, ulOverlayHandle, fCurvature); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayCurvature(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayCurvature(_this->u_iface, ulOverlayHandle, pfCurvature); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTextureBounds(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_024_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTextureBounds(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformType(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + _ret = cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformCursor(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformCursor(struct w_steam_iface *_this, VROverlayHandle_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayTransformCursor(_this->linux_side, ulCursorOverlayHandle, pvHotspot); + _ret = cppIVROverlay_IVROverlay_024_SetOverlayTransformCursor(_this->u_iface, ulCursorOverlayHandle, pvHotspot); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformCursor(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvHotspot) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformCursor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvHotspot) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayTransformCursor(_this->linux_side, ulOverlayHandle, pvHotspot); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayTransformCursor(_this->u_iface, ulOverlayHandle, pvHotspot); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ShowOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_024_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_HideOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_024_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_024_IsOverlayVisible(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_024_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_024_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + _ret = cppIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_024_PollNextOverlayEvent(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_11415 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_024_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_11415 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + _ret = cppIVROverlay_IVROverlay_024_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayInputMethod(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayInputMethod(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_024_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayMouseScale(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayMouseScale(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_024_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_024_ComputeOverlayIntersection(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_024_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_024_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_024_IsHoverTargetOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_024_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_024_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayIntersectionMask(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); + _ret = cppIVROverlay_IVROverlay_024_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration(_this->linux_side, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); + _ret = cppIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration(_this->u_iface, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayCursor(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayCursor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayCursor(_this->linux_side, ulOverlayHandle, ulCursorHandle); + _ret = cppIVROverlay_IVROverlay_024_SetOverlayCursor(_this->u_iface, ulOverlayHandle, ulCursorHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvCursor) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvCursor) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle, pvCursor); + _ret = cppIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride(_this->u_iface, ulOverlayHandle, pvCursor); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTexture(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_024_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 24); + _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_024_SetOverlayTexture, _this->u_iface, ulOverlayHandle, pTexture, 24); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ClearOverlayTexture(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_024_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayRaw(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); + _ret = cppIVROverlay_IVROverlay_024_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayFromFile(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { EVROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_024_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTexture(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + _ret = cppIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTextureSize(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + _ret = cppIVROverlay_IVROverlay_024_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_CreateDashboardOverlay(winIVROverlay_IVROverlay_024 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + _ret = cppIVROverlay_IVROverlay_024_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_024_IsDashboardVisible(winIVROverlay_IVROverlay_024 *_this) +bool __thiscall winIVROverlay_IVROverlay_024_IsDashboardVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_IsDashboardVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_024_IsDashboardVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_024_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_024_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_024_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } -void __thiscall winIVROverlay_IVROverlay_024_ShowDashboard(winIVROverlay_IVROverlay_024 *_this, const char *pchOverlayToShow) +void __thiscall winIVROverlay_IVROverlay_024_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_024_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_024_ShowDashboard(_this->u_iface, pchOverlayToShow); } -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_024 *_this) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ShowKeyboard(winIVROverlay_IVROverlay_024 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ShowKeyboard(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); + _ret = cppIVROverlay_IVROverlay_024_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ShowKeyboardForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); + _ret = cppIVROverlay_IVROverlay_024_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_024_GetKeyboardText(winIVROverlay_IVROverlay_024 *_this, char *pchText, uint32_t cchText) +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetKeyboardText(_this->linux_side, pchText, cchText); + _ret = cppIVROverlay_IVROverlay_024_GetKeyboardText(_this->u_iface, pchText, cchText); return _ret; } -void __thiscall winIVROverlay_IVROverlay_024_HideKeyboard(winIVROverlay_IVROverlay_024 *_this) +void __thiscall winIVROverlay_IVROverlay_024_HideKeyboard(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_024_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_024_HideKeyboard(_this->u_iface); } -void __thiscall winIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_024 *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void __thiscall winIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -void __thiscall winIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void __thiscall winIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); } -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_024_ShowMessageOverlay(winIVROverlay_IVROverlay_024 *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_024_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) { VRMessageOverlayResponse _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); + _ret = cppIVROverlay_IVROverlay_024_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); return _ret; } -void __thiscall winIVROverlay_IVROverlay_024_CloseMessageOverlay(winIVROverlay_IVROverlay_024 *_this) +void __thiscall winIVROverlay_IVROverlay_024_CloseMessageOverlay(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_024_CloseMessageOverlay(_this->linux_side); + cppIVROverlay_IVROverlay_024_CloseMessageOverlay(_this->u_iface); } extern vtable_ptr winIVROverlay_IVROverlay_024_vtable; @@ -15646,24 +15525,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_024 *create_winIVROverlay_IVROverlay_024(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_024(void *u_iface) { - winIVROverlay_IVROverlay_024 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_024)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_024_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_024(void *object) +void destroy_winIVROverlay_IVROverlay_024(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_024 *create_winIVROverlay_IVROverlay_024_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_024_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_024 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_024)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(78); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 78 * sizeof(*vtable)); int i; @@ -15749,27 +15628,21 @@ winIVROverlay_IVROverlay_024 *create_winIVROverlay_IVROverlay_024_FnTable(void * init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_024_CloseMessageOverlay, 0, FALSE, FALSE); for (i = 0; i < 78; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_024_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_024_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_024 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVROverlay_IVROverlay_025.h" -typedef struct __winIVROverlay_IVROverlay_025 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_025; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_DestroyOverlay, 12) @@ -15850,628 +15723,628 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetKeyboardPositionForOverl DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ShowMessageOverlay, 28) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_CloseMessageOverlay, 4) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_FindOverlay(winIVROverlay_IVROverlay_025 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_025_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_CreateOverlay(winIVROverlay_IVROverlay_025 *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_025_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayName, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_DestroyOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_025_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayKey(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayKey(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayName(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayName(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayName(_this->u_iface, ulOverlayHandle, pchName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayImageData(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayImageData(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_025 *_this, EVROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayRenderingPid(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayRenderingPid(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayFlag(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayFlag(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayFlags(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayColor(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayColor(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayAlpha(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayAlpha(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTexelAspect(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTexelAspect(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlaySortOrder(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + _ret = cppIVROverlay_IVROverlay_025_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlaySortOrder(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + _ret = cppIVROverlay_IVROverlay_025_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayCurvature(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayCurvature(_this->u_iface, ulOverlayHandle, fCurvature); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayCurvature(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayCurvature(_this->u_iface, ulOverlayHandle, pfCurvature); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTextureBounds(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTextureBounds(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformType(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformCursor(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformCursor(struct w_steam_iface *_this, VROverlayHandle_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayTransformCursor(_this->linux_side, ulCursorOverlayHandle, pvHotspot); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayTransformCursor(_this->u_iface, ulCursorOverlayHandle, pvHotspot); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformCursor(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvHotspot) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformCursor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvHotspot) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayTransformCursor(_this->linux_side, ulOverlayHandle, pvHotspot); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayTransformCursor(_this->u_iface, ulOverlayHandle, pvHotspot); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformProjection(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform, const VROverlayProjection_t *pProjection, EVREye eEye) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformProjection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform, const VROverlayProjection_t *pProjection, EVREye eEye) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayTransformProjection(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform, pProjection, eEye); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayTransformProjection(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform, pProjection, eEye); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ShowOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_025_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_HideOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_025_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_025_IsOverlayVisible(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_025_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_025_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + _ret = cppIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_025_PollNextOverlayEvent(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1168 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_025_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1168 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + _ret = cppIVROverlay_IVROverlay_025_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayInputMethod(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayInputMethod(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayMouseScale(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayMouseScale(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_025_ComputeOverlayIntersection(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_025_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_025_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_025_IsHoverTargetOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_025_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_025_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayIntersectionMask(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration(_this->linux_side, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); + _ret = cppIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration(_this->u_iface, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayCursor(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayCursor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayCursor(_this->linux_side, ulOverlayHandle, ulCursorHandle); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayCursor(_this->u_iface, ulOverlayHandle, ulCursorHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvCursor) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvCursor) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle, pvCursor); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride(_this->u_iface, ulOverlayHandle, pvCursor); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTexture(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_025_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 25); + _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_025_SetOverlayTexture, _this->u_iface, ulOverlayHandle, pTexture, 25); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ClearOverlayTexture(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_025_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayRaw(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayFromFile(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { EVROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_025_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTexture(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + _ret = cppIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTextureSize(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + _ret = cppIVROverlay_IVROverlay_025_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_CreateDashboardOverlay(winIVROverlay_IVROverlay_025 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + _ret = cppIVROverlay_IVROverlay_025_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_025_IsDashboardVisible(winIVROverlay_IVROverlay_025 *_this) +bool __thiscall winIVROverlay_IVROverlay_025_IsDashboardVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_IsDashboardVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_025_IsDashboardVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_025_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_025_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_025_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } -void __thiscall winIVROverlay_IVROverlay_025_ShowDashboard(winIVROverlay_IVROverlay_025 *_this, const char *pchOverlayToShow) +void __thiscall winIVROverlay_IVROverlay_025_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_025_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_025_ShowDashboard(_this->u_iface, pchOverlayToShow); } -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_025 *_this) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ShowKeyboard(winIVROverlay_IVROverlay_025 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ShowKeyboard(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); + _ret = cppIVROverlay_IVROverlay_025_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ShowKeyboardForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); + _ret = cppIVROverlay_IVROverlay_025_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_025_GetKeyboardText(winIVROverlay_IVROverlay_025 *_this, char *pchText, uint32_t cchText) +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetKeyboardText(_this->linux_side, pchText, cchText); + _ret = cppIVROverlay_IVROverlay_025_GetKeyboardText(_this->u_iface, pchText, cchText); return _ret; } -void __thiscall winIVROverlay_IVROverlay_025_HideKeyboard(winIVROverlay_IVROverlay_025 *_this) +void __thiscall winIVROverlay_IVROverlay_025_HideKeyboard(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_025_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_025_HideKeyboard(_this->u_iface); } -void __thiscall winIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_025 *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void __thiscall winIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -void __thiscall winIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void __thiscall winIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); } -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_025_ShowMessageOverlay(winIVROverlay_IVROverlay_025 *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_025_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) { VRMessageOverlayResponse _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); + _ret = cppIVROverlay_IVROverlay_025_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); return _ret; } -void __thiscall winIVROverlay_IVROverlay_025_CloseMessageOverlay(winIVROverlay_IVROverlay_025 *_this) +void __thiscall winIVROverlay_IVROverlay_025_CloseMessageOverlay(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_025_CloseMessageOverlay(_this->linux_side); + cppIVROverlay_IVROverlay_025_CloseMessageOverlay(_this->u_iface); } extern vtable_ptr winIVROverlay_IVROverlay_025_vtable; @@ -16564,24 +16437,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_025 *create_winIVROverlay_IVROverlay_025(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_025(void *u_iface) { - winIVROverlay_IVROverlay_025 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_025)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_025_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_025(void *object) +void destroy_winIVROverlay_IVROverlay_025(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_025 *create_winIVROverlay_IVROverlay_025_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_025_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_025 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_025)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(79); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 79 * sizeof(*vtable)); int i; @@ -16668,27 +16541,21 @@ winIVROverlay_IVROverlay_025 *create_winIVROverlay_IVROverlay_025_FnTable(void * init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_025_CloseMessageOverlay, 0, FALSE, FALSE); for (i = 0; i < 79; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_025_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_025_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_025 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVROverlay_IVROverlay_026.h" -typedef struct __winIVROverlay_IVROverlay_026 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_026; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_DestroyOverlay, 12) @@ -16772,652 +16639,652 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetKeyboardPositionForOverl DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ShowMessageOverlay, 28) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_CloseMessageOverlay, 4) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_FindOverlay(winIVROverlay_IVROverlay_026 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_026_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_CreateOverlay(winIVROverlay_IVROverlay_026 *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_026_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayName, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_DestroyOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_026_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayKey(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayKey(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayName(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayName(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayName(_this->u_iface, ulOverlayHandle, pchName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayImageData(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayImageData(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_026 *_this, EVROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayRenderingPid(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayRenderingPid(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayFlag(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayFlag(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayFlags(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayColor(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayColor(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayAlpha(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayAlpha(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTexelAspect(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTexelAspect(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlaySortOrder(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + _ret = cppIVROverlay_IVROverlay_026_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlaySortOrder(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + _ret = cppIVROverlay_IVROverlay_026_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayCurvature(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayCurvature(_this->u_iface, ulOverlayHandle, fCurvature); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayCurvature(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayCurvature(_this->u_iface, ulOverlayHandle, pfCurvature); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fRadians) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRadians) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch(_this->linux_side, ulOverlayHandle, fRadians); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch(_this->u_iface, ulOverlayHandle, fRadians); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRadians) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRadians) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch(_this->linux_side, ulOverlayHandle, pfRadians); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch(_this->u_iface, ulOverlayHandle, pfRadians); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTextureBounds(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTextureBounds(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformType(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformCursor(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformCursor(struct w_steam_iface *_this, VROverlayHandle_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayTransformCursor(_this->linux_side, ulCursorOverlayHandle, pvHotspot); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayTransformCursor(_this->u_iface, ulCursorOverlayHandle, pvHotspot); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformCursor(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvHotspot) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformCursor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvHotspot) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayTransformCursor(_this->linux_side, ulOverlayHandle, pvHotspot); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayTransformCursor(_this->u_iface, ulOverlayHandle, pvHotspot); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformProjection(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform, const VROverlayProjection_t *pProjection, EVREye eEye) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformProjection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform, const VROverlayProjection_t *pProjection, EVREye eEye) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayTransformProjection(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform, pProjection, eEye); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayTransformProjection(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform, pProjection, eEye); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ShowOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_026_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_HideOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_026_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_026_IsOverlayVisible(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_026_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_026_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + _ret = cppIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_WaitFrameSync(winIVROverlay_IVROverlay_026 *_this, uint32_t nTimeoutMs) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_WaitFrameSync(struct w_steam_iface *_this, uint32_t nTimeoutMs) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_WaitFrameSync(_this->linux_side, nTimeoutMs); + _ret = cppIVROverlay_IVROverlay_026_WaitFrameSync(_this->u_iface, nTimeoutMs); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_026_PollNextOverlayEvent(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1237 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_026_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1237 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + _ret = cppIVROverlay_IVROverlay_026_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayInputMethod(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayInputMethod(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayMouseScale(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayMouseScale(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_026_ComputeOverlayIntersection(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_026_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_026_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_026_IsHoverTargetOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_026_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_026_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayIntersectionMask(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration(_this->linux_side, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); + _ret = cppIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration(_this->u_iface, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayCursor(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayCursor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayCursor(_this->linux_side, ulOverlayHandle, ulCursorHandle); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayCursor(_this->u_iface, ulOverlayHandle, ulCursorHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvCursor) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvCursor) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle, pvCursor); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride(_this->u_iface, ulOverlayHandle, pvCursor); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTexture(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_026_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 26); + _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_026_SetOverlayTexture, _this->u_iface, ulOverlayHandle, pTexture, 26); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ClearOverlayTexture(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_026_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayRaw(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayFromFile(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { EVROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_026_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTexture(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + _ret = cppIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTextureSize(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + _ret = cppIVROverlay_IVROverlay_026_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_CreateDashboardOverlay(winIVROverlay_IVROverlay_026 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + _ret = cppIVROverlay_IVROverlay_026_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_026_IsDashboardVisible(winIVROverlay_IVROverlay_026 *_this) +bool __thiscall winIVROverlay_IVROverlay_026_IsDashboardVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_IsDashboardVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_026_IsDashboardVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_026_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_026_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_026_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } -void __thiscall winIVROverlay_IVROverlay_026_ShowDashboard(winIVROverlay_IVROverlay_026 *_this, const char *pchOverlayToShow) +void __thiscall winIVROverlay_IVROverlay_026_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_026_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_026_ShowDashboard(_this->u_iface, pchOverlayToShow); } -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_026 *_this) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ShowKeyboard(winIVROverlay_IVROverlay_026 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ShowKeyboard(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); + _ret = cppIVROverlay_IVROverlay_026_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ShowKeyboardForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); + _ret = cppIVROverlay_IVROverlay_026_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_026_GetKeyboardText(winIVROverlay_IVROverlay_026 *_this, char *pchText, uint32_t cchText) +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetKeyboardText(_this->linux_side, pchText, cchText); + _ret = cppIVROverlay_IVROverlay_026_GetKeyboardText(_this->u_iface, pchText, cchText); return _ret; } -void __thiscall winIVROverlay_IVROverlay_026_HideKeyboard(winIVROverlay_IVROverlay_026 *_this) +void __thiscall winIVROverlay_IVROverlay_026_HideKeyboard(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_026_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_026_HideKeyboard(_this->u_iface); } -void __thiscall winIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_026 *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void __thiscall winIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -void __thiscall winIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void __thiscall winIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); } -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_026_ShowMessageOverlay(winIVROverlay_IVROverlay_026 *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_026_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) { VRMessageOverlayResponse _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); + _ret = cppIVROverlay_IVROverlay_026_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); return _ret; } -void __thiscall winIVROverlay_IVROverlay_026_CloseMessageOverlay(winIVROverlay_IVROverlay_026 *_this) +void __thiscall winIVROverlay_IVROverlay_026_CloseMessageOverlay(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_026_CloseMessageOverlay(_this->linux_side); + cppIVROverlay_IVROverlay_026_CloseMessageOverlay(_this->u_iface); } extern vtable_ptr winIVROverlay_IVROverlay_026_vtable; @@ -17513,24 +17380,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_026 *create_winIVROverlay_IVROverlay_026(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_026(void *u_iface) { - winIVROverlay_IVROverlay_026 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_026)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_026_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_026(void *object) +void destroy_winIVROverlay_IVROverlay_026(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_026 *create_winIVROverlay_IVROverlay_026_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_026_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_026 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_026)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(82); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 82 * sizeof(*vtable)); int i; @@ -17620,27 +17487,21 @@ winIVROverlay_IVROverlay_026 *create_winIVROverlay_IVROverlay_026_FnTable(void * init_thunk(&thunks[81], r, winIVROverlay_IVROverlay_026_CloseMessageOverlay, 0, FALSE, FALSE); for (i = 0; i < 82; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_026_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_026_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_026 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVROverlay_IVROverlay_027.h" -typedef struct __winIVROverlay_IVROverlay_027 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_027; - DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_FindOverlay, 12) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_CreateOverlay, 16) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_DestroyOverlay, 12) @@ -17722,636 +17583,636 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetKeyboardPositionForOverl DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ShowMessageOverlay, 28) DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_CloseMessageOverlay, 4) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_FindOverlay(winIVROverlay_IVROverlay_027 *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_027_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_CreateOverlay(winIVROverlay_IVROverlay_027 *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); + _ret = cppIVROverlay_IVROverlay_027_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayName, pOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_DestroyOverlay(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_DestroyOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_027_DestroyOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayKey(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayKey(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayName(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayName(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayName(_this->u_iface, ulOverlayHandle, pchName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayImageData(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayImageData(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); return _ret; } -const char * __thiscall winIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_027 *_this, EVROverlayError error) +const char * __thiscall winIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum(_this->u_iface, error); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayRenderingPid(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayRenderingPid(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayFlag(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayFlag(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayFlags(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayColor(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayColor(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayAlpha(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayAlpha(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTexelAspect(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTexelAspect(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlaySortOrder(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + _ret = cppIVROverlay_IVROverlay_027_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlaySortOrder(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + _ret = cppIVROverlay_IVROverlay_027_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayCurvature(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayCurvature(_this->u_iface, ulOverlayHandle, fCurvature); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayCurvature(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayCurvature(_this->u_iface, ulOverlayHandle, pfCurvature); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float fRadians) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRadians) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch(_this->linux_side, ulOverlayHandle, fRadians); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch(_this->u_iface, ulOverlayHandle, fRadians); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float *pfRadians) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRadians) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch(_this->linux_side, ulOverlayHandle, pfRadians); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch(_this->u_iface, ulOverlayHandle, pfRadians); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTextureBounds(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTextureBounds(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformType(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformCursor(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformCursor(struct w_steam_iface *_this, VROverlayHandle_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayTransformCursor(_this->linux_side, ulCursorOverlayHandle, pvHotspot); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayTransformCursor(_this->u_iface, ulCursorOverlayHandle, pvHotspot); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformCursor(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvHotspot) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformCursor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvHotspot) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayTransformCursor(_this->linux_side, ulOverlayHandle, pvHotspot); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayTransformCursor(_this->u_iface, ulOverlayHandle, pvHotspot); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformProjection(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform, const VROverlayProjection_t *pProjection, EVREye eEye) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformProjection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform, const VROverlayProjection_t *pProjection, EVREye eEye) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayTransformProjection(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform, pProjection, eEye); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayTransformProjection(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform, pProjection, eEye); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ShowOverlay(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_ShowOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_027_ShowOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_HideOverlay(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_HideOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_027_HideOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_027_IsOverlayVisible(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_027_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_027_IsOverlayVisible(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + _ret = cppIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_WaitFrameSync(winIVROverlay_IVROverlay_027 *_this, uint32_t nTimeoutMs) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_WaitFrameSync(struct w_steam_iface *_this, uint32_t nTimeoutMs) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_WaitFrameSync(_this->linux_side, nTimeoutMs); + _ret = cppIVROverlay_IVROverlay_027_WaitFrameSync(_this->u_iface, nTimeoutMs); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_027_PollNextOverlayEvent(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1267 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVROverlay_IVROverlay_027_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1267 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + _ret = cppIVROverlay_IVROverlay_027_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayInputMethod(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayInputMethod(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayMouseScale(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayMouseScale(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_027_ComputeOverlayIntersection(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +bool __thiscall winIVROverlay_IVROverlay_027_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + _ret = cppIVROverlay_IVROverlay_027_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_027_IsHoverTargetOverlay(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_027_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_027_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayIntersectionMask(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration(_this->linux_side, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); + _ret = cppIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration(_this->u_iface, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayCursor(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayCursor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayCursor(_this->linux_side, ulOverlayHandle, ulCursorHandle); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayCursor(_this->u_iface, ulOverlayHandle, ulCursorHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvCursor) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvCursor) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle, pvCursor); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride(_this->u_iface, ulOverlayHandle, pvCursor); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTexture(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_027_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 27); + _ret = ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_027_SetOverlayTexture, _this->u_iface, ulOverlayHandle, pTexture, 27); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ClearOverlayTexture(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_027_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayRaw(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayRaw(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayFromFile(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { EVROverlayError _ret; char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + _ret = cppIVROverlay_IVROverlay_027_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTexture(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + _ret = cppIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTextureSize(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + _ret = cppIVROverlay_IVROverlay_027_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_CreateDashboardOverlay(winIVROverlay_IVROverlay_027 *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + _ret = cppIVROverlay_IVROverlay_027_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_027_IsDashboardVisible(winIVROverlay_IVROverlay_027 *_this) +bool __thiscall winIVROverlay_IVROverlay_027_IsDashboardVisible(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_IsDashboardVisible(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_027_IsDashboardVisible(_this->u_iface); return _ret; } -bool __thiscall winIVROverlay_IVROverlay_027_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlay_IVROverlay_027_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlay_IVROverlay_027_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + _ret = cppIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + _ret = cppIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); return _ret; } -void __thiscall winIVROverlay_IVROverlay_027_ShowDashboard(winIVROverlay_IVROverlay_027 *_this, const char *pchOverlayToShow) +void __thiscall winIVROverlay_IVROverlay_027_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_027_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_027_ShowDashboard(_this->u_iface, pchOverlayToShow); } -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_027 *_this) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice(_this->linux_side); + _ret = cppIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice(_this->u_iface); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ShowKeyboard(winIVROverlay_IVROverlay_027 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ShowKeyboard(struct w_steam_iface *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); + _ret = cppIVROverlay_IVROverlay_027_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); return _ret; } -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ShowKeyboardForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); + _ret = cppIVROverlay_IVROverlay_027_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); return _ret; } -uint32_t __thiscall winIVROverlay_IVROverlay_027_GetKeyboardText(winIVROverlay_IVROverlay_027 *_this, char *pchText, uint32_t cchText) +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetKeyboardText(_this->linux_side, pchText, cchText); + _ret = cppIVROverlay_IVROverlay_027_GetKeyboardText(_this->u_iface, pchText, cchText); return _ret; } -void __thiscall winIVROverlay_IVROverlay_027_HideKeyboard(winIVROverlay_IVROverlay_027 *_this) +void __thiscall winIVROverlay_IVROverlay_027_HideKeyboard(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_027_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_027_HideKeyboard(_this->u_iface); } -void __thiscall winIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_027 *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void __thiscall winIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -void __thiscall winIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void __thiscall winIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); } -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_027_ShowMessageOverlay(winIVROverlay_IVROverlay_027 *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_027_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) { VRMessageOverlayResponse _ret; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); + _ret = cppIVROverlay_IVROverlay_027_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); return _ret; } -void __thiscall winIVROverlay_IVROverlay_027_CloseMessageOverlay(winIVROverlay_IVROverlay_027 *_this) +void __thiscall winIVROverlay_IVROverlay_027_CloseMessageOverlay(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_027_CloseMessageOverlay(_this->linux_side); + cppIVROverlay_IVROverlay_027_CloseMessageOverlay(_this->u_iface); } extern vtable_ptr winIVROverlay_IVROverlay_027_vtable; @@ -18445,24 +18306,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlay_IVROverlay_027 *create_winIVROverlay_IVROverlay_027(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_027(void *u_iface) { - winIVROverlay_IVROverlay_027 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_027)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlay_IVROverlay_027_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlay_IVROverlay_027(void *object) +void destroy_winIVROverlay_IVROverlay_027(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_027 *create_winIVROverlay_IVROverlay_027_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlay_IVROverlay_027_FnTable(void *u_iface) { - winIVROverlay_IVROverlay_027 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_027)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(80); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 80 * sizeof(*vtable)); int i; @@ -18550,17 +18411,16 @@ winIVROverlay_IVROverlay_027 *create_winIVROverlay_IVROverlay_027_FnTable(void * init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_027_CloseMessageOverlay, 0, FALSE, FALSE); for (i = 0; i < 80; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_027_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_027_FnTable(struct w_steam_iface *object) { - winIVROverlay_IVROverlay_027 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } diff --git a/vrclient_x64/vrclient_x64/winIVROverlayView.c b/vrclient_x64/vrclient_x64/winIVROverlayView.c index fda4f649..c92a4ea7 100644 --- a/vrclient_x64/vrclient_x64/winIVROverlayView.c +++ b/vrclient_x64/vrclient_x64/winIVROverlayView.c @@ -6,8 +6,6 @@ #include "winbase.h" #include "wine/debug.h" -#include "cxx.h" - #include "vrclient_defs.h" #include "vrclient_private.h" @@ -20,43 +18,38 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); #include "cppIVROverlayView_IVROverlayView_003.h" -typedef struct __winIVROverlayView_IVROverlayView_003 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlayView_IVROverlayView_003; - DEFINE_THISCALL_WRAPPER(winIVROverlayView_IVROverlayView_003_AcquireOverlayView, 24) DEFINE_THISCALL_WRAPPER(winIVROverlayView_IVROverlayView_003_ReleaseOverlayView, 8) DEFINE_THISCALL_WRAPPER(winIVROverlayView_IVROverlayView_003_PostOverlayEvent, 16) DEFINE_THISCALL_WRAPPER(winIVROverlayView_IVROverlayView_003_IsViewingPermitted, 12) -EVROverlayError __thiscall winIVROverlayView_IVROverlayView_003_AcquireOverlayView(winIVROverlayView_IVROverlayView_003 *_this, VROverlayHandle_t ulOverlayHandle, VRNativeDevice_t *pNativeDevice, VROverlayView_t *pOverlayView, uint32_t unOverlayViewSize) +EVROverlayError __thiscall winIVROverlayView_IVROverlayView_003_AcquireOverlayView(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRNativeDevice_t *pNativeDevice, VROverlayView_t *pOverlayView, uint32_t unOverlayViewSize) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlayView_IVROverlayView_003_AcquireOverlayView(_this->linux_side, ulOverlayHandle, pNativeDevice, pOverlayView, unOverlayViewSize); + _ret = cppIVROverlayView_IVROverlayView_003_AcquireOverlayView(_this->u_iface, ulOverlayHandle, pNativeDevice, pOverlayView, unOverlayViewSize); return _ret; } -EVROverlayError __thiscall winIVROverlayView_IVROverlayView_003_ReleaseOverlayView(winIVROverlayView_IVROverlayView_003 *_this, VROverlayView_t *pOverlayView) +EVROverlayError __thiscall winIVROverlayView_IVROverlayView_003_ReleaseOverlayView(struct w_steam_iface *_this, VROverlayView_t *pOverlayView) { EVROverlayError _ret; TRACE("%p\n", _this); - _ret = cppIVROverlayView_IVROverlayView_003_ReleaseOverlayView(_this->linux_side, pOverlayView); + _ret = cppIVROverlayView_IVROverlayView_003_ReleaseOverlayView(_this->u_iface, pOverlayView); return _ret; } -void __thiscall winIVROverlayView_IVROverlayView_003_PostOverlayEvent(winIVROverlayView_IVROverlayView_003 *_this, VROverlayHandle_t ulOverlayHandle, const VREvent_t *pvrEvent) +void __thiscall winIVROverlayView_IVROverlayView_003_PostOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VREvent_t *pvrEvent) { TRACE("%p\n", _this); - cppIVROverlayView_IVROverlayView_003_PostOverlayEvent(_this->linux_side, ulOverlayHandle, pvrEvent); + cppIVROverlayView_IVROverlayView_003_PostOverlayEvent(_this->u_iface, ulOverlayHandle, pvrEvent); } -bool __thiscall winIVROverlayView_IVROverlayView_003_IsViewingPermitted(winIVROverlayView_IVROverlayView_003 *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall winIVROverlayView_IVROverlayView_003_IsViewingPermitted(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVROverlayView_IVROverlayView_003_IsViewingPermitted(_this->linux_side, ulOverlayHandle); + _ret = cppIVROverlayView_IVROverlayView_003_IsViewingPermitted(_this->u_iface, ulOverlayHandle); return _ret; } @@ -75,24 +68,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVROverlayView_IVROverlayView_003 *create_winIVROverlayView_IVROverlayView_003(void *linux_side) +struct w_steam_iface *create_winIVROverlayView_IVROverlayView_003(void *u_iface) { - winIVROverlayView_IVROverlayView_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlayView_IVROverlayView_003)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVROverlayView_IVROverlayView_003_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVROverlayView_IVROverlayView_003(void *object) +void destroy_winIVROverlayView_IVROverlayView_003(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlayView_IVROverlayView_003 *create_winIVROverlayView_IVROverlayView_003_FnTable(void *linux_side) +struct w_steam_iface *create_winIVROverlayView_IVROverlayView_003_FnTable(void *u_iface) { - winIVROverlayView_IVROverlayView_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlayView_IVROverlayView_003)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(4); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 4 * sizeof(*vtable)); int i; @@ -104,17 +97,16 @@ winIVROverlayView_IVROverlayView_003 *create_winIVROverlayView_IVROverlayView_00 init_thunk(&thunks[3], r, winIVROverlayView_IVROverlayView_003_IsViewingPermitted, 1, FALSE, FALSE); for (i = 0; i < 4; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlayView_IVROverlayView_003_FnTable(void *object) +void destroy_winIVROverlayView_IVROverlayView_003_FnTable(struct w_steam_iface *object) { - winIVROverlayView_IVROverlayView_003 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } diff --git a/vrclient_x64/vrclient_x64/winIVRRenderModels.c b/vrclient_x64/vrclient_x64/winIVRRenderModels.c index 64fbef10..83c5157d 100644 --- a/vrclient_x64/vrclient_x64/winIVRRenderModels.c +++ b/vrclient_x64/vrclient_x64/winIVRRenderModels.c @@ -6,8 +6,6 @@ #include "winbase.h" #include "wine/debug.h" -#include "cxx.h" - #include "vrclient_defs.h" #include "vrclient_private.h" @@ -20,43 +18,38 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); #include "cppIVRRenderModels_IVRRenderModels_001.h" -typedef struct __winIVRRenderModels_IVRRenderModels_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVRRenderModels_IVRRenderModels_001; - DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_LoadRenderModel, 12) DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_FreeRenderModel, 8) DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_GetRenderModelName, 16) DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount, 4) -bool __thiscall winIVRRenderModels_IVRRenderModels_001_LoadRenderModel(winIVRRenderModels_IVRRenderModels_001 *_this, const char *pchRenderModelName, winRenderModel_t_0910 *pRenderModel) +bool __thiscall winIVRRenderModels_IVRRenderModels_001_LoadRenderModel(struct w_steam_iface *_this, const char *pchRenderModelName, winRenderModel_t_0910 *pRenderModel) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel(_this->linux_side, pchRenderModelName, pRenderModel); + _ret = cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel(_this->u_iface, pchRenderModelName, pRenderModel); return _ret; } -void __thiscall winIVRRenderModels_IVRRenderModels_001_FreeRenderModel(winIVRRenderModels_IVRRenderModels_001 *_this, winRenderModel_t_0910 *pRenderModel) +void __thiscall winIVRRenderModels_IVRRenderModels_001_FreeRenderModel(struct w_steam_iface *_this, winRenderModel_t_0910 *pRenderModel) { TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel(_this->linux_side, pRenderModel); + cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel(_this->u_iface, pRenderModel); } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_001_GetRenderModelName(winIVRRenderModels_IVRRenderModels_001 *_this, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_001_GetRenderModelName(struct w_steam_iface *_this, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName(_this->linux_side, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); + _ret = cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName(_this->u_iface, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); return _ret; } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount(winIVRRenderModels_IVRRenderModels_001 *_this) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount(_this->linux_side); + _ret = cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount(_this->u_iface); return _ret; } @@ -75,24 +68,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRRenderModels_IVRRenderModels_001 *create_winIVRRenderModels_IVRRenderModels_001(void *linux_side) +struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_001(void *u_iface) { - winIVRRenderModels_IVRRenderModels_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRRenderModels_IVRRenderModels_001_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRRenderModels_IVRRenderModels_001(void *object) +void destroy_winIVRRenderModels_IVRRenderModels_001(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRRenderModels_IVRRenderModels_001 *create_winIVRRenderModels_IVRRenderModels_001_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_001_FnTable(void *u_iface) { - winIVRRenderModels_IVRRenderModels_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(4); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 4 * sizeof(*vtable)); int i; @@ -104,27 +97,21 @@ winIVRRenderModels_IVRRenderModels_001 *create_winIVRRenderModels_IVRRenderModel init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount, 0, FALSE, FALSE); for (i = 0; i < 4; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRRenderModels_IVRRenderModels_001_FnTable(void *object) +void destroy_winIVRRenderModels_IVRRenderModels_001_FnTable(struct w_steam_iface *object) { - winIVRRenderModels_IVRRenderModels_001 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRRenderModels_IVRRenderModels_002.h" -typedef struct __winIVRRenderModels_IVRRenderModels_002 { - vtable_ptr *vtable; - void *linux_side; -} winIVRRenderModels_IVRRenderModels_002; - DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_LoadRenderModel, 12) DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_FreeRenderModel, 8) DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_LoadTexture, 12) @@ -138,95 +125,95 @@ DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentRende DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentState, 20) DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent, 12) -bool __thiscall winIVRRenderModels_IVRRenderModels_002_LoadRenderModel(winIVRRenderModels_IVRRenderModels_002 *_this, const char *pchRenderModelName, winRenderModel_t_0915 **ppRenderModel) +bool __thiscall winIVRRenderModels_IVRRenderModels_002_LoadRenderModel(struct w_steam_iface *_this, const char *pchRenderModelName, winRenderModel_t_0915 **ppRenderModel) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel(_this->linux_side, pchRenderModelName, ppRenderModel); + _ret = cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel(_this->u_iface, pchRenderModelName, ppRenderModel); return _ret; } -void __thiscall winIVRRenderModels_IVRRenderModels_002_FreeRenderModel(winIVRRenderModels_IVRRenderModels_002 *_this, winRenderModel_t_0915 *pRenderModel) +void __thiscall winIVRRenderModels_IVRRenderModels_002_FreeRenderModel(struct w_steam_iface *_this, winRenderModel_t_0915 *pRenderModel) { TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel(_this->linux_side, pRenderModel); + cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel(_this->u_iface, pRenderModel); } -bool __thiscall winIVRRenderModels_IVRRenderModels_002_LoadTexture(winIVRRenderModels_IVRRenderModels_002 *_this, TextureID_t textureId, winRenderModel_TextureMap_t_0915 **ppTexture) +bool __thiscall winIVRRenderModels_IVRRenderModels_002_LoadTexture(struct w_steam_iface *_this, TextureID_t textureId, winRenderModel_TextureMap_t_0915 **ppTexture) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_002_LoadTexture(_this->linux_side, textureId, ppTexture); + _ret = cppIVRRenderModels_IVRRenderModels_002_LoadTexture(_this->u_iface, textureId, ppTexture); return _ret; } -void __thiscall winIVRRenderModels_IVRRenderModels_002_FreeTexture(winIVRRenderModels_IVRRenderModels_002 *_this, winRenderModel_TextureMap_t_0915 *pTexture) +void __thiscall winIVRRenderModels_IVRRenderModels_002_FreeTexture(struct w_steam_iface *_this, winRenderModel_TextureMap_t_0915 *pTexture) { TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_002_FreeTexture(_this->linux_side, pTexture); + cppIVRRenderModels_IVRRenderModels_002_FreeTexture(_this->u_iface, pTexture); } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetRenderModelName(winIVRRenderModels_IVRRenderModels_002 *_this, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetRenderModelName(struct w_steam_iface *_this, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_002_GetRenderModelName(_this->linux_side, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); + _ret = cppIVRRenderModels_IVRRenderModels_002_GetRenderModelName(_this->u_iface, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); return _ret; } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetRenderModelCount(winIVRRenderModels_IVRRenderModels_002 *_this) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetRenderModelCount(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_002_GetRenderModelCount(_this->linux_side); + _ret = cppIVRRenderModels_IVRRenderModels_002_GetRenderModelCount(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentCount(winIVRRenderModels_IVRRenderModels_002 *_this, const char *pchRenderModelName) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentCount(struct w_steam_iface *_this, const char *pchRenderModelName) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_002_GetComponentCount(_this->linux_side, pchRenderModelName); + _ret = cppIVRRenderModels_IVRRenderModels_002_GetComponentCount(_this->u_iface, pchRenderModelName); return _ret; } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentName(winIVRRenderModels_IVRRenderModels_002 *_this, const char *pchRenderModelName, uint32_t unComponentIndex, char *pchComponentName, uint32_t unComponentNameLen) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentName(struct w_steam_iface *_this, const char *pchRenderModelName, uint32_t unComponentIndex, char *pchComponentName, uint32_t unComponentNameLen) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_002_GetComponentName(_this->linux_side, pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); + _ret = cppIVRRenderModels_IVRRenderModels_002_GetComponentName(_this->u_iface, pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); return _ret; } -uint64_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask(winIVRRenderModels_IVRRenderModels_002 *_this, const char *pchRenderModelName, const char *pchComponentName) +uint64_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask(_this->linux_side, pchRenderModelName, pchComponentName); + _ret = cppIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask(_this->u_iface, pchRenderModelName, pchComponentName); return _ret; } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName(winIVRRenderModels_IVRRenderModels_002 *_this, const char *pchRenderModelName, const char *pchComponentName, char *pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, char *pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName(_this->linux_side, pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); + _ret = cppIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName(_this->u_iface, pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); return _ret; } -bool __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentState(winIVRRenderModels_IVRRenderModels_002 *_this, const char *pchRenderModelName, const char *pchComponentName, const VRControllerState_t *pControllerState, RenderModel_ComponentState_t *pComponentState) +bool __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentState(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, const VRControllerState_t *pControllerState, RenderModel_ComponentState_t *pComponentState) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_002_GetComponentState(_this->linux_side, pchRenderModelName, pchComponentName, pControllerState, pComponentState); + _ret = cppIVRRenderModels_IVRRenderModels_002_GetComponentState(_this->u_iface, pchRenderModelName, pchComponentName, pControllerState, pComponentState); return _ret; } -bool __thiscall winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent(winIVRRenderModels_IVRRenderModels_002 *_this, const char *pchRenderModelName, const char *pchComponentName) +bool __thiscall winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent(_this->linux_side, pchRenderModelName, pchComponentName); + _ret = cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent(_this->u_iface, pchRenderModelName, pchComponentName); return _ret; } @@ -253,24 +240,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRRenderModels_IVRRenderModels_002 *create_winIVRRenderModels_IVRRenderModels_002(void *linux_side) +struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_002(void *u_iface) { - winIVRRenderModels_IVRRenderModels_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_002)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRRenderModels_IVRRenderModels_002_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRRenderModels_IVRRenderModels_002(void *object) +void destroy_winIVRRenderModels_IVRRenderModels_002(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRRenderModels_IVRRenderModels_002 *create_winIVRRenderModels_IVRRenderModels_002_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_002_FnTable(void *u_iface) { - winIVRRenderModels_IVRRenderModels_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_002)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(12); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 12 * sizeof(*vtable)); int i; @@ -290,27 +277,21 @@ winIVRRenderModels_IVRRenderModels_002 *create_winIVRRenderModels_IVRRenderModel init_thunk(&thunks[11], r, winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent, 2, FALSE, FALSE); for (i = 0; i < 12; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRRenderModels_IVRRenderModels_002_FnTable(void *object) +void destroy_winIVRRenderModels_IVRRenderModels_002_FnTable(struct w_steam_iface *object) { - winIVRRenderModels_IVRRenderModels_002 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRRenderModels_IVRRenderModels_004.h" -typedef struct __winIVRRenderModels_IVRRenderModels_004 { - vtable_ptr *vtable; - void *linux_side; -} winIVRRenderModels_IVRRenderModels_004; - DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async, 12) DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_FreeRenderModel, 8) DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async, 12) @@ -326,109 +307,109 @@ DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentRende DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentState, 24) DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent, 12) -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async(winIVRRenderModels_IVRRenderModels_004 *_this, const char *pchRenderModelName, winRenderModel_t_0918 **ppRenderModel) +EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async(struct w_steam_iface *_this, const char *pchRenderModelName, winRenderModel_t_0918 **ppRenderModel) { EVRRenderModelError _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async(_this->linux_side, pchRenderModelName, ppRenderModel); + _ret = cppIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async(_this->u_iface, pchRenderModelName, ppRenderModel); return _ret; } -void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeRenderModel(winIVRRenderModels_IVRRenderModels_004 *_this, winRenderModel_t_0918 *pRenderModel) +void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeRenderModel(struct w_steam_iface *_this, winRenderModel_t_0918 *pRenderModel) { TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel(_this->linux_side, pRenderModel); + cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel(_this->u_iface, pRenderModel); } -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async(winIVRRenderModels_IVRRenderModels_004 *_this, TextureID_t textureId, winRenderModel_TextureMap_t_0918 **ppTexture) +EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async(struct w_steam_iface *_this, TextureID_t textureId, winRenderModel_TextureMap_t_0918 **ppTexture) { EVRRenderModelError _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async(_this->linux_side, textureId, ppTexture); + _ret = cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async(_this->u_iface, textureId, ppTexture); return _ret; } -void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeTexture(winIVRRenderModels_IVRRenderModels_004 *_this, winRenderModel_TextureMap_t_0918 *pTexture) +void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeTexture(struct w_steam_iface *_this, winRenderModel_TextureMap_t_0918 *pTexture) { TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_004_FreeTexture(_this->linux_side, pTexture); + cppIVRRenderModels_IVRRenderModels_004_FreeTexture(_this->u_iface, pTexture); } -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async(winIVRRenderModels_IVRRenderModels_004 *_this, TextureID_t textureId, void *pD3D11Device, void **ppD3D11Texture2D) +EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async(struct w_steam_iface *_this, TextureID_t textureId, void *pD3D11Device, void **ppD3D11Texture2D) { EVRRenderModelError _ret; TRACE("%p\n", _this); - _ret = ivrrendermodels_load_texture_d3d11_async(cppIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async, _this->linux_side, textureId, pD3D11Device, ppD3D11Texture2D, 4); + _ret = ivrrendermodels_load_texture_d3d11_async(cppIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async, _this->u_iface, textureId, pD3D11Device, ppD3D11Texture2D, 4); return _ret; } -void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11(winIVRRenderModels_IVRRenderModels_004 *_this, void *pD3D11Texture2D) +void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11(struct w_steam_iface *_this, void *pD3D11Texture2D) { TRACE("%p\n", _this); - ivrrendermodels_free_texture_d3d11(cppIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11, _this->linux_side, pD3D11Texture2D, 4); + ivrrendermodels_free_texture_d3d11(cppIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11, _this->u_iface, pD3D11Texture2D, 4); } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetRenderModelName(winIVRRenderModels_IVRRenderModels_004 *_this, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetRenderModelName(struct w_steam_iface *_this, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_004_GetRenderModelName(_this->linux_side, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); + _ret = cppIVRRenderModels_IVRRenderModels_004_GetRenderModelName(_this->u_iface, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); return _ret; } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetRenderModelCount(winIVRRenderModels_IVRRenderModels_004 *_this) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetRenderModelCount(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_004_GetRenderModelCount(_this->linux_side); + _ret = cppIVRRenderModels_IVRRenderModels_004_GetRenderModelCount(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentCount(winIVRRenderModels_IVRRenderModels_004 *_this, const char *pchRenderModelName) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentCount(struct w_steam_iface *_this, const char *pchRenderModelName) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_004_GetComponentCount(_this->linux_side, pchRenderModelName); + _ret = cppIVRRenderModels_IVRRenderModels_004_GetComponentCount(_this->u_iface, pchRenderModelName); return _ret; } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentName(winIVRRenderModels_IVRRenderModels_004 *_this, const char *pchRenderModelName, uint32_t unComponentIndex, char *pchComponentName, uint32_t unComponentNameLen) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentName(struct w_steam_iface *_this, const char *pchRenderModelName, uint32_t unComponentIndex, char *pchComponentName, uint32_t unComponentNameLen) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_004_GetComponentName(_this->linux_side, pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); + _ret = cppIVRRenderModels_IVRRenderModels_004_GetComponentName(_this->u_iface, pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); return _ret; } -uint64_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask(winIVRRenderModels_IVRRenderModels_004 *_this, const char *pchRenderModelName, const char *pchComponentName) +uint64_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask(_this->linux_side, pchRenderModelName, pchComponentName); + _ret = cppIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask(_this->u_iface, pchRenderModelName, pchComponentName); return _ret; } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName(winIVRRenderModels_IVRRenderModels_004 *_this, const char *pchRenderModelName, const char *pchComponentName, char *pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, char *pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName(_this->linux_side, pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); + _ret = cppIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName(_this->u_iface, pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); return _ret; } -bool __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentState(winIVRRenderModels_IVRRenderModels_004 *_this, const char *pchRenderModelName, const char *pchComponentName, const VRControllerState_t *pControllerState, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState) +bool __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentState(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, const VRControllerState_t *pControllerState, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_004_GetComponentState(_this->linux_side, pchRenderModelName, pchComponentName, pControllerState, pState, pComponentState); + _ret = cppIVRRenderModels_IVRRenderModels_004_GetComponentState(_this->u_iface, pchRenderModelName, pchComponentName, pControllerState, pState, pComponentState); return _ret; } -bool __thiscall winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent(winIVRRenderModels_IVRRenderModels_004 *_this, const char *pchRenderModelName, const char *pchComponentName) +bool __thiscall winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent(_this->linux_side, pchRenderModelName, pchComponentName); + _ret = cppIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent(_this->u_iface, pchRenderModelName, pchComponentName); return _ret; } @@ -457,24 +438,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRRenderModels_IVRRenderModels_004 *create_winIVRRenderModels_IVRRenderModels_004(void *linux_side) +struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_004(void *u_iface) { - winIVRRenderModels_IVRRenderModels_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_004)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRRenderModels_IVRRenderModels_004_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRRenderModels_IVRRenderModels_004(void *object) +void destroy_winIVRRenderModels_IVRRenderModels_004(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRRenderModels_IVRRenderModels_004 *create_winIVRRenderModels_IVRRenderModels_004_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_004_FnTable(void *u_iface) { - winIVRRenderModels_IVRRenderModels_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_004)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(14); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 14 * sizeof(*vtable)); int i; @@ -496,27 +477,21 @@ winIVRRenderModels_IVRRenderModels_004 *create_winIVRRenderModels_IVRRenderModel init_thunk(&thunks[13], r, winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent, 2, FALSE, FALSE); for (i = 0; i < 14; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRRenderModels_IVRRenderModels_004_FnTable(void *object) +void destroy_winIVRRenderModels_IVRRenderModels_004_FnTable(struct w_steam_iface *object) { - winIVRRenderModels_IVRRenderModels_004 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRRenderModels_IVRRenderModels_005.h" -typedef struct __winIVRRenderModels_IVRRenderModels_005 { - vtable_ptr *vtable; - void *linux_side; -} winIVRRenderModels_IVRRenderModels_005; - DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async, 12) DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_FreeRenderModel, 8) DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async, 12) @@ -536,141 +511,141 @@ DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelThu DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath, 20) DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum, 8) -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async(winIVRRenderModels_IVRRenderModels_005 *_this, const char *pchRenderModelName, winRenderModel_t_1015 **ppRenderModel) +EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async(struct w_steam_iface *_this, const char *pchRenderModelName, winRenderModel_t_1015 **ppRenderModel) { EVRRenderModelError _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async(_this->linux_side, pchRenderModelName, ppRenderModel); + _ret = cppIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async(_this->u_iface, pchRenderModelName, ppRenderModel); return _ret; } -void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeRenderModel(winIVRRenderModels_IVRRenderModels_005 *_this, winRenderModel_t_1015 *pRenderModel) +void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeRenderModel(struct w_steam_iface *_this, winRenderModel_t_1015 *pRenderModel) { TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel(_this->linux_side, pRenderModel); + cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel(_this->u_iface, pRenderModel); } -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async(winIVRRenderModels_IVRRenderModels_005 *_this, TextureID_t textureId, winRenderModel_TextureMap_t_1015 **ppTexture) +EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async(struct w_steam_iface *_this, TextureID_t textureId, winRenderModel_TextureMap_t_1015 **ppTexture) { EVRRenderModelError _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async(_this->linux_side, textureId, ppTexture); + _ret = cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async(_this->u_iface, textureId, ppTexture); return _ret; } -void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeTexture(winIVRRenderModels_IVRRenderModels_005 *_this, winRenderModel_TextureMap_t_1015 *pTexture) +void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeTexture(struct w_steam_iface *_this, winRenderModel_TextureMap_t_1015 *pTexture) { TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_005_FreeTexture(_this->linux_side, pTexture); + cppIVRRenderModels_IVRRenderModels_005_FreeTexture(_this->u_iface, pTexture); } -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async(winIVRRenderModels_IVRRenderModels_005 *_this, TextureID_t textureId, void *pD3D11Device, void **ppD3D11Texture2D) +EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async(struct w_steam_iface *_this, TextureID_t textureId, void *pD3D11Device, void **ppD3D11Texture2D) { EVRRenderModelError _ret; TRACE("%p\n", _this); - _ret = ivrrendermodels_load_texture_d3d11_async(cppIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async, _this->linux_side, textureId, pD3D11Device, ppD3D11Texture2D, 5); + _ret = ivrrendermodels_load_texture_d3d11_async(cppIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async, _this->u_iface, textureId, pD3D11Device, ppD3D11Texture2D, 5); return _ret; } -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async(winIVRRenderModels_IVRRenderModels_005 *_this, TextureID_t textureId, void *pDstTexture) +EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async(struct w_steam_iface *_this, TextureID_t textureId, void *pDstTexture) { EVRRenderModelError _ret; TRACE("%p\n", _this); - _ret = ivrrendermodels_load_into_texture_d3d11_async(cppIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async, _this->linux_side, textureId, pDstTexture, 5); + _ret = ivrrendermodels_load_into_texture_d3d11_async(cppIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async, _this->u_iface, textureId, pDstTexture, 5); return _ret; } -void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11(winIVRRenderModels_IVRRenderModels_005 *_this, void *pD3D11Texture2D) +void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11(struct w_steam_iface *_this, void *pD3D11Texture2D) { TRACE("%p\n", _this); - ivrrendermodels_free_texture_d3d11(cppIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11, _this->linux_side, pD3D11Texture2D, 5); + ivrrendermodels_free_texture_d3d11(cppIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11, _this->u_iface, pD3D11Texture2D, 5); } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelName(winIVRRenderModels_IVRRenderModels_005 *_this, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelName(struct w_steam_iface *_this, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_GetRenderModelName(_this->linux_side, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); + _ret = cppIVRRenderModels_IVRRenderModels_005_GetRenderModelName(_this->u_iface, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); return _ret; } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelCount(winIVRRenderModels_IVRRenderModels_005 *_this) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelCount(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_GetRenderModelCount(_this->linux_side); + _ret = cppIVRRenderModels_IVRRenderModels_005_GetRenderModelCount(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentCount(winIVRRenderModels_IVRRenderModels_005 *_this, const char *pchRenderModelName) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentCount(struct w_steam_iface *_this, const char *pchRenderModelName) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_GetComponentCount(_this->linux_side, pchRenderModelName); + _ret = cppIVRRenderModels_IVRRenderModels_005_GetComponentCount(_this->u_iface, pchRenderModelName); return _ret; } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentName(winIVRRenderModels_IVRRenderModels_005 *_this, const char *pchRenderModelName, uint32_t unComponentIndex, char *pchComponentName, uint32_t unComponentNameLen) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentName(struct w_steam_iface *_this, const char *pchRenderModelName, uint32_t unComponentIndex, char *pchComponentName, uint32_t unComponentNameLen) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_GetComponentName(_this->linux_side, pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); + _ret = cppIVRRenderModels_IVRRenderModels_005_GetComponentName(_this->u_iface, pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); return _ret; } -uint64_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask(winIVRRenderModels_IVRRenderModels_005 *_this, const char *pchRenderModelName, const char *pchComponentName) +uint64_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask(_this->linux_side, pchRenderModelName, pchComponentName); + _ret = cppIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask(_this->u_iface, pchRenderModelName, pchComponentName); return _ret; } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName(winIVRRenderModels_IVRRenderModels_005 *_this, const char *pchRenderModelName, const char *pchComponentName, char *pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, char *pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName(_this->linux_side, pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); + _ret = cppIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName(_this->u_iface, pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); return _ret; } -bool __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentState(winIVRRenderModels_IVRRenderModels_005 *_this, const char *pchRenderModelName, const char *pchComponentName, const VRControllerState_t *pControllerState, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState) +bool __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentState(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, const VRControllerState_t *pControllerState, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_GetComponentState(_this->linux_side, pchRenderModelName, pchComponentName, pControllerState, pState, pComponentState); + _ret = cppIVRRenderModels_IVRRenderModels_005_GetComponentState(_this->u_iface, pchRenderModelName, pchComponentName, pControllerState, pState, pComponentState); return _ret; } -bool __thiscall winIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent(winIVRRenderModels_IVRRenderModels_005 *_this, const char *pchRenderModelName, const char *pchComponentName) +bool __thiscall winIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent(_this->linux_side, pchRenderModelName, pchComponentName); + _ret = cppIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent(_this->u_iface, pchRenderModelName, pchComponentName); return _ret; } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL(winIVRRenderModels_IVRRenderModels_005 *_this, const char *pchRenderModelName, char *pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError *peError) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL(struct w_steam_iface *_this, const char *pchRenderModelName, char *pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError *peError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL(_this->linux_side, pchRenderModelName, pchThumbnailURL, unThumbnailURLLen, peError); + _ret = cppIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL(_this->u_iface, pchRenderModelName, pchThumbnailURL, unThumbnailURLLen, peError); return _ret; } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath(winIVRRenderModels_IVRRenderModels_005 *_this, const char *pchRenderModelName, char *pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError *peError) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath(struct w_steam_iface *_this, const char *pchRenderModelName, char *pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError *peError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath(_this->linux_side, pchRenderModelName, pchOriginalPath, unOriginalPathLen, peError); + _ret = cppIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath(_this->u_iface, pchRenderModelName, pchOriginalPath, unOriginalPathLen, peError); return _ret; } -const char * __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum(winIVRRenderModels_IVRRenderModels_005 *_this, EVRRenderModelError error) +const char * __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum(struct w_steam_iface *_this, EVRRenderModelError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum(_this->u_iface, error); return _ret; } @@ -703,24 +678,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRRenderModels_IVRRenderModels_005 *create_winIVRRenderModels_IVRRenderModels_005(void *linux_side) +struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_005(void *u_iface) { - winIVRRenderModels_IVRRenderModels_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_005)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRRenderModels_IVRRenderModels_005_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRRenderModels_IVRRenderModels_005(void *object) +void destroy_winIVRRenderModels_IVRRenderModels_005(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRRenderModels_IVRRenderModels_005 *create_winIVRRenderModels_IVRRenderModels_005_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_005_FnTable(void *u_iface) { - winIVRRenderModels_IVRRenderModels_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_005)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(18); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 18 * sizeof(*vtable)); int i; @@ -746,27 +721,21 @@ winIVRRenderModels_IVRRenderModels_005 *create_winIVRRenderModels_IVRRenderModel init_thunk(&thunks[17], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum, 1, FALSE, FALSE); for (i = 0; i < 18; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRRenderModels_IVRRenderModels_005_FnTable(void *object) +void destroy_winIVRRenderModels_IVRRenderModels_005_FnTable(struct w_steam_iface *object) { - winIVRRenderModels_IVRRenderModels_005 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRRenderModels_IVRRenderModels_006.h" -typedef struct __winIVRRenderModels_IVRRenderModels_006 { - vtable_ptr *vtable; - void *linux_side; -} winIVRRenderModels_IVRRenderModels_006; - DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async, 12) DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_FreeRenderModel, 8) DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_LoadTexture_Async, 12) @@ -787,149 +756,149 @@ DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetRenderModelThu DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath, 20) DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum, 8) -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async(winIVRRenderModels_IVRRenderModels_006 *_this, const char *pchRenderModelName, winRenderModel_t_1267 **ppRenderModel) +EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async(struct w_steam_iface *_this, const char *pchRenderModelName, winRenderModel_t_1267 **ppRenderModel) { EVRRenderModelError _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async(_this->linux_side, pchRenderModelName, ppRenderModel); + _ret = cppIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async(_this->u_iface, pchRenderModelName, ppRenderModel); return _ret; } -void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeRenderModel(winIVRRenderModels_IVRRenderModels_006 *_this, winRenderModel_t_1267 *pRenderModel) +void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeRenderModel(struct w_steam_iface *_this, winRenderModel_t_1267 *pRenderModel) { TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_006_FreeRenderModel(_this->linux_side, pRenderModel); + cppIVRRenderModels_IVRRenderModels_006_FreeRenderModel(_this->u_iface, pRenderModel); } -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_006_LoadTexture_Async(winIVRRenderModels_IVRRenderModels_006 *_this, TextureID_t textureId, winRenderModel_TextureMap_t_1267 **ppTexture) +EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_006_LoadTexture_Async(struct w_steam_iface *_this, TextureID_t textureId, winRenderModel_TextureMap_t_1267 **ppTexture) { EVRRenderModelError _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async(_this->linux_side, textureId, ppTexture); + _ret = cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async(_this->u_iface, textureId, ppTexture); return _ret; } -void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeTexture(winIVRRenderModels_IVRRenderModels_006 *_this, winRenderModel_TextureMap_t_1267 *pTexture) +void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeTexture(struct w_steam_iface *_this, winRenderModel_TextureMap_t_1267 *pTexture) { TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_006_FreeTexture(_this->linux_side, pTexture); + cppIVRRenderModels_IVRRenderModels_006_FreeTexture(_this->u_iface, pTexture); } -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async(winIVRRenderModels_IVRRenderModels_006 *_this, TextureID_t textureId, void *pD3D11Device, void **ppD3D11Texture2D) +EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async(struct w_steam_iface *_this, TextureID_t textureId, void *pD3D11Device, void **ppD3D11Texture2D) { EVRRenderModelError _ret; TRACE("%p\n", _this); - _ret = ivrrendermodels_load_texture_d3d11_async(cppIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async, _this->linux_side, textureId, pD3D11Device, ppD3D11Texture2D, 6); + _ret = ivrrendermodels_load_texture_d3d11_async(cppIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async, _this->u_iface, textureId, pD3D11Device, ppD3D11Texture2D, 6); return _ret; } -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async(winIVRRenderModels_IVRRenderModels_006 *_this, TextureID_t textureId, void *pDstTexture) +EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async(struct w_steam_iface *_this, TextureID_t textureId, void *pDstTexture) { EVRRenderModelError _ret; TRACE("%p\n", _this); - _ret = ivrrendermodels_load_into_texture_d3d11_async(cppIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async, _this->linux_side, textureId, pDstTexture, 6); + _ret = ivrrendermodels_load_into_texture_d3d11_async(cppIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async, _this->u_iface, textureId, pDstTexture, 6); return _ret; } -void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11(winIVRRenderModels_IVRRenderModels_006 *_this, void *pD3D11Texture2D) +void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11(struct w_steam_iface *_this, void *pD3D11Texture2D) { TRACE("%p\n", _this); - ivrrendermodels_free_texture_d3d11(cppIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11, _this->linux_side, pD3D11Texture2D, 6); + ivrrendermodels_free_texture_d3d11(cppIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11, _this->u_iface, pD3D11Texture2D, 6); } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelName(winIVRRenderModels_IVRRenderModels_006 *_this, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelName(struct w_steam_iface *_this, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_GetRenderModelName(_this->linux_side, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); + _ret = cppIVRRenderModels_IVRRenderModels_006_GetRenderModelName(_this->u_iface, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); return _ret; } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelCount(winIVRRenderModels_IVRRenderModels_006 *_this) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelCount(struct w_steam_iface *_this) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_GetRenderModelCount(_this->linux_side); + _ret = cppIVRRenderModels_IVRRenderModels_006_GetRenderModelCount(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentCount(winIVRRenderModels_IVRRenderModels_006 *_this, const char *pchRenderModelName) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentCount(struct w_steam_iface *_this, const char *pchRenderModelName) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_GetComponentCount(_this->linux_side, pchRenderModelName); + _ret = cppIVRRenderModels_IVRRenderModels_006_GetComponentCount(_this->u_iface, pchRenderModelName); return _ret; } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentName(winIVRRenderModels_IVRRenderModels_006 *_this, const char *pchRenderModelName, uint32_t unComponentIndex, char *pchComponentName, uint32_t unComponentNameLen) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentName(struct w_steam_iface *_this, const char *pchRenderModelName, uint32_t unComponentIndex, char *pchComponentName, uint32_t unComponentNameLen) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_GetComponentName(_this->linux_side, pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); + _ret = cppIVRRenderModels_IVRRenderModels_006_GetComponentName(_this->u_iface, pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); return _ret; } -uint64_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask(winIVRRenderModels_IVRRenderModels_006 *_this, const char *pchRenderModelName, const char *pchComponentName) +uint64_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask(_this->linux_side, pchRenderModelName, pchComponentName); + _ret = cppIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask(_this->u_iface, pchRenderModelName, pchComponentName); return _ret; } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName(winIVRRenderModels_IVRRenderModels_006 *_this, const char *pchRenderModelName, const char *pchComponentName, char *pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, char *pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName(_this->linux_side, pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); + _ret = cppIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName(_this->u_iface, pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); return _ret; } -bool __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath(winIVRRenderModels_IVRRenderModels_006 *_this, const char *pchRenderModelName, const char *pchComponentName, VRInputValueHandle_t devicePath, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState) +bool __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, VRInputValueHandle_t devicePath, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath(_this->linux_side, pchRenderModelName, pchComponentName, devicePath, pState, pComponentState); + _ret = cppIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath(_this->u_iface, pchRenderModelName, pchComponentName, devicePath, pState, pComponentState); return _ret; } -bool __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentState(winIVRRenderModels_IVRRenderModels_006 *_this, const char *pchRenderModelName, const char *pchComponentName, const VRControllerState_t *pControllerState, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState) +bool __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentState(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, const VRControllerState_t *pControllerState, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_GetComponentState(_this->linux_side, pchRenderModelName, pchComponentName, pControllerState, pState, pComponentState); + _ret = cppIVRRenderModels_IVRRenderModels_006_GetComponentState(_this->u_iface, pchRenderModelName, pchComponentName, pControllerState, pState, pComponentState); return _ret; } -bool __thiscall winIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent(winIVRRenderModels_IVRRenderModels_006 *_this, const char *pchRenderModelName, const char *pchComponentName) +bool __thiscall winIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent(_this->linux_side, pchRenderModelName, pchComponentName); + _ret = cppIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent(_this->u_iface, pchRenderModelName, pchComponentName); return _ret; } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL(winIVRRenderModels_IVRRenderModels_006 *_this, const char *pchRenderModelName, char *pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError *peError) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL(struct w_steam_iface *_this, const char *pchRenderModelName, char *pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError *peError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL(_this->linux_side, pchRenderModelName, pchThumbnailURL, unThumbnailURLLen, peError); + _ret = cppIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL(_this->u_iface, pchRenderModelName, pchThumbnailURL, unThumbnailURLLen, peError); return _ret; } -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath(winIVRRenderModels_IVRRenderModels_006 *_this, const char *pchRenderModelName, char *pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError *peError) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath(struct w_steam_iface *_this, const char *pchRenderModelName, char *pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError *peError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath(_this->linux_side, pchRenderModelName, pchOriginalPath, unOriginalPathLen, peError); + _ret = cppIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath(_this->u_iface, pchRenderModelName, pchOriginalPath, unOriginalPathLen, peError); return _ret; } -const char * __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum(winIVRRenderModels_IVRRenderModels_006 *_this, EVRRenderModelError error) +const char * __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum(struct w_steam_iface *_this, EVRRenderModelError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum(_this->u_iface, error); return _ret; } @@ -963,24 +932,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRRenderModels_IVRRenderModels_006 *create_winIVRRenderModels_IVRRenderModels_006(void *linux_side) +struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_006(void *u_iface) { - winIVRRenderModels_IVRRenderModels_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_006)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRRenderModels_IVRRenderModels_006_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRRenderModels_IVRRenderModels_006(void *object) +void destroy_winIVRRenderModels_IVRRenderModels_006(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRRenderModels_IVRRenderModels_006 *create_winIVRRenderModels_IVRRenderModels_006_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_006_FnTable(void *u_iface) { - winIVRRenderModels_IVRRenderModels_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_006)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(19); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 19 * sizeof(*vtable)); int i; @@ -1007,17 +976,16 @@ winIVRRenderModels_IVRRenderModels_006 *create_winIVRRenderModels_IVRRenderModel init_thunk(&thunks[18], r, winIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum, 1, FALSE, FALSE); for (i = 0; i < 19; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRRenderModels_IVRRenderModels_006_FnTable(void *object) +void destroy_winIVRRenderModels_IVRRenderModels_006_FnTable(struct w_steam_iface *object) { - winIVRRenderModels_IVRRenderModels_006 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } diff --git a/vrclient_x64/vrclient_x64/winIVRResources.c b/vrclient_x64/vrclient_x64/winIVRResources.c index 5ead4c64..47f370a4 100644 --- a/vrclient_x64/vrclient_x64/winIVRResources.c +++ b/vrclient_x64/vrclient_x64/winIVRResources.c @@ -6,8 +6,6 @@ #include "winbase.h" #include "wine/debug.h" -#include "cxx.h" - #include "vrclient_defs.h" #include "vrclient_private.h" @@ -20,27 +18,22 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); #include "cppIVRResources_IVRResources_001.h" -typedef struct __winIVRResources_IVRResources_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVRResources_IVRResources_001; - DEFINE_THISCALL_WRAPPER(winIVRResources_IVRResources_001_LoadSharedResource, 16) DEFINE_THISCALL_WRAPPER(winIVRResources_IVRResources_001_GetResourceFullPath, 20) -uint32_t __thiscall winIVRResources_IVRResources_001_LoadSharedResource(winIVRResources_IVRResources_001 *_this, const char *pchResourceName, char *pchBuffer, uint32_t unBufferLen) +uint32_t __thiscall winIVRResources_IVRResources_001_LoadSharedResource(struct w_steam_iface *_this, const char *pchResourceName, char *pchBuffer, uint32_t unBufferLen) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRResources_IVRResources_001_LoadSharedResource(_this->linux_side, pchResourceName, pchBuffer, unBufferLen); + _ret = cppIVRResources_IVRResources_001_LoadSharedResource(_this->u_iface, pchResourceName, pchBuffer, unBufferLen); return _ret; } -uint32_t __thiscall winIVRResources_IVRResources_001_GetResourceFullPath(winIVRResources_IVRResources_001 *_this, const char *pchResourceName, const char *pchResourceTypeDirectory, char *pchPathBuffer, uint32_t unBufferLen) +uint32_t __thiscall winIVRResources_IVRResources_001_GetResourceFullPath(struct w_steam_iface *_this, const char *pchResourceName, const char *pchResourceTypeDirectory, char *pchPathBuffer, uint32_t unBufferLen) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRResources_IVRResources_001_GetResourceFullPath(_this->linux_side, pchResourceName, pchResourceTypeDirectory, pchPathBuffer, unBufferLen); + _ret = cppIVRResources_IVRResources_001_GetResourceFullPath(_this->u_iface, pchResourceName, pchResourceTypeDirectory, pchPathBuffer, unBufferLen); return _ret; } @@ -57,24 +50,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRResources_IVRResources_001 *create_winIVRResources_IVRResources_001(void *linux_side) +struct w_steam_iface *create_winIVRResources_IVRResources_001(void *u_iface) { - winIVRResources_IVRResources_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRResources_IVRResources_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRResources_IVRResources_001_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRResources_IVRResources_001(void *object) +void destroy_winIVRResources_IVRResources_001(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRResources_IVRResources_001 *create_winIVRResources_IVRResources_001_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRResources_IVRResources_001_FnTable(void *u_iface) { - winIVRResources_IVRResources_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRResources_IVRResources_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(2); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 2 * sizeof(*vtable)); int i; @@ -84,17 +77,16 @@ winIVRResources_IVRResources_001 *create_winIVRResources_IVRResources_001_FnTabl init_thunk(&thunks[1], r, winIVRResources_IVRResources_001_GetResourceFullPath, 4, FALSE, FALSE); for (i = 0; i < 2; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRResources_IVRResources_001_FnTable(void *object) +void destroy_winIVRResources_IVRResources_001_FnTable(struct w_steam_iface *object) { - winIVRResources_IVRResources_001 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } diff --git a/vrclient_x64/vrclient_x64/winIVRScreenshots.c b/vrclient_x64/vrclient_x64/winIVRScreenshots.c index 3d352256..c7ef6014 100644 --- a/vrclient_x64/vrclient_x64/winIVRScreenshots.c +++ b/vrclient_x64/vrclient_x64/winIVRScreenshots.c @@ -6,8 +6,6 @@ #include "winbase.h" #include "wine/debug.h" -#include "cxx.h" - #include "vrclient_defs.h" #include "vrclient_private.h" @@ -20,11 +18,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); #include "cppIVRScreenshots_IVRScreenshots_001.h" -typedef struct __winIVRScreenshots_IVRScreenshots_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVRScreenshots_IVRScreenshots_001; - DEFINE_THISCALL_WRAPPER(winIVRScreenshots_IVRScreenshots_001_RequestScreenshot, 20) DEFINE_THISCALL_WRAPPER(winIVRScreenshots_IVRScreenshots_001_HookScreenshot, 12) DEFINE_THISCALL_WRAPPER(winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType, 12) @@ -33,7 +26,7 @@ DEFINE_THISCALL_WRAPPER(winIVRScreenshots_IVRScreenshots_001_UpdateScreenshotPro DEFINE_THISCALL_WRAPPER(winIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot, 16) DEFINE_THISCALL_WRAPPER(winIVRScreenshots_IVRScreenshots_001_SubmitScreenshot, 20) -EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_RequestScreenshot(winIVRScreenshots_IVRScreenshots_001 *_this, ScreenshotHandle_t *pOutScreenshotHandle, EVRScreenshotType type, const char *pchPreviewFilename, const char *pchVRFilename) +EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_RequestScreenshot(struct w_steam_iface *_this, ScreenshotHandle_t *pOutScreenshotHandle, EVRScreenshotType type, const char *pchPreviewFilename, const char *pchVRFilename) { EVRScreenshotError _ret; char lin_pchPreviewFilename[PATH_MAX]; @@ -41,44 +34,44 @@ EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_RequestScreen char lin_pchVRFilename[PATH_MAX]; vrclient_dos_path_to_unix_path(pchVRFilename, lin_pchVRFilename); TRACE("%p\n", _this); - _ret = cppIVRScreenshots_IVRScreenshots_001_RequestScreenshot(_this->linux_side, pOutScreenshotHandle, type, pchPreviewFilename ? lin_pchPreviewFilename : NULL, pchVRFilename ? lin_pchVRFilename : NULL); + _ret = cppIVRScreenshots_IVRScreenshots_001_RequestScreenshot(_this->u_iface, pOutScreenshotHandle, type, pchPreviewFilename ? lin_pchPreviewFilename : NULL, pchVRFilename ? lin_pchVRFilename : NULL); return _ret; } -EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_HookScreenshot(winIVRScreenshots_IVRScreenshots_001 *_this, const EVRScreenshotType *pSupportedTypes, int numTypes) +EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_HookScreenshot(struct w_steam_iface *_this, const EVRScreenshotType *pSupportedTypes, int numTypes) { EVRScreenshotError _ret; TRACE("%p\n", _this); - _ret = cppIVRScreenshots_IVRScreenshots_001_HookScreenshot(_this->linux_side, pSupportedTypes, numTypes); + _ret = cppIVRScreenshots_IVRScreenshots_001_HookScreenshot(_this->u_iface, pSupportedTypes, numTypes); return _ret; } -EVRScreenshotType __thiscall winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType(winIVRScreenshots_IVRScreenshots_001 *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotError *pError) +EVRScreenshotType __thiscall winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType(struct w_steam_iface *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotError *pError) { EVRScreenshotType _ret; TRACE("%p\n", _this); - _ret = cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType(_this->linux_side, screenshotHandle, pError); + _ret = cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType(_this->u_iface, screenshotHandle, pError); return _ret; } -uint32_t __thiscall winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename(winIVRScreenshots_IVRScreenshots_001 *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotPropertyFilenames filenameType, char *pchFilename, uint32_t cchFilename, EVRScreenshotError *pError) +uint32_t __thiscall winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename(struct w_steam_iface *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotPropertyFilenames filenameType, char *pchFilename, uint32_t cchFilename, EVRScreenshotError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename(_this->linux_side, screenshotHandle, filenameType, pchFilename, cchFilename, pError); + _ret = cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename(_this->u_iface, screenshotHandle, filenameType, pchFilename, cchFilename, pError); _ret = vrclient_unix_path_to_dos_path(_ret, pchFilename, pchFilename, cchFilename); return _ret; } -EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress(winIVRScreenshots_IVRScreenshots_001 *_this, ScreenshotHandle_t screenshotHandle, float flProgress) +EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress(struct w_steam_iface *_this, ScreenshotHandle_t screenshotHandle, float flProgress) { EVRScreenshotError _ret; TRACE("%p\n", _this); - _ret = cppIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress(_this->linux_side, screenshotHandle, flProgress); + _ret = cppIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress(_this->u_iface, screenshotHandle, flProgress); return _ret; } -EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot(winIVRScreenshots_IVRScreenshots_001 *_this, ScreenshotHandle_t *pOutScreenshotHandle, const char *pchPreviewFilename, const char *pchVRFilename) +EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot(struct w_steam_iface *_this, ScreenshotHandle_t *pOutScreenshotHandle, const char *pchPreviewFilename, const char *pchVRFilename) { EVRScreenshotError _ret; char lin_pchPreviewFilename[PATH_MAX]; @@ -86,11 +79,11 @@ EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_TakeStereoScr char lin_pchVRFilename[PATH_MAX]; vrclient_dos_path_to_unix_path(pchVRFilename, lin_pchVRFilename); TRACE("%p\n", _this); - _ret = cppIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot(_this->linux_side, pOutScreenshotHandle, pchPreviewFilename ? lin_pchPreviewFilename : NULL, pchVRFilename ? lin_pchVRFilename : NULL); + _ret = cppIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot(_this->u_iface, pOutScreenshotHandle, pchPreviewFilename ? lin_pchPreviewFilename : NULL, pchVRFilename ? lin_pchVRFilename : NULL); return _ret; } -EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_SubmitScreenshot(winIVRScreenshots_IVRScreenshots_001 *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotType type, const char *pchSourcePreviewFilename, const char *pchSourceVRFilename) +EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_SubmitScreenshot(struct w_steam_iface *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotType type, const char *pchSourcePreviewFilename, const char *pchSourceVRFilename) { EVRScreenshotError _ret; char lin_pchSourcePreviewFilename[PATH_MAX]; @@ -98,7 +91,7 @@ EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_SubmitScreens char lin_pchSourceVRFilename[PATH_MAX]; vrclient_dos_path_to_unix_path(pchSourceVRFilename, lin_pchSourceVRFilename); TRACE("%p\n", _this); - _ret = cppIVRScreenshots_IVRScreenshots_001_SubmitScreenshot(_this->linux_side, screenshotHandle, type, pchSourcePreviewFilename ? lin_pchSourcePreviewFilename : NULL, pchSourceVRFilename ? lin_pchSourceVRFilename : NULL); + _ret = cppIVRScreenshots_IVRScreenshots_001_SubmitScreenshot(_this->u_iface, screenshotHandle, type, pchSourcePreviewFilename ? lin_pchSourcePreviewFilename : NULL, pchSourceVRFilename ? lin_pchSourceVRFilename : NULL); return _ret; } @@ -120,24 +113,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRScreenshots_IVRScreenshots_001 *create_winIVRScreenshots_IVRScreenshots_001(void *linux_side) +struct w_steam_iface *create_winIVRScreenshots_IVRScreenshots_001(void *u_iface) { - winIVRScreenshots_IVRScreenshots_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRScreenshots_IVRScreenshots_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRScreenshots_IVRScreenshots_001_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRScreenshots_IVRScreenshots_001(void *object) +void destroy_winIVRScreenshots_IVRScreenshots_001(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRScreenshots_IVRScreenshots_001 *create_winIVRScreenshots_IVRScreenshots_001_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRScreenshots_IVRScreenshots_001_FnTable(void *u_iface) { - winIVRScreenshots_IVRScreenshots_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRScreenshots_IVRScreenshots_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(7); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 7 * sizeof(*vtable)); int i; @@ -152,17 +145,16 @@ winIVRScreenshots_IVRScreenshots_001 *create_winIVRScreenshots_IVRScreenshots_00 init_thunk(&thunks[6], r, winIVRScreenshots_IVRScreenshots_001_SubmitScreenshot, 4, FALSE, FALSE); for (i = 0; i < 7; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRScreenshots_IVRScreenshots_001_FnTable(void *object) +void destroy_winIVRScreenshots_IVRScreenshots_001_FnTable(struct w_steam_iface *object) { - winIVRScreenshots_IVRScreenshots_001 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } diff --git a/vrclient_x64/vrclient_x64/winIVRSettings.c b/vrclient_x64/vrclient_x64/winIVRSettings.c index 82db5d66..5e2eec2d 100644 --- a/vrclient_x64/vrclient_x64/winIVRSettings.c +++ b/vrclient_x64/vrclient_x64/winIVRSettings.c @@ -6,8 +6,6 @@ #include "winbase.h" #include "wine/debug.h" -#include "cxx.h" - #include "vrclient_defs.h" #include "vrclient_private.h" @@ -20,11 +18,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); #include "cppIVRSettings_IVRSettings_001.h" -typedef struct __winIVRSettings_IVRSettings_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSettings_IVRSettings_001; - DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum, 8) DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_Sync, 12) DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetBool, 20) @@ -38,86 +31,86 @@ DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_SetString, 20) DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_RemoveSection, 12) DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_RemoveKeyInSection, 16) -const char * __thiscall winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum(winIVRSettings_IVRSettings_001 *_this, EVRSettingsError eError) +const char * __thiscall winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum(struct w_steam_iface *_this, EVRSettingsError eError) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum(_this->linux_side, eError); + _ret = cppIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum(_this->u_iface, eError); return _ret; } -bool __thiscall winIVRSettings_IVRSettings_001_Sync(winIVRSettings_IVRSettings_001 *_this, bool bForce, EVRSettingsError *peError) +bool __thiscall winIVRSettings_IVRSettings_001_Sync(struct w_steam_iface *_this, bool bForce, EVRSettingsError *peError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_001_Sync(_this->linux_side, bForce, peError); + _ret = cppIVRSettings_IVRSettings_001_Sync(_this->u_iface, bForce, peError); return _ret; } -bool __thiscall winIVRSettings_IVRSettings_001_GetBool(winIVRSettings_IVRSettings_001 *_this, const char *pchSection, const char *pchSettingsKey, bool bDefaultValue, EVRSettingsError *peError) +bool __thiscall winIVRSettings_IVRSettings_001_GetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, bool bDefaultValue, EVRSettingsError *peError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_001_GetBool(_this->linux_side, pchSection, pchSettingsKey, bDefaultValue, peError); + _ret = cppIVRSettings_IVRSettings_001_GetBool(_this->u_iface, pchSection, pchSettingsKey, bDefaultValue, peError); return _ret; } -void __thiscall winIVRSettings_IVRSettings_001_SetBool(winIVRSettings_IVRSettings_001 *_this, const char *pchSection, const char *pchSettingsKey, bool bValue, EVRSettingsError *peError) +void __thiscall winIVRSettings_IVRSettings_001_SetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, bool bValue, EVRSettingsError *peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_SetBool(_this->linux_side, pchSection, pchSettingsKey, bValue, peError); + cppIVRSettings_IVRSettings_001_SetBool(_this->u_iface, pchSection, pchSettingsKey, bValue, peError); } -int32_t __thiscall winIVRSettings_IVRSettings_001_GetInt32(winIVRSettings_IVRSettings_001 *_this, const char *pchSection, const char *pchSettingsKey, int32_t nDefaultValue, EVRSettingsError *peError) +int32_t __thiscall winIVRSettings_IVRSettings_001_GetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, int32_t nDefaultValue, EVRSettingsError *peError) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_001_GetInt32(_this->linux_side, pchSection, pchSettingsKey, nDefaultValue, peError); + _ret = cppIVRSettings_IVRSettings_001_GetInt32(_this->u_iface, pchSection, pchSettingsKey, nDefaultValue, peError); return _ret; } -void __thiscall winIVRSettings_IVRSettings_001_SetInt32(winIVRSettings_IVRSettings_001 *_this, const char *pchSection, const char *pchSettingsKey, int32_t nValue, EVRSettingsError *peError) +void __thiscall winIVRSettings_IVRSettings_001_SetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, int32_t nValue, EVRSettingsError *peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_SetInt32(_this->linux_side, pchSection, pchSettingsKey, nValue, peError); + cppIVRSettings_IVRSettings_001_SetInt32(_this->u_iface, pchSection, pchSettingsKey, nValue, peError); } -float __thiscall winIVRSettings_IVRSettings_001_GetFloat(winIVRSettings_IVRSettings_001 *_this, const char *pchSection, const char *pchSettingsKey, float flDefaultValue, EVRSettingsError *peError) +float __thiscall winIVRSettings_IVRSettings_001_GetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, float flDefaultValue, EVRSettingsError *peError) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_001_GetFloat(_this->linux_side, pchSection, pchSettingsKey, flDefaultValue, peError); + _ret = cppIVRSettings_IVRSettings_001_GetFloat(_this->u_iface, pchSection, pchSettingsKey, flDefaultValue, peError); return _ret; } -void __thiscall winIVRSettings_IVRSettings_001_SetFloat(winIVRSettings_IVRSettings_001 *_this, const char *pchSection, const char *pchSettingsKey, float flValue, EVRSettingsError *peError) +void __thiscall winIVRSettings_IVRSettings_001_SetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, float flValue, EVRSettingsError *peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_SetFloat(_this->linux_side, pchSection, pchSettingsKey, flValue, peError); + cppIVRSettings_IVRSettings_001_SetFloat(_this->u_iface, pchSection, pchSettingsKey, flValue, peError); } -void __thiscall winIVRSettings_IVRSettings_001_GetString(winIVRSettings_IVRSettings_001 *_this, const char *pchSection, const char *pchSettingsKey, char *pchValue, uint32_t unValueLen, const char *pchDefaultValue, EVRSettingsError *peError) +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) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_GetString(_this->linux_side, pchSection, pchSettingsKey, pchValue, unValueLen, pchDefaultValue, peError); + cppIVRSettings_IVRSettings_001_GetString(_this->u_iface, pchSection, pchSettingsKey, pchValue, unValueLen, pchDefaultValue, peError); } -void __thiscall winIVRSettings_IVRSettings_001_SetString(winIVRSettings_IVRSettings_001 *_this, const char *pchSection, const char *pchSettingsKey, const char *pchValue, EVRSettingsError *peError) +void __thiscall winIVRSettings_IVRSettings_001_SetString(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, const char *pchValue, EVRSettingsError *peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_SetString(_this->linux_side, pchSection, pchSettingsKey, pchValue, peError); + cppIVRSettings_IVRSettings_001_SetString(_this->u_iface, pchSection, pchSettingsKey, pchValue, peError); } -void __thiscall winIVRSettings_IVRSettings_001_RemoveSection(winIVRSettings_IVRSettings_001 *_this, const char *pchSection, EVRSettingsError *peError) +void __thiscall winIVRSettings_IVRSettings_001_RemoveSection(struct w_steam_iface *_this, const char *pchSection, EVRSettingsError *peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_RemoveSection(_this->linux_side, pchSection, peError); + cppIVRSettings_IVRSettings_001_RemoveSection(_this->u_iface, pchSection, peError); } -void __thiscall winIVRSettings_IVRSettings_001_RemoveKeyInSection(winIVRSettings_IVRSettings_001 *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) +void __thiscall winIVRSettings_IVRSettings_001_RemoveKeyInSection(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_RemoveKeyInSection(_this->linux_side, pchSection, pchSettingsKey, peError); + cppIVRSettings_IVRSettings_001_RemoveKeyInSection(_this->u_iface, pchSection, pchSettingsKey, peError); } extern vtable_ptr winIVRSettings_IVRSettings_001_vtable; @@ -143,24 +136,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRSettings_IVRSettings_001 *create_winIVRSettings_IVRSettings_001(void *linux_side) +struct w_steam_iface *create_winIVRSettings_IVRSettings_001(void *u_iface) { - winIVRSettings_IVRSettings_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSettings_IVRSettings_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRSettings_IVRSettings_001_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRSettings_IVRSettings_001(void *object) +void destroy_winIVRSettings_IVRSettings_001(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSettings_IVRSettings_001 *create_winIVRSettings_IVRSettings_001_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRSettings_IVRSettings_001_FnTable(void *u_iface) { - winIVRSettings_IVRSettings_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSettings_IVRSettings_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(12); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 12 * sizeof(*vtable)); int i; @@ -180,27 +173,21 @@ winIVRSettings_IVRSettings_001 *create_winIVRSettings_IVRSettings_001_FnTable(vo init_thunk(&thunks[11], r, winIVRSettings_IVRSettings_001_RemoveKeyInSection, 3, FALSE, FALSE); for (i = 0; i < 12; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRSettings_IVRSettings_001_FnTable(void *object) +void destroy_winIVRSettings_IVRSettings_001_FnTable(struct w_steam_iface *object) { - winIVRSettings_IVRSettings_001 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRSettings_IVRSettings_002.h" -typedef struct __winIVRSettings_IVRSettings_002 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSettings_IVRSettings_002; - DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum, 8) DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_Sync, 12) DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_SetBool, 20) @@ -214,86 +201,86 @@ DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_GetString, 24) DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_RemoveSection, 12) DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_RemoveKeyInSection, 16) -const char * __thiscall winIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum(winIVRSettings_IVRSettings_002 *_this, EVRSettingsError eError) +const char * __thiscall winIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum(struct w_steam_iface *_this, EVRSettingsError eError) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum(_this->linux_side, eError); + _ret = cppIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum(_this->u_iface, eError); return _ret; } -bool __thiscall winIVRSettings_IVRSettings_002_Sync(winIVRSettings_IVRSettings_002 *_this, bool bForce, EVRSettingsError *peError) +bool __thiscall winIVRSettings_IVRSettings_002_Sync(struct w_steam_iface *_this, bool bForce, EVRSettingsError *peError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_002_Sync(_this->linux_side, bForce, peError); + _ret = cppIVRSettings_IVRSettings_002_Sync(_this->u_iface, bForce, peError); return _ret; } -void __thiscall winIVRSettings_IVRSettings_002_SetBool(winIVRSettings_IVRSettings_002 *_this, const char *pchSection, const char *pchSettingsKey, bool bValue, EVRSettingsError *peError) +void __thiscall winIVRSettings_IVRSettings_002_SetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, bool bValue, EVRSettingsError *peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_002_SetBool(_this->linux_side, pchSection, pchSettingsKey, bValue, peError); + cppIVRSettings_IVRSettings_002_SetBool(_this->u_iface, pchSection, pchSettingsKey, bValue, peError); } -void __thiscall winIVRSettings_IVRSettings_002_SetInt32(winIVRSettings_IVRSettings_002 *_this, const char *pchSection, const char *pchSettingsKey, int32_t nValue, EVRSettingsError *peError) +void __thiscall winIVRSettings_IVRSettings_002_SetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, int32_t nValue, EVRSettingsError *peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_002_SetInt32(_this->linux_side, pchSection, pchSettingsKey, nValue, peError); + cppIVRSettings_IVRSettings_002_SetInt32(_this->u_iface, pchSection, pchSettingsKey, nValue, peError); } -void __thiscall winIVRSettings_IVRSettings_002_SetFloat(winIVRSettings_IVRSettings_002 *_this, const char *pchSection, const char *pchSettingsKey, float flValue, EVRSettingsError *peError) +void __thiscall winIVRSettings_IVRSettings_002_SetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, float flValue, EVRSettingsError *peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_002_SetFloat(_this->linux_side, pchSection, pchSettingsKey, flValue, peError); + cppIVRSettings_IVRSettings_002_SetFloat(_this->u_iface, pchSection, pchSettingsKey, flValue, peError); } -void __thiscall winIVRSettings_IVRSettings_002_SetString(winIVRSettings_IVRSettings_002 *_this, const char *pchSection, const char *pchSettingsKey, const char *pchValue, EVRSettingsError *peError) +void __thiscall winIVRSettings_IVRSettings_002_SetString(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, const char *pchValue, EVRSettingsError *peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_002_SetString(_this->linux_side, pchSection, pchSettingsKey, pchValue, peError); + cppIVRSettings_IVRSettings_002_SetString(_this->u_iface, pchSection, pchSettingsKey, pchValue, peError); } -bool __thiscall winIVRSettings_IVRSettings_002_GetBool(winIVRSettings_IVRSettings_002 *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) +bool __thiscall winIVRSettings_IVRSettings_002_GetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_002_GetBool(_this->linux_side, pchSection, pchSettingsKey, peError); + _ret = cppIVRSettings_IVRSettings_002_GetBool(_this->u_iface, pchSection, pchSettingsKey, peError); return _ret; } -int32_t __thiscall winIVRSettings_IVRSettings_002_GetInt32(winIVRSettings_IVRSettings_002 *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) +int32_t __thiscall winIVRSettings_IVRSettings_002_GetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_002_GetInt32(_this->linux_side, pchSection, pchSettingsKey, peError); + _ret = cppIVRSettings_IVRSettings_002_GetInt32(_this->u_iface, pchSection, pchSettingsKey, peError); return _ret; } -float __thiscall winIVRSettings_IVRSettings_002_GetFloat(winIVRSettings_IVRSettings_002 *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) +float __thiscall winIVRSettings_IVRSettings_002_GetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_002_GetFloat(_this->linux_side, pchSection, pchSettingsKey, peError); + _ret = cppIVRSettings_IVRSettings_002_GetFloat(_this->u_iface, pchSection, pchSettingsKey, peError); return _ret; } -void __thiscall winIVRSettings_IVRSettings_002_GetString(winIVRSettings_IVRSettings_002 *_this, const char *pchSection, const char *pchSettingsKey, char *pchValue, uint32_t unValueLen, EVRSettingsError *peError) +void __thiscall winIVRSettings_IVRSettings_002_GetString(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, char *pchValue, uint32_t unValueLen, EVRSettingsError *peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_002_GetString(_this->linux_side, pchSection, pchSettingsKey, pchValue, unValueLen, peError); + cppIVRSettings_IVRSettings_002_GetString(_this->u_iface, pchSection, pchSettingsKey, pchValue, unValueLen, peError); } -void __thiscall winIVRSettings_IVRSettings_002_RemoveSection(winIVRSettings_IVRSettings_002 *_this, const char *pchSection, EVRSettingsError *peError) +void __thiscall winIVRSettings_IVRSettings_002_RemoveSection(struct w_steam_iface *_this, const char *pchSection, EVRSettingsError *peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_002_RemoveSection(_this->linux_side, pchSection, peError); + cppIVRSettings_IVRSettings_002_RemoveSection(_this->u_iface, pchSection, peError); } -void __thiscall winIVRSettings_IVRSettings_002_RemoveKeyInSection(winIVRSettings_IVRSettings_002 *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) +void __thiscall winIVRSettings_IVRSettings_002_RemoveKeyInSection(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_002_RemoveKeyInSection(_this->linux_side, pchSection, pchSettingsKey, peError); + cppIVRSettings_IVRSettings_002_RemoveKeyInSection(_this->u_iface, pchSection, pchSettingsKey, peError); } extern vtable_ptr winIVRSettings_IVRSettings_002_vtable; @@ -319,24 +306,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRSettings_IVRSettings_002 *create_winIVRSettings_IVRSettings_002(void *linux_side) +struct w_steam_iface *create_winIVRSettings_IVRSettings_002(void *u_iface) { - winIVRSettings_IVRSettings_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSettings_IVRSettings_002)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRSettings_IVRSettings_002_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRSettings_IVRSettings_002(void *object) +void destroy_winIVRSettings_IVRSettings_002(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSettings_IVRSettings_002 *create_winIVRSettings_IVRSettings_002_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRSettings_IVRSettings_002_FnTable(void *u_iface) { - winIVRSettings_IVRSettings_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSettings_IVRSettings_002)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(12); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 12 * sizeof(*vtable)); int i; @@ -356,27 +343,21 @@ winIVRSettings_IVRSettings_002 *create_winIVRSettings_IVRSettings_002_FnTable(vo init_thunk(&thunks[11], r, winIVRSettings_IVRSettings_002_RemoveKeyInSection, 3, FALSE, FALSE); for (i = 0; i < 12; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRSettings_IVRSettings_002_FnTable(void *object) +void destroy_winIVRSettings_IVRSettings_002_FnTable(struct w_steam_iface *object) { - winIVRSettings_IVRSettings_002 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRSettings_IVRSettings_003.h" -typedef struct __winIVRSettings_IVRSettings_003 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSettings_IVRSettings_003; - DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum, 8) DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_SetBool, 20) DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_SetInt32, 20) @@ -389,78 +370,78 @@ DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetString, 24) DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_RemoveSection, 12) DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_RemoveKeyInSection, 16) -const char * __thiscall winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum(winIVRSettings_IVRSettings_003 *_this, EVRSettingsError eError) +const char * __thiscall winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum(struct w_steam_iface *_this, EVRSettingsError eError) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum(_this->linux_side, eError); + _ret = cppIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum(_this->u_iface, eError); return _ret; } -void __thiscall winIVRSettings_IVRSettings_003_SetBool(winIVRSettings_IVRSettings_003 *_this, const char *pchSection, const char *pchSettingsKey, bool bValue, EVRSettingsError *peError) +void __thiscall winIVRSettings_IVRSettings_003_SetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, bool bValue, EVRSettingsError *peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_SetBool(_this->linux_side, pchSection, pchSettingsKey, bValue, peError); + cppIVRSettings_IVRSettings_003_SetBool(_this->u_iface, pchSection, pchSettingsKey, bValue, peError); } -void __thiscall winIVRSettings_IVRSettings_003_SetInt32(winIVRSettings_IVRSettings_003 *_this, const char *pchSection, const char *pchSettingsKey, int32_t nValue, EVRSettingsError *peError) +void __thiscall winIVRSettings_IVRSettings_003_SetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, int32_t nValue, EVRSettingsError *peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_SetInt32(_this->linux_side, pchSection, pchSettingsKey, nValue, peError); + cppIVRSettings_IVRSettings_003_SetInt32(_this->u_iface, pchSection, pchSettingsKey, nValue, peError); } -void __thiscall winIVRSettings_IVRSettings_003_SetFloat(winIVRSettings_IVRSettings_003 *_this, const char *pchSection, const char *pchSettingsKey, float flValue, EVRSettingsError *peError) +void __thiscall winIVRSettings_IVRSettings_003_SetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, float flValue, EVRSettingsError *peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_SetFloat(_this->linux_side, pchSection, pchSettingsKey, flValue, peError); + cppIVRSettings_IVRSettings_003_SetFloat(_this->u_iface, pchSection, pchSettingsKey, flValue, peError); } -void __thiscall winIVRSettings_IVRSettings_003_SetString(winIVRSettings_IVRSettings_003 *_this, const char *pchSection, const char *pchSettingsKey, const char *pchValue, EVRSettingsError *peError) +void __thiscall winIVRSettings_IVRSettings_003_SetString(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, const char *pchValue, EVRSettingsError *peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_SetString(_this->linux_side, pchSection, pchSettingsKey, pchValue, peError); + cppIVRSettings_IVRSettings_003_SetString(_this->u_iface, pchSection, pchSettingsKey, pchValue, peError); } -bool __thiscall winIVRSettings_IVRSettings_003_GetBool(winIVRSettings_IVRSettings_003 *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) +bool __thiscall winIVRSettings_IVRSettings_003_GetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_003_GetBool(_this->linux_side, pchSection, pchSettingsKey, peError); + _ret = cppIVRSettings_IVRSettings_003_GetBool(_this->u_iface, pchSection, pchSettingsKey, peError); return _ret; } -int32_t __thiscall winIVRSettings_IVRSettings_003_GetInt32(winIVRSettings_IVRSettings_003 *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) +int32_t __thiscall winIVRSettings_IVRSettings_003_GetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_003_GetInt32(_this->linux_side, pchSection, pchSettingsKey, peError); + _ret = cppIVRSettings_IVRSettings_003_GetInt32(_this->u_iface, pchSection, pchSettingsKey, peError); return _ret; } -float __thiscall winIVRSettings_IVRSettings_003_GetFloat(winIVRSettings_IVRSettings_003 *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) +float __thiscall winIVRSettings_IVRSettings_003_GetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_003_GetFloat(_this->linux_side, pchSection, pchSettingsKey, peError); + _ret = cppIVRSettings_IVRSettings_003_GetFloat(_this->u_iface, pchSection, pchSettingsKey, peError); return _ret; } -void __thiscall winIVRSettings_IVRSettings_003_GetString(winIVRSettings_IVRSettings_003 *_this, const char *pchSection, const char *pchSettingsKey, char *pchValue, uint32_t unValueLen, EVRSettingsError *peError) +void __thiscall winIVRSettings_IVRSettings_003_GetString(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, char *pchValue, uint32_t unValueLen, EVRSettingsError *peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_GetString(_this->linux_side, pchSection, pchSettingsKey, pchValue, unValueLen, peError); + cppIVRSettings_IVRSettings_003_GetString(_this->u_iface, pchSection, pchSettingsKey, pchValue, unValueLen, peError); } -void __thiscall winIVRSettings_IVRSettings_003_RemoveSection(winIVRSettings_IVRSettings_003 *_this, const char *pchSection, EVRSettingsError *peError) +void __thiscall winIVRSettings_IVRSettings_003_RemoveSection(struct w_steam_iface *_this, const char *pchSection, EVRSettingsError *peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_RemoveSection(_this->linux_side, pchSection, peError); + cppIVRSettings_IVRSettings_003_RemoveSection(_this->u_iface, pchSection, peError); } -void __thiscall winIVRSettings_IVRSettings_003_RemoveKeyInSection(winIVRSettings_IVRSettings_003 *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) +void __thiscall winIVRSettings_IVRSettings_003_RemoveKeyInSection(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_RemoveKeyInSection(_this->linux_side, pchSection, pchSettingsKey, peError); + cppIVRSettings_IVRSettings_003_RemoveKeyInSection(_this->u_iface, pchSection, pchSettingsKey, peError); } extern vtable_ptr winIVRSettings_IVRSettings_003_vtable; @@ -485,24 +466,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRSettings_IVRSettings_003 *create_winIVRSettings_IVRSettings_003(void *linux_side) +struct w_steam_iface *create_winIVRSettings_IVRSettings_003(void *u_iface) { - winIVRSettings_IVRSettings_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSettings_IVRSettings_003)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRSettings_IVRSettings_003_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRSettings_IVRSettings_003(void *object) +void destroy_winIVRSettings_IVRSettings_003(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSettings_IVRSettings_003 *create_winIVRSettings_IVRSettings_003_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRSettings_IVRSettings_003_FnTable(void *u_iface) { - winIVRSettings_IVRSettings_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSettings_IVRSettings_003)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(11); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 11 * sizeof(*vtable)); int i; @@ -521,17 +502,16 @@ winIVRSettings_IVRSettings_003 *create_winIVRSettings_IVRSettings_003_FnTable(vo init_thunk(&thunks[10], r, winIVRSettings_IVRSettings_003_RemoveKeyInSection, 3, FALSE, FALSE); for (i = 0; i < 11; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRSettings_IVRSettings_003_FnTable(void *object) +void destroy_winIVRSettings_IVRSettings_003_FnTable(struct w_steam_iface *object) { - winIVRSettings_IVRSettings_003 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } diff --git a/vrclient_x64/vrclient_x64/winIVRSystem.c b/vrclient_x64/vrclient_x64/winIVRSystem.c index ba20cbdf..885a7e0e 100644 --- a/vrclient_x64/vrclient_x64/winIVRSystem.c +++ b/vrclient_x64/vrclient_x64/winIVRSystem.c @@ -6,8 +6,6 @@ #include "winbase.h" #include "wine/debug.h" -#include "cxx.h" - #include "vrclient_defs.h" #include "vrclient_private.h" @@ -20,11 +18,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); #include "cppIVRSystem_IVRSystem_003.h" -typedef struct __winIVRSystem_IVRSystem_003 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_003; - DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetWindowBounds, 20) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize, 12) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetEyeOutputViewport, 24) @@ -64,281 +57,281 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_CaptureInputFocus, 4) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_ReleaseInputFocus, 4) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess, 4) -void __thiscall winIVRSystem_IVRSystem_003_GetWindowBounds(winIVRSystem_IVRSystem_003 *_this, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_003_GetWindowBounds(struct w_steam_iface *_this, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_GetWindowBounds(_this->linux_side, pnX, pnY, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_003_GetWindowBounds(_this->u_iface, pnX, pnY, pnWidth, pnHeight); } -void __thiscall winIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_003 *_this, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); } -void __thiscall winIVRSystem_IVRSystem_003_GetEyeOutputViewport(winIVRSystem_IVRSystem_003 *_this, Hmd_Eye eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_003_GetEyeOutputViewport(struct w_steam_iface *_this, Hmd_Eye eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_GetEyeOutputViewport(_this->linux_side, eEye, pnX, pnY, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_003_GetEyeOutputViewport(_this->u_iface, eEye, pnX, pnY, pnWidth, pnHeight); } -HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_003_GetProjectionMatrix(winIVRSystem_IVRSystem_003 *_this, HmdMatrix44_t *_ret, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_003_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_003_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); + *_ret = cppIVRSystem_IVRSystem_003_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ, eProjType); return _ret; } -void __thiscall winIVRSystem_IVRSystem_003_GetProjectionRaw(winIVRSystem_IVRSystem_003 *_this, Hmd_Eye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void __thiscall winIVRSystem_IVRSystem_003_GetProjectionRaw(struct w_steam_iface *_this, Hmd_Eye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_003_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); } -DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_003_ComputeDistortion(winIVRSystem_IVRSystem_003 *_this, DistortionCoordinates_t *_ret, Hmd_Eye eEye, float fU, float fV) +DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_003_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, Hmd_Eye eEye, float fU, float fV) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_003_ComputeDistortion(_this->linux_side, eEye, fU, fV); + *_ret = cppIVRSystem_IVRSystem_003_ComputeDistortion(_this->u_iface, eEye, fU, fV); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_003_GetEyeToHeadTransform(winIVRSystem_IVRSystem_003 *_this, HmdMatrix34_t *_ret, Hmd_Eye eEye) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_003_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, Hmd_Eye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_003_GetEyeToHeadTransform(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_003_GetEyeToHeadTransform(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_003_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_003 *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +bool __thiscall winIVRSystem_IVRSystem_003_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); + _ret = cppIVRSystem_IVRSystem_003_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_003_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_003 *_this) +int32_t __thiscall winIVRSystem_IVRSystem_003_GetD3D9AdapterIndex(struct w_steam_iface *_this) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetD3D9AdapterIndex(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_003_GetD3D9AdapterIndex(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_003_GetDXGIOutputInfo(winIVRSystem_IVRSystem_003 *_this, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex) +void __thiscall winIVRSystem_IVRSystem_003_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex) { TRACE("%p\n", _this); - get_dxgi_output_info2(cppIVRSystem_IVRSystem_003_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, pnAdapterOutputIndex, 3); + get_dxgi_output_info2(cppIVRSystem_IVRSystem_003_GetDXGIOutputInfo, _this->u_iface, pnAdapterIndex, pnAdapterOutputIndex, 3); } -bool __thiscall winIVRSystem_IVRSystem_003_AttachToWindow(winIVRSystem_IVRSystem_003 *_this, void *hWnd) +bool __thiscall winIVRSystem_IVRSystem_003_AttachToWindow(struct w_steam_iface *_this, void *hWnd) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_AttachToWindow(_this->linux_side, hWnd); + _ret = cppIVRSystem_IVRSystem_003_AttachToWindow(_this->u_iface, hWnd); return _ret; } -void __thiscall winIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_003 *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void __thiscall winIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); } -void __thiscall winIVRSystem_IVRSystem_003_ResetSeatedZeroPose(winIVRSystem_IVRSystem_003 *_this) +void __thiscall winIVRSystem_IVRSystem_003_ResetSeatedZeroPose(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_ResetSeatedZeroPose(_this->linux_side); + cppIVRSystem_IVRSystem_003_ResetSeatedZeroPose(_this->u_iface); } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_003 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_003_LoadRenderModel(winIVRSystem_IVRSystem_003 *_this, const char *pchRenderModelName, winRenderModel_t_091 *pRenderModel) +bool __thiscall winIVRSystem_IVRSystem_003_LoadRenderModel(struct w_steam_iface *_this, const char *pchRenderModelName, winRenderModel_t_091 *pRenderModel) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_LoadRenderModel(_this->linux_side, pchRenderModelName, pRenderModel); + _ret = cppIVRSystem_IVRSystem_003_LoadRenderModel(_this->u_iface, pchRenderModelName, pRenderModel); return _ret; } -void __thiscall winIVRSystem_IVRSystem_003_FreeRenderModel(winIVRSystem_IVRSystem_003 *_this, winRenderModel_t_091 *pRenderModel) +void __thiscall winIVRSystem_IVRSystem_003_FreeRenderModel(struct w_steam_iface *_this, winRenderModel_t_091 *pRenderModel) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_FreeRenderModel(_this->linux_side, pRenderModel); + cppIVRSystem_IVRSystem_003_FreeRenderModel(_this->u_iface, pRenderModel); } -TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_003_GetTrackedDeviceClass(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex) +TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_003_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { TrackedDeviceClass _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_003_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_003_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex) +bool __thiscall winIVRSystem_IVRSystem_003_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_003_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +bool __thiscall winIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -float __thiscall winIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +float __thiscall winIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +int32_t __thiscall winIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint64_t __thiscall winIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +uint64_t __thiscall winIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + *_ret = cppIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, TrackedPropertyError *pError) +uint32_t __thiscall winIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, TrackedPropertyError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); + _ret = cppIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_003 *_this, TrackedPropertyError error) +const char * __thiscall winIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum(struct w_steam_iface *_this, TrackedPropertyError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum(_this->u_iface, error); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_003_PollNextEvent(winIVRSystem_IVRSystem_003 *_this, VREvent_t *pEvent) +bool __thiscall winIVRSystem_IVRSystem_003_PollNextEvent(struct w_steam_iface *_this, VREvent_t *pEvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_PollNextEvent(_this->linux_side, pEvent); + _ret = cppIVRSystem_IVRSystem_003_PollNextEvent(_this->u_iface, pEvent); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_003_PollNextEventWithPose(winIVRSystem_IVRSystem_003 *_this, TrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_003_PollNextEventWithPose(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_003_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, pTrackedDevicePose); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_003 *_this, EVREventType eType) +const char * __thiscall winIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum(_this->linux_side, eType); + _ret = cppIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum(_this->u_iface, eType); return _ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_003_GetHiddenAreaMesh(winIVRSystem_IVRSystem_003 *_this, HiddenAreaMesh_t *_ret, Hmd_Eye eEye) +HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_003_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, Hmd_Eye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_003_GetControllerState(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_091 *pControllerState) +bool __thiscall winIVRSystem_IVRSystem_003_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_091 *pControllerState) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); + _ret = cppIVRSystem_IVRSystem_003_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_003_GetControllerStateWithPose(winIVRSystem_IVRSystem_003 *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_091 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_003_GetControllerStateWithPose(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_091 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_003_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); return _ret; } -void __thiscall winIVRSystem_IVRSystem_003_TriggerHapticPulse(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void __thiscall winIVRSystem_IVRSystem_003_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_003_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); } -const char * __thiscall winIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_003 *_this, EVRButtonId eButtonId) +const char * __thiscall winIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); + _ret = cppIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_003 *_this, EVRControllerAxisType eAxisType) +const char * __thiscall winIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); + _ret = cppIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse(winIVRSystem_IVRSystem_003 *_this, const Compositor_OverlaySettings *overlaySettings, HmdVector2_t vecWindowClientPositionOnScreen, HmdVector2_t vecWindowClientSize, TrackedDeviceIndex_t unControllerDeviceIndex, EVRControllerEventOutputType eOutputType) +bool __thiscall winIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, const Compositor_OverlaySettings *overlaySettings, HmdVector2_t vecWindowClientPositionOnScreen, HmdVector2_t vecWindowClientSize, TrackedDeviceIndex_t unControllerDeviceIndex, EVRControllerEventOutputType eOutputType) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse(_this->linux_side, overlaySettings, vecWindowClientPositionOnScreen, vecWindowClientSize, unControllerDeviceIndex, eOutputType); + _ret = cppIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse(_this->u_iface, overlaySettings, vecWindowClientPositionOnScreen, vecWindowClientSize, unControllerDeviceIndex, eOutputType); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_003_CaptureInputFocus(winIVRSystem_IVRSystem_003 *_this) +bool __thiscall winIVRSystem_IVRSystem_003_CaptureInputFocus(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_CaptureInputFocus(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_003_CaptureInputFocus(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_003_ReleaseInputFocus(winIVRSystem_IVRSystem_003 *_this) +void __thiscall winIVRSystem_IVRSystem_003_ReleaseInputFocus(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_ReleaseInputFocus(_this->linux_side); + cppIVRSystem_IVRSystem_003_ReleaseInputFocus(_this->u_iface); } -bool __thiscall winIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_003 *_this) +bool __thiscall winIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess(_this->u_iface); return _ret; } @@ -391,24 +384,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRSystem_IVRSystem_003 *create_winIVRSystem_IVRSystem_003(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_003(void *u_iface) { - winIVRSystem_IVRSystem_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_003)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRSystem_IVRSystem_003_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRSystem_IVRSystem_003(void *object) +void destroy_winIVRSystem_IVRSystem_003(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSystem_IVRSystem_003 *create_winIVRSystem_IVRSystem_003_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_003_FnTable(void *u_iface) { - winIVRSystem_IVRSystem_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_003)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(38); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 38 * sizeof(*vtable)); int i; @@ -454,27 +447,21 @@ winIVRSystem_IVRSystem_003 *create_winIVRSystem_IVRSystem_003_FnTable(void *linu init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); for (i = 0; i < 38; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRSystem_IVRSystem_003_FnTable(void *object) +void destroy_winIVRSystem_IVRSystem_003_FnTable(struct w_steam_iface *object) { - winIVRSystem_IVRSystem_003 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRSystem_IVRSystem_004.h" -typedef struct __winIVRSystem_IVRSystem_004 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_004; - DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetWindowBounds, 20) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize, 12) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetEyeOutputViewport, 24) @@ -512,267 +499,267 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_ReleaseInputFocus, 4) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess, 4) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_DriverDebugRequest, 20) -void __thiscall winIVRSystem_IVRSystem_004_GetWindowBounds(winIVRSystem_IVRSystem_004 *_this, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_004_GetWindowBounds(struct w_steam_iface *_this, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_GetWindowBounds(_this->linux_side, pnX, pnY, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_004_GetWindowBounds(_this->u_iface, pnX, pnY, pnWidth, pnHeight); } -void __thiscall winIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_004 *_this, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); } -void __thiscall winIVRSystem_IVRSystem_004_GetEyeOutputViewport(winIVRSystem_IVRSystem_004 *_this, Hmd_Eye eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_004_GetEyeOutputViewport(struct w_steam_iface *_this, Hmd_Eye eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_GetEyeOutputViewport(_this->linux_side, eEye, pnX, pnY, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_004_GetEyeOutputViewport(_this->u_iface, eEye, pnX, pnY, pnWidth, pnHeight); } -HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_004_GetProjectionMatrix(winIVRSystem_IVRSystem_004 *_this, HmdMatrix44_t *_ret, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_004_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_004_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); + *_ret = cppIVRSystem_IVRSystem_004_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ, eProjType); return _ret; } -void __thiscall winIVRSystem_IVRSystem_004_GetProjectionRaw(winIVRSystem_IVRSystem_004 *_this, Hmd_Eye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void __thiscall winIVRSystem_IVRSystem_004_GetProjectionRaw(struct w_steam_iface *_this, Hmd_Eye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_004_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); } -DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_004_ComputeDistortion(winIVRSystem_IVRSystem_004 *_this, DistortionCoordinates_t *_ret, Hmd_Eye eEye, float fU, float fV) +DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_004_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, Hmd_Eye eEye, float fU, float fV) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_004_ComputeDistortion(_this->linux_side, eEye, fU, fV); + *_ret = cppIVRSystem_IVRSystem_004_ComputeDistortion(_this->u_iface, eEye, fU, fV); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_004_GetEyeToHeadTransform(winIVRSystem_IVRSystem_004 *_this, HmdMatrix34_t *_ret, Hmd_Eye eEye) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_004_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, Hmd_Eye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_004_GetEyeToHeadTransform(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_004_GetEyeToHeadTransform(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_004_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_004 *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +bool __thiscall winIVRSystem_IVRSystem_004_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); + _ret = cppIVRSystem_IVRSystem_004_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_004_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_004 *_this) +int32_t __thiscall winIVRSystem_IVRSystem_004_GetD3D9AdapterIndex(struct w_steam_iface *_this) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetD3D9AdapterIndex(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_004_GetD3D9AdapterIndex(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_004_GetDXGIOutputInfo(winIVRSystem_IVRSystem_004 *_this, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex) +void __thiscall winIVRSystem_IVRSystem_004_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex) { TRACE("%p\n", _this); - get_dxgi_output_info2(cppIVRSystem_IVRSystem_004_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, pnAdapterOutputIndex, 4); + get_dxgi_output_info2(cppIVRSystem_IVRSystem_004_GetDXGIOutputInfo, _this->u_iface, pnAdapterIndex, pnAdapterOutputIndex, 4); } -bool __thiscall winIVRSystem_IVRSystem_004_AttachToWindow(winIVRSystem_IVRSystem_004 *_this, void *hWnd) +bool __thiscall winIVRSystem_IVRSystem_004_AttachToWindow(struct w_steam_iface *_this, void *hWnd) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_AttachToWindow(_this->linux_side, hWnd); + _ret = cppIVRSystem_IVRSystem_004_AttachToWindow(_this->u_iface, hWnd); return _ret; } -void __thiscall winIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_004 *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void __thiscall winIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); } -void __thiscall winIVRSystem_IVRSystem_004_ResetSeatedZeroPose(winIVRSystem_IVRSystem_004 *_this) +void __thiscall winIVRSystem_IVRSystem_004_ResetSeatedZeroPose(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_ResetSeatedZeroPose(_this->linux_side); + cppIVRSystem_IVRSystem_004_ResetSeatedZeroPose(_this->u_iface); } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_004 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_004_GetTrackedDeviceClass(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex) +TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_004_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { TrackedDeviceClass _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_004_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_004_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex) +bool __thiscall winIVRSystem_IVRSystem_004_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_004_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +bool __thiscall winIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -float __thiscall winIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +float __thiscall winIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +int32_t __thiscall winIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint64_t __thiscall winIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +uint64_t __thiscall winIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + *_ret = cppIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, TrackedPropertyError *pError) +uint32_t __thiscall winIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, TrackedPropertyError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); + _ret = cppIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_004 *_this, TrackedPropertyError error) +const char * __thiscall winIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum(struct w_steam_iface *_this, TrackedPropertyError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum(_this->u_iface, error); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_004_PollNextEvent(winIVRSystem_IVRSystem_004 *_this, VREvent_t *pEvent) +bool __thiscall winIVRSystem_IVRSystem_004_PollNextEvent(struct w_steam_iface *_this, VREvent_t *pEvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_PollNextEvent(_this->linux_side, pEvent); + _ret = cppIVRSystem_IVRSystem_004_PollNextEvent(_this->u_iface, pEvent); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_004_PollNextEventWithPose(winIVRSystem_IVRSystem_004 *_this, TrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_004_PollNextEventWithPose(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_004_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, pTrackedDevicePose); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_004 *_this, EVREventType eType) +const char * __thiscall winIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum(_this->linux_side, eType); + _ret = cppIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum(_this->u_iface, eType); return _ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_004_GetHiddenAreaMesh(winIVRSystem_IVRSystem_004 *_this, HiddenAreaMesh_t *_ret, Hmd_Eye eEye) +HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_004_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, Hmd_Eye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_004_GetControllerState(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_092 *pControllerState) +bool __thiscall winIVRSystem_IVRSystem_004_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_092 *pControllerState) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); + _ret = cppIVRSystem_IVRSystem_004_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_004_GetControllerStateWithPose(winIVRSystem_IVRSystem_004 *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_092 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_004_GetControllerStateWithPose(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_092 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_004_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); return _ret; } -void __thiscall winIVRSystem_IVRSystem_004_TriggerHapticPulse(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void __thiscall winIVRSystem_IVRSystem_004_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_004_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); } -const char * __thiscall winIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_004 *_this, EVRButtonId eButtonId) +const char * __thiscall winIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); + _ret = cppIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_004 *_this, EVRControllerAxisType eAxisType) +const char * __thiscall winIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); + _ret = cppIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_004_CaptureInputFocus(winIVRSystem_IVRSystem_004 *_this) +bool __thiscall winIVRSystem_IVRSystem_004_CaptureInputFocus(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_CaptureInputFocus(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_004_CaptureInputFocus(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_004_ReleaseInputFocus(winIVRSystem_IVRSystem_004 *_this) +void __thiscall winIVRSystem_IVRSystem_004_ReleaseInputFocus(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_ReleaseInputFocus(_this->linux_side); + cppIVRSystem_IVRSystem_004_ReleaseInputFocus(_this->u_iface); } -bool __thiscall winIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_004 *_this) +bool __thiscall winIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_004_DriverDebugRequest(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +uint32_t __thiscall winIVRSystem_IVRSystem_004_DriverDebugRequest(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); + _ret = cppIVRSystem_IVRSystem_004_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); return _ret; } @@ -823,24 +810,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRSystem_IVRSystem_004 *create_winIVRSystem_IVRSystem_004(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_004(void *u_iface) { - winIVRSystem_IVRSystem_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_004)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRSystem_IVRSystem_004_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRSystem_IVRSystem_004(void *object) +void destroy_winIVRSystem_IVRSystem_004(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSystem_IVRSystem_004 *create_winIVRSystem_IVRSystem_004_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_004_FnTable(void *u_iface) { - winIVRSystem_IVRSystem_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_004)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(36); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 36 * sizeof(*vtable)); int i; @@ -884,27 +871,21 @@ winIVRSystem_IVRSystem_004 *create_winIVRSystem_IVRSystem_004_FnTable(void *linu init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_004_DriverDebugRequest, 4, FALSE, FALSE); for (i = 0; i < 36; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRSystem_IVRSystem_004_FnTable(void *object) +void destroy_winIVRSystem_IVRSystem_004_FnTable(struct w_steam_iface *object) { - winIVRSystem_IVRSystem_004 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRSystem_IVRSystem_005.h" -typedef struct __winIVRSystem_IVRSystem_005 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_005; - DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetWindowBounds, 20) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize, 12) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetEyeOutputViewport, 24) @@ -943,275 +924,275 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_ReleaseInputFocus, 4) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess, 4) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_DriverDebugRequest, 20) -void __thiscall winIVRSystem_IVRSystem_005_GetWindowBounds(winIVRSystem_IVRSystem_005 *_this, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_005_GetWindowBounds(struct w_steam_iface *_this, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_GetWindowBounds(_this->linux_side, pnX, pnY, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_005_GetWindowBounds(_this->u_iface, pnX, pnY, pnWidth, pnHeight); } -void __thiscall winIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_005 *_this, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); } -void __thiscall winIVRSystem_IVRSystem_005_GetEyeOutputViewport(winIVRSystem_IVRSystem_005 *_this, Hmd_Eye eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_005_GetEyeOutputViewport(struct w_steam_iface *_this, Hmd_Eye eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_GetEyeOutputViewport(_this->linux_side, eEye, pnX, pnY, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_005_GetEyeOutputViewport(_this->u_iface, eEye, pnX, pnY, pnWidth, pnHeight); } -HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_005_GetProjectionMatrix(winIVRSystem_IVRSystem_005 *_this, HmdMatrix44_t *_ret, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_005_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_005_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); + *_ret = cppIVRSystem_IVRSystem_005_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ, eProjType); return _ret; } -void __thiscall winIVRSystem_IVRSystem_005_GetProjectionRaw(winIVRSystem_IVRSystem_005 *_this, Hmd_Eye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void __thiscall winIVRSystem_IVRSystem_005_GetProjectionRaw(struct w_steam_iface *_this, Hmd_Eye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_005_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); } -DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_005_ComputeDistortion(winIVRSystem_IVRSystem_005 *_this, DistortionCoordinates_t *_ret, Hmd_Eye eEye, float fU, float fV) +DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_005_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, Hmd_Eye eEye, float fU, float fV) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_005_ComputeDistortion(_this->linux_side, eEye, fU, fV); + *_ret = cppIVRSystem_IVRSystem_005_ComputeDistortion(_this->u_iface, eEye, fU, fV); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_005_GetEyeToHeadTransform(winIVRSystem_IVRSystem_005 *_this, HmdMatrix34_t *_ret, Hmd_Eye eEye) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_005_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, Hmd_Eye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_005_GetEyeToHeadTransform(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_005_GetEyeToHeadTransform(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_005_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_005 *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +bool __thiscall winIVRSystem_IVRSystem_005_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); + _ret = cppIVRSystem_IVRSystem_005_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_005_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_005 *_this) +int32_t __thiscall winIVRSystem_IVRSystem_005_GetD3D9AdapterIndex(struct w_steam_iface *_this) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetD3D9AdapterIndex(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_005_GetD3D9AdapterIndex(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_005_GetDXGIOutputInfo(winIVRSystem_IVRSystem_005 *_this, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex) +void __thiscall winIVRSystem_IVRSystem_005_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex) { TRACE("%p\n", _this); - get_dxgi_output_info2(cppIVRSystem_IVRSystem_005_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, pnAdapterOutputIndex, 5); + get_dxgi_output_info2(cppIVRSystem_IVRSystem_005_GetDXGIOutputInfo, _this->u_iface, pnAdapterIndex, pnAdapterOutputIndex, 5); } -bool __thiscall winIVRSystem_IVRSystem_005_AttachToWindow(winIVRSystem_IVRSystem_005 *_this, void *hWnd) +bool __thiscall winIVRSystem_IVRSystem_005_AttachToWindow(struct w_steam_iface *_this, void *hWnd) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_AttachToWindow(_this->linux_side, hWnd); + _ret = cppIVRSystem_IVRSystem_005_AttachToWindow(_this->u_iface, hWnd); return _ret; } -void __thiscall winIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_005 *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void __thiscall winIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); } -void __thiscall winIVRSystem_IVRSystem_005_ResetSeatedZeroPose(winIVRSystem_IVRSystem_005 *_this) +void __thiscall winIVRSystem_IVRSystem_005_ResetSeatedZeroPose(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_ResetSeatedZeroPose(_this->linux_side); + cppIVRSystem_IVRSystem_005_ResetSeatedZeroPose(_this->u_iface); } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_005 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +uint32_t __thiscall winIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); + _ret = cppIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); return _ret; } -TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_005_GetTrackedDeviceClass(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex) +TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_005_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { TrackedDeviceClass _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_005_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_005_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex) +bool __thiscall winIVRSystem_IVRSystem_005_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_005_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +bool __thiscall winIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -float __thiscall winIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +float __thiscall winIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +int32_t __thiscall winIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint64_t __thiscall winIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +uint64_t __thiscall winIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + *_ret = cppIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, TrackedPropertyError *pError) +uint32_t __thiscall winIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, TrackedPropertyError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); + _ret = cppIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_005 *_this, TrackedPropertyError error) +const char * __thiscall winIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum(struct w_steam_iface *_this, TrackedPropertyError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum(_this->u_iface, error); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_005_PollNextEvent(winIVRSystem_IVRSystem_005 *_this, VREvent_t *pEvent) +bool __thiscall winIVRSystem_IVRSystem_005_PollNextEvent(struct w_steam_iface *_this, VREvent_t *pEvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_PollNextEvent(_this->linux_side, pEvent); + _ret = cppIVRSystem_IVRSystem_005_PollNextEvent(_this->u_iface, pEvent); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_005_PollNextEventWithPose(winIVRSystem_IVRSystem_005 *_this, TrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_005_PollNextEventWithPose(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_005_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, pTrackedDevicePose); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_005 *_this, EVREventType eType) +const char * __thiscall winIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum(_this->linux_side, eType); + _ret = cppIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum(_this->u_iface, eType); return _ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_005_GetHiddenAreaMesh(winIVRSystem_IVRSystem_005 *_this, HiddenAreaMesh_t *_ret, Hmd_Eye eEye) +HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_005_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, Hmd_Eye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_005_GetControllerState(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_098 *pControllerState) +bool __thiscall winIVRSystem_IVRSystem_005_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_098 *pControllerState) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); + _ret = cppIVRSystem_IVRSystem_005_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_005_GetControllerStateWithPose(winIVRSystem_IVRSystem_005 *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_098 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_005_GetControllerStateWithPose(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_098 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_005_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); return _ret; } -void __thiscall winIVRSystem_IVRSystem_005_TriggerHapticPulse(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void __thiscall winIVRSystem_IVRSystem_005_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_005_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); } -const char * __thiscall winIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_005 *_this, EVRButtonId eButtonId) +const char * __thiscall winIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); + _ret = cppIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_005 *_this, EVRControllerAxisType eAxisType) +const char * __thiscall winIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); + _ret = cppIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_005_CaptureInputFocus(winIVRSystem_IVRSystem_005 *_this) +bool __thiscall winIVRSystem_IVRSystem_005_CaptureInputFocus(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_CaptureInputFocus(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_005_CaptureInputFocus(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_005_ReleaseInputFocus(winIVRSystem_IVRSystem_005 *_this) +void __thiscall winIVRSystem_IVRSystem_005_ReleaseInputFocus(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_ReleaseInputFocus(_this->linux_side); + cppIVRSystem_IVRSystem_005_ReleaseInputFocus(_this->u_iface); } -bool __thiscall winIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_005 *_this) +bool __thiscall winIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_005_DriverDebugRequest(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +uint32_t __thiscall winIVRSystem_IVRSystem_005_DriverDebugRequest(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); + _ret = cppIVRSystem_IVRSystem_005_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); return _ret; } @@ -1263,24 +1244,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRSystem_IVRSystem_005 *create_winIVRSystem_IVRSystem_005(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_005(void *u_iface) { - winIVRSystem_IVRSystem_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_005)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRSystem_IVRSystem_005_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRSystem_IVRSystem_005(void *object) +void destroy_winIVRSystem_IVRSystem_005(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSystem_IVRSystem_005 *create_winIVRSystem_IVRSystem_005_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_005_FnTable(void *u_iface) { - winIVRSystem_IVRSystem_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_005)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(37); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 37 * sizeof(*vtable)); int i; @@ -1325,27 +1306,21 @@ winIVRSystem_IVRSystem_005 *create_winIVRSystem_IVRSystem_005_FnTable(void *linu init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_005_DriverDebugRequest, 4, FALSE, FALSE); for (i = 0; i < 37; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRSystem_IVRSystem_005_FnTable(void *object) +void destroy_winIVRSystem_IVRSystem_005_FnTable(struct w_steam_iface *object) { - winIVRSystem_IVRSystem_005 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRSystem_IVRSystem_006.h" -typedef struct __winIVRSystem_IVRSystem_006 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_006; - DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetWindowBounds, 20) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize, 12) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetEyeOutputViewport, 24) @@ -1389,314 +1364,314 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_PerformFirmwareUpdate, 8) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_IsDisplayOnDesktop, 4) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_SetDisplayVisibility, 8) -void __thiscall winIVRSystem_IVRSystem_006_GetWindowBounds(winIVRSystem_IVRSystem_006 *_this, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_006_GetWindowBounds(struct w_steam_iface *_this, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_GetWindowBounds(_this->linux_side, pnX, pnY, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_006_GetWindowBounds(_this->u_iface, pnX, pnY, pnWidth, pnHeight); } -void __thiscall winIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_006 *_this, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); } -void __thiscall winIVRSystem_IVRSystem_006_GetEyeOutputViewport(winIVRSystem_IVRSystem_006 *_this, Hmd_Eye eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_006_GetEyeOutputViewport(struct w_steam_iface *_this, Hmd_Eye eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_GetEyeOutputViewport(_this->linux_side, eEye, pnX, pnY, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_006_GetEyeOutputViewport(_this->u_iface, eEye, pnX, pnY, pnWidth, pnHeight); } -HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_006_GetProjectionMatrix(winIVRSystem_IVRSystem_006 *_this, HmdMatrix44_t *_ret, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_006_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_006_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); + *_ret = cppIVRSystem_IVRSystem_006_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ, eProjType); return _ret; } -void __thiscall winIVRSystem_IVRSystem_006_GetProjectionRaw(winIVRSystem_IVRSystem_006 *_this, Hmd_Eye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void __thiscall winIVRSystem_IVRSystem_006_GetProjectionRaw(struct w_steam_iface *_this, Hmd_Eye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_006_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); } -DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_006_ComputeDistortion(winIVRSystem_IVRSystem_006 *_this, DistortionCoordinates_t *_ret, Hmd_Eye eEye, float fU, float fV) +DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_006_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, Hmd_Eye eEye, float fU, float fV) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_006_ComputeDistortion(_this->linux_side, eEye, fU, fV); + *_ret = cppIVRSystem_IVRSystem_006_ComputeDistortion(_this->u_iface, eEye, fU, fV); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_006_GetEyeToHeadTransform(winIVRSystem_IVRSystem_006 *_this, HmdMatrix34_t *_ret, Hmd_Eye eEye) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_006_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, Hmd_Eye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_006_GetEyeToHeadTransform(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_006_GetEyeToHeadTransform(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_006_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_006 *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +bool __thiscall winIVRSystem_IVRSystem_006_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); + _ret = cppIVRSystem_IVRSystem_006_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_006_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_006 *_this) +int32_t __thiscall winIVRSystem_IVRSystem_006_GetD3D9AdapterIndex(struct w_steam_iface *_this) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetD3D9AdapterIndex(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_006_GetD3D9AdapterIndex(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_006_GetDXGIOutputInfo(winIVRSystem_IVRSystem_006 *_this, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex) +void __thiscall winIVRSystem_IVRSystem_006_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex) { TRACE("%p\n", _this); - get_dxgi_output_info2(cppIVRSystem_IVRSystem_006_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, pnAdapterOutputIndex, 6); + get_dxgi_output_info2(cppIVRSystem_IVRSystem_006_GetDXGIOutputInfo, _this->u_iface, pnAdapterIndex, pnAdapterOutputIndex, 6); } -bool __thiscall winIVRSystem_IVRSystem_006_AttachToWindow(winIVRSystem_IVRSystem_006 *_this, void *hWnd) +bool __thiscall winIVRSystem_IVRSystem_006_AttachToWindow(struct w_steam_iface *_this, void *hWnd) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_AttachToWindow(_this->linux_side, hWnd); + _ret = cppIVRSystem_IVRSystem_006_AttachToWindow(_this->u_iface, hWnd); return _ret; } -void __thiscall winIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_006 *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void __thiscall winIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); } -void __thiscall winIVRSystem_IVRSystem_006_ResetSeatedZeroPose(winIVRSystem_IVRSystem_006 *_this) +void __thiscall winIVRSystem_IVRSystem_006_ResetSeatedZeroPose(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_ResetSeatedZeroPose(_this->linux_side); + cppIVRSystem_IVRSystem_006_ResetSeatedZeroPose(_this->u_iface); } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_006 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_006 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +uint32_t __thiscall winIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); + _ret = cppIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); return _ret; } -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceId) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { EDeviceActivityLevel _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); + _ret = cppIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); return _ret; } -TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_006_GetTrackedDeviceClass(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex) +TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_006_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { TrackedDeviceClass _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_006_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_006_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex) +bool __thiscall winIVRSystem_IVRSystem_006_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_006_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +bool __thiscall winIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -float __thiscall winIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +float __thiscall winIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +int32_t __thiscall winIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint64_t __thiscall winIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +uint64_t __thiscall winIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + *_ret = cppIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, TrackedPropertyError *pError) +uint32_t __thiscall winIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, TrackedPropertyError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); + _ret = cppIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_006 *_this, TrackedPropertyError error) +const char * __thiscall winIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum(struct w_steam_iface *_this, TrackedPropertyError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum(_this->u_iface, error); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_006_PollNextEvent(winIVRSystem_IVRSystem_006 *_this, VREvent_t *pEvent) +bool __thiscall winIVRSystem_IVRSystem_006_PollNextEvent(struct w_steam_iface *_this, VREvent_t *pEvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_PollNextEvent(_this->linux_side, pEvent); + _ret = cppIVRSystem_IVRSystem_006_PollNextEvent(_this->u_iface, pEvent); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_006_PollNextEventWithPose(winIVRSystem_IVRSystem_006 *_this, TrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_006_PollNextEventWithPose(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_006_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, pTrackedDevicePose); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_006 *_this, EVREventType eType) +const char * __thiscall winIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum(_this->linux_side, eType); + _ret = cppIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum(_this->u_iface, eType); return _ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_006_GetHiddenAreaMesh(winIVRSystem_IVRSystem_006 *_this, HiddenAreaMesh_t *_ret, Hmd_Eye eEye) +HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_006_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, Hmd_Eye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_006_GetControllerState(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0910 *pControllerState) +bool __thiscall winIVRSystem_IVRSystem_006_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0910 *pControllerState) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); + _ret = cppIVRSystem_IVRSystem_006_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_006_GetControllerStateWithPose(winIVRSystem_IVRSystem_006 *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0910 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_006_GetControllerStateWithPose(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0910 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_006_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); return _ret; } -void __thiscall winIVRSystem_IVRSystem_006_TriggerHapticPulse(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void __thiscall winIVRSystem_IVRSystem_006_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_006_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); } -const char * __thiscall winIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_006 *_this, EVRButtonId eButtonId) +const char * __thiscall winIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); + _ret = cppIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_006 *_this, EVRControllerAxisType eAxisType) +const char * __thiscall winIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); + _ret = cppIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_006_CaptureInputFocus(winIVRSystem_IVRSystem_006 *_this) +bool __thiscall winIVRSystem_IVRSystem_006_CaptureInputFocus(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_CaptureInputFocus(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_006_CaptureInputFocus(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_006_ReleaseInputFocus(winIVRSystem_IVRSystem_006 *_this) +void __thiscall winIVRSystem_IVRSystem_006_ReleaseInputFocus(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_ReleaseInputFocus(_this->linux_side); + cppIVRSystem_IVRSystem_006_ReleaseInputFocus(_this->u_iface); } -bool __thiscall winIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_006 *_this) +bool __thiscall winIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_006_DriverDebugRequest(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +uint32_t __thiscall winIVRSystem_IVRSystem_006_DriverDebugRequest(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); + _ret = cppIVRSystem_IVRSystem_006_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); return _ret; } -VRFirmwareError __thiscall winIVRSystem_IVRSystem_006_PerformFirmwareUpdate(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex) +VRFirmwareError __thiscall winIVRSystem_IVRSystem_006_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { VRFirmwareError _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_006_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_006_IsDisplayOnDesktop(winIVRSystem_IVRSystem_006 *_this) +bool __thiscall winIVRSystem_IVRSystem_006_IsDisplayOnDesktop(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_IsDisplayOnDesktop(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_006_IsDisplayOnDesktop(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_006_SetDisplayVisibility(winIVRSystem_IVRSystem_006 *_this, bool bIsVisibleOnDesktop) +bool __thiscall winIVRSystem_IVRSystem_006_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); + _ret = cppIVRSystem_IVRSystem_006_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); return _ret; } @@ -1753,24 +1728,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRSystem_IVRSystem_006 *create_winIVRSystem_IVRSystem_006(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_006(void *u_iface) { - winIVRSystem_IVRSystem_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_006)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRSystem_IVRSystem_006_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRSystem_IVRSystem_006(void *object) +void destroy_winIVRSystem_IVRSystem_006(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSystem_IVRSystem_006 *create_winIVRSystem_IVRSystem_006_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_006_FnTable(void *u_iface) { - winIVRSystem_IVRSystem_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_006)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(42); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 42 * sizeof(*vtable)); int i; @@ -1820,27 +1795,21 @@ winIVRSystem_IVRSystem_006 *create_winIVRSystem_IVRSystem_006_FnTable(void *linu init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_006_SetDisplayVisibility, 1, FALSE, FALSE); for (i = 0; i < 42; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRSystem_IVRSystem_006_FnTable(void *object) +void destroy_winIVRSystem_IVRSystem_006_FnTable(struct w_steam_iface *object) { - winIVRSystem_IVRSystem_006 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRSystem_IVRSystem_009.h" -typedef struct __winIVRSystem_IVRSystem_009 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_009; - DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize, 12) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetProjectionMatrix, 24) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetProjectionRaw, 24) @@ -1884,313 +1853,313 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_PerformFirmwareUpdate, 8) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting, 4) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_009 *_this, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); } -HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_009_GetProjectionMatrix(winIVRSystem_IVRSystem_009 *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_009_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_009_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); + *_ret = cppIVRSystem_IVRSystem_009_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ, eProjType); return _ret; } -void __thiscall winIVRSystem_IVRSystem_009_GetProjectionRaw(winIVRSystem_IVRSystem_009 *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void __thiscall winIVRSystem_IVRSystem_009_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_009_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); } -DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_009_ComputeDistortion(winIVRSystem_IVRSystem_009 *_this, DistortionCoordinates_t *_ret, EVREye eEye, float fU, float fV) +DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_009_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, EVREye eEye, float fU, float fV) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_009_ComputeDistortion(_this->linux_side, eEye, fU, fV); + *_ret = cppIVRSystem_IVRSystem_009_ComputeDistortion(_this->u_iface, eEye, fU, fV); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_009_GetEyeToHeadTransform(winIVRSystem_IVRSystem_009 *_this, HmdMatrix34_t *_ret, EVREye eEye) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_009_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_009_GetEyeToHeadTransform(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_009_GetEyeToHeadTransform(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_009_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_009 *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +bool __thiscall winIVRSystem_IVRSystem_009_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); + _ret = cppIVRSystem_IVRSystem_009_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_009_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_009 *_this) +int32_t __thiscall winIVRSystem_IVRSystem_009_GetD3D9AdapterIndex(struct w_steam_iface *_this) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetD3D9AdapterIndex(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_009_GetD3D9AdapterIndex(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_009_GetDXGIOutputInfo(winIVRSystem_IVRSystem_009 *_this, int32_t *pnAdapterIndex) +void __thiscall winIVRSystem_IVRSystem_009_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex) { TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_009_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 9); + get_dxgi_output_info(cppIVRSystem_IVRSystem_009_GetDXGIOutputInfo, _this->u_iface, pnAdapterIndex, 9); } -bool __thiscall winIVRSystem_IVRSystem_009_IsDisplayOnDesktop(winIVRSystem_IVRSystem_009 *_this) +bool __thiscall winIVRSystem_IVRSystem_009_IsDisplayOnDesktop(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_IsDisplayOnDesktop(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_009_IsDisplayOnDesktop(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_009_SetDisplayVisibility(winIVRSystem_IVRSystem_009 *_this, bool bIsVisibleOnDesktop) +bool __thiscall winIVRSystem_IVRSystem_009_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); + _ret = cppIVRSystem_IVRSystem_009_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); return _ret; } -void __thiscall winIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_009 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void __thiscall winIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); } -void __thiscall winIVRSystem_IVRSystem_009_ResetSeatedZeroPose(winIVRSystem_IVRSystem_009 *_this) +void __thiscall winIVRSystem_IVRSystem_009_ResetSeatedZeroPose(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_ResetSeatedZeroPose(_this->linux_side); + cppIVRSystem_IVRSystem_009_ResetSeatedZeroPose(_this->u_iface); } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_009 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_009 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_009 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +uint32_t __thiscall winIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); + _ret = cppIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); return _ret; } -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceId) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { EDeviceActivityLevel _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); + _ret = cppIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); return _ret; } -void __thiscall winIVRSystem_IVRSystem_009_ApplyTransform(winIVRSystem_IVRSystem_009 *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void __thiscall winIVRSystem_IVRSystem_009_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_009_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); } -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_009_GetTrackedDeviceClass(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_009_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedDeviceClass _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_009_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_009_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex) +bool __thiscall winIVRSystem_IVRSystem_009_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_009_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +bool __thiscall winIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -float __thiscall winIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +float __thiscall winIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +int32_t __thiscall winIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint64_t __thiscall winIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +uint64_t __thiscall winIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + *_ret = cppIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +uint32_t __thiscall winIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); + _ret = cppIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_009 *_this, ETrackedPropertyError error) +const char * __thiscall winIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum(_this->u_iface, error); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_009_PollNextEvent(winIVRSystem_IVRSystem_009 *_this, VREvent_t *pEvent) +bool __thiscall winIVRSystem_IVRSystem_009_PollNextEvent(struct w_steam_iface *_this, VREvent_t *pEvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_PollNextEvent(_this->linux_side, pEvent); + _ret = cppIVRSystem_IVRSystem_009_PollNextEvent(_this->u_iface, pEvent); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_009_PollNextEventWithPose(winIVRSystem_IVRSystem_009 *_this, ETrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_009_PollNextEventWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_009_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, pTrackedDevicePose); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_009 *_this, EVREventType eType) +const char * __thiscall winIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum(_this->linux_side, eType); + _ret = cppIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum(_this->u_iface, eType); return _ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_009_GetHiddenAreaMesh(winIVRSystem_IVRSystem_009 *_this, HiddenAreaMesh_t *_ret, EVREye eEye) +HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_009_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_009_GetControllerState(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0912 *pControllerState) +bool __thiscall winIVRSystem_IVRSystem_009_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0912 *pControllerState) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); + _ret = cppIVRSystem_IVRSystem_009_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_009_GetControllerStateWithPose(winIVRSystem_IVRSystem_009 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0912 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_009_GetControllerStateWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0912 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_009_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); return _ret; } -void __thiscall winIVRSystem_IVRSystem_009_TriggerHapticPulse(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void __thiscall winIVRSystem_IVRSystem_009_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_009_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); } -const char * __thiscall winIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_009 *_this, EVRButtonId eButtonId) +const char * __thiscall winIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); + _ret = cppIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_009 *_this, EVRControllerAxisType eAxisType) +const char * __thiscall winIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); + _ret = cppIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_009_CaptureInputFocus(winIVRSystem_IVRSystem_009 *_this) +bool __thiscall winIVRSystem_IVRSystem_009_CaptureInputFocus(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_CaptureInputFocus(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_009_CaptureInputFocus(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_009_ReleaseInputFocus(winIVRSystem_IVRSystem_009 *_this) +void __thiscall winIVRSystem_IVRSystem_009_ReleaseInputFocus(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_ReleaseInputFocus(_this->linux_side); + cppIVRSystem_IVRSystem_009_ReleaseInputFocus(_this->u_iface); } -bool __thiscall winIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_009 *_this) +bool __thiscall winIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_009_DriverDebugRequest(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +uint32_t __thiscall winIVRSystem_IVRSystem_009_DriverDebugRequest(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); + _ret = cppIVRSystem_IVRSystem_009_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); return _ret; } -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_009_PerformFirmwareUpdate(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_009_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { EVRFirmwareError _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_009_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); return _ret; } -void __thiscall winIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_009 *_this) +void __thiscall winIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting(_this->linux_side); + cppIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting(_this->u_iface); } -void __thiscall winIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_009 *_this) +void __thiscall winIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt(_this->linux_side); + cppIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt(_this->u_iface); } extern vtable_ptr winIVRSystem_IVRSystem_009_vtable; @@ -2246,24 +2215,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRSystem_IVRSystem_009 *create_winIVRSystem_IVRSystem_009(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_009(void *u_iface) { - winIVRSystem_IVRSystem_009 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_009)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRSystem_IVRSystem_009_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRSystem_IVRSystem_009(void *object) +void destroy_winIVRSystem_IVRSystem_009(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSystem_IVRSystem_009 *create_winIVRSystem_IVRSystem_009_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_009_FnTable(void *u_iface) { - winIVRSystem_IVRSystem_009 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_009)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(42); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 42 * sizeof(*vtable)); int i; @@ -2313,27 +2282,21 @@ winIVRSystem_IVRSystem_009 *create_winIVRSystem_IVRSystem_009_FnTable(void *linu init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); for (i = 0; i < 42; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRSystem_IVRSystem_009_FnTable(void *object) +void destroy_winIVRSystem_IVRSystem_009_FnTable(struct w_steam_iface *object) { - winIVRSystem_IVRSystem_009 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRSystem_IVRSystem_010.h" -typedef struct __winIVRSystem_IVRSystem_010 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_010; - DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize, 12) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetProjectionMatrix, 24) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetProjectionRaw, 24) @@ -2381,341 +2344,341 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt, 4 DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PerformanceTestEnableCapture, 8) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange, 8) -void __thiscall winIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_010 *_this, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); } -HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_010_GetProjectionMatrix(winIVRSystem_IVRSystem_010 *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_010_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_010_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); + *_ret = cppIVRSystem_IVRSystem_010_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ, eProjType); return _ret; } -void __thiscall winIVRSystem_IVRSystem_010_GetProjectionRaw(winIVRSystem_IVRSystem_010 *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void __thiscall winIVRSystem_IVRSystem_010_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_010_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); } -DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_010_ComputeDistortion(winIVRSystem_IVRSystem_010 *_this, DistortionCoordinates_t *_ret, EVREye eEye, float fU, float fV) +DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_010_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, EVREye eEye, float fU, float fV) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_010_ComputeDistortion(_this->linux_side, eEye, fU, fV); + *_ret = cppIVRSystem_IVRSystem_010_ComputeDistortion(_this->u_iface, eEye, fU, fV); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_010_GetEyeToHeadTransform(winIVRSystem_IVRSystem_010 *_this, HmdMatrix34_t *_ret, EVREye eEye) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_010_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_010_GetEyeToHeadTransform(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_010_GetEyeToHeadTransform(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_010_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_010 *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +bool __thiscall winIVRSystem_IVRSystem_010_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); + _ret = cppIVRSystem_IVRSystem_010_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_010_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_010 *_this) +int32_t __thiscall winIVRSystem_IVRSystem_010_GetD3D9AdapterIndex(struct w_steam_iface *_this) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetD3D9AdapterIndex(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_010_GetD3D9AdapterIndex(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_010_GetDXGIOutputInfo(winIVRSystem_IVRSystem_010 *_this, int32_t *pnAdapterIndex) +void __thiscall winIVRSystem_IVRSystem_010_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex) { TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_010_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 10); + get_dxgi_output_info(cppIVRSystem_IVRSystem_010_GetDXGIOutputInfo, _this->u_iface, pnAdapterIndex, 10); } -bool __thiscall winIVRSystem_IVRSystem_010_IsDisplayOnDesktop(winIVRSystem_IVRSystem_010 *_this) +bool __thiscall winIVRSystem_IVRSystem_010_IsDisplayOnDesktop(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_IsDisplayOnDesktop(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_010_IsDisplayOnDesktop(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_010_SetDisplayVisibility(winIVRSystem_IVRSystem_010 *_this, bool bIsVisibleOnDesktop) +bool __thiscall winIVRSystem_IVRSystem_010_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); + _ret = cppIVRSystem_IVRSystem_010_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); return _ret; } -void __thiscall winIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_010 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void __thiscall winIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); } -void __thiscall winIVRSystem_IVRSystem_010_ResetSeatedZeroPose(winIVRSystem_IVRSystem_010 *_this) +void __thiscall winIVRSystem_IVRSystem_010_ResetSeatedZeroPose(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_ResetSeatedZeroPose(_this->linux_side); + cppIVRSystem_IVRSystem_010_ResetSeatedZeroPose(_this->u_iface); } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_010 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_010 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_010 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +uint32_t __thiscall winIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); + _ret = cppIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); return _ret; } -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceId) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { EDeviceActivityLevel _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); + _ret = cppIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); return _ret; } -void __thiscall winIVRSystem_IVRSystem_010_ApplyTransform(winIVRSystem_IVRSystem_010 *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void __thiscall winIVRSystem_IVRSystem_010_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_010_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); } -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_010 *_this, ETrackedControllerRole unDeviceType) +TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, ETrackedControllerRole unDeviceType) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); + _ret = cppIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole(_this->u_iface, unDeviceType); return _ret; } -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedControllerRole _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(_this->u_iface, unDeviceIndex); return _ret; } -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_010_GetTrackedDeviceClass(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_010_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedDeviceClass _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_010_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_010_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex) +bool __thiscall winIVRSystem_IVRSystem_010_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_010_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +bool __thiscall winIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -float __thiscall winIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +float __thiscall winIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +int32_t __thiscall winIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint64_t __thiscall winIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +uint64_t __thiscall winIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + *_ret = cppIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +uint32_t __thiscall winIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); + _ret = cppIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_010 *_this, ETrackedPropertyError error) +const char * __thiscall winIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum(_this->u_iface, error); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_010_PollNextEvent(winIVRSystem_IVRSystem_010 *_this, VREvent_t *pEvent) +bool __thiscall winIVRSystem_IVRSystem_010_PollNextEvent(struct w_steam_iface *_this, VREvent_t *pEvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_PollNextEvent(_this->linux_side, pEvent); + _ret = cppIVRSystem_IVRSystem_010_PollNextEvent(_this->u_iface, pEvent); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_010_PollNextEventWithPose(winIVRSystem_IVRSystem_010 *_this, ETrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_010_PollNextEventWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_010_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, pTrackedDevicePose); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_010 *_this, EVREventType eType) +const char * __thiscall winIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum(_this->linux_side, eType); + _ret = cppIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum(_this->u_iface, eType); return _ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_010_GetHiddenAreaMesh(winIVRSystem_IVRSystem_010 *_this, HiddenAreaMesh_t *_ret, EVREye eEye) +HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_010_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_010_GetControllerState(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0914 *pControllerState) +bool __thiscall winIVRSystem_IVRSystem_010_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0914 *pControllerState) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); + _ret = cppIVRSystem_IVRSystem_010_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_010_GetControllerStateWithPose(winIVRSystem_IVRSystem_010 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0914 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_010_GetControllerStateWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0914 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_010_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); return _ret; } -void __thiscall winIVRSystem_IVRSystem_010_TriggerHapticPulse(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void __thiscall winIVRSystem_IVRSystem_010_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_010_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); } -const char * __thiscall winIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_010 *_this, EVRButtonId eButtonId) +const char * __thiscall winIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); + _ret = cppIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_010 *_this, EVRControllerAxisType eAxisType) +const char * __thiscall winIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); + _ret = cppIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_010_CaptureInputFocus(winIVRSystem_IVRSystem_010 *_this) +bool __thiscall winIVRSystem_IVRSystem_010_CaptureInputFocus(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_CaptureInputFocus(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_010_CaptureInputFocus(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_010_ReleaseInputFocus(winIVRSystem_IVRSystem_010 *_this) +void __thiscall winIVRSystem_IVRSystem_010_ReleaseInputFocus(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_ReleaseInputFocus(_this->linux_side); + cppIVRSystem_IVRSystem_010_ReleaseInputFocus(_this->u_iface); } -bool __thiscall winIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_010 *_this) +bool __thiscall winIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_010_DriverDebugRequest(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +uint32_t __thiscall winIVRSystem_IVRSystem_010_DriverDebugRequest(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); + _ret = cppIVRSystem_IVRSystem_010_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); return _ret; } -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_010_PerformFirmwareUpdate(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_010_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { EVRFirmwareError _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_010_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); return _ret; } -void __thiscall winIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_010 *_this) +void __thiscall winIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting(_this->linux_side); + cppIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting(_this->u_iface); } -void __thiscall winIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_010 *_this) +void __thiscall winIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt(_this->linux_side); + cppIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt(_this->u_iface); } -void __thiscall winIVRSystem_IVRSystem_010_PerformanceTestEnableCapture(winIVRSystem_IVRSystem_010 *_this, bool bEnable) +void __thiscall winIVRSystem_IVRSystem_010_PerformanceTestEnableCapture(struct w_steam_iface *_this, bool bEnable) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_PerformanceTestEnableCapture(_this->linux_side, bEnable); + cppIVRSystem_IVRSystem_010_PerformanceTestEnableCapture(_this->u_iface, bEnable); } -void __thiscall winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange(winIVRSystem_IVRSystem_010 *_this, int nFidelityLevel) +void __thiscall winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange(struct w_steam_iface *_this, int nFidelityLevel) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange(_this->linux_side, nFidelityLevel); + cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange(_this->u_iface, nFidelityLevel); } extern vtable_ptr winIVRSystem_IVRSystem_010_vtable; @@ -2775,24 +2738,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRSystem_IVRSystem_010 *create_winIVRSystem_IVRSystem_010(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_010(void *u_iface) { - winIVRSystem_IVRSystem_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_010)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRSystem_IVRSystem_010_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRSystem_IVRSystem_010(void *object) +void destroy_winIVRSystem_IVRSystem_010(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSystem_IVRSystem_010 *create_winIVRSystem_IVRSystem_010_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_010_FnTable(void *u_iface) { - winIVRSystem_IVRSystem_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_010)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(46); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); int i; @@ -2846,27 +2809,21 @@ winIVRSystem_IVRSystem_010 *create_winIVRSystem_IVRSystem_010_FnTable(void *linu init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange, 1, FALSE, FALSE); for (i = 0; i < 46; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRSystem_IVRSystem_010_FnTable(void *object) +void destroy_winIVRSystem_IVRSystem_010_FnTable(struct w_steam_iface *object) { - winIVRSystem_IVRSystem_010 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRSystem_IVRSystem_011.h" -typedef struct __winIVRSystem_IVRSystem_011 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_011; - DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize, 12) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetProjectionMatrix, 24) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetProjectionRaw, 24) @@ -2914,341 +2871,341 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt, 4 DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PerformanceTestEnableCapture, 8) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange, 8) -void __thiscall winIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_011 *_this, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); } -HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_011_GetProjectionMatrix(winIVRSystem_IVRSystem_011 *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_011_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_011_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); + *_ret = cppIVRSystem_IVRSystem_011_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ, eProjType); return _ret; } -void __thiscall winIVRSystem_IVRSystem_011_GetProjectionRaw(winIVRSystem_IVRSystem_011 *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void __thiscall winIVRSystem_IVRSystem_011_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_011_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); } -DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_011_ComputeDistortion(winIVRSystem_IVRSystem_011 *_this, DistortionCoordinates_t *_ret, EVREye eEye, float fU, float fV) +DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_011_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, EVREye eEye, float fU, float fV) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_011_ComputeDistortion(_this->linux_side, eEye, fU, fV); + *_ret = cppIVRSystem_IVRSystem_011_ComputeDistortion(_this->u_iface, eEye, fU, fV); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_011_GetEyeToHeadTransform(winIVRSystem_IVRSystem_011 *_this, HmdMatrix34_t *_ret, EVREye eEye) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_011_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_011_GetEyeToHeadTransform(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_011_GetEyeToHeadTransform(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_011_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_011 *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +bool __thiscall winIVRSystem_IVRSystem_011_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); + _ret = cppIVRSystem_IVRSystem_011_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_011_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_011 *_this) +int32_t __thiscall winIVRSystem_IVRSystem_011_GetD3D9AdapterIndex(struct w_steam_iface *_this) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetD3D9AdapterIndex(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_011_GetD3D9AdapterIndex(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_011_GetDXGIOutputInfo(winIVRSystem_IVRSystem_011 *_this, int32_t *pnAdapterIndex) +void __thiscall winIVRSystem_IVRSystem_011_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex) { TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_011_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 11); + get_dxgi_output_info(cppIVRSystem_IVRSystem_011_GetDXGIOutputInfo, _this->u_iface, pnAdapterIndex, 11); } -bool __thiscall winIVRSystem_IVRSystem_011_IsDisplayOnDesktop(winIVRSystem_IVRSystem_011 *_this) +bool __thiscall winIVRSystem_IVRSystem_011_IsDisplayOnDesktop(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_IsDisplayOnDesktop(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_011_IsDisplayOnDesktop(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_011_SetDisplayVisibility(winIVRSystem_IVRSystem_011 *_this, bool bIsVisibleOnDesktop) +bool __thiscall winIVRSystem_IVRSystem_011_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); + _ret = cppIVRSystem_IVRSystem_011_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); return _ret; } -void __thiscall winIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_011 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void __thiscall winIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); } -void __thiscall winIVRSystem_IVRSystem_011_ResetSeatedZeroPose(winIVRSystem_IVRSystem_011 *_this) +void __thiscall winIVRSystem_IVRSystem_011_ResetSeatedZeroPose(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_ResetSeatedZeroPose(_this->linux_side); + cppIVRSystem_IVRSystem_011_ResetSeatedZeroPose(_this->u_iface); } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_011 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_011 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_011 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +uint32_t __thiscall winIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); + _ret = cppIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); return _ret; } -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceId) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { EDeviceActivityLevel _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); + _ret = cppIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); return _ret; } -void __thiscall winIVRSystem_IVRSystem_011_ApplyTransform(winIVRSystem_IVRSystem_011 *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void __thiscall winIVRSystem_IVRSystem_011_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_011_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); } -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_011 *_this, ETrackedControllerRole unDeviceType) +TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, ETrackedControllerRole unDeviceType) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); + _ret = cppIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole(_this->u_iface, unDeviceType); return _ret; } -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedControllerRole _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex(_this->u_iface, unDeviceIndex); return _ret; } -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_011_GetTrackedDeviceClass(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_011_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedDeviceClass _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_011_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_011_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex) +bool __thiscall winIVRSystem_IVRSystem_011_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_011_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +bool __thiscall winIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -float __thiscall winIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +float __thiscall winIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +int32_t __thiscall winIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint64_t __thiscall winIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +uint64_t __thiscall winIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + *_ret = cppIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +uint32_t __thiscall winIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); + _ret = cppIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_011 *_this, ETrackedPropertyError error) +const char * __thiscall winIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum(_this->u_iface, error); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_011_PollNextEvent(winIVRSystem_IVRSystem_011 *_this, winVREvent_t_0918 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVRSystem_IVRSystem_011_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_0918 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); + _ret = cppIVRSystem_IVRSystem_011_PollNextEvent(_this->u_iface, pEvent, uncbVREvent); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_011_PollNextEventWithPose(winIVRSystem_IVRSystem_011 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_0918 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_011_PollNextEventWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_0918 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_011_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_011 *_this, EVREventType eType) +const char * __thiscall winIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum(_this->linux_side, eType); + _ret = cppIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum(_this->u_iface, eType); return _ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_011_GetHiddenAreaMesh(winIVRSystem_IVRSystem_011 *_this, HiddenAreaMesh_t *_ret, EVREye eEye) +HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_011_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_011_GetControllerState(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0918 *pControllerState) +bool __thiscall winIVRSystem_IVRSystem_011_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0918 *pControllerState) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); + _ret = cppIVRSystem_IVRSystem_011_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_011_GetControllerStateWithPose(winIVRSystem_IVRSystem_011 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0918 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_011_GetControllerStateWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0918 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_011_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); return _ret; } -void __thiscall winIVRSystem_IVRSystem_011_TriggerHapticPulse(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void __thiscall winIVRSystem_IVRSystem_011_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_011_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); } -const char * __thiscall winIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_011 *_this, EVRButtonId eButtonId) +const char * __thiscall winIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); + _ret = cppIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_011 *_this, EVRControllerAxisType eAxisType) +const char * __thiscall winIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); + _ret = cppIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_011_CaptureInputFocus(winIVRSystem_IVRSystem_011 *_this) +bool __thiscall winIVRSystem_IVRSystem_011_CaptureInputFocus(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_CaptureInputFocus(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_011_CaptureInputFocus(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_011_ReleaseInputFocus(winIVRSystem_IVRSystem_011 *_this) +void __thiscall winIVRSystem_IVRSystem_011_ReleaseInputFocus(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_ReleaseInputFocus(_this->linux_side); + cppIVRSystem_IVRSystem_011_ReleaseInputFocus(_this->u_iface); } -bool __thiscall winIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_011 *_this) +bool __thiscall winIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_011_DriverDebugRequest(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +uint32_t __thiscall winIVRSystem_IVRSystem_011_DriverDebugRequest(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); + _ret = cppIVRSystem_IVRSystem_011_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); return _ret; } -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_011_PerformFirmwareUpdate(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_011_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { EVRFirmwareError _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_011_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); return _ret; } -void __thiscall winIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_011 *_this) +void __thiscall winIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting(_this->linux_side); + cppIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting(_this->u_iface); } -void __thiscall winIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_011 *_this) +void __thiscall winIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt(_this->linux_side); + cppIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt(_this->u_iface); } -void __thiscall winIVRSystem_IVRSystem_011_PerformanceTestEnableCapture(winIVRSystem_IVRSystem_011 *_this, bool bEnable) +void __thiscall winIVRSystem_IVRSystem_011_PerformanceTestEnableCapture(struct w_steam_iface *_this, bool bEnable) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_PerformanceTestEnableCapture(_this->linux_side, bEnable); + cppIVRSystem_IVRSystem_011_PerformanceTestEnableCapture(_this->u_iface, bEnable); } -void __thiscall winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange(winIVRSystem_IVRSystem_011 *_this, int nFidelityLevel) +void __thiscall winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange(struct w_steam_iface *_this, int nFidelityLevel) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange(_this->linux_side, nFidelityLevel); + cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange(_this->u_iface, nFidelityLevel); } extern vtable_ptr winIVRSystem_IVRSystem_011_vtable; @@ -3308,24 +3265,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRSystem_IVRSystem_011 *create_winIVRSystem_IVRSystem_011(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_011(void *u_iface) { - winIVRSystem_IVRSystem_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_011)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRSystem_IVRSystem_011_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRSystem_IVRSystem_011(void *object) +void destroy_winIVRSystem_IVRSystem_011(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSystem_IVRSystem_011 *create_winIVRSystem_IVRSystem_011_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_011_FnTable(void *u_iface) { - winIVRSystem_IVRSystem_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_011)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(46); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); int i; @@ -3379,27 +3336,21 @@ winIVRSystem_IVRSystem_011 *create_winIVRSystem_IVRSystem_011_FnTable(void *linu init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange, 1, FALSE, FALSE); for (i = 0; i < 46; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRSystem_IVRSystem_011_FnTable(void *object) +void destroy_winIVRSystem_IVRSystem_011_FnTable(struct w_steam_iface *object) { - winIVRSystem_IVRSystem_011 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRSystem_IVRSystem_012.h" -typedef struct __winIVRSystem_IVRSystem_012 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_012; - DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize, 12) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetProjectionMatrix, 24) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetProjectionRaw, 24) @@ -3445,329 +3396,329 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_PerformFirmwareUpdate, 8) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting, 4) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_012 *_this, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); } -HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_012_GetProjectionMatrix(winIVRSystem_IVRSystem_012 *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_012_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_012_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); + *_ret = cppIVRSystem_IVRSystem_012_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ, eProjType); return _ret; } -void __thiscall winIVRSystem_IVRSystem_012_GetProjectionRaw(winIVRSystem_IVRSystem_012 *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void __thiscall winIVRSystem_IVRSystem_012_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_012_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); } -DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_012_ComputeDistortion(winIVRSystem_IVRSystem_012 *_this, DistortionCoordinates_t *_ret, EVREye eEye, float fU, float fV) +DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_012_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, EVREye eEye, float fU, float fV) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_012_ComputeDistortion(_this->linux_side, eEye, fU, fV); + *_ret = cppIVRSystem_IVRSystem_012_ComputeDistortion(_this->u_iface, eEye, fU, fV); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_012_GetEyeToHeadTransform(winIVRSystem_IVRSystem_012 *_this, HmdMatrix34_t *_ret, EVREye eEye) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_012_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_012_GetEyeToHeadTransform(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_012_GetEyeToHeadTransform(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_012_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_012 *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +bool __thiscall winIVRSystem_IVRSystem_012_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); + _ret = cppIVRSystem_IVRSystem_012_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_012_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_012 *_this) +int32_t __thiscall winIVRSystem_IVRSystem_012_GetD3D9AdapterIndex(struct w_steam_iface *_this) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetD3D9AdapterIndex(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_012_GetD3D9AdapterIndex(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_012_GetDXGIOutputInfo(winIVRSystem_IVRSystem_012 *_this, int32_t *pnAdapterIndex) +void __thiscall winIVRSystem_IVRSystem_012_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex) { TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_012_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 12); + get_dxgi_output_info(cppIVRSystem_IVRSystem_012_GetDXGIOutputInfo, _this->u_iface, pnAdapterIndex, 12); } -bool __thiscall winIVRSystem_IVRSystem_012_IsDisplayOnDesktop(winIVRSystem_IVRSystem_012 *_this) +bool __thiscall winIVRSystem_IVRSystem_012_IsDisplayOnDesktop(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_IsDisplayOnDesktop(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_012_IsDisplayOnDesktop(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_012_SetDisplayVisibility(winIVRSystem_IVRSystem_012 *_this, bool bIsVisibleOnDesktop) +bool __thiscall winIVRSystem_IVRSystem_012_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); + _ret = cppIVRSystem_IVRSystem_012_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); return _ret; } -void __thiscall winIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_012 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void __thiscall winIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); } -void __thiscall winIVRSystem_IVRSystem_012_ResetSeatedZeroPose(winIVRSystem_IVRSystem_012 *_this) +void __thiscall winIVRSystem_IVRSystem_012_ResetSeatedZeroPose(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_ResetSeatedZeroPose(_this->linux_side); + cppIVRSystem_IVRSystem_012_ResetSeatedZeroPose(_this->u_iface); } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_012 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_012 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_012 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +uint32_t __thiscall winIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); + _ret = cppIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); return _ret; } -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceId) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { EDeviceActivityLevel _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); + _ret = cppIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); return _ret; } -void __thiscall winIVRSystem_IVRSystem_012_ApplyTransform(winIVRSystem_IVRSystem_012 *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void __thiscall winIVRSystem_IVRSystem_012_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_012_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); } -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_012 *_this, ETrackedControllerRole unDeviceType) +TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, ETrackedControllerRole unDeviceType) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); + _ret = cppIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole(_this->u_iface, unDeviceType); return _ret; } -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedControllerRole _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(_this->u_iface, unDeviceIndex); return _ret; } -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_012_GetTrackedDeviceClass(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_012_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedDeviceClass _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_012_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_012_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex) +bool __thiscall winIVRSystem_IVRSystem_012_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_012_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +bool __thiscall winIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -float __thiscall winIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +float __thiscall winIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +int32_t __thiscall winIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint64_t __thiscall winIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +uint64_t __thiscall winIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + *_ret = cppIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +uint32_t __thiscall winIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); + _ret = cppIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_012 *_this, ETrackedPropertyError error) +const char * __thiscall winIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum(_this->u_iface, error); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_012_PollNextEvent(winIVRSystem_IVRSystem_012 *_this, winVREvent_t_103 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVRSystem_IVRSystem_012_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_103 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); + _ret = cppIVRSystem_IVRSystem_012_PollNextEvent(_this->u_iface, pEvent, uncbVREvent); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_012_PollNextEventWithPose(winIVRSystem_IVRSystem_012 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_103 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_012_PollNextEventWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_103 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_012_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_012 *_this, EVREventType eType) +const char * __thiscall winIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum(_this->linux_side, eType); + _ret = cppIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum(_this->u_iface, eType); return _ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_012_GetHiddenAreaMesh(winIVRSystem_IVRSystem_012 *_this, HiddenAreaMesh_t *_ret, EVREye eEye) +HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_012_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_012_GetControllerState(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_103 *pControllerState) +bool __thiscall winIVRSystem_IVRSystem_012_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_103 *pControllerState) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); + _ret = cppIVRSystem_IVRSystem_012_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_012_GetControllerStateWithPose(winIVRSystem_IVRSystem_012 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_103 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_012_GetControllerStateWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_103 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_012_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); return _ret; } -void __thiscall winIVRSystem_IVRSystem_012_TriggerHapticPulse(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void __thiscall winIVRSystem_IVRSystem_012_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_012_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); } -const char * __thiscall winIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_012 *_this, EVRButtonId eButtonId) +const char * __thiscall winIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); + _ret = cppIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_012 *_this, EVRControllerAxisType eAxisType) +const char * __thiscall winIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); + _ret = cppIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_012_CaptureInputFocus(winIVRSystem_IVRSystem_012 *_this) +bool __thiscall winIVRSystem_IVRSystem_012_CaptureInputFocus(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_CaptureInputFocus(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_012_CaptureInputFocus(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_012_ReleaseInputFocus(winIVRSystem_IVRSystem_012 *_this) +void __thiscall winIVRSystem_IVRSystem_012_ReleaseInputFocus(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_ReleaseInputFocus(_this->linux_side); + cppIVRSystem_IVRSystem_012_ReleaseInputFocus(_this->u_iface); } -bool __thiscall winIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_012 *_this) +bool __thiscall winIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_012_DriverDebugRequest(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +uint32_t __thiscall winIVRSystem_IVRSystem_012_DriverDebugRequest(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); + _ret = cppIVRSystem_IVRSystem_012_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); return _ret; } -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_012_PerformFirmwareUpdate(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_012_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { EVRFirmwareError _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_012_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); return _ret; } -void __thiscall winIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_012 *_this) +void __thiscall winIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting(_this->linux_side); + cppIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting(_this->u_iface); } -void __thiscall winIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_012 *_this) +void __thiscall winIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt(_this->linux_side); + cppIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt(_this->u_iface); } extern vtable_ptr winIVRSystem_IVRSystem_012_vtable; @@ -3825,24 +3776,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRSystem_IVRSystem_012 *create_winIVRSystem_IVRSystem_012(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_012(void *u_iface) { - winIVRSystem_IVRSystem_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_012)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRSystem_IVRSystem_012_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRSystem_IVRSystem_012(void *object) +void destroy_winIVRSystem_IVRSystem_012(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSystem_IVRSystem_012 *create_winIVRSystem_IVRSystem_012_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_012_FnTable(void *u_iface) { - winIVRSystem_IVRSystem_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_012)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(44); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 44 * sizeof(*vtable)); int i; @@ -3894,27 +3845,21 @@ winIVRSystem_IVRSystem_012 *create_winIVRSystem_IVRSystem_012_FnTable(void *linu init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); for (i = 0; i < 44; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRSystem_IVRSystem_012_FnTable(void *object) +void destroy_winIVRSystem_IVRSystem_012_FnTable(struct w_steam_iface *object) { - winIVRSystem_IVRSystem_012 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRSystem_IVRSystem_014.h" -typedef struct __winIVRSystem_IVRSystem_014 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_014; - DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize, 12) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetProjectionMatrix, 24) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetProjectionRaw, 24) @@ -3960,330 +3905,330 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_PerformFirmwareUpdate, 8) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting, 4) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_014 *_this, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); } -HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_014_GetProjectionMatrix(winIVRSystem_IVRSystem_014 *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_014_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_014_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); + *_ret = cppIVRSystem_IVRSystem_014_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ, eProjType); return _ret; } -void __thiscall winIVRSystem_IVRSystem_014_GetProjectionRaw(winIVRSystem_IVRSystem_014 *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void __thiscall winIVRSystem_IVRSystem_014_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_014_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); } -bool __thiscall winIVRSystem_IVRSystem_014_ComputeDistortion(winIVRSystem_IVRSystem_014 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +bool __thiscall winIVRSystem_IVRSystem_014_ComputeDistortion(struct w_steam_iface *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); + _ret = cppIVRSystem_IVRSystem_014_ComputeDistortion(_this->u_iface, eEye, fU, fV, pDistortionCoordinates); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_014_GetEyeToHeadTransform(winIVRSystem_IVRSystem_014 *_this, HmdMatrix34_t *_ret, EVREye eEye) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_014_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_014_GetEyeToHeadTransform(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_014_GetEyeToHeadTransform(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_014_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_014 *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +bool __thiscall winIVRSystem_IVRSystem_014_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); + _ret = cppIVRSystem_IVRSystem_014_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_014_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_014 *_this) +int32_t __thiscall winIVRSystem_IVRSystem_014_GetD3D9AdapterIndex(struct w_steam_iface *_this) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetD3D9AdapterIndex(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_014_GetD3D9AdapterIndex(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_014_GetDXGIOutputInfo(winIVRSystem_IVRSystem_014 *_this, int32_t *pnAdapterIndex) +void __thiscall winIVRSystem_IVRSystem_014_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex) { TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_014_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 14); + get_dxgi_output_info(cppIVRSystem_IVRSystem_014_GetDXGIOutputInfo, _this->u_iface, pnAdapterIndex, 14); } -bool __thiscall winIVRSystem_IVRSystem_014_IsDisplayOnDesktop(winIVRSystem_IVRSystem_014 *_this) +bool __thiscall winIVRSystem_IVRSystem_014_IsDisplayOnDesktop(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_IsDisplayOnDesktop(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_014_IsDisplayOnDesktop(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_014_SetDisplayVisibility(winIVRSystem_IVRSystem_014 *_this, bool bIsVisibleOnDesktop) +bool __thiscall winIVRSystem_IVRSystem_014_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); + _ret = cppIVRSystem_IVRSystem_014_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); return _ret; } -void __thiscall winIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_014 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void __thiscall winIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); } -void __thiscall winIVRSystem_IVRSystem_014_ResetSeatedZeroPose(winIVRSystem_IVRSystem_014 *_this) +void __thiscall winIVRSystem_IVRSystem_014_ResetSeatedZeroPose(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_ResetSeatedZeroPose(_this->linux_side); + cppIVRSystem_IVRSystem_014_ResetSeatedZeroPose(_this->u_iface); } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_014 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_014 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_014 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +uint32_t __thiscall winIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); + _ret = cppIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); return _ret; } -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceId) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { EDeviceActivityLevel _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); + _ret = cppIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); return _ret; } -void __thiscall winIVRSystem_IVRSystem_014_ApplyTransform(winIVRSystem_IVRSystem_014 *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void __thiscall winIVRSystem_IVRSystem_014_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_014_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); } -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_014 *_this, ETrackedControllerRole unDeviceType) +TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, ETrackedControllerRole unDeviceType) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); + _ret = cppIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole(_this->u_iface, unDeviceType); return _ret; } -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedControllerRole _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(_this->u_iface, unDeviceIndex); return _ret; } -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_014_GetTrackedDeviceClass(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_014_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedDeviceClass _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_014_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_014_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex) +bool __thiscall winIVRSystem_IVRSystem_014_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_014_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +bool __thiscall winIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -float __thiscall winIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +float __thiscall winIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +int32_t __thiscall winIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint64_t __thiscall winIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +uint64_t __thiscall winIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + *_ret = cppIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +uint32_t __thiscall winIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); + _ret = cppIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_014 *_this, ETrackedPropertyError error) +const char * __thiscall winIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum(_this->u_iface, error); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_014_PollNextEvent(winIVRSystem_IVRSystem_014 *_this, winVREvent_t_104 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVRSystem_IVRSystem_014_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_104 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); + _ret = cppIVRSystem_IVRSystem_014_PollNextEvent(_this->u_iface, pEvent, uncbVREvent); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_014_PollNextEventWithPose(winIVRSystem_IVRSystem_014 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_104 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_014_PollNextEventWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_104 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_014_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_014 *_this, EVREventType eType) +const char * __thiscall winIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum(_this->linux_side, eType); + _ret = cppIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum(_this->u_iface, eType); return _ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_014_GetHiddenAreaMesh(winIVRSystem_IVRSystem_014 *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) +HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_014_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_014_GetHiddenAreaMesh(_this->linux_side, eEye, type); + *_ret = cppIVRSystem_IVRSystem_014_GetHiddenAreaMesh(_this->u_iface, eEye, type); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_014_GetControllerState(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_104 *pControllerState, uint32_t unControllerStateSize) +bool __thiscall winIVRSystem_IVRSystem_014_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_104 *pControllerState, uint32_t unControllerStateSize) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); + _ret = cppIVRSystem_IVRSystem_014_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState, unControllerStateSize); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_014_GetControllerStateWithPose(winIVRSystem_IVRSystem_014 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_104 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_014_GetControllerStateWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_104 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_014_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); return _ret; } -void __thiscall winIVRSystem_IVRSystem_014_TriggerHapticPulse(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void __thiscall winIVRSystem_IVRSystem_014_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_014_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); } -const char * __thiscall winIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_014 *_this, EVRButtonId eButtonId) +const char * __thiscall winIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); + _ret = cppIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_014 *_this, EVRControllerAxisType eAxisType) +const char * __thiscall winIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); + _ret = cppIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_014_CaptureInputFocus(winIVRSystem_IVRSystem_014 *_this) +bool __thiscall winIVRSystem_IVRSystem_014_CaptureInputFocus(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_CaptureInputFocus(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_014_CaptureInputFocus(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_014_ReleaseInputFocus(winIVRSystem_IVRSystem_014 *_this) +void __thiscall winIVRSystem_IVRSystem_014_ReleaseInputFocus(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_ReleaseInputFocus(_this->linux_side); + cppIVRSystem_IVRSystem_014_ReleaseInputFocus(_this->u_iface); } -bool __thiscall winIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_014 *_this) +bool __thiscall winIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_014_DriverDebugRequest(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +uint32_t __thiscall winIVRSystem_IVRSystem_014_DriverDebugRequest(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); + _ret = cppIVRSystem_IVRSystem_014_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); return _ret; } -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_014_PerformFirmwareUpdate(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_014_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { EVRFirmwareError _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_014_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); return _ret; } -void __thiscall winIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_014 *_this) +void __thiscall winIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting(_this->linux_side); + cppIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting(_this->u_iface); } -void __thiscall winIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_014 *_this) +void __thiscall winIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt(_this->linux_side); + cppIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt(_this->u_iface); } extern vtable_ptr winIVRSystem_IVRSystem_014_vtable; @@ -4341,24 +4286,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRSystem_IVRSystem_014 *create_winIVRSystem_IVRSystem_014(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_014(void *u_iface) { - winIVRSystem_IVRSystem_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_014)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRSystem_IVRSystem_014_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRSystem_IVRSystem_014(void *object) +void destroy_winIVRSystem_IVRSystem_014(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSystem_IVRSystem_014 *create_winIVRSystem_IVRSystem_014_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_014_FnTable(void *u_iface) { - winIVRSystem_IVRSystem_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_014)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(44); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 44 * sizeof(*vtable)); int i; @@ -4410,27 +4355,21 @@ winIVRSystem_IVRSystem_014 *create_winIVRSystem_IVRSystem_014_FnTable(void *linu init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); for (i = 0; i < 44; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRSystem_IVRSystem_014_FnTable(void *object) +void destroy_winIVRSystem_IVRSystem_014_FnTable(struct w_steam_iface *object) { - winIVRSystem_IVRSystem_014 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRSystem_IVRSystem_015.h" -typedef struct __winIVRSystem_IVRSystem_015 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_015; - DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize, 12) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetProjectionMatrix, 20) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetProjectionRaw, 24) @@ -4476,330 +4415,330 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_PerformFirmwareUpdate, 8) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting, 4) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_015 *_this, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); } -HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_015_GetProjectionMatrix(winIVRSystem_IVRSystem_015 *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ) +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_015_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_015_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); + *_ret = cppIVRSystem_IVRSystem_015_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ); return _ret; } -void __thiscall winIVRSystem_IVRSystem_015_GetProjectionRaw(winIVRSystem_IVRSystem_015 *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void __thiscall winIVRSystem_IVRSystem_015_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_015_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); } -bool __thiscall winIVRSystem_IVRSystem_015_ComputeDistortion(winIVRSystem_IVRSystem_015 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +bool __thiscall winIVRSystem_IVRSystem_015_ComputeDistortion(struct w_steam_iface *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); + _ret = cppIVRSystem_IVRSystem_015_ComputeDistortion(_this->u_iface, eEye, fU, fV, pDistortionCoordinates); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_015_GetEyeToHeadTransform(winIVRSystem_IVRSystem_015 *_this, HmdMatrix34_t *_ret, EVREye eEye) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_015_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_015_GetEyeToHeadTransform(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_015_GetEyeToHeadTransform(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_015_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_015 *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +bool __thiscall winIVRSystem_IVRSystem_015_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); + _ret = cppIVRSystem_IVRSystem_015_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_015_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_015 *_this) +int32_t __thiscall winIVRSystem_IVRSystem_015_GetD3D9AdapterIndex(struct w_steam_iface *_this) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetD3D9AdapterIndex(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_015_GetD3D9AdapterIndex(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_015_GetDXGIOutputInfo(winIVRSystem_IVRSystem_015 *_this, int32_t *pnAdapterIndex) +void __thiscall winIVRSystem_IVRSystem_015_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex) { TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_015_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 15); + get_dxgi_output_info(cppIVRSystem_IVRSystem_015_GetDXGIOutputInfo, _this->u_iface, pnAdapterIndex, 15); } -bool __thiscall winIVRSystem_IVRSystem_015_IsDisplayOnDesktop(winIVRSystem_IVRSystem_015 *_this) +bool __thiscall winIVRSystem_IVRSystem_015_IsDisplayOnDesktop(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_IsDisplayOnDesktop(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_015_IsDisplayOnDesktop(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_015_SetDisplayVisibility(winIVRSystem_IVRSystem_015 *_this, bool bIsVisibleOnDesktop) +bool __thiscall winIVRSystem_IVRSystem_015_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); + _ret = cppIVRSystem_IVRSystem_015_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); return _ret; } -void __thiscall winIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_015 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void __thiscall winIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); } -void __thiscall winIVRSystem_IVRSystem_015_ResetSeatedZeroPose(winIVRSystem_IVRSystem_015 *_this) +void __thiscall winIVRSystem_IVRSystem_015_ResetSeatedZeroPose(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_ResetSeatedZeroPose(_this->linux_side); + cppIVRSystem_IVRSystem_015_ResetSeatedZeroPose(_this->u_iface); } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_015 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_015 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_015 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +uint32_t __thiscall winIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); + _ret = cppIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); return _ret; } -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceId) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { EDeviceActivityLevel _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); + _ret = cppIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); return _ret; } -void __thiscall winIVRSystem_IVRSystem_015_ApplyTransform(winIVRSystem_IVRSystem_015 *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void __thiscall winIVRSystem_IVRSystem_015_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_015_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); } -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_015 *_this, ETrackedControllerRole unDeviceType) +TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, ETrackedControllerRole unDeviceType) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); + _ret = cppIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole(_this->u_iface, unDeviceType); return _ret; } -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedControllerRole _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(_this->u_iface, unDeviceIndex); return _ret; } -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_015_GetTrackedDeviceClass(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_015_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedDeviceClass _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_015_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_015_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex) +bool __thiscall winIVRSystem_IVRSystem_015_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_015_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +bool __thiscall winIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -float __thiscall winIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +float __thiscall winIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +int32_t __thiscall winIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint64_t __thiscall winIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +uint64_t __thiscall winIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + *_ret = cppIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +uint32_t __thiscall winIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); + _ret = cppIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_015 *_this, ETrackedPropertyError error) +const char * __thiscall winIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum(_this->u_iface, error); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_015_PollNextEvent(winIVRSystem_IVRSystem_015 *_this, winVREvent_t_107 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVRSystem_IVRSystem_015_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_107 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); + _ret = cppIVRSystem_IVRSystem_015_PollNextEvent(_this->u_iface, pEvent, uncbVREvent); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_015_PollNextEventWithPose(winIVRSystem_IVRSystem_015 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_107 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_015_PollNextEventWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_107 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_015_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_015 *_this, EVREventType eType) +const char * __thiscall winIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum(_this->linux_side, eType); + _ret = cppIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum(_this->u_iface, eType); return _ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_015_GetHiddenAreaMesh(winIVRSystem_IVRSystem_015 *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) +HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_015_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh(_this->linux_side, eEye, type); + *_ret = cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh(_this->u_iface, eEye, type); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_015_GetControllerState(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_107 *pControllerState, uint32_t unControllerStateSize) +bool __thiscall winIVRSystem_IVRSystem_015_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_107 *pControllerState, uint32_t unControllerStateSize) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); + _ret = cppIVRSystem_IVRSystem_015_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState, unControllerStateSize); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_015_GetControllerStateWithPose(winIVRSystem_IVRSystem_015 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_107 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_015_GetControllerStateWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_107 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_015_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); return _ret; } -void __thiscall winIVRSystem_IVRSystem_015_TriggerHapticPulse(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void __thiscall winIVRSystem_IVRSystem_015_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_015_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); } -const char * __thiscall winIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_015 *_this, EVRButtonId eButtonId) +const char * __thiscall winIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); + _ret = cppIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_015 *_this, EVRControllerAxisType eAxisType) +const char * __thiscall winIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); + _ret = cppIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_015_CaptureInputFocus(winIVRSystem_IVRSystem_015 *_this) +bool __thiscall winIVRSystem_IVRSystem_015_CaptureInputFocus(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_CaptureInputFocus(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_015_CaptureInputFocus(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_015_ReleaseInputFocus(winIVRSystem_IVRSystem_015 *_this) +void __thiscall winIVRSystem_IVRSystem_015_ReleaseInputFocus(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_ReleaseInputFocus(_this->linux_side); + cppIVRSystem_IVRSystem_015_ReleaseInputFocus(_this->u_iface); } -bool __thiscall winIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_015 *_this) +bool __thiscall winIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_015_DriverDebugRequest(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +uint32_t __thiscall winIVRSystem_IVRSystem_015_DriverDebugRequest(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); + _ret = cppIVRSystem_IVRSystem_015_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); return _ret; } -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_015_PerformFirmwareUpdate(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_015_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { EVRFirmwareError _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_015_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); return _ret; } -void __thiscall winIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_015 *_this) +void __thiscall winIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting(_this->linux_side); + cppIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting(_this->u_iface); } -void __thiscall winIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_015 *_this) +void __thiscall winIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt(_this->linux_side); + cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt(_this->u_iface); } extern vtable_ptr winIVRSystem_IVRSystem_015_vtable; @@ -4857,24 +4796,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRSystem_IVRSystem_015 *create_winIVRSystem_IVRSystem_015(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_015(void *u_iface) { - winIVRSystem_IVRSystem_015 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_015)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRSystem_IVRSystem_015_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRSystem_IVRSystem_015(void *object) +void destroy_winIVRSystem_IVRSystem_015(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSystem_IVRSystem_015 *create_winIVRSystem_IVRSystem_015_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_015_FnTable(void *u_iface) { - winIVRSystem_IVRSystem_015 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_015)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(44); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 44 * sizeof(*vtable)); int i; @@ -4926,27 +4865,21 @@ winIVRSystem_IVRSystem_015 *create_winIVRSystem_IVRSystem_015_FnTable(void *linu init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); for (i = 0; i < 44; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRSystem_IVRSystem_015_FnTable(void *object) +void destroy_winIVRSystem_IVRSystem_015_FnTable(struct w_steam_iface *object) { - winIVRSystem_IVRSystem_015 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRSystem_IVRSystem_016.h" -typedef struct __winIVRSystem_IVRSystem_016 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_016; - DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize, 12) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetProjectionMatrix, 20) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetProjectionRaw, 24) @@ -4993,336 +4926,336 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_PerformFirmwareUpdate, 8) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting, 4) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_016 *_this, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); } -HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_016_GetProjectionMatrix(winIVRSystem_IVRSystem_016 *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ) +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_016_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_016_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); + *_ret = cppIVRSystem_IVRSystem_016_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ); return _ret; } -void __thiscall winIVRSystem_IVRSystem_016_GetProjectionRaw(winIVRSystem_IVRSystem_016 *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void __thiscall winIVRSystem_IVRSystem_016_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_016_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); } -bool __thiscall winIVRSystem_IVRSystem_016_ComputeDistortion(winIVRSystem_IVRSystem_016 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +bool __thiscall winIVRSystem_IVRSystem_016_ComputeDistortion(struct w_steam_iface *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); + _ret = cppIVRSystem_IVRSystem_016_ComputeDistortion(_this->u_iface, eEye, fU, fV, pDistortionCoordinates); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_016_GetEyeToHeadTransform(winIVRSystem_IVRSystem_016 *_this, HmdMatrix34_t *_ret, EVREye eEye) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_016_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_016_GetEyeToHeadTransform(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_016_GetEyeToHeadTransform(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_016_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_016 *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +bool __thiscall winIVRSystem_IVRSystem_016_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); + _ret = cppIVRSystem_IVRSystem_016_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_016_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_016 *_this) +int32_t __thiscall winIVRSystem_IVRSystem_016_GetD3D9AdapterIndex(struct w_steam_iface *_this) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetD3D9AdapterIndex(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_016_GetD3D9AdapterIndex(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_016_GetDXGIOutputInfo(winIVRSystem_IVRSystem_016 *_this, int32_t *pnAdapterIndex) +void __thiscall winIVRSystem_IVRSystem_016_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex) { TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_016_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 16); + get_dxgi_output_info(cppIVRSystem_IVRSystem_016_GetDXGIOutputInfo, _this->u_iface, pnAdapterIndex, 16); } -void __thiscall winIVRSystem_IVRSystem_016_GetOutputDevice(winIVRSystem_IVRSystem_016 *_this, uint64_t *pnDevice, ETextureType textureType) +void __thiscall winIVRSystem_IVRSystem_016_GetOutputDevice(struct w_steam_iface *_this, uint64_t *pnDevice, ETextureType textureType) { TRACE("%p\n", _this); - ivrsystem_016_get_output_device(cppIVRSystem_IVRSystem_016_GetOutputDevice, _this->linux_side, pnDevice, textureType, 16); + ivrsystem_016_get_output_device(cppIVRSystem_IVRSystem_016_GetOutputDevice, _this->u_iface, pnDevice, textureType, 16); } -bool __thiscall winIVRSystem_IVRSystem_016_IsDisplayOnDesktop(winIVRSystem_IVRSystem_016 *_this) +bool __thiscall winIVRSystem_IVRSystem_016_IsDisplayOnDesktop(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_IsDisplayOnDesktop(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_016_IsDisplayOnDesktop(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_016_SetDisplayVisibility(winIVRSystem_IVRSystem_016 *_this, bool bIsVisibleOnDesktop) +bool __thiscall winIVRSystem_IVRSystem_016_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); + _ret = cppIVRSystem_IVRSystem_016_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); return _ret; } -void __thiscall winIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_016 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void __thiscall winIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); } -void __thiscall winIVRSystem_IVRSystem_016_ResetSeatedZeroPose(winIVRSystem_IVRSystem_016 *_this) +void __thiscall winIVRSystem_IVRSystem_016_ResetSeatedZeroPose(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_ResetSeatedZeroPose(_this->linux_side); + cppIVRSystem_IVRSystem_016_ResetSeatedZeroPose(_this->u_iface); } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_016 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_016 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_016 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +uint32_t __thiscall winIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); + _ret = cppIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); return _ret; } -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceId) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { EDeviceActivityLevel _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); + _ret = cppIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); return _ret; } -void __thiscall winIVRSystem_IVRSystem_016_ApplyTransform(winIVRSystem_IVRSystem_016 *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void __thiscall winIVRSystem_IVRSystem_016_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_016_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); } -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_016 *_this, ETrackedControllerRole unDeviceType) +TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, ETrackedControllerRole unDeviceType) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); + _ret = cppIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole(_this->u_iface, unDeviceType); return _ret; } -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedControllerRole _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(_this->u_iface, unDeviceIndex); return _ret; } -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_016_GetTrackedDeviceClass(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_016_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedDeviceClass _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_016_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_016_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex) +bool __thiscall winIVRSystem_IVRSystem_016_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_016_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +bool __thiscall winIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -float __thiscall winIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +float __thiscall winIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +int32_t __thiscall winIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint64_t __thiscall winIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +uint64_t __thiscall winIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + *_ret = cppIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +uint32_t __thiscall winIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); + _ret = cppIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_016 *_this, ETrackedPropertyError error) +const char * __thiscall winIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum(_this->u_iface, error); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_016_PollNextEvent(winIVRSystem_IVRSystem_016 *_this, winVREvent_t_109 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVRSystem_IVRSystem_016_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_109 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); + _ret = cppIVRSystem_IVRSystem_016_PollNextEvent(_this->u_iface, pEvent, uncbVREvent); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_016_PollNextEventWithPose(winIVRSystem_IVRSystem_016 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_109 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_016_PollNextEventWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_109 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_016_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_016 *_this, EVREventType eType) +const char * __thiscall winIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum(_this->linux_side, eType); + _ret = cppIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum(_this->u_iface, eType); return _ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_016_GetHiddenAreaMesh(winIVRSystem_IVRSystem_016 *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) +HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_016_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_016_GetHiddenAreaMesh(_this->linux_side, eEye, type); + *_ret = cppIVRSystem_IVRSystem_016_GetHiddenAreaMesh(_this->u_iface, eEye, type); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_016_GetControllerState(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_109 *pControllerState, uint32_t unControllerStateSize) +bool __thiscall winIVRSystem_IVRSystem_016_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_109 *pControllerState, uint32_t unControllerStateSize) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); + _ret = cppIVRSystem_IVRSystem_016_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState, unControllerStateSize); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_016_GetControllerStateWithPose(winIVRSystem_IVRSystem_016 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_109 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_016_GetControllerStateWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_109 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_016_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); return _ret; } -void __thiscall winIVRSystem_IVRSystem_016_TriggerHapticPulse(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void __thiscall winIVRSystem_IVRSystem_016_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_016_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); } -const char * __thiscall winIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_016 *_this, EVRButtonId eButtonId) +const char * __thiscall winIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); + _ret = cppIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_016 *_this, EVRControllerAxisType eAxisType) +const char * __thiscall winIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); + _ret = cppIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_016_CaptureInputFocus(winIVRSystem_IVRSystem_016 *_this) +bool __thiscall winIVRSystem_IVRSystem_016_CaptureInputFocus(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_CaptureInputFocus(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_016_CaptureInputFocus(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_016_ReleaseInputFocus(winIVRSystem_IVRSystem_016 *_this) +void __thiscall winIVRSystem_IVRSystem_016_ReleaseInputFocus(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_ReleaseInputFocus(_this->linux_side); + cppIVRSystem_IVRSystem_016_ReleaseInputFocus(_this->u_iface); } -bool __thiscall winIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_016 *_this) +bool __thiscall winIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_016_DriverDebugRequest(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +uint32_t __thiscall winIVRSystem_IVRSystem_016_DriverDebugRequest(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); + _ret = cppIVRSystem_IVRSystem_016_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); return _ret; } -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_016_PerformFirmwareUpdate(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_016_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { EVRFirmwareError _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_016_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); return _ret; } -void __thiscall winIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_016 *_this) +void __thiscall winIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting(_this->linux_side); + cppIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting(_this->u_iface); } -void __thiscall winIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_016 *_this) +void __thiscall winIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt(_this->linux_side); + cppIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt(_this->u_iface); } extern vtable_ptr winIVRSystem_IVRSystem_016_vtable; @@ -5381,24 +5314,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRSystem_IVRSystem_016 *create_winIVRSystem_IVRSystem_016(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_016(void *u_iface) { - winIVRSystem_IVRSystem_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_016)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRSystem_IVRSystem_016_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRSystem_IVRSystem_016(void *object) +void destroy_winIVRSystem_IVRSystem_016(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSystem_IVRSystem_016 *create_winIVRSystem_IVRSystem_016_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_016_FnTable(void *u_iface) { - winIVRSystem_IVRSystem_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_016)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(45); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 45 * sizeof(*vtable)); int i; @@ -5451,27 +5384,21 @@ winIVRSystem_IVRSystem_016 *create_winIVRSystem_IVRSystem_016_FnTable(void *linu init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); for (i = 0; i < 45; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRSystem_IVRSystem_016_FnTable(void *object) +void destroy_winIVRSystem_IVRSystem_016_FnTable(struct w_steam_iface *object) { - winIVRSystem_IVRSystem_016 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRSystem_IVRSystem_017.h" -typedef struct __winIVRSystem_IVRSystem_017 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_017; - DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize, 12) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetProjectionMatrix, 20) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetProjectionRaw, 24) @@ -5518,336 +5445,336 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_PerformFirmwareUpdate, 8) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting, 4) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_017 *_this, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); } -HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_017_GetProjectionMatrix(winIVRSystem_IVRSystem_017 *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ) +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_017_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_017_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); + *_ret = cppIVRSystem_IVRSystem_017_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ); return _ret; } -void __thiscall winIVRSystem_IVRSystem_017_GetProjectionRaw(winIVRSystem_IVRSystem_017 *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void __thiscall winIVRSystem_IVRSystem_017_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_017_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); } -bool __thiscall winIVRSystem_IVRSystem_017_ComputeDistortion(winIVRSystem_IVRSystem_017 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +bool __thiscall winIVRSystem_IVRSystem_017_ComputeDistortion(struct w_steam_iface *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); + _ret = cppIVRSystem_IVRSystem_017_ComputeDistortion(_this->u_iface, eEye, fU, fV, pDistortionCoordinates); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_017_GetEyeToHeadTransform(winIVRSystem_IVRSystem_017 *_this, HmdMatrix34_t *_ret, EVREye eEye) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_017_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_017_GetEyeToHeadTransform(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_017_GetEyeToHeadTransform(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_017_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_017 *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +bool __thiscall winIVRSystem_IVRSystem_017_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); + _ret = cppIVRSystem_IVRSystem_017_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_017_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_017 *_this) +int32_t __thiscall winIVRSystem_IVRSystem_017_GetD3D9AdapterIndex(struct w_steam_iface *_this) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetD3D9AdapterIndex(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_017_GetD3D9AdapterIndex(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_017_GetDXGIOutputInfo(winIVRSystem_IVRSystem_017 *_this, int32_t *pnAdapterIndex) +void __thiscall winIVRSystem_IVRSystem_017_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex) { TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_017_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 17); + get_dxgi_output_info(cppIVRSystem_IVRSystem_017_GetDXGIOutputInfo, _this->u_iface, pnAdapterIndex, 17); } -void __thiscall winIVRSystem_IVRSystem_017_GetOutputDevice(winIVRSystem_IVRSystem_017 *_this, uint64_t *pnDevice, ETextureType textureType, VkInstance_T *pInstance) +void __thiscall winIVRSystem_IVRSystem_017_GetOutputDevice(struct w_steam_iface *_this, uint64_t *pnDevice, ETextureType textureType, VkInstance_T *pInstance) { TRACE("%p\n", _this); - ivrsystem_get_output_device(cppIVRSystem_IVRSystem_017_GetOutputDevice, _this->linux_side, pnDevice, textureType, pInstance, 17); + ivrsystem_get_output_device(cppIVRSystem_IVRSystem_017_GetOutputDevice, _this->u_iface, pnDevice, textureType, pInstance, 17); } -bool __thiscall winIVRSystem_IVRSystem_017_IsDisplayOnDesktop(winIVRSystem_IVRSystem_017 *_this) +bool __thiscall winIVRSystem_IVRSystem_017_IsDisplayOnDesktop(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_IsDisplayOnDesktop(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_017_IsDisplayOnDesktop(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_017_SetDisplayVisibility(winIVRSystem_IVRSystem_017 *_this, bool bIsVisibleOnDesktop) +bool __thiscall winIVRSystem_IVRSystem_017_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); + _ret = cppIVRSystem_IVRSystem_017_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); return _ret; } -void __thiscall winIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_017 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void __thiscall winIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); } -void __thiscall winIVRSystem_IVRSystem_017_ResetSeatedZeroPose(winIVRSystem_IVRSystem_017 *_this) +void __thiscall winIVRSystem_IVRSystem_017_ResetSeatedZeroPose(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_ResetSeatedZeroPose(_this->linux_side); + cppIVRSystem_IVRSystem_017_ResetSeatedZeroPose(_this->u_iface); } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_017 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_017 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_017 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +uint32_t __thiscall winIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); + _ret = cppIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); return _ret; } -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceId) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { EDeviceActivityLevel _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); + _ret = cppIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); return _ret; } -void __thiscall winIVRSystem_IVRSystem_017_ApplyTransform(winIVRSystem_IVRSystem_017 *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void __thiscall winIVRSystem_IVRSystem_017_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_017_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); } -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_017 *_this, ETrackedControllerRole unDeviceType) +TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, ETrackedControllerRole unDeviceType) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); + _ret = cppIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole(_this->u_iface, unDeviceType); return _ret; } -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedControllerRole _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(_this->u_iface, unDeviceIndex); return _ret; } -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_017_GetTrackedDeviceClass(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_017_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedDeviceClass _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_017_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_017_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex) +bool __thiscall winIVRSystem_IVRSystem_017_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_017_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +bool __thiscall winIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -float __thiscall winIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +float __thiscall winIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +int32_t __thiscall winIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint64_t __thiscall winIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +uint64_t __thiscall winIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + *_ret = cppIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +uint32_t __thiscall winIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); + _ret = cppIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_017 *_this, ETrackedPropertyError error) +const char * __thiscall winIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum(_this->u_iface, error); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_017_PollNextEvent(winIVRSystem_IVRSystem_017 *_this, winVREvent_t_1011 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVRSystem_IVRSystem_017_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_1011 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); + _ret = cppIVRSystem_IVRSystem_017_PollNextEvent(_this->u_iface, pEvent, uncbVREvent); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_017_PollNextEventWithPose(winIVRSystem_IVRSystem_017 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1011 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_017_PollNextEventWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1011 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_017_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_017 *_this, EVREventType eType) +const char * __thiscall winIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum(_this->linux_side, eType); + _ret = cppIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum(_this->u_iface, eType); return _ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_017_GetHiddenAreaMesh(winIVRSystem_IVRSystem_017 *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) +HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_017_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_017_GetHiddenAreaMesh(_this->linux_side, eEye, type); + *_ret = cppIVRSystem_IVRSystem_017_GetHiddenAreaMesh(_this->u_iface, eEye, type); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_017_GetControllerState(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1011 *pControllerState, uint32_t unControllerStateSize) +bool __thiscall winIVRSystem_IVRSystem_017_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1011 *pControllerState, uint32_t unControllerStateSize) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); + _ret = cppIVRSystem_IVRSystem_017_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState, unControllerStateSize); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_017_GetControllerStateWithPose(winIVRSystem_IVRSystem_017 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1011 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_017_GetControllerStateWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1011 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_017_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); return _ret; } -void __thiscall winIVRSystem_IVRSystem_017_TriggerHapticPulse(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void __thiscall winIVRSystem_IVRSystem_017_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_017_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); } -const char * __thiscall winIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_017 *_this, EVRButtonId eButtonId) +const char * __thiscall winIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); + _ret = cppIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_017 *_this, EVRControllerAxisType eAxisType) +const char * __thiscall winIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); + _ret = cppIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_017_CaptureInputFocus(winIVRSystem_IVRSystem_017 *_this) +bool __thiscall winIVRSystem_IVRSystem_017_CaptureInputFocus(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_CaptureInputFocus(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_017_CaptureInputFocus(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_017_ReleaseInputFocus(winIVRSystem_IVRSystem_017 *_this) +void __thiscall winIVRSystem_IVRSystem_017_ReleaseInputFocus(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_ReleaseInputFocus(_this->linux_side); + cppIVRSystem_IVRSystem_017_ReleaseInputFocus(_this->u_iface); } -bool __thiscall winIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_017 *_this) +bool __thiscall winIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_017_DriverDebugRequest(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +uint32_t __thiscall winIVRSystem_IVRSystem_017_DriverDebugRequest(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); + _ret = cppIVRSystem_IVRSystem_017_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); return _ret; } -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_017_PerformFirmwareUpdate(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_017_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { EVRFirmwareError _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_017_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); return _ret; } -void __thiscall winIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_017 *_this) +void __thiscall winIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting(_this->linux_side); + cppIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting(_this->u_iface); } -void __thiscall winIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_017 *_this) +void __thiscall winIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt(_this->linux_side); + cppIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt(_this->u_iface); } extern vtable_ptr winIVRSystem_IVRSystem_017_vtable; @@ -5906,24 +5833,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRSystem_IVRSystem_017 *create_winIVRSystem_IVRSystem_017(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_017(void *u_iface) { - winIVRSystem_IVRSystem_017 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_017)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRSystem_IVRSystem_017_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRSystem_IVRSystem_017(void *object) +void destroy_winIVRSystem_IVRSystem_017(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSystem_IVRSystem_017 *create_winIVRSystem_IVRSystem_017_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_017_FnTable(void *u_iface) { - winIVRSystem_IVRSystem_017 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_017)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(45); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 45 * sizeof(*vtable)); int i; @@ -5976,27 +5903,21 @@ winIVRSystem_IVRSystem_017 *create_winIVRSystem_IVRSystem_017_FnTable(void *linu init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); for (i = 0; i < 45; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRSystem_IVRSystem_017_FnTable(void *object) +void destroy_winIVRSystem_IVRSystem_017_FnTable(struct w_steam_iface *object) { - winIVRSystem_IVRSystem_017 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRSystem_IVRSystem_019.h" -typedef struct __winIVRSystem_IVRSystem_019 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_019; - DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize, 12) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetProjectionMatrix, 20) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetProjectionRaw, 24) @@ -6045,354 +5966,354 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_PerformFirmwareUpdate, 8) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting, 4) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_019 *_this, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); } -HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_019_GetProjectionMatrix(winIVRSystem_IVRSystem_019 *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ) +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_019_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_019_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); + *_ret = cppIVRSystem_IVRSystem_019_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ); return _ret; } -void __thiscall winIVRSystem_IVRSystem_019_GetProjectionRaw(winIVRSystem_IVRSystem_019 *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void __thiscall winIVRSystem_IVRSystem_019_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_019_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); } -bool __thiscall winIVRSystem_IVRSystem_019_ComputeDistortion(winIVRSystem_IVRSystem_019 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +bool __thiscall winIVRSystem_IVRSystem_019_ComputeDistortion(struct w_steam_iface *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); + _ret = cppIVRSystem_IVRSystem_019_ComputeDistortion(_this->u_iface, eEye, fU, fV, pDistortionCoordinates); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_019_GetEyeToHeadTransform(winIVRSystem_IVRSystem_019 *_this, HmdMatrix34_t *_ret, EVREye eEye) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_019_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_019_GetEyeToHeadTransform(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_019_GetEyeToHeadTransform(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_019_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_019 *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +bool __thiscall winIVRSystem_IVRSystem_019_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); + _ret = cppIVRSystem_IVRSystem_019_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_019_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_019 *_this) +int32_t __thiscall winIVRSystem_IVRSystem_019_GetD3D9AdapterIndex(struct w_steam_iface *_this) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetD3D9AdapterIndex(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_019_GetD3D9AdapterIndex(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_019_GetDXGIOutputInfo(winIVRSystem_IVRSystem_019 *_this, int32_t *pnAdapterIndex) +void __thiscall winIVRSystem_IVRSystem_019_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex) { TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_019_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 19); + get_dxgi_output_info(cppIVRSystem_IVRSystem_019_GetDXGIOutputInfo, _this->u_iface, pnAdapterIndex, 19); } -void __thiscall winIVRSystem_IVRSystem_019_GetOutputDevice(winIVRSystem_IVRSystem_019 *_this, uint64_t *pnDevice, ETextureType textureType, VkInstance_T *pInstance) +void __thiscall winIVRSystem_IVRSystem_019_GetOutputDevice(struct w_steam_iface *_this, uint64_t *pnDevice, ETextureType textureType, VkInstance_T *pInstance) { TRACE("%p\n", _this); - ivrsystem_get_output_device(cppIVRSystem_IVRSystem_019_GetOutputDevice, _this->linux_side, pnDevice, textureType, pInstance, 19); + ivrsystem_get_output_device(cppIVRSystem_IVRSystem_019_GetOutputDevice, _this->u_iface, pnDevice, textureType, pInstance, 19); } -bool __thiscall winIVRSystem_IVRSystem_019_IsDisplayOnDesktop(winIVRSystem_IVRSystem_019 *_this) +bool __thiscall winIVRSystem_IVRSystem_019_IsDisplayOnDesktop(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_IsDisplayOnDesktop(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_019_IsDisplayOnDesktop(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_019_SetDisplayVisibility(winIVRSystem_IVRSystem_019 *_this, bool bIsVisibleOnDesktop) +bool __thiscall winIVRSystem_IVRSystem_019_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); + _ret = cppIVRSystem_IVRSystem_019_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); return _ret; } -void __thiscall winIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_019 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void __thiscall winIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); } -void __thiscall winIVRSystem_IVRSystem_019_ResetSeatedZeroPose(winIVRSystem_IVRSystem_019 *_this) +void __thiscall winIVRSystem_IVRSystem_019_ResetSeatedZeroPose(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_ResetSeatedZeroPose(_this->linux_side); + cppIVRSystem_IVRSystem_019_ResetSeatedZeroPose(_this->u_iface); } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_019 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_019 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_019 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +uint32_t __thiscall winIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); + _ret = cppIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); return _ret; } -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceId) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { EDeviceActivityLevel _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); + _ret = cppIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); return _ret; } -void __thiscall winIVRSystem_IVRSystem_019_ApplyTransform(winIVRSystem_IVRSystem_019 *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void __thiscall winIVRSystem_IVRSystem_019_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_019_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); } -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_019 *_this, ETrackedControllerRole unDeviceType) +TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, ETrackedControllerRole unDeviceType) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); + _ret = cppIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole(_this->u_iface, unDeviceType); return _ret; } -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedControllerRole _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(_this->u_iface, unDeviceIndex); return _ret; } -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_019_GetTrackedDeviceClass(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_019_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedDeviceClass _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_019_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_019_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex) +bool __thiscall winIVRSystem_IVRSystem_019_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_019_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +bool __thiscall winIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -float __thiscall winIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +float __thiscall winIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +int32_t __thiscall winIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint64_t __thiscall winIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +uint64_t __thiscall winIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + *_ret = cppIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void *pBuffer, uint32_t unBufferSize, ETrackedPropertyError *pError) +uint32_t __thiscall winIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void *pBuffer, uint32_t unBufferSize, ETrackedPropertyError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, propType, pBuffer, unBufferSize, pError); + _ret = cppIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, propType, pBuffer, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +uint32_t __thiscall winIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); + _ret = cppIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_019 *_this, ETrackedPropertyError error) +const char * __thiscall winIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum(_this->u_iface, error); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_019_PollNextEvent(winIVRSystem_IVRSystem_019 *_this, winVREvent_t_1418 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVRSystem_IVRSystem_019_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_1418 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); + _ret = cppIVRSystem_IVRSystem_019_PollNextEvent(_this->u_iface, pEvent, uncbVREvent); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_019_PollNextEventWithPose(winIVRSystem_IVRSystem_019 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1418 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_019_PollNextEventWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1418 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_019_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_019 *_this, EVREventType eType) +const char * __thiscall winIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum(_this->linux_side, eType); + _ret = cppIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum(_this->u_iface, eType); return _ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_019_GetHiddenAreaMesh(winIVRSystem_IVRSystem_019 *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) +HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_019_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_019_GetHiddenAreaMesh(_this->linux_side, eEye, type); + *_ret = cppIVRSystem_IVRSystem_019_GetHiddenAreaMesh(_this->u_iface, eEye, type); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_019_GetControllerState(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1418 *pControllerState, uint32_t unControllerStateSize) +bool __thiscall winIVRSystem_IVRSystem_019_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1418 *pControllerState, uint32_t unControllerStateSize) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); + _ret = cppIVRSystem_IVRSystem_019_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState, unControllerStateSize); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_019_GetControllerStateWithPose(winIVRSystem_IVRSystem_019 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1418 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_019_GetControllerStateWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1418 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_019_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); return _ret; } -void __thiscall winIVRSystem_IVRSystem_019_TriggerHapticPulse(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void __thiscall winIVRSystem_IVRSystem_019_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_019_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); } -const char * __thiscall winIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_019 *_this, EVRButtonId eButtonId) +const char * __thiscall winIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); + _ret = cppIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_019 *_this, EVRControllerAxisType eAxisType) +const char * __thiscall winIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); + _ret = cppIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_019_IsInputAvailable(winIVRSystem_IVRSystem_019 *_this) +bool __thiscall winIVRSystem_IVRSystem_019_IsInputAvailable(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_IsInputAvailable(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_019_IsInputAvailable(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers(winIVRSystem_IVRSystem_019 *_this) +bool __thiscall winIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_019_ShouldApplicationPause(winIVRSystem_IVRSystem_019 *_this) +bool __thiscall winIVRSystem_IVRSystem_019_ShouldApplicationPause(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_ShouldApplicationPause(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_019_ShouldApplicationPause(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork(winIVRSystem_IVRSystem_019 *_this) +bool __thiscall winIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_019_DriverDebugRequest(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +uint32_t __thiscall winIVRSystem_IVRSystem_019_DriverDebugRequest(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); + _ret = cppIVRSystem_IVRSystem_019_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); return _ret; } -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_019_PerformFirmwareUpdate(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_019_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { EVRFirmwareError _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_019_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); return _ret; } -void __thiscall winIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_019 *_this) +void __thiscall winIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting(_this->linux_side); + cppIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting(_this->u_iface); } -void __thiscall winIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_019 *_this) +void __thiscall winIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt(_this->linux_side); + cppIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt(_this->u_iface); } extern vtable_ptr winIVRSystem_IVRSystem_019_vtable; @@ -6453,24 +6374,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRSystem_IVRSystem_019 *create_winIVRSystem_IVRSystem_019(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_019(void *u_iface) { - winIVRSystem_IVRSystem_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_019)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRSystem_IVRSystem_019_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRSystem_IVRSystem_019(void *object) +void destroy_winIVRSystem_IVRSystem_019(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSystem_IVRSystem_019 *create_winIVRSystem_IVRSystem_019_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_019_FnTable(void *u_iface) { - winIVRSystem_IVRSystem_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_019)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(47); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 47 * sizeof(*vtable)); int i; @@ -6525,27 +6446,21 @@ winIVRSystem_IVRSystem_019 *create_winIVRSystem_IVRSystem_019_FnTable(void *linu init_thunk(&thunks[46], r, winIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); for (i = 0; i < 47; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRSystem_IVRSystem_019_FnTable(void *object) +void destroy_winIVRSystem_IVRSystem_019_FnTable(struct w_steam_iface *object) { - winIVRSystem_IVRSystem_019 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRSystem_IVRSystem_020.h" -typedef struct __winIVRSystem_IVRSystem_020 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_020; - DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize, 12) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetProjectionMatrix, 20) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetProjectionRaw, 24) @@ -6595,361 +6510,361 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt, 4 DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetAppContainerFilePaths, 12) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetRuntimeVersion, 4) -void __thiscall winIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_020 *_this, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); } -HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_020_GetProjectionMatrix(winIVRSystem_IVRSystem_020 *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ) +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_020_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_020_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); + *_ret = cppIVRSystem_IVRSystem_020_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ); return _ret; } -void __thiscall winIVRSystem_IVRSystem_020_GetProjectionRaw(winIVRSystem_IVRSystem_020 *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void __thiscall winIVRSystem_IVRSystem_020_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_020_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); } -bool __thiscall winIVRSystem_IVRSystem_020_ComputeDistortion(winIVRSystem_IVRSystem_020 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +bool __thiscall winIVRSystem_IVRSystem_020_ComputeDistortion(struct w_steam_iface *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); + _ret = cppIVRSystem_IVRSystem_020_ComputeDistortion(_this->u_iface, eEye, fU, fV, pDistortionCoordinates); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_020_GetEyeToHeadTransform(winIVRSystem_IVRSystem_020 *_this, HmdMatrix34_t *_ret, EVREye eEye) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_020_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_020_GetEyeToHeadTransform(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_020_GetEyeToHeadTransform(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_020_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_020 *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +bool __thiscall winIVRSystem_IVRSystem_020_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); + _ret = cppIVRSystem_IVRSystem_020_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_020_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_020 *_this) +int32_t __thiscall winIVRSystem_IVRSystem_020_GetD3D9AdapterIndex(struct w_steam_iface *_this) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetD3D9AdapterIndex(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_020_GetD3D9AdapterIndex(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_020_GetDXGIOutputInfo(winIVRSystem_IVRSystem_020 *_this, int32_t *pnAdapterIndex) +void __thiscall winIVRSystem_IVRSystem_020_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex) { TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_020_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 20); + get_dxgi_output_info(cppIVRSystem_IVRSystem_020_GetDXGIOutputInfo, _this->u_iface, pnAdapterIndex, 20); } -void __thiscall winIVRSystem_IVRSystem_020_GetOutputDevice(winIVRSystem_IVRSystem_020 *_this, uint64_t *pnDevice, ETextureType textureType, VkInstance_T *pInstance) +void __thiscall winIVRSystem_IVRSystem_020_GetOutputDevice(struct w_steam_iface *_this, uint64_t *pnDevice, ETextureType textureType, VkInstance_T *pInstance) { TRACE("%p\n", _this); - ivrsystem_get_output_device(cppIVRSystem_IVRSystem_020_GetOutputDevice, _this->linux_side, pnDevice, textureType, pInstance, 20); + ivrsystem_get_output_device(cppIVRSystem_IVRSystem_020_GetOutputDevice, _this->u_iface, pnDevice, textureType, pInstance, 20); } -bool __thiscall winIVRSystem_IVRSystem_020_IsDisplayOnDesktop(winIVRSystem_IVRSystem_020 *_this) +bool __thiscall winIVRSystem_IVRSystem_020_IsDisplayOnDesktop(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_IsDisplayOnDesktop(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_020_IsDisplayOnDesktop(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_020_SetDisplayVisibility(winIVRSystem_IVRSystem_020 *_this, bool bIsVisibleOnDesktop) +bool __thiscall winIVRSystem_IVRSystem_020_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); + _ret = cppIVRSystem_IVRSystem_020_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); return _ret; } -void __thiscall winIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_020 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void __thiscall winIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); } -void __thiscall winIVRSystem_IVRSystem_020_ResetSeatedZeroPose(winIVRSystem_IVRSystem_020 *_this) +void __thiscall winIVRSystem_IVRSystem_020_ResetSeatedZeroPose(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_ResetSeatedZeroPose(_this->linux_side); + cppIVRSystem_IVRSystem_020_ResetSeatedZeroPose(_this->u_iface); } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_020 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_020 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_020 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +uint32_t __thiscall winIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); + _ret = cppIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); return _ret; } -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unDeviceId) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { EDeviceActivityLevel _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); + _ret = cppIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); return _ret; } -void __thiscall winIVRSystem_IVRSystem_020_ApplyTransform(winIVRSystem_IVRSystem_020 *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void __thiscall winIVRSystem_IVRSystem_020_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_020_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); } -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_020 *_this, ETrackedControllerRole unDeviceType) +TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, ETrackedControllerRole unDeviceType) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); + _ret = cppIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole(_this->u_iface, unDeviceType); return _ret; } -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedControllerRole _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex(_this->u_iface, unDeviceIndex); return _ret; } -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_020_GetTrackedDeviceClass(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_020_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedDeviceClass _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_020_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_020_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unDeviceIndex) +bool __thiscall winIVRSystem_IVRSystem_020_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_020_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +bool __thiscall winIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -float __thiscall winIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +float __thiscall winIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +int32_t __thiscall winIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint64_t __thiscall winIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +uint64_t __thiscall winIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_020 *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + *_ret = cppIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void *pBuffer, uint32_t unBufferSize, ETrackedPropertyError *pError) +uint32_t __thiscall winIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void *pBuffer, uint32_t unBufferSize, ETrackedPropertyError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, propType, pBuffer, unBufferSize, pError); + _ret = cppIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, propType, pBuffer, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +uint32_t __thiscall winIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); + _ret = cppIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_020 *_this, ETrackedPropertyError error) +const char * __thiscall winIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum(_this->u_iface, error); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_020_PollNextEvent(winIVRSystem_IVRSystem_020 *_this, winVREvent_t_1715 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVRSystem_IVRSystem_020_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_1715 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); + _ret = cppIVRSystem_IVRSystem_020_PollNextEvent(_this->u_iface, pEvent, uncbVREvent); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_020_PollNextEventWithPose(winIVRSystem_IVRSystem_020 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1715 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_020_PollNextEventWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1715 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_020_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_020 *_this, EVREventType eType) +const char * __thiscall winIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum(_this->linux_side, eType); + _ret = cppIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum(_this->u_iface, eType); return _ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_020_GetHiddenAreaMesh(winIVRSystem_IVRSystem_020 *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) +HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_020_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_020_GetHiddenAreaMesh(_this->linux_side, eEye, type); + *_ret = cppIVRSystem_IVRSystem_020_GetHiddenAreaMesh(_this->u_iface, eEye, type); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_020_GetControllerState(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1715 *pControllerState, uint32_t unControllerStateSize) +bool __thiscall winIVRSystem_IVRSystem_020_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1715 *pControllerState, uint32_t unControllerStateSize) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); + _ret = cppIVRSystem_IVRSystem_020_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState, unControllerStateSize); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_020_GetControllerStateWithPose(winIVRSystem_IVRSystem_020 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1715 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_020_GetControllerStateWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1715 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_020_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); return _ret; } -void __thiscall winIVRSystem_IVRSystem_020_TriggerHapticPulse(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void __thiscall winIVRSystem_IVRSystem_020_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_020_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); } -const char * __thiscall winIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_020 *_this, EVRButtonId eButtonId) +const char * __thiscall winIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); + _ret = cppIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_020 *_this, EVRControllerAxisType eAxisType) +const char * __thiscall winIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); + _ret = cppIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_020_IsInputAvailable(winIVRSystem_IVRSystem_020 *_this) +bool __thiscall winIVRSystem_IVRSystem_020_IsInputAvailable(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_IsInputAvailable(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_020_IsInputAvailable(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers(winIVRSystem_IVRSystem_020 *_this) +bool __thiscall winIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_020_ShouldApplicationPause(winIVRSystem_IVRSystem_020 *_this) +bool __thiscall winIVRSystem_IVRSystem_020_ShouldApplicationPause(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_ShouldApplicationPause(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_020_ShouldApplicationPause(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork(winIVRSystem_IVRSystem_020 *_this) +bool __thiscall winIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork(_this->u_iface); return _ret; } -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_020_PerformFirmwareUpdate(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unDeviceIndex) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_020_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { EVRFirmwareError _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_020_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); return _ret; } -void __thiscall winIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_020 *_this) +void __thiscall winIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting(_this->linux_side); + cppIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting(_this->u_iface); } -void __thiscall winIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_020 *_this) +void __thiscall winIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt(_this->linux_side); + cppIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt(_this->u_iface); } -uint32_t __thiscall winIVRSystem_IVRSystem_020_GetAppContainerFilePaths(winIVRSystem_IVRSystem_020 *_this, char *pchBuffer, uint32_t unBufferSize) +uint32_t __thiscall winIVRSystem_IVRSystem_020_GetAppContainerFilePaths(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetAppContainerFilePaths(_this->linux_side, pchBuffer, unBufferSize); + _ret = cppIVRSystem_IVRSystem_020_GetAppContainerFilePaths(_this->u_iface, pchBuffer, unBufferSize); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_020_GetRuntimeVersion(winIVRSystem_IVRSystem_020 *_this) +const char * __thiscall winIVRSystem_IVRSystem_020_GetRuntimeVersion(struct w_steam_iface *_this) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetRuntimeVersion(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_020_GetRuntimeVersion(_this->u_iface); return _ret; } @@ -7012,24 +6927,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRSystem_IVRSystem_020 *create_winIVRSystem_IVRSystem_020(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_020(void *u_iface) { - winIVRSystem_IVRSystem_020 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_020)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRSystem_IVRSystem_020_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRSystem_IVRSystem_020(void *object) +void destroy_winIVRSystem_IVRSystem_020(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSystem_IVRSystem_020 *create_winIVRSystem_IVRSystem_020_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_020_FnTable(void *u_iface) { - winIVRSystem_IVRSystem_020 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_020)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(48); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 48 * sizeof(*vtable)); int i; @@ -7085,27 +7000,21 @@ winIVRSystem_IVRSystem_020 *create_winIVRSystem_IVRSystem_020_FnTable(void *linu init_thunk(&thunks[47], r, winIVRSystem_IVRSystem_020_GetRuntimeVersion, 0, FALSE, FALSE); for (i = 0; i < 48; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRSystem_IVRSystem_020_FnTable(void *object) +void destroy_winIVRSystem_IVRSystem_020_FnTable(struct w_steam_iface *object) { - winIVRSystem_IVRSystem_020 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRSystem_IVRSystem_021.h" -typedef struct __winIVRSystem_IVRSystem_021 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_021; - DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize, 12) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetProjectionMatrix, 20) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetProjectionRaw, 24) @@ -7154,355 +7063,355 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting, 4) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetAppContainerFilePaths, 12) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetRuntimeVersion, 4) -void __thiscall winIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_021 *_this, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); } -HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_021_GetProjectionMatrix(winIVRSystem_IVRSystem_021 *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ) +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_021_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_021_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); + *_ret = cppIVRSystem_IVRSystem_021_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ); return _ret; } -void __thiscall winIVRSystem_IVRSystem_021_GetProjectionRaw(winIVRSystem_IVRSystem_021 *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void __thiscall winIVRSystem_IVRSystem_021_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_021_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); } -bool __thiscall winIVRSystem_IVRSystem_021_ComputeDistortion(winIVRSystem_IVRSystem_021 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +bool __thiscall winIVRSystem_IVRSystem_021_ComputeDistortion(struct w_steam_iface *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); + _ret = cppIVRSystem_IVRSystem_021_ComputeDistortion(_this->u_iface, eEye, fU, fV, pDistortionCoordinates); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_021_GetEyeToHeadTransform(winIVRSystem_IVRSystem_021 *_this, HmdMatrix34_t *_ret, EVREye eEye) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_021_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_021_GetEyeToHeadTransform(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_021_GetEyeToHeadTransform(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_021_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_021 *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +bool __thiscall winIVRSystem_IVRSystem_021_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); + _ret = cppIVRSystem_IVRSystem_021_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_021_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_021 *_this) +int32_t __thiscall winIVRSystem_IVRSystem_021_GetD3D9AdapterIndex(struct w_steam_iface *_this) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetD3D9AdapterIndex(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_021_GetD3D9AdapterIndex(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_021_GetDXGIOutputInfo(winIVRSystem_IVRSystem_021 *_this, int32_t *pnAdapterIndex) +void __thiscall winIVRSystem_IVRSystem_021_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex) { TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_021_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 21); + get_dxgi_output_info(cppIVRSystem_IVRSystem_021_GetDXGIOutputInfo, _this->u_iface, pnAdapterIndex, 21); } -void __thiscall winIVRSystem_IVRSystem_021_GetOutputDevice(winIVRSystem_IVRSystem_021 *_this, uint64_t *pnDevice, ETextureType textureType, VkInstance_T *pInstance) +void __thiscall winIVRSystem_IVRSystem_021_GetOutputDevice(struct w_steam_iface *_this, uint64_t *pnDevice, ETextureType textureType, VkInstance_T *pInstance) { TRACE("%p\n", _this); - ivrsystem_get_output_device(cppIVRSystem_IVRSystem_021_GetOutputDevice, _this->linux_side, pnDevice, textureType, pInstance, 21); + ivrsystem_get_output_device(cppIVRSystem_IVRSystem_021_GetOutputDevice, _this->u_iface, pnDevice, textureType, pInstance, 21); } -bool __thiscall winIVRSystem_IVRSystem_021_IsDisplayOnDesktop(winIVRSystem_IVRSystem_021 *_this) +bool __thiscall winIVRSystem_IVRSystem_021_IsDisplayOnDesktop(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_IsDisplayOnDesktop(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_021_IsDisplayOnDesktop(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_021_SetDisplayVisibility(winIVRSystem_IVRSystem_021 *_this, bool bIsVisibleOnDesktop) +bool __thiscall winIVRSystem_IVRSystem_021_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); + _ret = cppIVRSystem_IVRSystem_021_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); return _ret; } -void __thiscall winIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_021 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void __thiscall winIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); } -void __thiscall winIVRSystem_IVRSystem_021_ResetSeatedZeroPose(winIVRSystem_IVRSystem_021 *_this) +void __thiscall winIVRSystem_IVRSystem_021_ResetSeatedZeroPose(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_ResetSeatedZeroPose(_this->linux_side); + cppIVRSystem_IVRSystem_021_ResetSeatedZeroPose(_this->u_iface); } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_021 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_021 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_021 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +uint32_t __thiscall winIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); + _ret = cppIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); return _ret; } -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceId) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { EDeviceActivityLevel _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); + _ret = cppIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); return _ret; } -void __thiscall winIVRSystem_IVRSystem_021_ApplyTransform(winIVRSystem_IVRSystem_021 *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void __thiscall winIVRSystem_IVRSystem_021_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_021_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); } -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_021 *_this, ETrackedControllerRole unDeviceType) +TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, ETrackedControllerRole unDeviceType) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); + _ret = cppIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole(_this->u_iface, unDeviceType); return _ret; } -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedControllerRole _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(_this->u_iface, unDeviceIndex); return _ret; } -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_021_GetTrackedDeviceClass(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_021_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedDeviceClass _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_021_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_021_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex) +bool __thiscall winIVRSystem_IVRSystem_021_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_021_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +bool __thiscall winIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -float __thiscall winIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +float __thiscall winIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +int32_t __thiscall winIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint64_t __thiscall winIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +uint64_t __thiscall winIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + *_ret = cppIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void *pBuffer, uint32_t unBufferSize, ETrackedPropertyError *pError) +uint32_t __thiscall winIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void *pBuffer, uint32_t unBufferSize, ETrackedPropertyError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, propType, pBuffer, unBufferSize, pError); + _ret = cppIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, propType, pBuffer, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +uint32_t __thiscall winIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); + _ret = cppIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_021 *_this, ETrackedPropertyError error) +const char * __thiscall winIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum(_this->u_iface, error); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_021_PollNextEvent(winIVRSystem_IVRSystem_021 *_this, winVREvent_t_1125 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVRSystem_IVRSystem_021_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_1125 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); + _ret = cppIVRSystem_IVRSystem_021_PollNextEvent(_this->u_iface, pEvent, uncbVREvent); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_021_PollNextEventWithPose(winIVRSystem_IVRSystem_021 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1125 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_021_PollNextEventWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1125 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_021_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_021 *_this, EVREventType eType) +const char * __thiscall winIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum(_this->linux_side, eType); + _ret = cppIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum(_this->u_iface, eType); return _ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_021_GetHiddenAreaMesh(winIVRSystem_IVRSystem_021 *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) +HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_021_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_021_GetHiddenAreaMesh(_this->linux_side, eEye, type); + *_ret = cppIVRSystem_IVRSystem_021_GetHiddenAreaMesh(_this->u_iface, eEye, type); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_021_GetControllerState(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1125 *pControllerState, uint32_t unControllerStateSize) +bool __thiscall winIVRSystem_IVRSystem_021_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1125 *pControllerState, uint32_t unControllerStateSize) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); + _ret = cppIVRSystem_IVRSystem_021_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState, unControllerStateSize); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_021_GetControllerStateWithPose(winIVRSystem_IVRSystem_021 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1125 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_021_GetControllerStateWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1125 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_021_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); return _ret; } -void __thiscall winIVRSystem_IVRSystem_021_TriggerHapticPulse(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void __thiscall winIVRSystem_IVRSystem_021_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_021_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); } -const char * __thiscall winIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_021 *_this, EVRButtonId eButtonId) +const char * __thiscall winIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); + _ret = cppIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_021 *_this, EVRControllerAxisType eAxisType) +const char * __thiscall winIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); + _ret = cppIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_021_IsInputAvailable(winIVRSystem_IVRSystem_021 *_this) +bool __thiscall winIVRSystem_IVRSystem_021_IsInputAvailable(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_IsInputAvailable(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_021_IsInputAvailable(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers(winIVRSystem_IVRSystem_021 *_this) +bool __thiscall winIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_021_ShouldApplicationPause(winIVRSystem_IVRSystem_021 *_this) +bool __thiscall winIVRSystem_IVRSystem_021_ShouldApplicationPause(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_ShouldApplicationPause(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_021_ShouldApplicationPause(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork(winIVRSystem_IVRSystem_021 *_this) +bool __thiscall winIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork(_this->u_iface); return _ret; } -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_021_PerformFirmwareUpdate(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_021_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { EVRFirmwareError _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_021_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); return _ret; } -void __thiscall winIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_021 *_this) +void __thiscall winIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting(_this->linux_side); + cppIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting(_this->u_iface); } -uint32_t __thiscall winIVRSystem_IVRSystem_021_GetAppContainerFilePaths(winIVRSystem_IVRSystem_021 *_this, char *pchBuffer, uint32_t unBufferSize) +uint32_t __thiscall winIVRSystem_IVRSystem_021_GetAppContainerFilePaths(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetAppContainerFilePaths(_this->linux_side, pchBuffer, unBufferSize); + _ret = cppIVRSystem_IVRSystem_021_GetAppContainerFilePaths(_this->u_iface, pchBuffer, unBufferSize); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_021_GetRuntimeVersion(winIVRSystem_IVRSystem_021 *_this) +const char * __thiscall winIVRSystem_IVRSystem_021_GetRuntimeVersion(struct w_steam_iface *_this) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetRuntimeVersion(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_021_GetRuntimeVersion(_this->u_iface); return _ret; } @@ -7564,24 +7473,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRSystem_IVRSystem_021 *create_winIVRSystem_IVRSystem_021(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_021(void *u_iface) { - winIVRSystem_IVRSystem_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_021)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRSystem_IVRSystem_021_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRSystem_IVRSystem_021(void *object) +void destroy_winIVRSystem_IVRSystem_021(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSystem_IVRSystem_021 *create_winIVRSystem_IVRSystem_021_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_021_FnTable(void *u_iface) { - winIVRSystem_IVRSystem_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_021)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(47); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 47 * sizeof(*vtable)); int i; @@ -7636,27 +7545,21 @@ winIVRSystem_IVRSystem_021 *create_winIVRSystem_IVRSystem_021_FnTable(void *linu init_thunk(&thunks[46], r, winIVRSystem_IVRSystem_021_GetRuntimeVersion, 0, FALSE, FALSE); for (i = 0; i < 47; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRSystem_IVRSystem_021_FnTable(void *object) +void destroy_winIVRSystem_IVRSystem_021_FnTable(struct w_steam_iface *object) { - winIVRSystem_IVRSystem_021 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRSystem_IVRSystem_022.h" -typedef struct __winIVRSystem_IVRSystem_022 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_022; - DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize, 12) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetProjectionMatrix, 20) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetProjectionRaw, 24) @@ -7704,349 +7607,349 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting, 4) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetAppContainerFilePaths, 12) DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetRuntimeVersion, 4) -void __thiscall winIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_022 *_this, uint32_t *pnWidth, uint32_t *pnHeight) +void __thiscall winIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); } -HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_022_GetProjectionMatrix(winIVRSystem_IVRSystem_022 *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ) +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_022_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_022_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); + *_ret = cppIVRSystem_IVRSystem_022_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ); return _ret; } -void __thiscall winIVRSystem_IVRSystem_022_GetProjectionRaw(winIVRSystem_IVRSystem_022 *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void __thiscall winIVRSystem_IVRSystem_022_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_022_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); } -bool __thiscall winIVRSystem_IVRSystem_022_ComputeDistortion(winIVRSystem_IVRSystem_022 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +bool __thiscall winIVRSystem_IVRSystem_022_ComputeDistortion(struct w_steam_iface *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); + _ret = cppIVRSystem_IVRSystem_022_ComputeDistortion(_this->u_iface, eEye, fU, fV, pDistortionCoordinates); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_022_GetEyeToHeadTransform(winIVRSystem_IVRSystem_022 *_this, HmdMatrix34_t *_ret, EVREye eEye) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_022_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_022_GetEyeToHeadTransform(_this->linux_side, eEye); + *_ret = cppIVRSystem_IVRSystem_022_GetEyeToHeadTransform(_this->u_iface, eEye); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_022_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_022 *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +bool __thiscall winIVRSystem_IVRSystem_022_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); + _ret = cppIVRSystem_IVRSystem_022_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_022_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_022 *_this) +int32_t __thiscall winIVRSystem_IVRSystem_022_GetD3D9AdapterIndex(struct w_steam_iface *_this) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetD3D9AdapterIndex(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_022_GetD3D9AdapterIndex(_this->u_iface); return _ret; } -void __thiscall winIVRSystem_IVRSystem_022_GetDXGIOutputInfo(winIVRSystem_IVRSystem_022 *_this, int32_t *pnAdapterIndex) +void __thiscall winIVRSystem_IVRSystem_022_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex) { TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_022_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 22); + get_dxgi_output_info(cppIVRSystem_IVRSystem_022_GetDXGIOutputInfo, _this->u_iface, pnAdapterIndex, 22); } -void __thiscall winIVRSystem_IVRSystem_022_GetOutputDevice(winIVRSystem_IVRSystem_022 *_this, uint64_t *pnDevice, ETextureType textureType, VkInstance_T *pInstance) +void __thiscall winIVRSystem_IVRSystem_022_GetOutputDevice(struct w_steam_iface *_this, uint64_t *pnDevice, ETextureType textureType, VkInstance_T *pInstance) { TRACE("%p\n", _this); - ivrsystem_get_output_device(cppIVRSystem_IVRSystem_022_GetOutputDevice, _this->linux_side, pnDevice, textureType, pInstance, 22); + ivrsystem_get_output_device(cppIVRSystem_IVRSystem_022_GetOutputDevice, _this->u_iface, pnDevice, textureType, pInstance, 22); } -bool __thiscall winIVRSystem_IVRSystem_022_IsDisplayOnDesktop(winIVRSystem_IVRSystem_022 *_this) +bool __thiscall winIVRSystem_IVRSystem_022_IsDisplayOnDesktop(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_IsDisplayOnDesktop(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_022_IsDisplayOnDesktop(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_022_SetDisplayVisibility(winIVRSystem_IVRSystem_022 *_this, bool bIsVisibleOnDesktop) +bool __thiscall winIVRSystem_IVRSystem_022_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); + _ret = cppIVRSystem_IVRSystem_022_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); return _ret; } -void __thiscall winIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_022 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void __thiscall winIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_022 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_022 *_this, HmdMatrix34_t *_ret) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_ret = cppIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_022 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +uint32_t __thiscall winIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); + _ret = cppIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); return _ret; } -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceId) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { EDeviceActivityLevel _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); + _ret = cppIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); return _ret; } -void __thiscall winIVRSystem_IVRSystem_022_ApplyTransform(winIVRSystem_IVRSystem_022 *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void __thiscall winIVRSystem_IVRSystem_022_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_022_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); } -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_022 *_this, ETrackedControllerRole unDeviceType) +TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, ETrackedControllerRole unDeviceType) { TrackedDeviceIndex_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); + _ret = cppIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole(_this->u_iface, unDeviceType); return _ret; } -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedControllerRole _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(_this->u_iface, unDeviceIndex); return _ret; } -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_022_GetTrackedDeviceClass(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_022_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { ETrackedDeviceClass _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_022_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_022_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex) +bool __thiscall winIVRSystem_IVRSystem_022_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_022_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +bool __thiscall winIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -float __thiscall winIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +float __thiscall winIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -int32_t __thiscall winIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +int32_t __thiscall winIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { int32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint64_t __thiscall winIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +uint64_t __thiscall winIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { uint64_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + _ret = cppIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + *_ret = cppIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void *pBuffer, uint32_t unBufferSize, ETrackedPropertyError *pError) +uint32_t __thiscall winIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void *pBuffer, uint32_t unBufferSize, ETrackedPropertyError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, propType, pBuffer, unBufferSize, pError); + _ret = cppIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, propType, pBuffer, unBufferSize, pError); return _ret; } -uint32_t __thiscall winIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +uint32_t __thiscall winIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); + _ret = cppIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_022 *_this, ETrackedPropertyError error) +const char * __thiscall winIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum(_this->linux_side, error); + _ret = cppIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum(_this->u_iface, error); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_022_PollNextEvent(winIVRSystem_IVRSystem_022 *_this, winVREvent_t_1267 *pEvent, uint32_t uncbVREvent) +bool __thiscall winIVRSystem_IVRSystem_022_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_1267 *pEvent, uint32_t uncbVREvent) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); + _ret = cppIVRSystem_IVRSystem_022_PollNextEvent(_this->u_iface, pEvent, uncbVREvent); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_022_PollNextEventWithPose(winIVRSystem_IVRSystem_022 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1267 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_022_PollNextEventWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1267 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_022_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_022 *_this, EVREventType eType) +const char * __thiscall winIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum(_this->linux_side, eType); + _ret = cppIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum(_this->u_iface, eType); return _ret; } -HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_022_GetHiddenAreaMesh(winIVRSystem_IVRSystem_022 *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) +HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_022_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) { TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_022_GetHiddenAreaMesh(_this->linux_side, eEye, type); + *_ret = cppIVRSystem_IVRSystem_022_GetHiddenAreaMesh(_this->u_iface, eEye, type); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_022_GetControllerState(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1267 *pControllerState, uint32_t unControllerStateSize) +bool __thiscall winIVRSystem_IVRSystem_022_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1267 *pControllerState, uint32_t unControllerStateSize) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); + _ret = cppIVRSystem_IVRSystem_022_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState, unControllerStateSize); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_022_GetControllerStateWithPose(winIVRSystem_IVRSystem_022 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1267 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +bool __thiscall winIVRSystem_IVRSystem_022_GetControllerStateWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1267 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); + _ret = cppIVRSystem_IVRSystem_022_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); return _ret; } -void __thiscall winIVRSystem_IVRSystem_022_TriggerHapticPulse(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void __thiscall winIVRSystem_IVRSystem_022_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_022_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); } -const char * __thiscall winIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_022 *_this, EVRButtonId eButtonId) +const char * __thiscall winIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); + _ret = cppIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_022 *_this, EVRControllerAxisType eAxisType) +const char * __thiscall winIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); + _ret = cppIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_022_IsInputAvailable(winIVRSystem_IVRSystem_022 *_this) +bool __thiscall winIVRSystem_IVRSystem_022_IsInputAvailable(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_IsInputAvailable(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_022_IsInputAvailable(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers(winIVRSystem_IVRSystem_022 *_this) +bool __thiscall winIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_022_ShouldApplicationPause(winIVRSystem_IVRSystem_022 *_this) +bool __thiscall winIVRSystem_IVRSystem_022_ShouldApplicationPause(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_ShouldApplicationPause(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_022_ShouldApplicationPause(_this->u_iface); return _ret; } -bool __thiscall winIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork(winIVRSystem_IVRSystem_022 *_this) +bool __thiscall winIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork(struct w_steam_iface *_this) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork(_this->u_iface); return _ret; } -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_022_PerformFirmwareUpdate(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_022_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { EVRFirmwareError _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); + _ret = cppIVRSystem_IVRSystem_022_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); return _ret; } -void __thiscall winIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_022 *_this) +void __thiscall winIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting(_this->linux_side); + cppIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting(_this->u_iface); } -uint32_t __thiscall winIVRSystem_IVRSystem_022_GetAppContainerFilePaths(winIVRSystem_IVRSystem_022 *_this, char *pchBuffer, uint32_t unBufferSize) +uint32_t __thiscall winIVRSystem_IVRSystem_022_GetAppContainerFilePaths(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize) { uint32_t _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetAppContainerFilePaths(_this->linux_side, pchBuffer, unBufferSize); + _ret = cppIVRSystem_IVRSystem_022_GetAppContainerFilePaths(_this->u_iface, pchBuffer, unBufferSize); return _ret; } -const char * __thiscall winIVRSystem_IVRSystem_022_GetRuntimeVersion(winIVRSystem_IVRSystem_022 *_this) +const char * __thiscall winIVRSystem_IVRSystem_022_GetRuntimeVersion(struct w_steam_iface *_this) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetRuntimeVersion(_this->linux_side); + _ret = cppIVRSystem_IVRSystem_022_GetRuntimeVersion(_this->u_iface); return _ret; } @@ -8107,24 +8010,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRSystem_IVRSystem_022 *create_winIVRSystem_IVRSystem_022(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_022(void *u_iface) { - winIVRSystem_IVRSystem_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_022)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRSystem_IVRSystem_022_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRSystem_IVRSystem_022(void *object) +void destroy_winIVRSystem_IVRSystem_022(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSystem_IVRSystem_022 *create_winIVRSystem_IVRSystem_022_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRSystem_IVRSystem_022_FnTable(void *u_iface) { - winIVRSystem_IVRSystem_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_022)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(46); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); int i; @@ -8178,17 +8081,16 @@ winIVRSystem_IVRSystem_022 *create_winIVRSystem_IVRSystem_022_FnTable(void *linu init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_022_GetRuntimeVersion, 0, FALSE, FALSE); for (i = 0; i < 46; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRSystem_IVRSystem_022_FnTable(void *object) +void destroy_winIVRSystem_IVRSystem_022_FnTable(struct w_steam_iface *object) { - winIVRSystem_IVRSystem_022 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } diff --git a/vrclient_x64/vrclient_x64/winIVRTrackedCamera.c b/vrclient_x64/vrclient_x64/winIVRTrackedCamera.c index 69d59309..2a9a6288 100644 --- a/vrclient_x64/vrclient_x64/winIVRTrackedCamera.c +++ b/vrclient_x64/vrclient_x64/winIVRTrackedCamera.c @@ -6,8 +6,6 @@ #include "winbase.h" #include "wine/debug.h" -#include "cxx.h" - #include "vrclient_defs.h" #include "vrclient_private.h" @@ -20,11 +18,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); #include "cppIVRTrackedCamera_IVRTrackedCamera_001.h" -typedef struct __winIVRTrackedCamera_IVRTrackedCamera_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVRTrackedCamera_IVRTrackedCamera_001; - DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_HasCamera, 8) DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription, 16) DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions, 20) @@ -44,147 +37,147 @@ DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPa DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion, 24) DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection, 28) -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_HasCamera(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex) +bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_HasCamera(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_HasCamera(_this->linux_side, nDeviceIndex); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_HasCamera(_this->u_iface, nDeviceIndex); return _ret; } -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex, char *pBuffer, uint32_t nBufferLen) +bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, char *pBuffer, uint32_t nBufferLen) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription(_this->linux_side, nDeviceIndex, pBuffer, nBufferLen); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription(_this->u_iface, nDeviceIndex, pBuffer, nBufferLen); return _ret; } -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex, ECameraVideoStreamFormat nVideoStreamFormat, uint32_t *pWidth, uint32_t *pHeight) +bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, ECameraVideoStreamFormat nVideoStreamFormat, uint32_t *pWidth, uint32_t *pHeight) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions(_this->linux_side, nDeviceIndex, nVideoStreamFormat, pWidth, pHeight); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions(_this->u_iface, nDeviceIndex, nVideoStreamFormat, pWidth, pHeight); return _ret; } -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex, ECameraVideoStreamFormat nVideoStreamFormat) +bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, ECameraVideoStreamFormat nVideoStreamFormat) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat(_this->linux_side, nDeviceIndex, nVideoStreamFormat); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat(_this->u_iface, nDeviceIndex, nVideoStreamFormat); return _ret; } -ECameraVideoStreamFormat __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex) +ECameraVideoStreamFormat __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex) { ECameraVideoStreamFormat _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat(_this->linux_side, nDeviceIndex); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat(_this->u_iface, nDeviceIndex); return _ret; } -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex, bool bEnable) +bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, bool bEnable) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming(_this->linux_side, nDeviceIndex, bEnable); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming(_this->u_iface, nDeviceIndex, bEnable); return _ret; } -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex) +bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream(_this->linux_side, nDeviceIndex); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream(_this->u_iface, nDeviceIndex); return _ret; } -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex) +bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream(_this->linux_side, nDeviceIndex); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream(_this->u_iface, nDeviceIndex); return _ret; } -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex) +bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive(_this->linux_side, nDeviceIndex); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive(_this->u_iface, nDeviceIndex); return _ret; } -float __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex) +float __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex) { float _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime(_this->linux_side, nDeviceIndex); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime(_this->u_iface, nDeviceIndex); return _ret; } -const CameraVideoStreamFrame_t * __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex) +const CameraVideoStreamFrame_t * __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex) { const CameraVideoStreamFrame_t * _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame(_this->linux_side, nDeviceIndex); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame(_this->u_iface, nDeviceIndex); return _ret; } -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex, const CameraVideoStreamFrame_t *pFrameImage) +bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, const CameraVideoStreamFrame_t *pFrameImage) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame(_this->linux_side, nDeviceIndex, pFrameImage); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame(_this->u_iface, nDeviceIndex, pFrameImage); return _ret; } -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex, bool bEnable) +bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, bool bEnable) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure(_this->linux_side, nDeviceIndex, bEnable); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure(_this->u_iface, nDeviceIndex, bEnable); return _ret; } -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex) +bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream(_this->linux_side, nDeviceIndex); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream(_this->u_iface, nDeviceIndex); return _ret; } -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex) +bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream(_this->linux_side, nDeviceIndex); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream(_this->u_iface, nDeviceIndex); return _ret; } -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex) +bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused(_this->linux_side, nDeviceIndex); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused(_this->u_iface, nDeviceIndex); return _ret; } -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex, float flInputU, float flInputV, float *pflOutputU, float *pflOutputV) +bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, float flInputU, float flInputV, float *pflOutputU, float *pflOutputV) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion(_this->linux_side, nDeviceIndex, flInputU, flInputV, pflOutputU, pflOutputV); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion(_this->u_iface, nDeviceIndex, flInputU, flInputV, pflOutputU, pflOutputV); return _ret; } -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex, float flWidthPixels, float flHeightPixels, float flZNear, float flZFar, HmdMatrix44_t *pProjection) +bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, float flWidthPixels, float flHeightPixels, float flZNear, float flZFar, HmdMatrix44_t *pProjection) { bool _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection(_this->linux_side, nDeviceIndex, flWidthPixels, flHeightPixels, flZNear, flZFar, pProjection); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection(_this->u_iface, nDeviceIndex, flWidthPixels, flHeightPixels, flZNear, flZFar, pProjection); return _ret; } @@ -217,24 +210,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRTrackedCamera_IVRTrackedCamera_001 *create_winIVRTrackedCamera_IVRTrackedCamera_001(void *linux_side) +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_001(void *u_iface) { - winIVRTrackedCamera_IVRTrackedCamera_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_001_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRTrackedCamera_IVRTrackedCamera_001(void *object) +void destroy_winIVRTrackedCamera_IVRTrackedCamera_001(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRTrackedCamera_IVRTrackedCamera_001 *create_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable(void *u_iface) { - winIVRTrackedCamera_IVRTrackedCamera_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_001)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(18); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 18 * sizeof(*vtable)); int i; @@ -260,27 +253,21 @@ winIVRTrackedCamera_IVRTrackedCamera_001 *create_winIVRTrackedCamera_IVRTrackedC init_thunk(&thunks[17], r, winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection, 6, TRUE, TRUE); for (i = 0; i < 18; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable(void *object) +void destroy_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable(struct w_steam_iface *object) { - winIVRTrackedCamera_IVRTrackedCamera_001 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRTrackedCamera_IVRTrackedCamera_002.h" -typedef struct __winIVRTrackedCamera_IVRTrackedCamera_002 { - vtable_ptr *vtable; - void *linux_side; -} winIVRTrackedCamera_IVRTrackedCamera_002; - DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum, 8) DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_HasCamera, 12) DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize, 24) @@ -290,67 +277,67 @@ DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStr DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService, 8) DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer, 28) -const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, EVRTrackedCameraError eCameraError) +const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum(struct w_steam_iface *_this, EVRTrackedCameraError eCameraError) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum(_this->linux_side, eCameraError); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum(_this->u_iface, eCameraError); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_HasCamera(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_HasCamera(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_HasCamera(_this->linux_side, nDeviceIndex, pHasCamera); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_HasCamera(_this->u_iface, nDeviceIndex, pHasCamera); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize(_this->linux_side, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize(_this->u_iface, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics(_this->linux_side, nDeviceIndex, eFrameType, pFocalLength, pCenter); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics(_this->u_iface, nDeviceIndex, eFrameType, pFocalLength, pCenter); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t *pProjection) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t *pProjection) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection(_this->linux_side, nDeviceIndex, eFrameType, flZNear, flZFar, pProjection); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection(_this->u_iface, nDeviceIndex, eFrameType, flZNear, flZFar, pProjection); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t *pHandle) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t *pHandle) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService(_this->linux_side, nDeviceIndex, pHandle); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService(_this->u_iface, nDeviceIndex, pHandle); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedCameraHandle_t hTrackedCamera) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService(_this->linux_side, hTrackedCamera); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService(_this->u_iface, hTrackedCamera); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer(_this->linux_side, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer(_this->u_iface, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); return _ret; } @@ -373,24 +360,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRTrackedCamera_IVRTrackedCamera_002 *create_winIVRTrackedCamera_IVRTrackedCamera_002(void *linux_side) +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_002(void *u_iface) { - winIVRTrackedCamera_IVRTrackedCamera_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_002)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_002_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRTrackedCamera_IVRTrackedCamera_002(void *object) +void destroy_winIVRTrackedCamera_IVRTrackedCamera_002(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRTrackedCamera_IVRTrackedCamera_002 *create_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(void *u_iface) { - winIVRTrackedCamera_IVRTrackedCamera_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_002)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(8); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 8 * sizeof(*vtable)); int i; @@ -406,27 +393,21 @@ winIVRTrackedCamera_IVRTrackedCamera_002 *create_winIVRTrackedCamera_IVRTrackedC init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); for (i = 0; i < 8; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(void *object) +void destroy_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(struct w_steam_iface *object) { - winIVRTrackedCamera_IVRTrackedCamera_002 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRTrackedCamera_IVRTrackedCamera_003.h" -typedef struct __winIVRTrackedCamera_IVRTrackedCamera_003 { - vtable_ptr *vtable; - void *linux_side; -} winIVRTrackedCamera_IVRTrackedCamera_003; - DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum, 8) DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_HasCamera, 12) DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize, 24) @@ -440,99 +421,99 @@ DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamT DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL, 28) DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL, 16) -const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, EVRTrackedCameraError eCameraError) +const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum(struct w_steam_iface *_this, EVRTrackedCameraError eCameraError) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum(_this->linux_side, eCameraError); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum(_this->u_iface, eCameraError); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_HasCamera(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_HasCamera(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_HasCamera(_this->linux_side, nDeviceIndex, pHasCamera); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_HasCamera(_this->u_iface, nDeviceIndex, pHasCamera); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize(_this->linux_side, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize(_this->u_iface, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics(_this->linux_side, nDeviceIndex, eFrameType, pFocalLength, pCenter); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics(_this->u_iface, nDeviceIndex, eFrameType, pFocalLength, pCenter); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t *pProjection) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t *pProjection) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection(_this->linux_side, nDeviceIndex, eFrameType, flZNear, flZFar, pProjection); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection(_this->u_iface, nDeviceIndex, eFrameType, flZNear, flZFar, pProjection); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t *pHandle) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t *pHandle) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService(_this->linux_side, nDeviceIndex, pHandle); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService(_this->u_iface, nDeviceIndex, pHandle); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedCameraHandle_t hTrackedCamera) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService(_this->linux_side, hTrackedCamera); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService(_this->u_iface, hTrackedCamera); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer(_this->linux_side, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer(_this->u_iface, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t *pTextureBounds, uint32_t *pnWidth, uint32_t *pnHeight) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t *pTextureBounds, uint32_t *pnWidth, uint32_t *pnHeight) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize(_this->linux_side, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize(_this->u_iface, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11(_this->linux_side, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11(_this->u_iface, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t *pglTextureId, CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t *pglTextureId, CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL(_this->linux_side, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL(_this->u_iface, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(_this->linux_side, hTrackedCamera, glTextureId); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(_this->u_iface, hTrackedCamera, glTextureId); return _ret; } @@ -559,24 +540,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRTrackedCamera_IVRTrackedCamera_003 *create_winIVRTrackedCamera_IVRTrackedCamera_003(void *linux_side) +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_003(void *u_iface) { - winIVRTrackedCamera_IVRTrackedCamera_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_003)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_003_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRTrackedCamera_IVRTrackedCamera_003(void *object) +void destroy_winIVRTrackedCamera_IVRTrackedCamera_003(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRTrackedCamera_IVRTrackedCamera_003 *create_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(void *u_iface) { - winIVRTrackedCamera_IVRTrackedCamera_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_003)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(12); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 12 * sizeof(*vtable)); int i; @@ -596,27 +577,21 @@ winIVRTrackedCamera_IVRTrackedCamera_003 *create_winIVRTrackedCamera_IVRTrackedC init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); for (i = 0; i < 12; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(void *object) +void destroy_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(struct w_steam_iface *object) { - winIVRTrackedCamera_IVRTrackedCamera_003 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRTrackedCamera_IVRTrackedCamera_004.h" -typedef struct __winIVRTrackedCamera_IVRTrackedCamera_004 { - vtable_ptr *vtable; - void *linux_side; -} winIVRTrackedCamera_IVRTrackedCamera_004; - DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum, 8) DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_HasCamera, 12) DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize, 24) @@ -630,99 +605,99 @@ DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamT DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL, 28) DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL, 16) -const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, EVRTrackedCameraError eCameraError) +const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum(struct w_steam_iface *_this, EVRTrackedCameraError eCameraError) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum(_this->linux_side, eCameraError); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum(_this->u_iface, eCameraError); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_HasCamera(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_HasCamera(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_HasCamera(_this->linux_side, nDeviceIndex, pHasCamera); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_HasCamera(_this->u_iface, nDeviceIndex, pHasCamera); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize(_this->linux_side, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize(_this->u_iface, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics(_this->linux_side, nDeviceIndex, eFrameType, pFocalLength, pCenter); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics(_this->u_iface, nDeviceIndex, eFrameType, pFocalLength, pCenter); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t *pProjection) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t *pProjection) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection(_this->linux_side, nDeviceIndex, eFrameType, flZNear, flZFar, pProjection); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection(_this->u_iface, nDeviceIndex, eFrameType, flZNear, flZFar, pProjection); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t *pHandle) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t *pHandle) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService(_this->linux_side, nDeviceIndex, pHandle); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService(_this->u_iface, nDeviceIndex, pHandle); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedCameraHandle_t hTrackedCamera) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService(_this->linux_side, hTrackedCamera); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService(_this->u_iface, hTrackedCamera); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer(_this->linux_side, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer(_this->u_iface, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t *pTextureBounds, uint32_t *pnWidth, uint32_t *pnHeight) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t *pTextureBounds, uint32_t *pnWidth, uint32_t *pnHeight) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize(_this->linux_side, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize(_this->u_iface, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11(_this->linux_side, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11(_this->u_iface, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t *pglTextureId, winCameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t *pglTextureId, winCameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL(_this->linux_side, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL(_this->u_iface, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(_this->linux_side, hTrackedCamera, glTextureId); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(_this->u_iface, hTrackedCamera, glTextureId); return _ret; } @@ -749,24 +724,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRTrackedCamera_IVRTrackedCamera_004 *create_winIVRTrackedCamera_IVRTrackedCamera_004(void *linux_side) +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_004(void *u_iface) { - winIVRTrackedCamera_IVRTrackedCamera_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_004)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_004_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRTrackedCamera_IVRTrackedCamera_004(void *object) +void destroy_winIVRTrackedCamera_IVRTrackedCamera_004(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRTrackedCamera_IVRTrackedCamera_004 *create_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable(void *u_iface) { - winIVRTrackedCamera_IVRTrackedCamera_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_004)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(12); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 12 * sizeof(*vtable)); int i; @@ -786,27 +761,21 @@ winIVRTrackedCamera_IVRTrackedCamera_004 *create_winIVRTrackedCamera_IVRTrackedC init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); for (i = 0; i < 12; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable(void *object) +void destroy_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable(struct w_steam_iface *object) { - winIVRTrackedCamera_IVRTrackedCamera_004 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRTrackedCamera_IVRTrackedCamera_005.h" -typedef struct __winIVRTrackedCamera_IVRTrackedCamera_005 { - vtable_ptr *vtable; - void *linux_side; -} winIVRTrackedCamera_IVRTrackedCamera_005; - DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum, 8) DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_HasCamera, 12) DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize, 24) @@ -820,99 +789,99 @@ DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamT DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL, 28) DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL, 16) -const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, EVRTrackedCameraError eCameraError) +const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum(struct w_steam_iface *_this, EVRTrackedCameraError eCameraError) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum(_this->linux_side, eCameraError); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum(_this->u_iface, eCameraError); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_HasCamera(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_HasCamera(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_HasCamera(_this->linux_side, nDeviceIndex, pHasCamera); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_HasCamera(_this->u_iface, nDeviceIndex, pHasCamera); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize(_this->linux_side, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize(_this->u_iface, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics(_this->linux_side, nDeviceIndex, nCameraIndex, eFrameType, pFocalLength, pCenter); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics(_this->u_iface, nDeviceIndex, nCameraIndex, eFrameType, pFocalLength, pCenter); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t *pProjection) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t *pProjection) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection(_this->linux_side, nDeviceIndex, nCameraIndex, eFrameType, flZNear, flZFar, pProjection); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection(_this->u_iface, nDeviceIndex, nCameraIndex, eFrameType, flZNear, flZFar, pProjection); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t *pHandle) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t *pHandle) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService(_this->linux_side, nDeviceIndex, pHandle); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService(_this->u_iface, nDeviceIndex, pHandle); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedCameraHandle_t hTrackedCamera) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService(_this->linux_side, hTrackedCamera); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService(_this->u_iface, hTrackedCamera); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1610 *pFrameHeader, uint32_t nFrameHeaderSize) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1610 *pFrameHeader, uint32_t nFrameHeaderSize) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer(_this->linux_side, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer(_this->u_iface, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t *pTextureBounds, uint32_t *pnWidth, uint32_t *pnHeight) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t *pTextureBounds, uint32_t *pnWidth, uint32_t *pnHeight) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize(_this->linux_side, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize(_this->u_iface, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1610 *pFrameHeader, uint32_t nFrameHeaderSize) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1610 *pFrameHeader, uint32_t nFrameHeaderSize) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11(_this->linux_side, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11(_this->u_iface, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t *pglTextureId, winCameraVideoStreamFrameHeader_t_1610 *pFrameHeader, uint32_t nFrameHeaderSize) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t *pglTextureId, winCameraVideoStreamFrameHeader_t_1610 *pFrameHeader, uint32_t nFrameHeaderSize) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL(_this->linux_side, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL(_this->u_iface, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(_this->linux_side, hTrackedCamera, glTextureId); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(_this->u_iface, hTrackedCamera, glTextureId); return _ret; } @@ -939,24 +908,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRTrackedCamera_IVRTrackedCamera_005 *create_winIVRTrackedCamera_IVRTrackedCamera_005(void *linux_side) +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_005(void *u_iface) { - winIVRTrackedCamera_IVRTrackedCamera_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_005)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_005_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRTrackedCamera_IVRTrackedCamera_005(void *object) +void destroy_winIVRTrackedCamera_IVRTrackedCamera_005(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRTrackedCamera_IVRTrackedCamera_005 *create_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable(void *u_iface) { - winIVRTrackedCamera_IVRTrackedCamera_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_005)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(12); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 12 * sizeof(*vtable)); int i; @@ -976,27 +945,21 @@ winIVRTrackedCamera_IVRTrackedCamera_005 *create_winIVRTrackedCamera_IVRTrackedC init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); for (i = 0; i < 12; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable(void *object) +void destroy_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable(struct w_steam_iface *object) { - winIVRTrackedCamera_IVRTrackedCamera_005 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } #include "cppIVRTrackedCamera_IVRTrackedCamera_006.h" -typedef struct __winIVRTrackedCamera_IVRTrackedCamera_006 { - vtable_ptr *vtable; - void *linux_side; -} winIVRTrackedCamera_IVRTrackedCamera_006; - DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum, 8) DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_HasCamera, 12) DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize, 24) @@ -1012,113 +975,113 @@ DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStr DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace, 8) DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace, 4) -const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, EVRTrackedCameraError eCameraError) +const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum(struct w_steam_iface *_this, EVRTrackedCameraError eCameraError) { const char * _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum(_this->linux_side, eCameraError); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum(_this->u_iface, eCameraError); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_HasCamera(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_HasCamera(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_HasCamera(_this->linux_side, nDeviceIndex, pHasCamera); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_HasCamera(_this->u_iface, nDeviceIndex, pHasCamera); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize(_this->linux_side, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize(_this->u_iface, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics(_this->linux_side, nDeviceIndex, nCameraIndex, eFrameType, pFocalLength, pCenter); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics(_this->u_iface, nDeviceIndex, nCameraIndex, eFrameType, pFocalLength, pCenter); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t *pProjection) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t *pProjection) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection(_this->linux_side, nDeviceIndex, nCameraIndex, eFrameType, flZNear, flZFar, pProjection); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection(_this->u_iface, nDeviceIndex, nCameraIndex, eFrameType, flZNear, flZFar, pProjection); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t *pHandle) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t *pHandle) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService(_this->linux_side, nDeviceIndex, pHandle); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService(_this->u_iface, nDeviceIndex, pHandle); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedCameraHandle_t hTrackedCamera) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService(_this->linux_side, hTrackedCamera); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService(_this->u_iface, hTrackedCamera); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1267 *pFrameHeader, uint32_t nFrameHeaderSize) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1267 *pFrameHeader, uint32_t nFrameHeaderSize) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer(_this->linux_side, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer(_this->u_iface, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t *pTextureBounds, uint32_t *pnWidth, uint32_t *pnHeight) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t *pTextureBounds, uint32_t *pnWidth, uint32_t *pnHeight) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize(_this->linux_side, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize(_this->u_iface, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1267 *pFrameHeader, uint32_t nFrameHeaderSize) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1267 *pFrameHeader, uint32_t nFrameHeaderSize) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11(_this->linux_side, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11(_this->u_iface, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t *pglTextureId, winCameraVideoStreamFrameHeader_t_1267 *pFrameHeader, uint32_t nFrameHeaderSize) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t *pglTextureId, winCameraVideoStreamFrameHeader_t_1267 *pFrameHeader, uint32_t nFrameHeaderSize) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL(_this->linux_side, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL(_this->u_iface, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); return _ret; } -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) { EVRTrackedCameraError _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(_this->linux_side, hTrackedCamera, glTextureId); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(_this->u_iface, hTrackedCamera, glTextureId); return _ret; } -void __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, ETrackingUniverseOrigin eUniverse) +void __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eUniverse) { TRACE("%p\n", _this); - cppIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace(_this->linux_side, eUniverse); + cppIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace(_this->u_iface, eUniverse); } -ETrackingUniverseOrigin __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace(winIVRTrackedCamera_IVRTrackedCamera_006 *_this) +ETrackingUniverseOrigin __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace(struct w_steam_iface *_this) { ETrackingUniverseOrigin _ret; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace(_this->linux_side); + _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace(_this->u_iface); return _ret; } @@ -1147,24 +1110,24 @@ void __asm_dummy_vtables(void) { } #endif -winIVRTrackedCamera_IVRTrackedCamera_006 *create_winIVRTrackedCamera_IVRTrackedCamera_006(void *linux_side) +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_006(void *u_iface) { - winIVRTrackedCamera_IVRTrackedCamera_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_006)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_006_vtable; - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -void destroy_winIVRTrackedCamera_IVRTrackedCamera_006(void *object) +void destroy_winIVRTrackedCamera_IVRTrackedCamera_006(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRTrackedCamera_IVRTrackedCamera_006 *create_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable(void *linux_side) +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable(void *u_iface) { - winIVRTrackedCamera_IVRTrackedCamera_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_006)); + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); struct thunk *thunks = alloc_thunks(14); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 14 * sizeof(*vtable)); int i; @@ -1186,17 +1149,16 @@ winIVRTrackedCamera_IVRTrackedCamera_006 *create_winIVRTrackedCamera_IVRTrackedC init_thunk(&thunks[13], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace, 0, FALSE, FALSE); for (i = 0; i < 14; i++) vtable[i] = &thunks[i]; - r->linux_side = linux_side; + r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } -void destroy_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable(void *object) +void destroy_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable(struct w_steam_iface *object) { - winIVRTrackedCamera_IVRTrackedCamera_006 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); + TRACE("%p\n", object); + VirtualFree(object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, object->vtable); + HeapFree(GetProcessHeap(), 0, object); } diff --git a/vrclient_x64/vrclient_x64/win_constructors.h b/vrclient_x64/vrclient_x64/win_constructors.h index e0829cb6..116ca926 100644 --- a/vrclient_x64/vrclient_x64/win_constructors.h +++ b/vrclient_x64/vrclient_x64/win_constructors.h @@ -1,214 +1,214 @@ -extern void *create_winIVRApplications_IVRApplications_001(void *); -extern void *create_winIVRApplications_IVRApplications_001_FnTable(void *); -extern void *create_winIVRApplications_IVRApplications_002(void *); -extern void *create_winIVRApplications_IVRApplications_002_FnTable(void *); -extern void *create_winIVRApplications_IVRApplications_003(void *); -extern void *create_winIVRApplications_IVRApplications_003_FnTable(void *); -extern void *create_winIVRApplications_IVRApplications_004(void *); -extern void *create_winIVRApplications_IVRApplications_004_FnTable(void *); -extern void *create_winIVRApplications_IVRApplications_005(void *); -extern void *create_winIVRApplications_IVRApplications_005_FnTable(void *); -extern void *create_winIVRApplications_IVRApplications_006(void *); -extern void *create_winIVRApplications_IVRApplications_006_FnTable(void *); -extern void *create_winIVRApplications_IVRApplications_007(void *); -extern void *create_winIVRApplications_IVRApplications_007_FnTable(void *); -extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_004(void *); -extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(void *); -extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_005(void *); -extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable(void *); -extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_006(void *); -extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable(void *); -extern void *create_winIVRChaperone_IVRChaperone_002(void *); -extern void *create_winIVRChaperone_IVRChaperone_002_FnTable(void *); -extern void *create_winIVRChaperone_IVRChaperone_003(void *); -extern void *create_winIVRChaperone_IVRChaperone_003_FnTable(void *); -extern void *create_winIVRChaperone_IVRChaperone_004(void *); -extern void *create_winIVRChaperone_IVRChaperone_004_FnTable(void *); -extern void *create_winIVRClientCore_IVRClientCore_002(void *); -extern void *create_winIVRClientCore_IVRClientCore_002_FnTable(void *); -extern void *create_winIVRClientCore_IVRClientCore_003(void *); -extern void *create_winIVRClientCore_IVRClientCore_003_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_005(void *); -extern void *create_winIVRCompositor_IVRCompositor_005_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_006(void *); -extern void *create_winIVRCompositor_IVRCompositor_006_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_007(void *); -extern void *create_winIVRCompositor_IVRCompositor_007_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_008(void *); -extern void *create_winIVRCompositor_IVRCompositor_008_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_009(void *); -extern void *create_winIVRCompositor_IVRCompositor_009_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_010(void *); -extern void *create_winIVRCompositor_IVRCompositor_010_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_011(void *); -extern void *create_winIVRCompositor_IVRCompositor_011_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_012(void *); -extern void *create_winIVRCompositor_IVRCompositor_012_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_013(void *); -extern void *create_winIVRCompositor_IVRCompositor_013_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_014(void *); -extern void *create_winIVRCompositor_IVRCompositor_014_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_015(void *); -extern void *create_winIVRCompositor_IVRCompositor_015_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_016(void *); -extern void *create_winIVRCompositor_IVRCompositor_016_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_017(void *); -extern void *create_winIVRCompositor_IVRCompositor_017_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_018(void *); -extern void *create_winIVRCompositor_IVRCompositor_018_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_019(void *); -extern void *create_winIVRCompositor_IVRCompositor_019_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_020(void *); -extern void *create_winIVRCompositor_IVRCompositor_020_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_021(void *); -extern void *create_winIVRCompositor_IVRCompositor_021_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_022(void *); -extern void *create_winIVRCompositor_IVRCompositor_022_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_024(void *); -extern void *create_winIVRCompositor_IVRCompositor_024_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_026(void *); -extern void *create_winIVRCompositor_IVRCompositor_026_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_027(void *); -extern void *create_winIVRCompositor_IVRCompositor_027_FnTable(void *); -extern void *create_winIVRControlPanel_IVRControlPanel_006(void *); -extern void *create_winIVRControlPanel_IVRControlPanel_006_FnTable(void *); -extern void *create_winIVRDriverManager_IVRDriverManager_001(void *); -extern void *create_winIVRDriverManager_IVRDriverManager_001_FnTable(void *); -extern void *create_winIVRExtendedDisplay_IVRExtendedDisplay_001(void *); -extern void *create_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable(void *); -extern void *create_winIVRHeadsetView_IVRHeadsetView_001(void *); -extern void *create_winIVRHeadsetView_IVRHeadsetView_001_FnTable(void *); -extern void *create_winIVRIOBuffer_IVRIOBuffer_001(void *); -extern void *create_winIVRIOBuffer_IVRIOBuffer_001_FnTable(void *); -extern void *create_winIVRIOBuffer_IVRIOBuffer_002(void *); -extern void *create_winIVRIOBuffer_IVRIOBuffer_002_FnTable(void *); -extern void *create_winIVRInput_IVRInput_003(void *); -extern void *create_winIVRInput_IVRInput_003_FnTable(void *); -extern void *create_winIVRInput_IVRInput_004(void *); -extern void *create_winIVRInput_IVRInput_004_FnTable(void *); -extern void *create_winIVRInput_IVRInput_005(void *); -extern void *create_winIVRInput_IVRInput_005_FnTable(void *); -extern void *create_winIVRInput_IVRInput_006(void *); -extern void *create_winIVRInput_IVRInput_006_FnTable(void *); -extern void *create_winIVRInput_IVRInput_007(void *); -extern void *create_winIVRInput_IVRInput_007_FnTable(void *); -extern void *create_winIVRInput_IVRInput_010(void *); -extern void *create_winIVRInput_IVRInput_010_FnTable(void *); -extern void *create_winIVRMailbox_IVRMailbox_001(void *); -extern void *create_winIVRMailbox_IVRMailbox_001_FnTable(void *); -extern void *create_winIVRNotifications_IVRNotifications_001(void *); -extern void *create_winIVRNotifications_IVRNotifications_001_FnTable(void *); -extern void *create_winIVRNotifications_IVRNotifications_002(void *); -extern void *create_winIVRNotifications_IVRNotifications_002_FnTable(void *); -extern void *create_winIVROverlayView_IVROverlayView_003(void *); -extern void *create_winIVROverlayView_IVROverlayView_003_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_001(void *); -extern void *create_winIVROverlay_IVROverlay_001_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_002(void *); -extern void *create_winIVROverlay_IVROverlay_002_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_003(void *); -extern void *create_winIVROverlay_IVROverlay_003_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_004(void *); -extern void *create_winIVROverlay_IVROverlay_004_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_005(void *); -extern void *create_winIVROverlay_IVROverlay_005_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_007(void *); -extern void *create_winIVROverlay_IVROverlay_007_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_008(void *); -extern void *create_winIVROverlay_IVROverlay_008_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_010(void *); -extern void *create_winIVROverlay_IVROverlay_010_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_011(void *); -extern void *create_winIVROverlay_IVROverlay_011_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_012(void *); -extern void *create_winIVROverlay_IVROverlay_012_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_013(void *); -extern void *create_winIVROverlay_IVROverlay_013_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_014(void *); -extern void *create_winIVROverlay_IVROverlay_014_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_016(void *); -extern void *create_winIVROverlay_IVROverlay_016_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_017(void *); -extern void *create_winIVROverlay_IVROverlay_017_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_018(void *); -extern void *create_winIVROverlay_IVROverlay_018_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_019(void *); -extern void *create_winIVROverlay_IVROverlay_019_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_020(void *); -extern void *create_winIVROverlay_IVROverlay_020_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_021(void *); -extern void *create_winIVROverlay_IVROverlay_021_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_022(void *); -extern void *create_winIVROverlay_IVROverlay_022_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_024(void *); -extern void *create_winIVROverlay_IVROverlay_024_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_025(void *); -extern void *create_winIVROverlay_IVROverlay_025_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_026(void *); -extern void *create_winIVROverlay_IVROverlay_026_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_027(void *); -extern void *create_winIVROverlay_IVROverlay_027_FnTable(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_001(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_001_FnTable(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_002(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_002_FnTable(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_004(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_004_FnTable(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_005(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_005_FnTable(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_006(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_006_FnTable(void *); -extern void *create_winIVRResources_IVRResources_001(void *); -extern void *create_winIVRResources_IVRResources_001_FnTable(void *); -extern void *create_winIVRScreenshots_IVRScreenshots_001(void *); -extern void *create_winIVRScreenshots_IVRScreenshots_001_FnTable(void *); -extern void *create_winIVRSettings_IVRSettings_001(void *); -extern void *create_winIVRSettings_IVRSettings_001_FnTable(void *); -extern void *create_winIVRSettings_IVRSettings_002(void *); -extern void *create_winIVRSettings_IVRSettings_002_FnTable(void *); -extern void *create_winIVRSettings_IVRSettings_003(void *); -extern void *create_winIVRSettings_IVRSettings_003_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_003(void *); -extern void *create_winIVRSystem_IVRSystem_003_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_004(void *); -extern void *create_winIVRSystem_IVRSystem_004_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_005(void *); -extern void *create_winIVRSystem_IVRSystem_005_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_006(void *); -extern void *create_winIVRSystem_IVRSystem_006_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_009(void *); -extern void *create_winIVRSystem_IVRSystem_009_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_010(void *); -extern void *create_winIVRSystem_IVRSystem_010_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_011(void *); -extern void *create_winIVRSystem_IVRSystem_011_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_012(void *); -extern void *create_winIVRSystem_IVRSystem_012_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_014(void *); -extern void *create_winIVRSystem_IVRSystem_014_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_015(void *); -extern void *create_winIVRSystem_IVRSystem_015_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_016(void *); -extern void *create_winIVRSystem_IVRSystem_016_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_017(void *); -extern void *create_winIVRSystem_IVRSystem_017_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_019(void *); -extern void *create_winIVRSystem_IVRSystem_019_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_020(void *); -extern void *create_winIVRSystem_IVRSystem_020_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_021(void *); -extern void *create_winIVRSystem_IVRSystem_021_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_022(void *); -extern void *create_winIVRSystem_IVRSystem_022_FnTable(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_001(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_002(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_003(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_004(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_005(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_006(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable(void *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_001(void *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_001_FnTable(void *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_002(void *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_002_FnTable(void *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_003(void *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_003_FnTable(void *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_004(void *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_004_FnTable(void *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_005(void *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_005_FnTable(void *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_006(void *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_006_FnTable(void *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_007(void *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_007_FnTable(void *); +extern struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_004(void *); +extern struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(void *); +extern struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_005(void *); +extern struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable(void *); +extern struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_006(void *); +extern struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable(void *); +extern struct w_steam_iface *create_winIVRChaperone_IVRChaperone_002(void *); +extern struct w_steam_iface *create_winIVRChaperone_IVRChaperone_002_FnTable(void *); +extern struct w_steam_iface *create_winIVRChaperone_IVRChaperone_003(void *); +extern struct w_steam_iface *create_winIVRChaperone_IVRChaperone_003_FnTable(void *); +extern struct w_steam_iface *create_winIVRChaperone_IVRChaperone_004(void *); +extern struct w_steam_iface *create_winIVRChaperone_IVRChaperone_004_FnTable(void *); +extern struct w_steam_iface *create_winIVRClientCore_IVRClientCore_002(void *); +extern struct w_steam_iface *create_winIVRClientCore_IVRClientCore_002_FnTable(void *); +extern struct w_steam_iface *create_winIVRClientCore_IVRClientCore_003(void *); +extern struct w_steam_iface *create_winIVRClientCore_IVRClientCore_003_FnTable(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_005(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_005_FnTable(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_006(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_006_FnTable(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_007(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_007_FnTable(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_008(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_008_FnTable(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_009(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_009_FnTable(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_010(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_010_FnTable(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_011(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_011_FnTable(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_012(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_012_FnTable(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_013(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_013_FnTable(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_014(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_014_FnTable(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_015(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_015_FnTable(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_016(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_016_FnTable(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_017(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_017_FnTable(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_018(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_018_FnTable(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_019(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_019_FnTable(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_020(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_020_FnTable(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_021(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_021_FnTable(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_022(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_022_FnTable(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_024(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_024_FnTable(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_026(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_026_FnTable(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_027(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_027_FnTable(void *); +extern struct w_steam_iface *create_winIVRControlPanel_IVRControlPanel_006(void *); +extern struct w_steam_iface *create_winIVRControlPanel_IVRControlPanel_006_FnTable(void *); +extern struct w_steam_iface *create_winIVRDriverManager_IVRDriverManager_001(void *); +extern struct w_steam_iface *create_winIVRDriverManager_IVRDriverManager_001_FnTable(void *); +extern struct w_steam_iface *create_winIVRExtendedDisplay_IVRExtendedDisplay_001(void *); +extern struct w_steam_iface *create_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable(void *); +extern struct w_steam_iface *create_winIVRHeadsetView_IVRHeadsetView_001(void *); +extern struct w_steam_iface *create_winIVRHeadsetView_IVRHeadsetView_001_FnTable(void *); +extern struct w_steam_iface *create_winIVRIOBuffer_IVRIOBuffer_001(void *); +extern struct w_steam_iface *create_winIVRIOBuffer_IVRIOBuffer_001_FnTable(void *); +extern struct w_steam_iface *create_winIVRIOBuffer_IVRIOBuffer_002(void *); +extern struct w_steam_iface *create_winIVRIOBuffer_IVRIOBuffer_002_FnTable(void *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_003(void *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_003_FnTable(void *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_004(void *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_004_FnTable(void *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_005(void *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_005_FnTable(void *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_006(void *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_006_FnTable(void *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_007(void *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_007_FnTable(void *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_010(void *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_010_FnTable(void *); +extern struct w_steam_iface *create_winIVRMailbox_IVRMailbox_001(void *); +extern struct w_steam_iface *create_winIVRMailbox_IVRMailbox_001_FnTable(void *); +extern struct w_steam_iface *create_winIVRNotifications_IVRNotifications_001(void *); +extern struct w_steam_iface *create_winIVRNotifications_IVRNotifications_001_FnTable(void *); +extern struct w_steam_iface *create_winIVRNotifications_IVRNotifications_002(void *); +extern struct w_steam_iface *create_winIVRNotifications_IVRNotifications_002_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlayView_IVROverlayView_003(void *); +extern struct w_steam_iface *create_winIVROverlayView_IVROverlayView_003_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_001(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_001_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_002(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_002_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_003(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_003_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_004(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_004_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_005(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_005_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_007(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_007_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_008(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_008_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_010(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_010_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_011(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_011_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_012(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_012_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_013(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_013_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_014(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_014_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_016(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_016_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_017(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_017_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_018(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_018_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_019(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_019_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_020(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_020_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_021(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_021_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_022(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_022_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_024(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_024_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_025(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_025_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_026(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_026_FnTable(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_027(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_027_FnTable(void *); +extern struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_001(void *); +extern struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_001_FnTable(void *); +extern struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_002(void *); +extern struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_002_FnTable(void *); +extern struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_004(void *); +extern struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_004_FnTable(void *); +extern struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_005(void *); +extern struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_005_FnTable(void *); +extern struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_006(void *); +extern struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_006_FnTable(void *); +extern struct w_steam_iface *create_winIVRResources_IVRResources_001(void *); +extern struct w_steam_iface *create_winIVRResources_IVRResources_001_FnTable(void *); +extern struct w_steam_iface *create_winIVRScreenshots_IVRScreenshots_001(void *); +extern struct w_steam_iface *create_winIVRScreenshots_IVRScreenshots_001_FnTable(void *); +extern struct w_steam_iface *create_winIVRSettings_IVRSettings_001(void *); +extern struct w_steam_iface *create_winIVRSettings_IVRSettings_001_FnTable(void *); +extern struct w_steam_iface *create_winIVRSettings_IVRSettings_002(void *); +extern struct w_steam_iface *create_winIVRSettings_IVRSettings_002_FnTable(void *); +extern struct w_steam_iface *create_winIVRSettings_IVRSettings_003(void *); +extern struct w_steam_iface *create_winIVRSettings_IVRSettings_003_FnTable(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_003(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_003_FnTable(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_004(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_004_FnTable(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_005(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_005_FnTable(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_006(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_006_FnTable(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_009(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_009_FnTable(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_010(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_010_FnTable(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_011(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_011_FnTable(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_012(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_012_FnTable(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_014(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_014_FnTable(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_015(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_015_FnTable(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_016(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_016_FnTable(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_017(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_017_FnTable(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_019(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_019_FnTable(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_020(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_020_FnTable(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_021(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_021_FnTable(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_022(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_022_FnTable(void *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_001(void *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable(void *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_002(void *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(void *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_003(void *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(void *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_004(void *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable(void *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_005(void *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable(void *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_006(void *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable(void *); diff --git a/vrclient_x64/vrclient_x64/win_destructors.h b/vrclient_x64/vrclient_x64/win_destructors.h index 578a968a..24120481 100644 --- a/vrclient_x64/vrclient_x64/win_destructors.h +++ b/vrclient_x64/vrclient_x64/win_destructors.h @@ -1,214 +1,214 @@ -extern void destroy_winIVRApplications_IVRApplications_001(void *); -extern void destroy_winIVRApplications_IVRApplications_001_FnTable(void *); -extern void destroy_winIVRApplications_IVRApplications_002(void *); -extern void destroy_winIVRApplications_IVRApplications_002_FnTable(void *); -extern void destroy_winIVRApplications_IVRApplications_003(void *); -extern void destroy_winIVRApplications_IVRApplications_003_FnTable(void *); -extern void destroy_winIVRApplications_IVRApplications_004(void *); -extern void destroy_winIVRApplications_IVRApplications_004_FnTable(void *); -extern void destroy_winIVRApplications_IVRApplications_005(void *); -extern void destroy_winIVRApplications_IVRApplications_005_FnTable(void *); -extern void destroy_winIVRApplications_IVRApplications_006(void *); -extern void destroy_winIVRApplications_IVRApplications_006_FnTable(void *); -extern void destroy_winIVRApplications_IVRApplications_007(void *); -extern void destroy_winIVRApplications_IVRApplications_007_FnTable(void *); -extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004(void *); -extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(void *); -extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005(void *); -extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable(void *); -extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006(void *); -extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable(void *); -extern void destroy_winIVRChaperone_IVRChaperone_002(void *); -extern void destroy_winIVRChaperone_IVRChaperone_002_FnTable(void *); -extern void destroy_winIVRChaperone_IVRChaperone_003(void *); -extern void destroy_winIVRChaperone_IVRChaperone_003_FnTable(void *); -extern void destroy_winIVRChaperone_IVRChaperone_004(void *); -extern void destroy_winIVRChaperone_IVRChaperone_004_FnTable(void *); -extern void destroy_winIVRClientCore_IVRClientCore_002(void *); -extern void destroy_winIVRClientCore_IVRClientCore_002_FnTable(void *); -extern void destroy_winIVRClientCore_IVRClientCore_003(void *); -extern void destroy_winIVRClientCore_IVRClientCore_003_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_005(void *); -extern void destroy_winIVRCompositor_IVRCompositor_005_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_006(void *); -extern void destroy_winIVRCompositor_IVRCompositor_006_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_007(void *); -extern void destroy_winIVRCompositor_IVRCompositor_007_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_008(void *); -extern void destroy_winIVRCompositor_IVRCompositor_008_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_009(void *); -extern void destroy_winIVRCompositor_IVRCompositor_009_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_010(void *); -extern void destroy_winIVRCompositor_IVRCompositor_010_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_011(void *); -extern void destroy_winIVRCompositor_IVRCompositor_011_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_012(void *); -extern void destroy_winIVRCompositor_IVRCompositor_012_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_013(void *); -extern void destroy_winIVRCompositor_IVRCompositor_013_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_014(void *); -extern void destroy_winIVRCompositor_IVRCompositor_014_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_015(void *); -extern void destroy_winIVRCompositor_IVRCompositor_015_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_016(void *); -extern void destroy_winIVRCompositor_IVRCompositor_016_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_017(void *); -extern void destroy_winIVRCompositor_IVRCompositor_017_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_018(void *); -extern void destroy_winIVRCompositor_IVRCompositor_018_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_019(void *); -extern void destroy_winIVRCompositor_IVRCompositor_019_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_020(void *); -extern void destroy_winIVRCompositor_IVRCompositor_020_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_021(void *); -extern void destroy_winIVRCompositor_IVRCompositor_021_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_022(void *); -extern void destroy_winIVRCompositor_IVRCompositor_022_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_024(void *); -extern void destroy_winIVRCompositor_IVRCompositor_024_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_026(void *); -extern void destroy_winIVRCompositor_IVRCompositor_026_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_027(void *); -extern void destroy_winIVRCompositor_IVRCompositor_027_FnTable(void *); -extern void destroy_winIVRControlPanel_IVRControlPanel_006(void *); -extern void destroy_winIVRControlPanel_IVRControlPanel_006_FnTable(void *); -extern void destroy_winIVRDriverManager_IVRDriverManager_001(void *); -extern void destroy_winIVRDriverManager_IVRDriverManager_001_FnTable(void *); -extern void destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001(void *); -extern void destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable(void *); -extern void destroy_winIVRHeadsetView_IVRHeadsetView_001(void *); -extern void destroy_winIVRHeadsetView_IVRHeadsetView_001_FnTable(void *); -extern void destroy_winIVRIOBuffer_IVRIOBuffer_001(void *); -extern void destroy_winIVRIOBuffer_IVRIOBuffer_001_FnTable(void *); -extern void destroy_winIVRIOBuffer_IVRIOBuffer_002(void *); -extern void destroy_winIVRIOBuffer_IVRIOBuffer_002_FnTable(void *); -extern void destroy_winIVRInput_IVRInput_003(void *); -extern void destroy_winIVRInput_IVRInput_003_FnTable(void *); -extern void destroy_winIVRInput_IVRInput_004(void *); -extern void destroy_winIVRInput_IVRInput_004_FnTable(void *); -extern void destroy_winIVRInput_IVRInput_005(void *); -extern void destroy_winIVRInput_IVRInput_005_FnTable(void *); -extern void destroy_winIVRInput_IVRInput_006(void *); -extern void destroy_winIVRInput_IVRInput_006_FnTable(void *); -extern void destroy_winIVRInput_IVRInput_007(void *); -extern void destroy_winIVRInput_IVRInput_007_FnTable(void *); -extern void destroy_winIVRInput_IVRInput_010(void *); -extern void destroy_winIVRInput_IVRInput_010_FnTable(void *); -extern void destroy_winIVRMailbox_IVRMailbox_001(void *); -extern void destroy_winIVRMailbox_IVRMailbox_001_FnTable(void *); -extern void destroy_winIVRNotifications_IVRNotifications_001(void *); -extern void destroy_winIVRNotifications_IVRNotifications_001_FnTable(void *); -extern void destroy_winIVRNotifications_IVRNotifications_002(void *); -extern void destroy_winIVRNotifications_IVRNotifications_002_FnTable(void *); -extern void destroy_winIVROverlayView_IVROverlayView_003(void *); -extern void destroy_winIVROverlayView_IVROverlayView_003_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_001(void *); -extern void destroy_winIVROverlay_IVROverlay_001_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_002(void *); -extern void destroy_winIVROverlay_IVROverlay_002_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_003(void *); -extern void destroy_winIVROverlay_IVROverlay_003_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_004(void *); -extern void destroy_winIVROverlay_IVROverlay_004_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_005(void *); -extern void destroy_winIVROverlay_IVROverlay_005_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_007(void *); -extern void destroy_winIVROverlay_IVROverlay_007_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_008(void *); -extern void destroy_winIVROverlay_IVROverlay_008_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_010(void *); -extern void destroy_winIVROverlay_IVROverlay_010_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_011(void *); -extern void destroy_winIVROverlay_IVROverlay_011_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_012(void *); -extern void destroy_winIVROverlay_IVROverlay_012_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_013(void *); -extern void destroy_winIVROverlay_IVROverlay_013_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_014(void *); -extern void destroy_winIVROverlay_IVROverlay_014_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_016(void *); -extern void destroy_winIVROverlay_IVROverlay_016_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_017(void *); -extern void destroy_winIVROverlay_IVROverlay_017_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_018(void *); -extern void destroy_winIVROverlay_IVROverlay_018_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_019(void *); -extern void destroy_winIVROverlay_IVROverlay_019_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_020(void *); -extern void destroy_winIVROverlay_IVROverlay_020_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_021(void *); -extern void destroy_winIVROverlay_IVROverlay_021_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_022(void *); -extern void destroy_winIVROverlay_IVROverlay_022_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_024(void *); -extern void destroy_winIVROverlay_IVROverlay_024_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_025(void *); -extern void destroy_winIVROverlay_IVROverlay_025_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_026(void *); -extern void destroy_winIVROverlay_IVROverlay_026_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_027(void *); -extern void destroy_winIVROverlay_IVROverlay_027_FnTable(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_001(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_001_FnTable(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_002(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_002_FnTable(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_004(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_004_FnTable(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_005(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_005_FnTable(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_006(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_006_FnTable(void *); -extern void destroy_winIVRResources_IVRResources_001(void *); -extern void destroy_winIVRResources_IVRResources_001_FnTable(void *); -extern void destroy_winIVRScreenshots_IVRScreenshots_001(void *); -extern void destroy_winIVRScreenshots_IVRScreenshots_001_FnTable(void *); -extern void destroy_winIVRSettings_IVRSettings_001(void *); -extern void destroy_winIVRSettings_IVRSettings_001_FnTable(void *); -extern void destroy_winIVRSettings_IVRSettings_002(void *); -extern void destroy_winIVRSettings_IVRSettings_002_FnTable(void *); -extern void destroy_winIVRSettings_IVRSettings_003(void *); -extern void destroy_winIVRSettings_IVRSettings_003_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_003(void *); -extern void destroy_winIVRSystem_IVRSystem_003_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_004(void *); -extern void destroy_winIVRSystem_IVRSystem_004_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_005(void *); -extern void destroy_winIVRSystem_IVRSystem_005_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_006(void *); -extern void destroy_winIVRSystem_IVRSystem_006_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_009(void *); -extern void destroy_winIVRSystem_IVRSystem_009_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_010(void *); -extern void destroy_winIVRSystem_IVRSystem_010_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_011(void *); -extern void destroy_winIVRSystem_IVRSystem_011_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_012(void *); -extern void destroy_winIVRSystem_IVRSystem_012_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_014(void *); -extern void destroy_winIVRSystem_IVRSystem_014_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_015(void *); -extern void destroy_winIVRSystem_IVRSystem_015_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_016(void *); -extern void destroy_winIVRSystem_IVRSystem_016_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_017(void *); -extern void destroy_winIVRSystem_IVRSystem_017_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_019(void *); -extern void destroy_winIVRSystem_IVRSystem_019_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_020(void *); -extern void destroy_winIVRSystem_IVRSystem_020_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_021(void *); -extern void destroy_winIVRSystem_IVRSystem_021_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_022(void *); -extern void destroy_winIVRSystem_IVRSystem_022_FnTable(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_001(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_002(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_003(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_004(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_005(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_006(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable(void *); +extern void destroy_winIVRApplications_IVRApplications_001(struct w_steam_iface *); +extern void destroy_winIVRApplications_IVRApplications_001_FnTable(struct w_steam_iface *); +extern void destroy_winIVRApplications_IVRApplications_002(struct w_steam_iface *); +extern void destroy_winIVRApplications_IVRApplications_002_FnTable(struct w_steam_iface *); +extern void destroy_winIVRApplications_IVRApplications_003(struct w_steam_iface *); +extern void destroy_winIVRApplications_IVRApplications_003_FnTable(struct w_steam_iface *); +extern void destroy_winIVRApplications_IVRApplications_004(struct w_steam_iface *); +extern void destroy_winIVRApplications_IVRApplications_004_FnTable(struct w_steam_iface *); +extern void destroy_winIVRApplications_IVRApplications_005(struct w_steam_iface *); +extern void destroy_winIVRApplications_IVRApplications_005_FnTable(struct w_steam_iface *); +extern void destroy_winIVRApplications_IVRApplications_006(struct w_steam_iface *); +extern void destroy_winIVRApplications_IVRApplications_006_FnTable(struct w_steam_iface *); +extern void destroy_winIVRApplications_IVRApplications_007(struct w_steam_iface *); +extern void destroy_winIVRApplications_IVRApplications_007_FnTable(struct w_steam_iface *); +extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004(struct w_steam_iface *); +extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(struct w_steam_iface *); +extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005(struct w_steam_iface *); +extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable(struct w_steam_iface *); +extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006(struct w_steam_iface *); +extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable(struct w_steam_iface *); +extern void destroy_winIVRChaperone_IVRChaperone_002(struct w_steam_iface *); +extern void destroy_winIVRChaperone_IVRChaperone_002_FnTable(struct w_steam_iface *); +extern void destroy_winIVRChaperone_IVRChaperone_003(struct w_steam_iface *); +extern void destroy_winIVRChaperone_IVRChaperone_003_FnTable(struct w_steam_iface *); +extern void destroy_winIVRChaperone_IVRChaperone_004(struct w_steam_iface *); +extern void destroy_winIVRChaperone_IVRChaperone_004_FnTable(struct w_steam_iface *); +extern void destroy_winIVRClientCore_IVRClientCore_002(struct w_steam_iface *); +extern void destroy_winIVRClientCore_IVRClientCore_002_FnTable(struct w_steam_iface *); +extern void destroy_winIVRClientCore_IVRClientCore_003(struct w_steam_iface *); +extern void destroy_winIVRClientCore_IVRClientCore_003_FnTable(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_005(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_005_FnTable(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_006(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_006_FnTable(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_007(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_007_FnTable(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_008(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_008_FnTable(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_009(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_009_FnTable(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_010(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_010_FnTable(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_011(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_011_FnTable(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_012(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_012_FnTable(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_013(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_013_FnTable(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_014(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_014_FnTable(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_015(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_015_FnTable(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_016(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_016_FnTable(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_017(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_017_FnTable(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_018(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_018_FnTable(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_019(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_019_FnTable(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_020(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_020_FnTable(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_021(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_021_FnTable(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_022(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_022_FnTable(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_024(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_024_FnTable(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_026(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_026_FnTable(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_027(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_027_FnTable(struct w_steam_iface *); +extern void destroy_winIVRControlPanel_IVRControlPanel_006(struct w_steam_iface *); +extern void destroy_winIVRControlPanel_IVRControlPanel_006_FnTable(struct w_steam_iface *); +extern void destroy_winIVRDriverManager_IVRDriverManager_001(struct w_steam_iface *); +extern void destroy_winIVRDriverManager_IVRDriverManager_001_FnTable(struct w_steam_iface *); +extern void destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001(struct w_steam_iface *); +extern void destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable(struct w_steam_iface *); +extern void destroy_winIVRHeadsetView_IVRHeadsetView_001(struct w_steam_iface *); +extern void destroy_winIVRHeadsetView_IVRHeadsetView_001_FnTable(struct w_steam_iface *); +extern void destroy_winIVRIOBuffer_IVRIOBuffer_001(struct w_steam_iface *); +extern void destroy_winIVRIOBuffer_IVRIOBuffer_001_FnTable(struct w_steam_iface *); +extern void destroy_winIVRIOBuffer_IVRIOBuffer_002(struct w_steam_iface *); +extern void destroy_winIVRIOBuffer_IVRIOBuffer_002_FnTable(struct w_steam_iface *); +extern void destroy_winIVRInput_IVRInput_003(struct w_steam_iface *); +extern void destroy_winIVRInput_IVRInput_003_FnTable(struct w_steam_iface *); +extern void destroy_winIVRInput_IVRInput_004(struct w_steam_iface *); +extern void destroy_winIVRInput_IVRInput_004_FnTable(struct w_steam_iface *); +extern void destroy_winIVRInput_IVRInput_005(struct w_steam_iface *); +extern void destroy_winIVRInput_IVRInput_005_FnTable(struct w_steam_iface *); +extern void destroy_winIVRInput_IVRInput_006(struct w_steam_iface *); +extern void destroy_winIVRInput_IVRInput_006_FnTable(struct w_steam_iface *); +extern void destroy_winIVRInput_IVRInput_007(struct w_steam_iface *); +extern void destroy_winIVRInput_IVRInput_007_FnTable(struct w_steam_iface *); +extern void destroy_winIVRInput_IVRInput_010(struct w_steam_iface *); +extern void destroy_winIVRInput_IVRInput_010_FnTable(struct w_steam_iface *); +extern void destroy_winIVRMailbox_IVRMailbox_001(struct w_steam_iface *); +extern void destroy_winIVRMailbox_IVRMailbox_001_FnTable(struct w_steam_iface *); +extern void destroy_winIVRNotifications_IVRNotifications_001(struct w_steam_iface *); +extern void destroy_winIVRNotifications_IVRNotifications_001_FnTable(struct w_steam_iface *); +extern void destroy_winIVRNotifications_IVRNotifications_002(struct w_steam_iface *); +extern void destroy_winIVRNotifications_IVRNotifications_002_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlayView_IVROverlayView_003(struct w_steam_iface *); +extern void destroy_winIVROverlayView_IVROverlayView_003_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_001(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_001_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_002(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_002_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_003(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_003_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_004(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_004_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_005(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_005_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_007(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_007_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_008(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_008_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_010(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_010_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_011(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_011_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_012(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_012_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_013(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_013_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_014(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_014_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_016(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_016_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_017(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_017_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_018(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_018_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_019(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_019_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_020(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_020_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_021(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_021_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_022(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_022_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_024(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_024_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_025(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_025_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_026(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_026_FnTable(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_027(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_027_FnTable(struct w_steam_iface *); +extern void destroy_winIVRRenderModels_IVRRenderModels_001(struct w_steam_iface *); +extern void destroy_winIVRRenderModels_IVRRenderModels_001_FnTable(struct w_steam_iface *); +extern void destroy_winIVRRenderModels_IVRRenderModels_002(struct w_steam_iface *); +extern void destroy_winIVRRenderModels_IVRRenderModels_002_FnTable(struct w_steam_iface *); +extern void destroy_winIVRRenderModels_IVRRenderModels_004(struct w_steam_iface *); +extern void destroy_winIVRRenderModels_IVRRenderModels_004_FnTable(struct w_steam_iface *); +extern void destroy_winIVRRenderModels_IVRRenderModels_005(struct w_steam_iface *); +extern void destroy_winIVRRenderModels_IVRRenderModels_005_FnTable(struct w_steam_iface *); +extern void destroy_winIVRRenderModels_IVRRenderModels_006(struct w_steam_iface *); +extern void destroy_winIVRRenderModels_IVRRenderModels_006_FnTable(struct w_steam_iface *); +extern void destroy_winIVRResources_IVRResources_001(struct w_steam_iface *); +extern void destroy_winIVRResources_IVRResources_001_FnTable(struct w_steam_iface *); +extern void destroy_winIVRScreenshots_IVRScreenshots_001(struct w_steam_iface *); +extern void destroy_winIVRScreenshots_IVRScreenshots_001_FnTable(struct w_steam_iface *); +extern void destroy_winIVRSettings_IVRSettings_001(struct w_steam_iface *); +extern void destroy_winIVRSettings_IVRSettings_001_FnTable(struct w_steam_iface *); +extern void destroy_winIVRSettings_IVRSettings_002(struct w_steam_iface *); +extern void destroy_winIVRSettings_IVRSettings_002_FnTable(struct w_steam_iface *); +extern void destroy_winIVRSettings_IVRSettings_003(struct w_steam_iface *); +extern void destroy_winIVRSettings_IVRSettings_003_FnTable(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_003(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_003_FnTable(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_004(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_004_FnTable(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_005(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_005_FnTable(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_006(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_006_FnTable(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_009(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_009_FnTable(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_010(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_010_FnTable(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_011(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_011_FnTable(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_012(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_012_FnTable(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_014(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_014_FnTable(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_015(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_015_FnTable(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_016(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_016_FnTable(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_017(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_017_FnTable(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_019(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_019_FnTable(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_020(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_020_FnTable(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_021(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_021_FnTable(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_022(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_022_FnTable(struct w_steam_iface *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_001(struct w_steam_iface *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable(struct w_steam_iface *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_002(struct w_steam_iface *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(struct w_steam_iface *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_003(struct w_steam_iface *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(struct w_steam_iface *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_004(struct w_steam_iface *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable(struct w_steam_iface *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_005(struct w_steam_iface *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable(struct w_steam_iface *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_006(struct w_steam_iface *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable(struct w_steam_iface *);