diff --git a/vrclient_x64/gen_wrapper.py b/vrclient_x64/gen_wrapper.py index 0c831ecb..8b953115 100755 --- a/vrclient_x64/gen_wrapper.py +++ b/vrclient_x64/gen_wrapper.py @@ -346,35 +346,42 @@ def declspec(decl, name): def handle_method_hpp(method, cppname, out): - ret = f'{declspec(method.result_type, "")} ' + returns_record = method.result_type.get_canonical().kind == TypeKind.RECORD - params = [declspec(p, "") for p in method.get_arguments()] - params = ['void *'] + params - - out(f'extern {ret}{cppname}_{method.name}({", ".join(params)});\n') - - -def handle_method_cpp(method, classname, cppname, out): - returns_void = method.result_type.kind == TypeKind.VOID - - ret = f'{declspec(method.result_type, "")} ' + ret = "*_ret" if returns_record else "_ret" + ret = f'{declspec(method.result_type, ret)}' names = [p.spelling if p.spelling != "" else f'_{chr(0x61 + i)}' for i, p in enumerate(method.get_arguments())] params = [declspec(p, names[i]) for i, p in enumerate(method.get_arguments())] + if method.result_type.kind != TypeKind.VOID: + params = [ret] + params + params = ['void *linux_side'] + params + + out(f'struct {cppname}_{method.name}_params\n') + out(u'{\n') + for param in params: + out(f' {param};\n') + out(u'};\n') + out(f'extern void {cppname}_{method.name}( struct {cppname}_{method.name}_params *params );\n\n') + + +def handle_method_cpp(method, classname, cppname, out): + returns_void = method.result_type.kind == TypeKind.VOID + returns_record = method.result_type.get_canonical().kind == TypeKind.RECORD + + names = [p.spelling if p.spelling != "" else f'_{chr(0x61 + i)}' + for i, p in enumerate(method.get_arguments())] + need_convert = {n: p for n, p in zip(names, method.get_arguments()) if param_needs_conversion(p)} names = ['linux_side'] + names - params = ['void *linux_side'] + params - out(f'{ret}{cppname}_{method.name}({", ".join(params)})\n') + out(f'void {cppname}_{method.name}( struct {cppname}_{method.name}_params *params )\n') out(u'{\n') - if not returns_void: - out(f' {declspec(method.result_type, "_ret")};\n') - need_unwrap = {} need_output = {} @@ -383,7 +390,7 @@ def handle_method_cpp(method, classname, cppname, out): if param.type.kind != TypeKind.POINTER: out(f' {type_name} lin_{name};\n') - out(f' win_to_lin_struct_{param.type.spelling}_{display_sdkver(sdkver)}(&{name}, &lin_{name});\n') + out(f' win_to_lin_struct_{param.type.spelling}_{display_sdkver(sdkver)}( ¶ms->{name}, &lin_{name} );\n') continue pointee = param.type.get_pointee() @@ -400,11 +407,12 @@ def handle_method_cpp(method, classname, cppname, out): need_output[name] = param out(f' {type_name} lin_{name};\n') - out(f' if ({name})\n') - out(f' struct_{type_name}_{display_sdkver(sdkver)}_win_to_lin({name}, &lin_{name});\n') + out(f' if (params->{name})\n') + out(f' struct_{type_name}_{display_sdkver(sdkver)}_win_to_lin( params->{name}, &lin_{name} );\n') size_fixup = {} size_param = {} + size_fixup = {} params = list(zip(names[1:], method.get_arguments())) params += [(None, None)] # for next_name, next_param for i, (name, param) in enumerate(params[:-1]): @@ -417,42 +425,42 @@ def handle_method_cpp(method, classname, cppname, out): size_param[name] = ', -1' elif struct_needs_size_adjustment(real_type.get_canonical()): real_name = real_type.spelling - out(f' uint32_t lin_{next_name} = std::min({next_name}, (uint32_t)sizeof({real_name}));\n') - size_param[name] = f', {next_name}' + out(f' uint32_t lin_{next_name} = std::min( params->{next_name}, (uint32_t)sizeof({real_name}) );\n') + size_param[name] = f', params->{next_name}' size_fixup[next_name] = True elif name in need_convert: assert name not in STRUCTS_NEXT_IS_SIZE_UNHANDLED - out(f' uint32_t lin_{next_name} = {next_name} ? sizeof(lin_{name}) : 0;\n') - size_param[name] = f', {next_name}' + out(f' uint32_t lin_{next_name} = params->{next_name} ? sizeof(lin_{name}) : 0;\n') + size_param[name] = f', params->{next_name}' size_fixup[next_name] = True if returns_void: out(u' ') + elif returns_record: + out(u' *params->_ret = ') else: - out(u' _ret = ') + out(u' params->_ret = ') def param_call(name, param): pfx = '&' if param.type.kind == TypeKind.POINTER else '' - if name in size_fixup: return f'lin_{name}' - if name in need_unwrap: return f'struct_{type_name}_{display_sdkver(sdkver)}_unwrap({name})' - if name in need_convert: return f"{name} ? {pfx}lin_{name} : nullptr" - if param.type.kind == TypeKind.LVALUEREFERENCE: return f'*{name}' - return f"({param.type.spelling}){name}" + if name in size_fixup: return f"lin_{name}" + if name in need_unwrap: return f'struct_{type_name}_{display_sdkver(sdkver)}_unwrap( params->{name} )' + if name in need_convert: return f"params->{name} ? {pfx}lin_{name} : nullptr" + if param.type.kind == TypeKind.LVALUEREFERENCE: return f'*params->{name}' + return f"({param.type.spelling})params->{name}" params = [param_call(n, p) for n, p in zip(names[1:], method.get_arguments())] - out(f'(({classname}*)linux_side)->{method.spelling}({", ".join(params)});\n') + out(f'(({classname}*)params->linux_side)->{method.spelling}({", ".join(params)});\n') for name, param in sorted(need_output.items()): type_name = strip_ns(underlying_typename(param)) if type_name in SDK_STRUCTS: - out(u' if (_ret == 0)\n') - out(f' *{name} = struct_{type_name}_{display_sdkver(sdkver)}_wrap(lin_{name});\n') + out(u' if (params->_ret == 0)\n') + out(f' *params->{name} = struct_{type_name}_{display_sdkver(sdkver)}_wrap( lin_{name} );\n') continue - out(f' if ({name})\n') - out(f' struct_{type_name}_{display_sdkver(sdkver)}_lin_to_win(&lin_{name}, {name}{size_param.get(name, "")});\n') + out(f' if (params->{name})\n') + out(f' struct_{type_name}_{display_sdkver(sdkver)}_lin_to_win( &lin_{name}, params->{name}{size_param.get(name, "")} );\n') - if not returns_void: - out(u' return _ret;\n') out(u'}\n\n') @@ -495,12 +503,12 @@ def handle_method_c(klass, method, winclassname, cppname, out): out(f'{ret}__thiscall {winclassname}_{method.name}({", ".join(params)})\n') out(u'{\n') - if returns_record: - del params[1] - del names[1] - - if not returns_record and not returns_void: - out(f' {ret}_ret;\n') + out(f' struct {cppname}_{method.name}_params params =\n') + out(u' {\n') + out(u' .linux_side = _this->u_iface,\n') + for name in names[1:]: + out(f' .{name} = {name},\n') + out(u' };\n') path_conv_utow = PATH_CONV_METHODS_UTOW.get(f'{klass.spelling}_{method.spelling}', {}) path_conv_wtou = PATH_CONV_METHODS_WTOU.get(f'{klass.spelling}_{method.spelling}', {}) @@ -513,36 +521,19 @@ def handle_method_c(klass, method, winclassname, cppname, out): if 'eTextureType' in names: out(u' if (eTextureType == API_DirectX) FIXME( "Not implemented Direct3D API!\\n" );\n') - if returns_record: - out(u' *_ret = ') - elif not returns_void: - out(u' _ret = ') - else: - out(u' ') - - out(f'{cppname}_{method.name}(') - - def param_call(param, name): - if name == '_this': return '_this->u_iface' - if name in path_conv_wtou: return f'u_{name}' - return name - - params = ['_this'] + list(method.get_arguments()) - out(", ".join([param_call(p, n) for p, n in zip(params, names)])) - - out(u');\n') + out(f' {cppname}_{method.name}( ¶ms );\n') for name, conv in filter(lambda x: x[0] in names, path_conv_utow.items()): out(u' ') if "ret_size" in path_conv_utow: - out(u'_ret = ') - out(f'vrclient_unix_path_to_dos_path(_ret, {name}, {name}, {conv["len"]});\n') + out(u'params._ret = ') + out(f'vrclient_unix_path_to_dos_path( params._ret, {name}, {name}, {conv["len"]} );\n') for name in filter(lambda x: x in names, sorted(path_conv_wtou)): out(f' vrclient_free_path( u_{name} );\n') if not returns_void: - out(u' return _ret;\n') + out(u' return params._ret;\n') out(u'}\n\n') diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_001.cpp b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_001.cpp index 8399cc9d..d6f9f634 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_001.cpp @@ -9,151 +9,109 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVRApplicationError cppIVRApplications_IVRApplications_001_AddApplicationManifest(void *linux_side, const char *pchApplicationManifestFullPath, bool bTemporary) +void cppIVRApplications_IVRApplications_001_AddApplicationManifest( struct cppIVRApplications_IVRApplications_001_AddApplicationManifest_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->AddApplicationManifest((const char *)pchApplicationManifestFullPath, (bool)bTemporary); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->AddApplicationManifest((const char *)params->pchApplicationManifestFullPath, (bool)params->bTemporary); } -EVRApplicationError cppIVRApplications_IVRApplications_001_RemoveApplicationManifest(void *linux_side, const char *pchApplicationManifestFullPath) +void cppIVRApplications_IVRApplications_001_RemoveApplicationManifest( struct cppIVRApplications_IVRApplications_001_RemoveApplicationManifest_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->RemoveApplicationManifest((const char *)pchApplicationManifestFullPath); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->RemoveApplicationManifest((const char *)params->pchApplicationManifestFullPath); } -bool cppIVRApplications_IVRApplications_001_IsApplicationInstalled(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_001_IsApplicationInstalled( struct cppIVRApplications_IVRApplications_001_IsApplicationInstalled_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->IsApplicationInstalled((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->IsApplicationInstalled((const char *)params->pchAppKey); } -uint32_t cppIVRApplications_IVRApplications_001_GetApplicationCount(void *linux_side) +void cppIVRApplications_IVRApplications_001_GetApplicationCount( struct cppIVRApplications_IVRApplications_001_GetApplicationCount_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationCount(); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationCount(); } -EVRApplicationError cppIVRApplications_IVRApplications_001_GetApplicationKeyByIndex(void *linux_side, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_001_GetApplicationKeyByIndex( struct cppIVRApplications_IVRApplications_001_GetApplicationKeyByIndex_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationKeyByIndex((uint32_t)unApplicationIndex, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationKeyByIndex((uint32_t)params->unApplicationIndex, (char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -EVRApplicationError cppIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId(void *linux_side, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId( struct cppIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationKeyByProcessId((uint32_t)unProcessId, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationKeyByProcessId((uint32_t)params->unProcessId, (char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -EVRApplicationError cppIVRApplications_IVRApplications_001_LaunchApplication(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_001_LaunchApplication( struct cppIVRApplications_IVRApplications_001_LaunchApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchApplication((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchApplication((const char *)params->pchAppKey); } -EVRApplicationError cppIVRApplications_IVRApplications_001_LaunchDashboardOverlay(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_001_LaunchDashboardOverlay( struct cppIVRApplications_IVRApplications_001_LaunchDashboardOverlay_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchDashboardOverlay((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchDashboardOverlay((const char *)params->pchAppKey); } -EVRApplicationError cppIVRApplications_IVRApplications_001_IdentifyApplication(void *linux_side, uint32_t unProcessId, const char *pchAppKey) +void cppIVRApplications_IVRApplications_001_IdentifyApplication( struct cppIVRApplications_IVRApplications_001_IdentifyApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->IdentifyApplication((uint32_t)unProcessId, (const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->IdentifyApplication((uint32_t)params->unProcessId, (const char *)params->pchAppKey); } -uint32_t cppIVRApplications_IVRApplications_001_GetApplicationProcessId(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_001_GetApplicationProcessId( struct cppIVRApplications_IVRApplications_001_GetApplicationProcessId_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationProcessId((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationProcessId((const char *)params->pchAppKey); } -const char * cppIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum(void *linux_side, EVRApplicationError error) +void cppIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum( struct cppIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)error); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)params->error); } -uint32_t cppIVRApplications_IVRApplications_001_GetApplicationPropertyString(void *linux_side, const char *pchAppKey, EVRApplicationProperty eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError) +void cppIVRApplications_IVRApplications_001_GetApplicationPropertyString( struct cppIVRApplications_IVRApplications_001_GetApplicationPropertyString_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationPropertyString((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (char *)pchPropertyValueBuffer, (uint32_t)unPropertyValueBufferLen, (vr::EVRApplicationError *)peError); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationPropertyString((const char *)params->pchAppKey, (vr::EVRApplicationProperty)params->eProperty, (char *)params->pchPropertyValueBuffer, (uint32_t)params->unPropertyValueBufferLen, (vr::EVRApplicationError *)params->peError); } -bool cppIVRApplications_IVRApplications_001_GetApplicationPropertyBool(void *linux_side, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +void cppIVRApplications_IVRApplications_001_GetApplicationPropertyBool( struct cppIVRApplications_IVRApplications_001_GetApplicationPropertyBool_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationPropertyBool((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationPropertyBool((const char *)params->pchAppKey, (vr::EVRApplicationProperty)params->eProperty, (vr::EVRApplicationError *)params->peError); } -EVRApplicationError cppIVRApplications_IVRApplications_001_GetHomeApplication(void *linux_side, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_001_GetHomeApplication( struct cppIVRApplications_IVRApplications_001_GetHomeApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->GetHomeApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetHomeApplication((char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -EVRApplicationError cppIVRApplications_IVRApplications_001_SetHomeApplication(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_001_SetHomeApplication( struct cppIVRApplications_IVRApplications_001_SetHomeApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->SetHomeApplication((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->SetHomeApplication((const char *)params->pchAppKey); } -EVRApplicationError cppIVRApplications_IVRApplications_001_SetApplicationAutoLaunch(void *linux_side, const char *pchAppKey, bool bAutoLaunch) +void cppIVRApplications_IVRApplications_001_SetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_001_SetApplicationAutoLaunch_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->SetApplicationAutoLaunch((const char *)pchAppKey, (bool)bAutoLaunch); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->SetApplicationAutoLaunch((const char *)params->pchAppKey, (bool)params->bAutoLaunch); } -bool cppIVRApplications_IVRApplications_001_GetApplicationAutoLaunch(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_001_GetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_001_GetApplicationAutoLaunch_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationAutoLaunch((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationAutoLaunch((const char *)params->pchAppKey); } -EVRApplicationError cppIVRApplications_IVRApplications_001_GetStartingApplication(void *linux_side, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_001_GetStartingApplication( struct cppIVRApplications_IVRApplications_001_GetStartingApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->GetStartingApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetStartingApplication((char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -EVRApplicationTransitionState cppIVRApplications_IVRApplications_001_GetTransitionState(void *linux_side) +void cppIVRApplications_IVRApplications_001_GetTransitionState( struct cppIVRApplications_IVRApplications_001_GetTransitionState_params *params ) { - EVRApplicationTransitionState _ret; - _ret = ((IVRApplications*)linux_side)->GetTransitionState(); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetTransitionState(); } -EVRApplicationError cppIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck( struct cppIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->PerformApplicationPrelaunchCheck((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->PerformApplicationPrelaunchCheck((const char *)params->pchAppKey); } -const char * cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(void *linux_side, EVRApplicationTransitionState state) +void cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum( struct cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)state); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)params->state); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_001.h b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_001.h index 727ccf0f..bf3040e5 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_001.h @@ -1,27 +1,187 @@ #ifdef __cplusplus extern "C" { #endif -extern EVRApplicationError cppIVRApplications_IVRApplications_001_AddApplicationManifest(void *, const char *, bool); -extern EVRApplicationError cppIVRApplications_IVRApplications_001_RemoveApplicationManifest(void *, const char *); -extern bool cppIVRApplications_IVRApplications_001_IsApplicationInstalled(void *, const char *); -extern uint32_t cppIVRApplications_IVRApplications_001_GetApplicationCount(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_001_GetApplicationKeyByIndex(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_001_LaunchApplication(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_001_LaunchDashboardOverlay(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_001_IdentifyApplication(void *, uint32_t, const char *); -extern uint32_t cppIVRApplications_IVRApplications_001_GetApplicationProcessId(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum(void *, EVRApplicationError); -extern uint32_t cppIVRApplications_IVRApplications_001_GetApplicationPropertyString(void *, const char *, EVRApplicationProperty, char *, uint32_t, EVRApplicationError *); -extern bool cppIVRApplications_IVRApplications_001_GetApplicationPropertyBool(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern EVRApplicationError cppIVRApplications_IVRApplications_001_GetHomeApplication(void *, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_001_SetHomeApplication(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_001_SetApplicationAutoLaunch(void *, const char *, bool); -extern bool cppIVRApplications_IVRApplications_001_GetApplicationAutoLaunch(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_001_GetStartingApplication(void *, char *, uint32_t); -extern EVRApplicationTransitionState cppIVRApplications_IVRApplications_001_GetTransitionState(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(void *, EVRApplicationTransitionState); +struct cppIVRApplications_IVRApplications_001_AddApplicationManifest_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchApplicationManifestFullPath; + bool bTemporary; +}; +extern void cppIVRApplications_IVRApplications_001_AddApplicationManifest( struct cppIVRApplications_IVRApplications_001_AddApplicationManifest_params *params ); + +struct cppIVRApplications_IVRApplications_001_RemoveApplicationManifest_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchApplicationManifestFullPath; +}; +extern void cppIVRApplications_IVRApplications_001_RemoveApplicationManifest( struct cppIVRApplications_IVRApplications_001_RemoveApplicationManifest_params *params ); + +struct cppIVRApplications_IVRApplications_001_IsApplicationInstalled_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_001_IsApplicationInstalled( struct cppIVRApplications_IVRApplications_001_IsApplicationInstalled_params *params ); + +struct cppIVRApplications_IVRApplications_001_GetApplicationCount_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRApplications_IVRApplications_001_GetApplicationCount( struct cppIVRApplications_IVRApplications_001_GetApplicationCount_params *params ); + +struct cppIVRApplications_IVRApplications_001_GetApplicationKeyByIndex_params +{ + void *linux_side; + EVRApplicationError _ret; + uint32_t unApplicationIndex; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_001_GetApplicationKeyByIndex( struct cppIVRApplications_IVRApplications_001_GetApplicationKeyByIndex_params *params ); + +struct cppIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId_params +{ + void *linux_side; + EVRApplicationError _ret; + uint32_t unProcessId; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId( struct cppIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId_params *params ); + +struct cppIVRApplications_IVRApplications_001_LaunchApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_001_LaunchApplication( struct cppIVRApplications_IVRApplications_001_LaunchApplication_params *params ); + +struct cppIVRApplications_IVRApplications_001_LaunchDashboardOverlay_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_001_LaunchDashboardOverlay( struct cppIVRApplications_IVRApplications_001_LaunchDashboardOverlay_params *params ); + +struct cppIVRApplications_IVRApplications_001_IdentifyApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + uint32_t unProcessId; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_001_IdentifyApplication( struct cppIVRApplications_IVRApplications_001_IdentifyApplication_params *params ); + +struct cppIVRApplications_IVRApplications_001_GetApplicationProcessId_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_001_GetApplicationProcessId( struct cppIVRApplications_IVRApplications_001_GetApplicationProcessId_params *params ); + +struct cppIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRApplicationError error; +}; +extern void cppIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum( struct cppIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum_params *params ); + +struct cppIVRApplications_IVRApplications_001_GetApplicationPropertyString_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + EVRApplicationProperty eProperty; + char *pchPropertyValueBuffer; + uint32_t unPropertyValueBufferLen; + EVRApplicationError *peError; +}; +extern void cppIVRApplications_IVRApplications_001_GetApplicationPropertyString( struct cppIVRApplications_IVRApplications_001_GetApplicationPropertyString_params *params ); + +struct cppIVRApplications_IVRApplications_001_GetApplicationPropertyBool_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; + EVRApplicationProperty eProperty; + EVRApplicationError *peError; +}; +extern void cppIVRApplications_IVRApplications_001_GetApplicationPropertyBool( struct cppIVRApplications_IVRApplications_001_GetApplicationPropertyBool_params *params ); + +struct cppIVRApplications_IVRApplications_001_GetHomeApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_001_GetHomeApplication( struct cppIVRApplications_IVRApplications_001_GetHomeApplication_params *params ); + +struct cppIVRApplications_IVRApplications_001_SetHomeApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_001_SetHomeApplication( struct cppIVRApplications_IVRApplications_001_SetHomeApplication_params *params ); + +struct cppIVRApplications_IVRApplications_001_SetApplicationAutoLaunch_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; + bool bAutoLaunch; +}; +extern void cppIVRApplications_IVRApplications_001_SetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_001_SetApplicationAutoLaunch_params *params ); + +struct cppIVRApplications_IVRApplications_001_GetApplicationAutoLaunch_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_001_GetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_001_GetApplicationAutoLaunch_params *params ); + +struct cppIVRApplications_IVRApplications_001_GetStartingApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_001_GetStartingApplication( struct cppIVRApplications_IVRApplications_001_GetStartingApplication_params *params ); + +struct cppIVRApplications_IVRApplications_001_GetTransitionState_params +{ + void *linux_side; + EVRApplicationTransitionState _ret; +}; +extern void cppIVRApplications_IVRApplications_001_GetTransitionState( struct cppIVRApplications_IVRApplications_001_GetTransitionState_params *params ); + +struct cppIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck( struct cppIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck_params *params ); + +struct cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRApplicationTransitionState state; +}; +extern void cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum( struct cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_002.cpp b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_002.cpp index 5a4aece9..d75cc0af 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_002.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_002.cpp @@ -9,144 +9,104 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVRApplicationError cppIVRApplications_IVRApplications_002_AddApplicationManifest(void *linux_side, const char *pchApplicationManifestFullPath, bool bTemporary) +void cppIVRApplications_IVRApplications_002_AddApplicationManifest( struct cppIVRApplications_IVRApplications_002_AddApplicationManifest_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->AddApplicationManifest((const char *)pchApplicationManifestFullPath, (bool)bTemporary); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->AddApplicationManifest((const char *)params->pchApplicationManifestFullPath, (bool)params->bTemporary); } -EVRApplicationError cppIVRApplications_IVRApplications_002_RemoveApplicationManifest(void *linux_side, const char *pchApplicationManifestFullPath) +void cppIVRApplications_IVRApplications_002_RemoveApplicationManifest( struct cppIVRApplications_IVRApplications_002_RemoveApplicationManifest_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->RemoveApplicationManifest((const char *)pchApplicationManifestFullPath); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->RemoveApplicationManifest((const char *)params->pchApplicationManifestFullPath); } -bool cppIVRApplications_IVRApplications_002_IsApplicationInstalled(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_002_IsApplicationInstalled( struct cppIVRApplications_IVRApplications_002_IsApplicationInstalled_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->IsApplicationInstalled((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->IsApplicationInstalled((const char *)params->pchAppKey); } -uint32_t cppIVRApplications_IVRApplications_002_GetApplicationCount(void *linux_side) +void cppIVRApplications_IVRApplications_002_GetApplicationCount( struct cppIVRApplications_IVRApplications_002_GetApplicationCount_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationCount(); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationCount(); } -EVRApplicationError cppIVRApplications_IVRApplications_002_GetApplicationKeyByIndex(void *linux_side, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_002_GetApplicationKeyByIndex( struct cppIVRApplications_IVRApplications_002_GetApplicationKeyByIndex_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationKeyByIndex((uint32_t)unApplicationIndex, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationKeyByIndex((uint32_t)params->unApplicationIndex, (char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -EVRApplicationError cppIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId(void *linux_side, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId( struct cppIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationKeyByProcessId((uint32_t)unProcessId, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationKeyByProcessId((uint32_t)params->unProcessId, (char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -EVRApplicationError cppIVRApplications_IVRApplications_002_LaunchApplication(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_002_LaunchApplication( struct cppIVRApplications_IVRApplications_002_LaunchApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchApplication((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchApplication((const char *)params->pchAppKey); } -EVRApplicationError cppIVRApplications_IVRApplications_002_LaunchDashboardOverlay(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_002_LaunchDashboardOverlay( struct cppIVRApplications_IVRApplications_002_LaunchDashboardOverlay_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchDashboardOverlay((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchDashboardOverlay((const char *)params->pchAppKey); } -EVRApplicationError cppIVRApplications_IVRApplications_002_IdentifyApplication(void *linux_side, uint32_t unProcessId, const char *pchAppKey) +void cppIVRApplications_IVRApplications_002_IdentifyApplication( struct cppIVRApplications_IVRApplications_002_IdentifyApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->IdentifyApplication((uint32_t)unProcessId, (const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->IdentifyApplication((uint32_t)params->unProcessId, (const char *)params->pchAppKey); } -uint32_t cppIVRApplications_IVRApplications_002_GetApplicationProcessId(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_002_GetApplicationProcessId( struct cppIVRApplications_IVRApplications_002_GetApplicationProcessId_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationProcessId((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationProcessId((const char *)params->pchAppKey); } -const char * cppIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum(void *linux_side, EVRApplicationError error) +void cppIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum( struct cppIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)error); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)params->error); } -uint32_t cppIVRApplications_IVRApplications_002_GetApplicationPropertyString(void *linux_side, const char *pchAppKey, EVRApplicationProperty eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError) +void cppIVRApplications_IVRApplications_002_GetApplicationPropertyString( struct cppIVRApplications_IVRApplications_002_GetApplicationPropertyString_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationPropertyString((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (char *)pchPropertyValueBuffer, (uint32_t)unPropertyValueBufferLen, (vr::EVRApplicationError *)peError); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationPropertyString((const char *)params->pchAppKey, (vr::EVRApplicationProperty)params->eProperty, (char *)params->pchPropertyValueBuffer, (uint32_t)params->unPropertyValueBufferLen, (vr::EVRApplicationError *)params->peError); } -bool cppIVRApplications_IVRApplications_002_GetApplicationPropertyBool(void *linux_side, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +void cppIVRApplications_IVRApplications_002_GetApplicationPropertyBool( struct cppIVRApplications_IVRApplications_002_GetApplicationPropertyBool_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationPropertyBool((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationPropertyBool((const char *)params->pchAppKey, (vr::EVRApplicationProperty)params->eProperty, (vr::EVRApplicationError *)params->peError); } -EVRApplicationError cppIVRApplications_IVRApplications_002_SetApplicationAutoLaunch(void *linux_side, const char *pchAppKey, bool bAutoLaunch) +void cppIVRApplications_IVRApplications_002_SetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_002_SetApplicationAutoLaunch_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->SetApplicationAutoLaunch((const char *)pchAppKey, (bool)bAutoLaunch); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->SetApplicationAutoLaunch((const char *)params->pchAppKey, (bool)params->bAutoLaunch); } -bool cppIVRApplications_IVRApplications_002_GetApplicationAutoLaunch(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_002_GetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_002_GetApplicationAutoLaunch_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationAutoLaunch((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationAutoLaunch((const char *)params->pchAppKey); } -EVRApplicationError cppIVRApplications_IVRApplications_002_GetStartingApplication(void *linux_side, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_002_GetStartingApplication( struct cppIVRApplications_IVRApplications_002_GetStartingApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->GetStartingApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetStartingApplication((char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -EVRApplicationTransitionState cppIVRApplications_IVRApplications_002_GetTransitionState(void *linux_side) +void cppIVRApplications_IVRApplications_002_GetTransitionState( struct cppIVRApplications_IVRApplications_002_GetTransitionState_params *params ) { - EVRApplicationTransitionState _ret; - _ret = ((IVRApplications*)linux_side)->GetTransitionState(); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetTransitionState(); } -EVRApplicationError cppIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck( struct cppIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->PerformApplicationPrelaunchCheck((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->PerformApplicationPrelaunchCheck((const char *)params->pchAppKey); } -const char * cppIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(void *linux_side, EVRApplicationTransitionState state) +void cppIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum( struct cppIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)state); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)params->state); } -bool cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested(void *linux_side) +void cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested( struct cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->IsQuitUserPromptRequested(); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->IsQuitUserPromptRequested(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_002.h b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_002.h index 124fd0a7..b593a787 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_002.h +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_002.h @@ -1,26 +1,177 @@ #ifdef __cplusplus extern "C" { #endif -extern EVRApplicationError cppIVRApplications_IVRApplications_002_AddApplicationManifest(void *, const char *, bool); -extern EVRApplicationError cppIVRApplications_IVRApplications_002_RemoveApplicationManifest(void *, const char *); -extern bool cppIVRApplications_IVRApplications_002_IsApplicationInstalled(void *, const char *); -extern uint32_t cppIVRApplications_IVRApplications_002_GetApplicationCount(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_002_GetApplicationKeyByIndex(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_002_LaunchApplication(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_002_LaunchDashboardOverlay(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_002_IdentifyApplication(void *, uint32_t, const char *); -extern uint32_t cppIVRApplications_IVRApplications_002_GetApplicationProcessId(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum(void *, EVRApplicationError); -extern uint32_t cppIVRApplications_IVRApplications_002_GetApplicationPropertyString(void *, const char *, EVRApplicationProperty, char *, uint32_t, EVRApplicationError *); -extern bool cppIVRApplications_IVRApplications_002_GetApplicationPropertyBool(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern EVRApplicationError cppIVRApplications_IVRApplications_002_SetApplicationAutoLaunch(void *, const char *, bool); -extern bool cppIVRApplications_IVRApplications_002_GetApplicationAutoLaunch(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_002_GetStartingApplication(void *, char *, uint32_t); -extern EVRApplicationTransitionState cppIVRApplications_IVRApplications_002_GetTransitionState(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(void *, EVRApplicationTransitionState); -extern bool cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested(void *); +struct cppIVRApplications_IVRApplications_002_AddApplicationManifest_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchApplicationManifestFullPath; + bool bTemporary; +}; +extern void cppIVRApplications_IVRApplications_002_AddApplicationManifest( struct cppIVRApplications_IVRApplications_002_AddApplicationManifest_params *params ); + +struct cppIVRApplications_IVRApplications_002_RemoveApplicationManifest_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchApplicationManifestFullPath; +}; +extern void cppIVRApplications_IVRApplications_002_RemoveApplicationManifest( struct cppIVRApplications_IVRApplications_002_RemoveApplicationManifest_params *params ); + +struct cppIVRApplications_IVRApplications_002_IsApplicationInstalled_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_002_IsApplicationInstalled( struct cppIVRApplications_IVRApplications_002_IsApplicationInstalled_params *params ); + +struct cppIVRApplications_IVRApplications_002_GetApplicationCount_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRApplications_IVRApplications_002_GetApplicationCount( struct cppIVRApplications_IVRApplications_002_GetApplicationCount_params *params ); + +struct cppIVRApplications_IVRApplications_002_GetApplicationKeyByIndex_params +{ + void *linux_side; + EVRApplicationError _ret; + uint32_t unApplicationIndex; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_002_GetApplicationKeyByIndex( struct cppIVRApplications_IVRApplications_002_GetApplicationKeyByIndex_params *params ); + +struct cppIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId_params +{ + void *linux_side; + EVRApplicationError _ret; + uint32_t unProcessId; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId( struct cppIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId_params *params ); + +struct cppIVRApplications_IVRApplications_002_LaunchApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_002_LaunchApplication( struct cppIVRApplications_IVRApplications_002_LaunchApplication_params *params ); + +struct cppIVRApplications_IVRApplications_002_LaunchDashboardOverlay_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_002_LaunchDashboardOverlay( struct cppIVRApplications_IVRApplications_002_LaunchDashboardOverlay_params *params ); + +struct cppIVRApplications_IVRApplications_002_IdentifyApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + uint32_t unProcessId; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_002_IdentifyApplication( struct cppIVRApplications_IVRApplications_002_IdentifyApplication_params *params ); + +struct cppIVRApplications_IVRApplications_002_GetApplicationProcessId_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_002_GetApplicationProcessId( struct cppIVRApplications_IVRApplications_002_GetApplicationProcessId_params *params ); + +struct cppIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRApplicationError error; +}; +extern void cppIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum( struct cppIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum_params *params ); + +struct cppIVRApplications_IVRApplications_002_GetApplicationPropertyString_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + EVRApplicationProperty eProperty; + char *pchPropertyValueBuffer; + uint32_t unPropertyValueBufferLen; + EVRApplicationError *peError; +}; +extern void cppIVRApplications_IVRApplications_002_GetApplicationPropertyString( struct cppIVRApplications_IVRApplications_002_GetApplicationPropertyString_params *params ); + +struct cppIVRApplications_IVRApplications_002_GetApplicationPropertyBool_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; + EVRApplicationProperty eProperty; + EVRApplicationError *peError; +}; +extern void cppIVRApplications_IVRApplications_002_GetApplicationPropertyBool( struct cppIVRApplications_IVRApplications_002_GetApplicationPropertyBool_params *params ); + +struct cppIVRApplications_IVRApplications_002_SetApplicationAutoLaunch_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; + bool bAutoLaunch; +}; +extern void cppIVRApplications_IVRApplications_002_SetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_002_SetApplicationAutoLaunch_params *params ); + +struct cppIVRApplications_IVRApplications_002_GetApplicationAutoLaunch_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_002_GetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_002_GetApplicationAutoLaunch_params *params ); + +struct cppIVRApplications_IVRApplications_002_GetStartingApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_002_GetStartingApplication( struct cppIVRApplications_IVRApplications_002_GetStartingApplication_params *params ); + +struct cppIVRApplications_IVRApplications_002_GetTransitionState_params +{ + void *linux_side; + EVRApplicationTransitionState _ret; +}; +extern void cppIVRApplications_IVRApplications_002_GetTransitionState( struct cppIVRApplications_IVRApplications_002_GetTransitionState_params *params ); + +struct cppIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck( struct cppIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck_params *params ); + +struct cppIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRApplicationTransitionState state; +}; +extern void cppIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum( struct cppIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum_params *params ); + +struct cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested( struct cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_003.cpp b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_003.cpp index c704d4fd..c2b4af2b 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_003.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_003.cpp @@ -9,151 +9,109 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVRApplicationError cppIVRApplications_IVRApplications_003_AddApplicationManifest(void *linux_side, const char *pchApplicationManifestFullPath, bool bTemporary) +void cppIVRApplications_IVRApplications_003_AddApplicationManifest( struct cppIVRApplications_IVRApplications_003_AddApplicationManifest_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->AddApplicationManifest((const char *)pchApplicationManifestFullPath, (bool)bTemporary); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->AddApplicationManifest((const char *)params->pchApplicationManifestFullPath, (bool)params->bTemporary); } -EVRApplicationError cppIVRApplications_IVRApplications_003_RemoveApplicationManifest(void *linux_side, const char *pchApplicationManifestFullPath) +void cppIVRApplications_IVRApplications_003_RemoveApplicationManifest( struct cppIVRApplications_IVRApplications_003_RemoveApplicationManifest_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->RemoveApplicationManifest((const char *)pchApplicationManifestFullPath); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->RemoveApplicationManifest((const char *)params->pchApplicationManifestFullPath); } -bool cppIVRApplications_IVRApplications_003_IsApplicationInstalled(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_003_IsApplicationInstalled( struct cppIVRApplications_IVRApplications_003_IsApplicationInstalled_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->IsApplicationInstalled((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->IsApplicationInstalled((const char *)params->pchAppKey); } -uint32_t cppIVRApplications_IVRApplications_003_GetApplicationCount(void *linux_side) +void cppIVRApplications_IVRApplications_003_GetApplicationCount( struct cppIVRApplications_IVRApplications_003_GetApplicationCount_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationCount(); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationCount(); } -EVRApplicationError cppIVRApplications_IVRApplications_003_GetApplicationKeyByIndex(void *linux_side, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_003_GetApplicationKeyByIndex( struct cppIVRApplications_IVRApplications_003_GetApplicationKeyByIndex_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationKeyByIndex((uint32_t)unApplicationIndex, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationKeyByIndex((uint32_t)params->unApplicationIndex, (char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -EVRApplicationError cppIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId(void *linux_side, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId( struct cppIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationKeyByProcessId((uint32_t)unProcessId, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationKeyByProcessId((uint32_t)params->unProcessId, (char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -EVRApplicationError cppIVRApplications_IVRApplications_003_LaunchApplication(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_003_LaunchApplication( struct cppIVRApplications_IVRApplications_003_LaunchApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchApplication((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchApplication((const char *)params->pchAppKey); } -EVRApplicationError cppIVRApplications_IVRApplications_003_LaunchDashboardOverlay(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_003_LaunchDashboardOverlay( struct cppIVRApplications_IVRApplications_003_LaunchDashboardOverlay_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchDashboardOverlay((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchDashboardOverlay((const char *)params->pchAppKey); } -EVRApplicationError cppIVRApplications_IVRApplications_003_IdentifyApplication(void *linux_side, uint32_t unProcessId, const char *pchAppKey) +void cppIVRApplications_IVRApplications_003_IdentifyApplication( struct cppIVRApplications_IVRApplications_003_IdentifyApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->IdentifyApplication((uint32_t)unProcessId, (const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->IdentifyApplication((uint32_t)params->unProcessId, (const char *)params->pchAppKey); } -uint32_t cppIVRApplications_IVRApplications_003_GetApplicationProcessId(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_003_GetApplicationProcessId( struct cppIVRApplications_IVRApplications_003_GetApplicationProcessId_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationProcessId((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationProcessId((const char *)params->pchAppKey); } -const char * cppIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum(void *linux_side, EVRApplicationError error) +void cppIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum( struct cppIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)error); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)params->error); } -uint32_t cppIVRApplications_IVRApplications_003_GetApplicationPropertyString(void *linux_side, const char *pchAppKey, EVRApplicationProperty eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError) +void cppIVRApplications_IVRApplications_003_GetApplicationPropertyString( struct cppIVRApplications_IVRApplications_003_GetApplicationPropertyString_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationPropertyString((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (char *)pchPropertyValueBuffer, (uint32_t)unPropertyValueBufferLen, (vr::EVRApplicationError *)peError); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationPropertyString((const char *)params->pchAppKey, (vr::EVRApplicationProperty)params->eProperty, (char *)params->pchPropertyValueBuffer, (uint32_t)params->unPropertyValueBufferLen, (vr::EVRApplicationError *)params->peError); } -bool cppIVRApplications_IVRApplications_003_GetApplicationPropertyBool(void *linux_side, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +void cppIVRApplications_IVRApplications_003_GetApplicationPropertyBool( struct cppIVRApplications_IVRApplications_003_GetApplicationPropertyBool_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationPropertyBool((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationPropertyBool((const char *)params->pchAppKey, (vr::EVRApplicationProperty)params->eProperty, (vr::EVRApplicationError *)params->peError); } -uint64_t cppIVRApplications_IVRApplications_003_GetApplicationPropertyUint64(void *linux_side, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +void cppIVRApplications_IVRApplications_003_GetApplicationPropertyUint64( struct cppIVRApplications_IVRApplications_003_GetApplicationPropertyUint64_params *params ) { - uint64_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationPropertyUint64((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationPropertyUint64((const char *)params->pchAppKey, (vr::EVRApplicationProperty)params->eProperty, (vr::EVRApplicationError *)params->peError); } -EVRApplicationError cppIVRApplications_IVRApplications_003_SetApplicationAutoLaunch(void *linux_side, const char *pchAppKey, bool bAutoLaunch) +void cppIVRApplications_IVRApplications_003_SetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_003_SetApplicationAutoLaunch_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->SetApplicationAutoLaunch((const char *)pchAppKey, (bool)bAutoLaunch); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->SetApplicationAutoLaunch((const char *)params->pchAppKey, (bool)params->bAutoLaunch); } -bool cppIVRApplications_IVRApplications_003_GetApplicationAutoLaunch(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_003_GetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_003_GetApplicationAutoLaunch_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationAutoLaunch((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationAutoLaunch((const char *)params->pchAppKey); } -EVRApplicationError cppIVRApplications_IVRApplications_003_GetStartingApplication(void *linux_side, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_003_GetStartingApplication( struct cppIVRApplications_IVRApplications_003_GetStartingApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->GetStartingApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetStartingApplication((char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -EVRApplicationTransitionState cppIVRApplications_IVRApplications_003_GetTransitionState(void *linux_side) +void cppIVRApplications_IVRApplications_003_GetTransitionState( struct cppIVRApplications_IVRApplications_003_GetTransitionState_params *params ) { - EVRApplicationTransitionState _ret; - _ret = ((IVRApplications*)linux_side)->GetTransitionState(); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetTransitionState(); } -EVRApplicationError cppIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck( struct cppIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->PerformApplicationPrelaunchCheck((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->PerformApplicationPrelaunchCheck((const char *)params->pchAppKey); } -const char * cppIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(void *linux_side, EVRApplicationTransitionState state) +void cppIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum( struct cppIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)state); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)params->state); } -bool cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested(void *linux_side) +void cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested( struct cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->IsQuitUserPromptRequested(); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->IsQuitUserPromptRequested(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_003.h b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_003.h index 6e9cc8c6..092f12cc 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_003.h +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_003.h @@ -1,27 +1,187 @@ #ifdef __cplusplus extern "C" { #endif -extern EVRApplicationError cppIVRApplications_IVRApplications_003_AddApplicationManifest(void *, const char *, bool); -extern EVRApplicationError cppIVRApplications_IVRApplications_003_RemoveApplicationManifest(void *, const char *); -extern bool cppIVRApplications_IVRApplications_003_IsApplicationInstalled(void *, const char *); -extern uint32_t cppIVRApplications_IVRApplications_003_GetApplicationCount(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_003_GetApplicationKeyByIndex(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_003_LaunchApplication(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_003_LaunchDashboardOverlay(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_003_IdentifyApplication(void *, uint32_t, const char *); -extern uint32_t cppIVRApplications_IVRApplications_003_GetApplicationProcessId(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum(void *, EVRApplicationError); -extern uint32_t cppIVRApplications_IVRApplications_003_GetApplicationPropertyString(void *, const char *, EVRApplicationProperty, char *, uint32_t, EVRApplicationError *); -extern bool cppIVRApplications_IVRApplications_003_GetApplicationPropertyBool(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern uint64_t cppIVRApplications_IVRApplications_003_GetApplicationPropertyUint64(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern EVRApplicationError cppIVRApplications_IVRApplications_003_SetApplicationAutoLaunch(void *, const char *, bool); -extern bool cppIVRApplications_IVRApplications_003_GetApplicationAutoLaunch(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_003_GetStartingApplication(void *, char *, uint32_t); -extern EVRApplicationTransitionState cppIVRApplications_IVRApplications_003_GetTransitionState(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(void *, EVRApplicationTransitionState); -extern bool cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested(void *); +struct cppIVRApplications_IVRApplications_003_AddApplicationManifest_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchApplicationManifestFullPath; + bool bTemporary; +}; +extern void cppIVRApplications_IVRApplications_003_AddApplicationManifest( struct cppIVRApplications_IVRApplications_003_AddApplicationManifest_params *params ); + +struct cppIVRApplications_IVRApplications_003_RemoveApplicationManifest_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchApplicationManifestFullPath; +}; +extern void cppIVRApplications_IVRApplications_003_RemoveApplicationManifest( struct cppIVRApplications_IVRApplications_003_RemoveApplicationManifest_params *params ); + +struct cppIVRApplications_IVRApplications_003_IsApplicationInstalled_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_003_IsApplicationInstalled( struct cppIVRApplications_IVRApplications_003_IsApplicationInstalled_params *params ); + +struct cppIVRApplications_IVRApplications_003_GetApplicationCount_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRApplications_IVRApplications_003_GetApplicationCount( struct cppIVRApplications_IVRApplications_003_GetApplicationCount_params *params ); + +struct cppIVRApplications_IVRApplications_003_GetApplicationKeyByIndex_params +{ + void *linux_side; + EVRApplicationError _ret; + uint32_t unApplicationIndex; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_003_GetApplicationKeyByIndex( struct cppIVRApplications_IVRApplications_003_GetApplicationKeyByIndex_params *params ); + +struct cppIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId_params +{ + void *linux_side; + EVRApplicationError _ret; + uint32_t unProcessId; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId( struct cppIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId_params *params ); + +struct cppIVRApplications_IVRApplications_003_LaunchApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_003_LaunchApplication( struct cppIVRApplications_IVRApplications_003_LaunchApplication_params *params ); + +struct cppIVRApplications_IVRApplications_003_LaunchDashboardOverlay_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_003_LaunchDashboardOverlay( struct cppIVRApplications_IVRApplications_003_LaunchDashboardOverlay_params *params ); + +struct cppIVRApplications_IVRApplications_003_IdentifyApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + uint32_t unProcessId; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_003_IdentifyApplication( struct cppIVRApplications_IVRApplications_003_IdentifyApplication_params *params ); + +struct cppIVRApplications_IVRApplications_003_GetApplicationProcessId_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_003_GetApplicationProcessId( struct cppIVRApplications_IVRApplications_003_GetApplicationProcessId_params *params ); + +struct cppIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRApplicationError error; +}; +extern void cppIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum( struct cppIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum_params *params ); + +struct cppIVRApplications_IVRApplications_003_GetApplicationPropertyString_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + EVRApplicationProperty eProperty; + char *pchPropertyValueBuffer; + uint32_t unPropertyValueBufferLen; + EVRApplicationError *peError; +}; +extern void cppIVRApplications_IVRApplications_003_GetApplicationPropertyString( struct cppIVRApplications_IVRApplications_003_GetApplicationPropertyString_params *params ); + +struct cppIVRApplications_IVRApplications_003_GetApplicationPropertyBool_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; + EVRApplicationProperty eProperty; + EVRApplicationError *peError; +}; +extern void cppIVRApplications_IVRApplications_003_GetApplicationPropertyBool( struct cppIVRApplications_IVRApplications_003_GetApplicationPropertyBool_params *params ); + +struct cppIVRApplications_IVRApplications_003_GetApplicationPropertyUint64_params +{ + void *linux_side; + uint64_t _ret; + const char *pchAppKey; + EVRApplicationProperty eProperty; + EVRApplicationError *peError; +}; +extern void cppIVRApplications_IVRApplications_003_GetApplicationPropertyUint64( struct cppIVRApplications_IVRApplications_003_GetApplicationPropertyUint64_params *params ); + +struct cppIVRApplications_IVRApplications_003_SetApplicationAutoLaunch_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; + bool bAutoLaunch; +}; +extern void cppIVRApplications_IVRApplications_003_SetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_003_SetApplicationAutoLaunch_params *params ); + +struct cppIVRApplications_IVRApplications_003_GetApplicationAutoLaunch_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_003_GetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_003_GetApplicationAutoLaunch_params *params ); + +struct cppIVRApplications_IVRApplications_003_GetStartingApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_003_GetStartingApplication( struct cppIVRApplications_IVRApplications_003_GetStartingApplication_params *params ); + +struct cppIVRApplications_IVRApplications_003_GetTransitionState_params +{ + void *linux_side; + EVRApplicationTransitionState _ret; +}; +extern void cppIVRApplications_IVRApplications_003_GetTransitionState( struct cppIVRApplications_IVRApplications_003_GetTransitionState_params *params ); + +struct cppIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck( struct cppIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck_params *params ); + +struct cppIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRApplicationTransitionState state; +}; +extern void cppIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum( struct cppIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum_params *params ); + +struct cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested( struct cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_004.cpp b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_004.cpp index ae411cae..ffbe3f62 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_004.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_004.cpp @@ -9,165 +9,119 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVRApplicationError cppIVRApplications_IVRApplications_004_AddApplicationManifest(void *linux_side, const char *pchApplicationManifestFullPath, bool bTemporary) +void cppIVRApplications_IVRApplications_004_AddApplicationManifest( struct cppIVRApplications_IVRApplications_004_AddApplicationManifest_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->AddApplicationManifest((const char *)pchApplicationManifestFullPath, (bool)bTemporary); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->AddApplicationManifest((const char *)params->pchApplicationManifestFullPath, (bool)params->bTemporary); } -EVRApplicationError cppIVRApplications_IVRApplications_004_RemoveApplicationManifest(void *linux_side, const char *pchApplicationManifestFullPath) +void cppIVRApplications_IVRApplications_004_RemoveApplicationManifest( struct cppIVRApplications_IVRApplications_004_RemoveApplicationManifest_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->RemoveApplicationManifest((const char *)pchApplicationManifestFullPath); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->RemoveApplicationManifest((const char *)params->pchApplicationManifestFullPath); } -bool cppIVRApplications_IVRApplications_004_IsApplicationInstalled(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_004_IsApplicationInstalled( struct cppIVRApplications_IVRApplications_004_IsApplicationInstalled_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->IsApplicationInstalled((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->IsApplicationInstalled((const char *)params->pchAppKey); } -uint32_t cppIVRApplications_IVRApplications_004_GetApplicationCount(void *linux_side) +void cppIVRApplications_IVRApplications_004_GetApplicationCount( struct cppIVRApplications_IVRApplications_004_GetApplicationCount_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationCount(); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationCount(); } -EVRApplicationError cppIVRApplications_IVRApplications_004_GetApplicationKeyByIndex(void *linux_side, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_004_GetApplicationKeyByIndex( struct cppIVRApplications_IVRApplications_004_GetApplicationKeyByIndex_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationKeyByIndex((uint32_t)unApplicationIndex, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationKeyByIndex((uint32_t)params->unApplicationIndex, (char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -EVRApplicationError cppIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId(void *linux_side, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId( struct cppIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationKeyByProcessId((uint32_t)unProcessId, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationKeyByProcessId((uint32_t)params->unProcessId, (char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -EVRApplicationError cppIVRApplications_IVRApplications_004_LaunchApplication(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_004_LaunchApplication( struct cppIVRApplications_IVRApplications_004_LaunchApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchApplication((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchApplication((const char *)params->pchAppKey); } -EVRApplicationError cppIVRApplications_IVRApplications_004_LaunchDashboardOverlay(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_004_LaunchDashboardOverlay( struct cppIVRApplications_IVRApplications_004_LaunchDashboardOverlay_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchDashboardOverlay((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchDashboardOverlay((const char *)params->pchAppKey); } -bool cppIVRApplications_IVRApplications_004_CancelApplicationLaunch(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_004_CancelApplicationLaunch( struct cppIVRApplications_IVRApplications_004_CancelApplicationLaunch_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->CancelApplicationLaunch((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->CancelApplicationLaunch((const char *)params->pchAppKey); } -EVRApplicationError cppIVRApplications_IVRApplications_004_IdentifyApplication(void *linux_side, uint32_t unProcessId, const char *pchAppKey) +void cppIVRApplications_IVRApplications_004_IdentifyApplication( struct cppIVRApplications_IVRApplications_004_IdentifyApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->IdentifyApplication((uint32_t)unProcessId, (const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->IdentifyApplication((uint32_t)params->unProcessId, (const char *)params->pchAppKey); } -uint32_t cppIVRApplications_IVRApplications_004_GetApplicationProcessId(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_004_GetApplicationProcessId( struct cppIVRApplications_IVRApplications_004_GetApplicationProcessId_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationProcessId((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationProcessId((const char *)params->pchAppKey); } -const char * cppIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum(void *linux_side, EVRApplicationError error) +void cppIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum( struct cppIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)error); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)params->error); } -uint32_t cppIVRApplications_IVRApplications_004_GetApplicationPropertyString(void *linux_side, const char *pchAppKey, EVRApplicationProperty eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError) +void cppIVRApplications_IVRApplications_004_GetApplicationPropertyString( struct cppIVRApplications_IVRApplications_004_GetApplicationPropertyString_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationPropertyString((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (char *)pchPropertyValueBuffer, (uint32_t)unPropertyValueBufferLen, (vr::EVRApplicationError *)peError); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationPropertyString((const char *)params->pchAppKey, (vr::EVRApplicationProperty)params->eProperty, (char *)params->pchPropertyValueBuffer, (uint32_t)params->unPropertyValueBufferLen, (vr::EVRApplicationError *)params->peError); } -bool cppIVRApplications_IVRApplications_004_GetApplicationPropertyBool(void *linux_side, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +void cppIVRApplications_IVRApplications_004_GetApplicationPropertyBool( struct cppIVRApplications_IVRApplications_004_GetApplicationPropertyBool_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationPropertyBool((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationPropertyBool((const char *)params->pchAppKey, (vr::EVRApplicationProperty)params->eProperty, (vr::EVRApplicationError *)params->peError); } -uint64_t cppIVRApplications_IVRApplications_004_GetApplicationPropertyUint64(void *linux_side, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +void cppIVRApplications_IVRApplications_004_GetApplicationPropertyUint64( struct cppIVRApplications_IVRApplications_004_GetApplicationPropertyUint64_params *params ) { - uint64_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationPropertyUint64((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationPropertyUint64((const char *)params->pchAppKey, (vr::EVRApplicationProperty)params->eProperty, (vr::EVRApplicationError *)params->peError); } -EVRApplicationError cppIVRApplications_IVRApplications_004_SetApplicationAutoLaunch(void *linux_side, const char *pchAppKey, bool bAutoLaunch) +void cppIVRApplications_IVRApplications_004_SetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_004_SetApplicationAutoLaunch_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->SetApplicationAutoLaunch((const char *)pchAppKey, (bool)bAutoLaunch); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->SetApplicationAutoLaunch((const char *)params->pchAppKey, (bool)params->bAutoLaunch); } -bool cppIVRApplications_IVRApplications_004_GetApplicationAutoLaunch(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_004_GetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_004_GetApplicationAutoLaunch_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationAutoLaunch((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationAutoLaunch((const char *)params->pchAppKey); } -EVRApplicationError cppIVRApplications_IVRApplications_004_GetStartingApplication(void *linux_side, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_004_GetStartingApplication( struct cppIVRApplications_IVRApplications_004_GetStartingApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->GetStartingApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetStartingApplication((char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -EVRApplicationTransitionState cppIVRApplications_IVRApplications_004_GetTransitionState(void *linux_side) +void cppIVRApplications_IVRApplications_004_GetTransitionState( struct cppIVRApplications_IVRApplications_004_GetTransitionState_params *params ) { - EVRApplicationTransitionState _ret; - _ret = ((IVRApplications*)linux_side)->GetTransitionState(); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetTransitionState(); } -EVRApplicationError cppIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck( struct cppIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->PerformApplicationPrelaunchCheck((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->PerformApplicationPrelaunchCheck((const char *)params->pchAppKey); } -const char * cppIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(void *linux_side, EVRApplicationTransitionState state) +void cppIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum( struct cppIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)state); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)params->state); } -bool cppIVRApplications_IVRApplications_004_IsQuitUserPromptRequested(void *linux_side) +void cppIVRApplications_IVRApplications_004_IsQuitUserPromptRequested( struct cppIVRApplications_IVRApplications_004_IsQuitUserPromptRequested_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->IsQuitUserPromptRequested(); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->IsQuitUserPromptRequested(); } -EVRApplicationError cppIVRApplications_IVRApplications_004_LaunchInternalProcess(void *linux_side, const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory) +void cppIVRApplications_IVRApplications_004_LaunchInternalProcess( struct cppIVRApplications_IVRApplications_004_LaunchInternalProcess_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchInternalProcess((const char *)pchBinaryPath, (const char *)pchArguments, (const char *)pchWorkingDirectory); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchInternalProcess((const char *)params->pchBinaryPath, (const char *)params->pchArguments, (const char *)params->pchWorkingDirectory); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_004.h b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_004.h index b3b3e668..0b61a810 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_004.h +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_004.h @@ -1,29 +1,205 @@ #ifdef __cplusplus extern "C" { #endif -extern EVRApplicationError cppIVRApplications_IVRApplications_004_AddApplicationManifest(void *, const char *, bool); -extern EVRApplicationError cppIVRApplications_IVRApplications_004_RemoveApplicationManifest(void *, const char *); -extern bool cppIVRApplications_IVRApplications_004_IsApplicationInstalled(void *, const char *); -extern uint32_t cppIVRApplications_IVRApplications_004_GetApplicationCount(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_004_GetApplicationKeyByIndex(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_004_LaunchApplication(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_004_LaunchDashboardOverlay(void *, const char *); -extern bool cppIVRApplications_IVRApplications_004_CancelApplicationLaunch(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_004_IdentifyApplication(void *, uint32_t, const char *); -extern uint32_t cppIVRApplications_IVRApplications_004_GetApplicationProcessId(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum(void *, EVRApplicationError); -extern uint32_t cppIVRApplications_IVRApplications_004_GetApplicationPropertyString(void *, const char *, EVRApplicationProperty, char *, uint32_t, EVRApplicationError *); -extern bool cppIVRApplications_IVRApplications_004_GetApplicationPropertyBool(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern uint64_t cppIVRApplications_IVRApplications_004_GetApplicationPropertyUint64(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern EVRApplicationError cppIVRApplications_IVRApplications_004_SetApplicationAutoLaunch(void *, const char *, bool); -extern bool cppIVRApplications_IVRApplications_004_GetApplicationAutoLaunch(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_004_GetStartingApplication(void *, char *, uint32_t); -extern EVRApplicationTransitionState cppIVRApplications_IVRApplications_004_GetTransitionState(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(void *, EVRApplicationTransitionState); -extern bool cppIVRApplications_IVRApplications_004_IsQuitUserPromptRequested(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_004_LaunchInternalProcess(void *, const char *, const char *, const char *); +struct cppIVRApplications_IVRApplications_004_AddApplicationManifest_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchApplicationManifestFullPath; + bool bTemporary; +}; +extern void cppIVRApplications_IVRApplications_004_AddApplicationManifest( struct cppIVRApplications_IVRApplications_004_AddApplicationManifest_params *params ); + +struct cppIVRApplications_IVRApplications_004_RemoveApplicationManifest_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchApplicationManifestFullPath; +}; +extern void cppIVRApplications_IVRApplications_004_RemoveApplicationManifest( struct cppIVRApplications_IVRApplications_004_RemoveApplicationManifest_params *params ); + +struct cppIVRApplications_IVRApplications_004_IsApplicationInstalled_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_004_IsApplicationInstalled( struct cppIVRApplications_IVRApplications_004_IsApplicationInstalled_params *params ); + +struct cppIVRApplications_IVRApplications_004_GetApplicationCount_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRApplications_IVRApplications_004_GetApplicationCount( struct cppIVRApplications_IVRApplications_004_GetApplicationCount_params *params ); + +struct cppIVRApplications_IVRApplications_004_GetApplicationKeyByIndex_params +{ + void *linux_side; + EVRApplicationError _ret; + uint32_t unApplicationIndex; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_004_GetApplicationKeyByIndex( struct cppIVRApplications_IVRApplications_004_GetApplicationKeyByIndex_params *params ); + +struct cppIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId_params +{ + void *linux_side; + EVRApplicationError _ret; + uint32_t unProcessId; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId( struct cppIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId_params *params ); + +struct cppIVRApplications_IVRApplications_004_LaunchApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_004_LaunchApplication( struct cppIVRApplications_IVRApplications_004_LaunchApplication_params *params ); + +struct cppIVRApplications_IVRApplications_004_LaunchDashboardOverlay_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_004_LaunchDashboardOverlay( struct cppIVRApplications_IVRApplications_004_LaunchDashboardOverlay_params *params ); + +struct cppIVRApplications_IVRApplications_004_CancelApplicationLaunch_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_004_CancelApplicationLaunch( struct cppIVRApplications_IVRApplications_004_CancelApplicationLaunch_params *params ); + +struct cppIVRApplications_IVRApplications_004_IdentifyApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + uint32_t unProcessId; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_004_IdentifyApplication( struct cppIVRApplications_IVRApplications_004_IdentifyApplication_params *params ); + +struct cppIVRApplications_IVRApplications_004_GetApplicationProcessId_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_004_GetApplicationProcessId( struct cppIVRApplications_IVRApplications_004_GetApplicationProcessId_params *params ); + +struct cppIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRApplicationError error; +}; +extern void cppIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum( struct cppIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum_params *params ); + +struct cppIVRApplications_IVRApplications_004_GetApplicationPropertyString_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + EVRApplicationProperty eProperty; + char *pchPropertyValueBuffer; + uint32_t unPropertyValueBufferLen; + EVRApplicationError *peError; +}; +extern void cppIVRApplications_IVRApplications_004_GetApplicationPropertyString( struct cppIVRApplications_IVRApplications_004_GetApplicationPropertyString_params *params ); + +struct cppIVRApplications_IVRApplications_004_GetApplicationPropertyBool_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; + EVRApplicationProperty eProperty; + EVRApplicationError *peError; +}; +extern void cppIVRApplications_IVRApplications_004_GetApplicationPropertyBool( struct cppIVRApplications_IVRApplications_004_GetApplicationPropertyBool_params *params ); + +struct cppIVRApplications_IVRApplications_004_GetApplicationPropertyUint64_params +{ + void *linux_side; + uint64_t _ret; + const char *pchAppKey; + EVRApplicationProperty eProperty; + EVRApplicationError *peError; +}; +extern void cppIVRApplications_IVRApplications_004_GetApplicationPropertyUint64( struct cppIVRApplications_IVRApplications_004_GetApplicationPropertyUint64_params *params ); + +struct cppIVRApplications_IVRApplications_004_SetApplicationAutoLaunch_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; + bool bAutoLaunch; +}; +extern void cppIVRApplications_IVRApplications_004_SetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_004_SetApplicationAutoLaunch_params *params ); + +struct cppIVRApplications_IVRApplications_004_GetApplicationAutoLaunch_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_004_GetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_004_GetApplicationAutoLaunch_params *params ); + +struct cppIVRApplications_IVRApplications_004_GetStartingApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_004_GetStartingApplication( struct cppIVRApplications_IVRApplications_004_GetStartingApplication_params *params ); + +struct cppIVRApplications_IVRApplications_004_GetTransitionState_params +{ + void *linux_side; + EVRApplicationTransitionState _ret; +}; +extern void cppIVRApplications_IVRApplications_004_GetTransitionState( struct cppIVRApplications_IVRApplications_004_GetTransitionState_params *params ); + +struct cppIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck( struct cppIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck_params *params ); + +struct cppIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRApplicationTransitionState state; +}; +extern void cppIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum( struct cppIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum_params *params ); + +struct cppIVRApplications_IVRApplications_004_IsQuitUserPromptRequested_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRApplications_IVRApplications_004_IsQuitUserPromptRequested( struct cppIVRApplications_IVRApplications_004_IsQuitUserPromptRequested_params *params ); + +struct cppIVRApplications_IVRApplications_004_LaunchInternalProcess_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchBinaryPath; + const char *pchArguments; + const char *pchWorkingDirectory; +}; +extern void cppIVRApplications_IVRApplications_004_LaunchInternalProcess( struct cppIVRApplications_IVRApplications_004_LaunchInternalProcess_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.cpp b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.cpp index c8540fec..2b0233d7 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.cpp @@ -9,172 +9,124 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVRApplicationError cppIVRApplications_IVRApplications_005_AddApplicationManifest(void *linux_side, const char *pchApplicationManifestFullPath, bool bTemporary) +void cppIVRApplications_IVRApplications_005_AddApplicationManifest( struct cppIVRApplications_IVRApplications_005_AddApplicationManifest_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->AddApplicationManifest((const char *)pchApplicationManifestFullPath, (bool)bTemporary); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->AddApplicationManifest((const char *)params->pchApplicationManifestFullPath, (bool)params->bTemporary); } -EVRApplicationError cppIVRApplications_IVRApplications_005_RemoveApplicationManifest(void *linux_side, const char *pchApplicationManifestFullPath) +void cppIVRApplications_IVRApplications_005_RemoveApplicationManifest( struct cppIVRApplications_IVRApplications_005_RemoveApplicationManifest_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->RemoveApplicationManifest((const char *)pchApplicationManifestFullPath); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->RemoveApplicationManifest((const char *)params->pchApplicationManifestFullPath); } -bool cppIVRApplications_IVRApplications_005_IsApplicationInstalled(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_005_IsApplicationInstalled( struct cppIVRApplications_IVRApplications_005_IsApplicationInstalled_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->IsApplicationInstalled((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->IsApplicationInstalled((const char *)params->pchAppKey); } -uint32_t cppIVRApplications_IVRApplications_005_GetApplicationCount(void *linux_side) +void cppIVRApplications_IVRApplications_005_GetApplicationCount( struct cppIVRApplications_IVRApplications_005_GetApplicationCount_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationCount(); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationCount(); } -EVRApplicationError cppIVRApplications_IVRApplications_005_GetApplicationKeyByIndex(void *linux_side, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_005_GetApplicationKeyByIndex( struct cppIVRApplications_IVRApplications_005_GetApplicationKeyByIndex_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationKeyByIndex((uint32_t)unApplicationIndex, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationKeyByIndex((uint32_t)params->unApplicationIndex, (char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -EVRApplicationError cppIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId(void *linux_side, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId( struct cppIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationKeyByProcessId((uint32_t)unProcessId, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationKeyByProcessId((uint32_t)params->unProcessId, (char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchApplication(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_005_LaunchApplication( struct cppIVRApplications_IVRApplications_005_LaunchApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchApplication((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchApplication((const char *)params->pchAppKey); } -EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchTemplateApplication(void *linux_side, const char *pchTemplateAppKey, const char *pchNewAppKey, const AppOverrideKeys_t *pKeys, uint32_t unKeys) +void cppIVRApplications_IVRApplications_005_LaunchTemplateApplication( struct cppIVRApplications_IVRApplications_005_LaunchTemplateApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchTemplateApplication((const char *)pchTemplateAppKey, (const char *)pchNewAppKey, (const vr::AppOverrideKeys_t *)pKeys, (uint32_t)unKeys); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchTemplateApplication((const char *)params->pchTemplateAppKey, (const char *)params->pchNewAppKey, (const vr::AppOverrideKeys_t *)params->pKeys, (uint32_t)params->unKeys); } -EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchDashboardOverlay(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_005_LaunchDashboardOverlay( struct cppIVRApplications_IVRApplications_005_LaunchDashboardOverlay_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchDashboardOverlay((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchDashboardOverlay((const char *)params->pchAppKey); } -bool cppIVRApplications_IVRApplications_005_CancelApplicationLaunch(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_005_CancelApplicationLaunch( struct cppIVRApplications_IVRApplications_005_CancelApplicationLaunch_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->CancelApplicationLaunch((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->CancelApplicationLaunch((const char *)params->pchAppKey); } -EVRApplicationError cppIVRApplications_IVRApplications_005_IdentifyApplication(void *linux_side, uint32_t unProcessId, const char *pchAppKey) +void cppIVRApplications_IVRApplications_005_IdentifyApplication( struct cppIVRApplications_IVRApplications_005_IdentifyApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->IdentifyApplication((uint32_t)unProcessId, (const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->IdentifyApplication((uint32_t)params->unProcessId, (const char *)params->pchAppKey); } -uint32_t cppIVRApplications_IVRApplications_005_GetApplicationProcessId(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_005_GetApplicationProcessId( struct cppIVRApplications_IVRApplications_005_GetApplicationProcessId_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationProcessId((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationProcessId((const char *)params->pchAppKey); } -const char * cppIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum(void *linux_side, EVRApplicationError error) +void cppIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum( struct cppIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)error); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)params->error); } -uint32_t cppIVRApplications_IVRApplications_005_GetApplicationPropertyString(void *linux_side, const char *pchAppKey, EVRApplicationProperty eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError) +void cppIVRApplications_IVRApplications_005_GetApplicationPropertyString( struct cppIVRApplications_IVRApplications_005_GetApplicationPropertyString_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationPropertyString((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (char *)pchPropertyValueBuffer, (uint32_t)unPropertyValueBufferLen, (vr::EVRApplicationError *)peError); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationPropertyString((const char *)params->pchAppKey, (vr::EVRApplicationProperty)params->eProperty, (char *)params->pchPropertyValueBuffer, (uint32_t)params->unPropertyValueBufferLen, (vr::EVRApplicationError *)params->peError); } -bool cppIVRApplications_IVRApplications_005_GetApplicationPropertyBool(void *linux_side, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +void cppIVRApplications_IVRApplications_005_GetApplicationPropertyBool( struct cppIVRApplications_IVRApplications_005_GetApplicationPropertyBool_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationPropertyBool((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationPropertyBool((const char *)params->pchAppKey, (vr::EVRApplicationProperty)params->eProperty, (vr::EVRApplicationError *)params->peError); } -uint64_t cppIVRApplications_IVRApplications_005_GetApplicationPropertyUint64(void *linux_side, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +void cppIVRApplications_IVRApplications_005_GetApplicationPropertyUint64( struct cppIVRApplications_IVRApplications_005_GetApplicationPropertyUint64_params *params ) { - uint64_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationPropertyUint64((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationPropertyUint64((const char *)params->pchAppKey, (vr::EVRApplicationProperty)params->eProperty, (vr::EVRApplicationError *)params->peError); } -EVRApplicationError cppIVRApplications_IVRApplications_005_SetApplicationAutoLaunch(void *linux_side, const char *pchAppKey, bool bAutoLaunch) +void cppIVRApplications_IVRApplications_005_SetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_005_SetApplicationAutoLaunch_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->SetApplicationAutoLaunch((const char *)pchAppKey, (bool)bAutoLaunch); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->SetApplicationAutoLaunch((const char *)params->pchAppKey, (bool)params->bAutoLaunch); } -bool cppIVRApplications_IVRApplications_005_GetApplicationAutoLaunch(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_005_GetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_005_GetApplicationAutoLaunch_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationAutoLaunch((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationAutoLaunch((const char *)params->pchAppKey); } -EVRApplicationError cppIVRApplications_IVRApplications_005_GetStartingApplication(void *linux_side, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_005_GetStartingApplication( struct cppIVRApplications_IVRApplications_005_GetStartingApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->GetStartingApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetStartingApplication((char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -EVRApplicationTransitionState cppIVRApplications_IVRApplications_005_GetTransitionState(void *linux_side) +void cppIVRApplications_IVRApplications_005_GetTransitionState( struct cppIVRApplications_IVRApplications_005_GetTransitionState_params *params ) { - EVRApplicationTransitionState _ret; - _ret = ((IVRApplications*)linux_side)->GetTransitionState(); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetTransitionState(); } -EVRApplicationError cppIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck( struct cppIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->PerformApplicationPrelaunchCheck((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->PerformApplicationPrelaunchCheck((const char *)params->pchAppKey); } -const char * cppIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(void *linux_side, EVRApplicationTransitionState state) +void cppIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum( struct cppIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)state); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)params->state); } -bool cppIVRApplications_IVRApplications_005_IsQuitUserPromptRequested(void *linux_side) +void cppIVRApplications_IVRApplications_005_IsQuitUserPromptRequested( struct cppIVRApplications_IVRApplications_005_IsQuitUserPromptRequested_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->IsQuitUserPromptRequested(); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->IsQuitUserPromptRequested(); } -EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchInternalProcess(void *linux_side, const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory) +void cppIVRApplications_IVRApplications_005_LaunchInternalProcess( struct cppIVRApplications_IVRApplications_005_LaunchInternalProcess_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchInternalProcess((const char *)pchBinaryPath, (const char *)pchArguments, (const char *)pchWorkingDirectory); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchInternalProcess((const char *)params->pchBinaryPath, (const char *)params->pchArguments, (const char *)params->pchWorkingDirectory); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.h b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.h index b26de286..697fb7fc 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.h +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.h @@ -1,30 +1,216 @@ #ifdef __cplusplus extern "C" { #endif -extern EVRApplicationError cppIVRApplications_IVRApplications_005_AddApplicationManifest(void *, const char *, bool); -extern EVRApplicationError cppIVRApplications_IVRApplications_005_RemoveApplicationManifest(void *, const char *); -extern bool cppIVRApplications_IVRApplications_005_IsApplicationInstalled(void *, const char *); -extern uint32_t cppIVRApplications_IVRApplications_005_GetApplicationCount(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_005_GetApplicationKeyByIndex(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchApplication(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchTemplateApplication(void *, const char *, const char *, const AppOverrideKeys_t *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchDashboardOverlay(void *, const char *); -extern bool cppIVRApplications_IVRApplications_005_CancelApplicationLaunch(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_005_IdentifyApplication(void *, uint32_t, const char *); -extern uint32_t cppIVRApplications_IVRApplications_005_GetApplicationProcessId(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum(void *, EVRApplicationError); -extern uint32_t cppIVRApplications_IVRApplications_005_GetApplicationPropertyString(void *, const char *, EVRApplicationProperty, char *, uint32_t, EVRApplicationError *); -extern bool cppIVRApplications_IVRApplications_005_GetApplicationPropertyBool(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern uint64_t cppIVRApplications_IVRApplications_005_GetApplicationPropertyUint64(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern EVRApplicationError cppIVRApplications_IVRApplications_005_SetApplicationAutoLaunch(void *, const char *, bool); -extern bool cppIVRApplications_IVRApplications_005_GetApplicationAutoLaunch(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_005_GetStartingApplication(void *, char *, uint32_t); -extern EVRApplicationTransitionState cppIVRApplications_IVRApplications_005_GetTransitionState(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(void *, EVRApplicationTransitionState); -extern bool cppIVRApplications_IVRApplications_005_IsQuitUserPromptRequested(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchInternalProcess(void *, const char *, const char *, const char *); +struct cppIVRApplications_IVRApplications_005_AddApplicationManifest_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchApplicationManifestFullPath; + bool bTemporary; +}; +extern void cppIVRApplications_IVRApplications_005_AddApplicationManifest( struct cppIVRApplications_IVRApplications_005_AddApplicationManifest_params *params ); + +struct cppIVRApplications_IVRApplications_005_RemoveApplicationManifest_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchApplicationManifestFullPath; +}; +extern void cppIVRApplications_IVRApplications_005_RemoveApplicationManifest( struct cppIVRApplications_IVRApplications_005_RemoveApplicationManifest_params *params ); + +struct cppIVRApplications_IVRApplications_005_IsApplicationInstalled_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_005_IsApplicationInstalled( struct cppIVRApplications_IVRApplications_005_IsApplicationInstalled_params *params ); + +struct cppIVRApplications_IVRApplications_005_GetApplicationCount_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRApplications_IVRApplications_005_GetApplicationCount( struct cppIVRApplications_IVRApplications_005_GetApplicationCount_params *params ); + +struct cppIVRApplications_IVRApplications_005_GetApplicationKeyByIndex_params +{ + void *linux_side; + EVRApplicationError _ret; + uint32_t unApplicationIndex; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_005_GetApplicationKeyByIndex( struct cppIVRApplications_IVRApplications_005_GetApplicationKeyByIndex_params *params ); + +struct cppIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId_params +{ + void *linux_side; + EVRApplicationError _ret; + uint32_t unProcessId; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId( struct cppIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId_params *params ); + +struct cppIVRApplications_IVRApplications_005_LaunchApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_005_LaunchApplication( struct cppIVRApplications_IVRApplications_005_LaunchApplication_params *params ); + +struct cppIVRApplications_IVRApplications_005_LaunchTemplateApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchTemplateAppKey; + const char *pchNewAppKey; + const AppOverrideKeys_t *pKeys; + uint32_t unKeys; +}; +extern void cppIVRApplications_IVRApplications_005_LaunchTemplateApplication( struct cppIVRApplications_IVRApplications_005_LaunchTemplateApplication_params *params ); + +struct cppIVRApplications_IVRApplications_005_LaunchDashboardOverlay_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_005_LaunchDashboardOverlay( struct cppIVRApplications_IVRApplications_005_LaunchDashboardOverlay_params *params ); + +struct cppIVRApplications_IVRApplications_005_CancelApplicationLaunch_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_005_CancelApplicationLaunch( struct cppIVRApplications_IVRApplications_005_CancelApplicationLaunch_params *params ); + +struct cppIVRApplications_IVRApplications_005_IdentifyApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + uint32_t unProcessId; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_005_IdentifyApplication( struct cppIVRApplications_IVRApplications_005_IdentifyApplication_params *params ); + +struct cppIVRApplications_IVRApplications_005_GetApplicationProcessId_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_005_GetApplicationProcessId( struct cppIVRApplications_IVRApplications_005_GetApplicationProcessId_params *params ); + +struct cppIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRApplicationError error; +}; +extern void cppIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum( struct cppIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum_params *params ); + +struct cppIVRApplications_IVRApplications_005_GetApplicationPropertyString_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + EVRApplicationProperty eProperty; + char *pchPropertyValueBuffer; + uint32_t unPropertyValueBufferLen; + EVRApplicationError *peError; +}; +extern void cppIVRApplications_IVRApplications_005_GetApplicationPropertyString( struct cppIVRApplications_IVRApplications_005_GetApplicationPropertyString_params *params ); + +struct cppIVRApplications_IVRApplications_005_GetApplicationPropertyBool_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; + EVRApplicationProperty eProperty; + EVRApplicationError *peError; +}; +extern void cppIVRApplications_IVRApplications_005_GetApplicationPropertyBool( struct cppIVRApplications_IVRApplications_005_GetApplicationPropertyBool_params *params ); + +struct cppIVRApplications_IVRApplications_005_GetApplicationPropertyUint64_params +{ + void *linux_side; + uint64_t _ret; + const char *pchAppKey; + EVRApplicationProperty eProperty; + EVRApplicationError *peError; +}; +extern void cppIVRApplications_IVRApplications_005_GetApplicationPropertyUint64( struct cppIVRApplications_IVRApplications_005_GetApplicationPropertyUint64_params *params ); + +struct cppIVRApplications_IVRApplications_005_SetApplicationAutoLaunch_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; + bool bAutoLaunch; +}; +extern void cppIVRApplications_IVRApplications_005_SetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_005_SetApplicationAutoLaunch_params *params ); + +struct cppIVRApplications_IVRApplications_005_GetApplicationAutoLaunch_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_005_GetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_005_GetApplicationAutoLaunch_params *params ); + +struct cppIVRApplications_IVRApplications_005_GetStartingApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_005_GetStartingApplication( struct cppIVRApplications_IVRApplications_005_GetStartingApplication_params *params ); + +struct cppIVRApplications_IVRApplications_005_GetTransitionState_params +{ + void *linux_side; + EVRApplicationTransitionState _ret; +}; +extern void cppIVRApplications_IVRApplications_005_GetTransitionState( struct cppIVRApplications_IVRApplications_005_GetTransitionState_params *params ); + +struct cppIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck( struct cppIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck_params *params ); + +struct cppIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRApplicationTransitionState state; +}; +extern void cppIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum( struct cppIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum_params *params ); + +struct cppIVRApplications_IVRApplications_005_IsQuitUserPromptRequested_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRApplications_IVRApplications_005_IsQuitUserPromptRequested( struct cppIVRApplications_IVRApplications_005_IsQuitUserPromptRequested_params *params ); + +struct cppIVRApplications_IVRApplications_005_LaunchInternalProcess_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchBinaryPath; + const char *pchArguments; + const char *pchWorkingDirectory; +}; +extern void cppIVRApplications_IVRApplications_005_LaunchInternalProcess( struct cppIVRApplications_IVRApplications_005_LaunchInternalProcess_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_006.cpp b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_006.cpp index 3ba10c44..f922c76e 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_006.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_006.cpp @@ -9,221 +9,159 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVRApplicationError cppIVRApplications_IVRApplications_006_AddApplicationManifest(void *linux_side, const char *pchApplicationManifestFullPath, bool bTemporary) +void cppIVRApplications_IVRApplications_006_AddApplicationManifest( struct cppIVRApplications_IVRApplications_006_AddApplicationManifest_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->AddApplicationManifest((const char *)pchApplicationManifestFullPath, (bool)bTemporary); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->AddApplicationManifest((const char *)params->pchApplicationManifestFullPath, (bool)params->bTemporary); } -EVRApplicationError cppIVRApplications_IVRApplications_006_RemoveApplicationManifest(void *linux_side, const char *pchApplicationManifestFullPath) +void cppIVRApplications_IVRApplications_006_RemoveApplicationManifest( struct cppIVRApplications_IVRApplications_006_RemoveApplicationManifest_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->RemoveApplicationManifest((const char *)pchApplicationManifestFullPath); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->RemoveApplicationManifest((const char *)params->pchApplicationManifestFullPath); } -bool cppIVRApplications_IVRApplications_006_IsApplicationInstalled(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_006_IsApplicationInstalled( struct cppIVRApplications_IVRApplications_006_IsApplicationInstalled_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->IsApplicationInstalled((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->IsApplicationInstalled((const char *)params->pchAppKey); } -uint32_t cppIVRApplications_IVRApplications_006_GetApplicationCount(void *linux_side) +void cppIVRApplications_IVRApplications_006_GetApplicationCount( struct cppIVRApplications_IVRApplications_006_GetApplicationCount_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationCount(); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationCount(); } -EVRApplicationError cppIVRApplications_IVRApplications_006_GetApplicationKeyByIndex(void *linux_side, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_006_GetApplicationKeyByIndex( struct cppIVRApplications_IVRApplications_006_GetApplicationKeyByIndex_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationKeyByIndex((uint32_t)unApplicationIndex, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationKeyByIndex((uint32_t)params->unApplicationIndex, (char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -EVRApplicationError cppIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId(void *linux_side, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId( struct cppIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationKeyByProcessId((uint32_t)unProcessId, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationKeyByProcessId((uint32_t)params->unProcessId, (char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchApplication(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_006_LaunchApplication( struct cppIVRApplications_IVRApplications_006_LaunchApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchApplication((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchApplication((const char *)params->pchAppKey); } -EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchTemplateApplication(void *linux_side, const char *pchTemplateAppKey, const char *pchNewAppKey, const AppOverrideKeys_t *pKeys, uint32_t unKeys) +void cppIVRApplications_IVRApplications_006_LaunchTemplateApplication( struct cppIVRApplications_IVRApplications_006_LaunchTemplateApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchTemplateApplication((const char *)pchTemplateAppKey, (const char *)pchNewAppKey, (const vr::AppOverrideKeys_t *)pKeys, (uint32_t)unKeys); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchTemplateApplication((const char *)params->pchTemplateAppKey, (const char *)params->pchNewAppKey, (const vr::AppOverrideKeys_t *)params->pKeys, (uint32_t)params->unKeys); } -EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType(void *linux_side, const char *pchMimeType, const char *pchArgs) +void cppIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType( struct cppIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchApplicationFromMimeType((const char *)pchMimeType, (const char *)pchArgs); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchApplicationFromMimeType((const char *)params->pchMimeType, (const char *)params->pchArgs); } -EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchDashboardOverlay(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_006_LaunchDashboardOverlay( struct cppIVRApplications_IVRApplications_006_LaunchDashboardOverlay_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchDashboardOverlay((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchDashboardOverlay((const char *)params->pchAppKey); } -bool cppIVRApplications_IVRApplications_006_CancelApplicationLaunch(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_006_CancelApplicationLaunch( struct cppIVRApplications_IVRApplications_006_CancelApplicationLaunch_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->CancelApplicationLaunch((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->CancelApplicationLaunch((const char *)params->pchAppKey); } -EVRApplicationError cppIVRApplications_IVRApplications_006_IdentifyApplication(void *linux_side, uint32_t unProcessId, const char *pchAppKey) +void cppIVRApplications_IVRApplications_006_IdentifyApplication( struct cppIVRApplications_IVRApplications_006_IdentifyApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->IdentifyApplication((uint32_t)unProcessId, (const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->IdentifyApplication((uint32_t)params->unProcessId, (const char *)params->pchAppKey); } -uint32_t cppIVRApplications_IVRApplications_006_GetApplicationProcessId(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_006_GetApplicationProcessId( struct cppIVRApplications_IVRApplications_006_GetApplicationProcessId_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationProcessId((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationProcessId((const char *)params->pchAppKey); } -const char * cppIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum(void *linux_side, EVRApplicationError error) +void cppIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum( struct cppIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)error); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)params->error); } -uint32_t cppIVRApplications_IVRApplications_006_GetApplicationPropertyString(void *linux_side, const char *pchAppKey, EVRApplicationProperty eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError) +void cppIVRApplications_IVRApplications_006_GetApplicationPropertyString( struct cppIVRApplications_IVRApplications_006_GetApplicationPropertyString_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationPropertyString((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (char *)pchPropertyValueBuffer, (uint32_t)unPropertyValueBufferLen, (vr::EVRApplicationError *)peError); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationPropertyString((const char *)params->pchAppKey, (vr::EVRApplicationProperty)params->eProperty, (char *)params->pchPropertyValueBuffer, (uint32_t)params->unPropertyValueBufferLen, (vr::EVRApplicationError *)params->peError); } -bool cppIVRApplications_IVRApplications_006_GetApplicationPropertyBool(void *linux_side, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +void cppIVRApplications_IVRApplications_006_GetApplicationPropertyBool( struct cppIVRApplications_IVRApplications_006_GetApplicationPropertyBool_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationPropertyBool((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationPropertyBool((const char *)params->pchAppKey, (vr::EVRApplicationProperty)params->eProperty, (vr::EVRApplicationError *)params->peError); } -uint64_t cppIVRApplications_IVRApplications_006_GetApplicationPropertyUint64(void *linux_side, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +void cppIVRApplications_IVRApplications_006_GetApplicationPropertyUint64( struct cppIVRApplications_IVRApplications_006_GetApplicationPropertyUint64_params *params ) { - uint64_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationPropertyUint64((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationPropertyUint64((const char *)params->pchAppKey, (vr::EVRApplicationProperty)params->eProperty, (vr::EVRApplicationError *)params->peError); } -EVRApplicationError cppIVRApplications_IVRApplications_006_SetApplicationAutoLaunch(void *linux_side, const char *pchAppKey, bool bAutoLaunch) +void cppIVRApplications_IVRApplications_006_SetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_006_SetApplicationAutoLaunch_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->SetApplicationAutoLaunch((const char *)pchAppKey, (bool)bAutoLaunch); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->SetApplicationAutoLaunch((const char *)params->pchAppKey, (bool)params->bAutoLaunch); } -bool cppIVRApplications_IVRApplications_006_GetApplicationAutoLaunch(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_006_GetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_006_GetApplicationAutoLaunch_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationAutoLaunch((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationAutoLaunch((const char *)params->pchAppKey); } -EVRApplicationError cppIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType(void *linux_side, const char *pchAppKey, const char *pchMimeType) +void cppIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType( struct cppIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->SetDefaultApplicationForMimeType((const char *)pchAppKey, (const char *)pchMimeType); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->SetDefaultApplicationForMimeType((const char *)params->pchAppKey, (const char *)params->pchMimeType); } -bool cppIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType(void *linux_side, const char *pchMimeType, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType( struct cppIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->GetDefaultApplicationForMimeType((const char *)pchMimeType, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetDefaultApplicationForMimeType((const char *)params->pchMimeType, (char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -bool cppIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes(void *linux_side, const char *pchAppKey, char *pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) +void cppIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes( struct cppIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationSupportedMimeTypes((const char *)pchAppKey, (char *)pchMimeTypesBuffer, (uint32_t)unMimeTypesBuffer); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationSupportedMimeTypes((const char *)params->pchAppKey, (char *)params->pchMimeTypesBuffer, (uint32_t)params->unMimeTypesBuffer); } -uint32_t cppIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType(void *linux_side, const char *pchMimeType, char *pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) +void cppIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType( struct cppIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationsThatSupportMimeType((const char *)pchMimeType, (char *)pchAppKeysThatSupportBuffer, (uint32_t)unAppKeysThatSupportBuffer); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationsThatSupportMimeType((const char *)params->pchMimeType, (char *)params->pchAppKeysThatSupportBuffer, (uint32_t)params->unAppKeysThatSupportBuffer); } -uint32_t cppIVRApplications_IVRApplications_006_GetApplicationLaunchArguments(void *linux_side, uint32_t unHandle, char *pchArgs, uint32_t unArgs) +void cppIVRApplications_IVRApplications_006_GetApplicationLaunchArguments( struct cppIVRApplications_IVRApplications_006_GetApplicationLaunchArguments_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationLaunchArguments((uint32_t)unHandle, (char *)pchArgs, (uint32_t)unArgs); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationLaunchArguments((uint32_t)params->unHandle, (char *)params->pchArgs, (uint32_t)params->unArgs); } -EVRApplicationError cppIVRApplications_IVRApplications_006_GetStartingApplication(void *linux_side, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_006_GetStartingApplication( struct cppIVRApplications_IVRApplications_006_GetStartingApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->GetStartingApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetStartingApplication((char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -EVRApplicationTransitionState cppIVRApplications_IVRApplications_006_GetTransitionState(void *linux_side) +void cppIVRApplications_IVRApplications_006_GetTransitionState( struct cppIVRApplications_IVRApplications_006_GetTransitionState_params *params ) { - EVRApplicationTransitionState _ret; - _ret = ((IVRApplications*)linux_side)->GetTransitionState(); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetTransitionState(); } -EVRApplicationError cppIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck( struct cppIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->PerformApplicationPrelaunchCheck((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->PerformApplicationPrelaunchCheck((const char *)params->pchAppKey); } -const char * cppIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(void *linux_side, EVRApplicationTransitionState state) +void cppIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum( struct cppIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)state); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)params->state); } -bool cppIVRApplications_IVRApplications_006_IsQuitUserPromptRequested(void *linux_side) +void cppIVRApplications_IVRApplications_006_IsQuitUserPromptRequested( struct cppIVRApplications_IVRApplications_006_IsQuitUserPromptRequested_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->IsQuitUserPromptRequested(); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->IsQuitUserPromptRequested(); } -EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchInternalProcess(void *linux_side, const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory) +void cppIVRApplications_IVRApplications_006_LaunchInternalProcess( struct cppIVRApplications_IVRApplications_006_LaunchInternalProcess_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchInternalProcess((const char *)pchBinaryPath, (const char *)pchArguments, (const char *)pchWorkingDirectory); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchInternalProcess((const char *)params->pchBinaryPath, (const char *)params->pchArguments, (const char *)params->pchWorkingDirectory); } -uint32_t cppIVRApplications_IVRApplications_006_GetCurrentSceneProcessId(void *linux_side) +void cppIVRApplications_IVRApplications_006_GetCurrentSceneProcessId( struct cppIVRApplications_IVRApplications_006_GetCurrentSceneProcessId_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetCurrentSceneProcessId(); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetCurrentSceneProcessId(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_006.h b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_006.h index 0dc421fa..c6ea7f91 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_006.h +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_006.h @@ -1,37 +1,281 @@ #ifdef __cplusplus extern "C" { #endif -extern EVRApplicationError cppIVRApplications_IVRApplications_006_AddApplicationManifest(void *, const char *, bool); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_RemoveApplicationManifest(void *, const char *); -extern bool cppIVRApplications_IVRApplications_006_IsApplicationInstalled(void *, const char *); -extern uint32_t cppIVRApplications_IVRApplications_006_GetApplicationCount(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_GetApplicationKeyByIndex(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchApplication(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchTemplateApplication(void *, const char *, const char *, const AppOverrideKeys_t *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType(void *, const char *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchDashboardOverlay(void *, const char *); -extern bool cppIVRApplications_IVRApplications_006_CancelApplicationLaunch(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_IdentifyApplication(void *, uint32_t, const char *); -extern uint32_t cppIVRApplications_IVRApplications_006_GetApplicationProcessId(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum(void *, EVRApplicationError); -extern uint32_t cppIVRApplications_IVRApplications_006_GetApplicationPropertyString(void *, const char *, EVRApplicationProperty, char *, uint32_t, EVRApplicationError *); -extern bool cppIVRApplications_IVRApplications_006_GetApplicationPropertyBool(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern uint64_t cppIVRApplications_IVRApplications_006_GetApplicationPropertyUint64(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_SetApplicationAutoLaunch(void *, const char *, bool); -extern bool cppIVRApplications_IVRApplications_006_GetApplicationAutoLaunch(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType(void *, const char *, const char *); -extern bool cppIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType(void *, const char *, char *, uint32_t); -extern bool cppIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes(void *, const char *, char *, uint32_t); -extern uint32_t cppIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType(void *, const char *, char *, uint32_t); -extern uint32_t cppIVRApplications_IVRApplications_006_GetApplicationLaunchArguments(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_GetStartingApplication(void *, char *, uint32_t); -extern EVRApplicationTransitionState cppIVRApplications_IVRApplications_006_GetTransitionState(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(void *, EVRApplicationTransitionState); -extern bool cppIVRApplications_IVRApplications_006_IsQuitUserPromptRequested(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchInternalProcess(void *, const char *, const char *, const char *); -extern uint32_t cppIVRApplications_IVRApplications_006_GetCurrentSceneProcessId(void *); +struct cppIVRApplications_IVRApplications_006_AddApplicationManifest_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchApplicationManifestFullPath; + bool bTemporary; +}; +extern void cppIVRApplications_IVRApplications_006_AddApplicationManifest( struct cppIVRApplications_IVRApplications_006_AddApplicationManifest_params *params ); + +struct cppIVRApplications_IVRApplications_006_RemoveApplicationManifest_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchApplicationManifestFullPath; +}; +extern void cppIVRApplications_IVRApplications_006_RemoveApplicationManifest( struct cppIVRApplications_IVRApplications_006_RemoveApplicationManifest_params *params ); + +struct cppIVRApplications_IVRApplications_006_IsApplicationInstalled_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_006_IsApplicationInstalled( struct cppIVRApplications_IVRApplications_006_IsApplicationInstalled_params *params ); + +struct cppIVRApplications_IVRApplications_006_GetApplicationCount_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRApplications_IVRApplications_006_GetApplicationCount( struct cppIVRApplications_IVRApplications_006_GetApplicationCount_params *params ); + +struct cppIVRApplications_IVRApplications_006_GetApplicationKeyByIndex_params +{ + void *linux_side; + EVRApplicationError _ret; + uint32_t unApplicationIndex; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_006_GetApplicationKeyByIndex( struct cppIVRApplications_IVRApplications_006_GetApplicationKeyByIndex_params *params ); + +struct cppIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId_params +{ + void *linux_side; + EVRApplicationError _ret; + uint32_t unProcessId; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId( struct cppIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId_params *params ); + +struct cppIVRApplications_IVRApplications_006_LaunchApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_006_LaunchApplication( struct cppIVRApplications_IVRApplications_006_LaunchApplication_params *params ); + +struct cppIVRApplications_IVRApplications_006_LaunchTemplateApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchTemplateAppKey; + const char *pchNewAppKey; + const AppOverrideKeys_t *pKeys; + uint32_t unKeys; +}; +extern void cppIVRApplications_IVRApplications_006_LaunchTemplateApplication( struct cppIVRApplications_IVRApplications_006_LaunchTemplateApplication_params *params ); + +struct cppIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchMimeType; + const char *pchArgs; +}; +extern void cppIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType( struct cppIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType_params *params ); + +struct cppIVRApplications_IVRApplications_006_LaunchDashboardOverlay_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_006_LaunchDashboardOverlay( struct cppIVRApplications_IVRApplications_006_LaunchDashboardOverlay_params *params ); + +struct cppIVRApplications_IVRApplications_006_CancelApplicationLaunch_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_006_CancelApplicationLaunch( struct cppIVRApplications_IVRApplications_006_CancelApplicationLaunch_params *params ); + +struct cppIVRApplications_IVRApplications_006_IdentifyApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + uint32_t unProcessId; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_006_IdentifyApplication( struct cppIVRApplications_IVRApplications_006_IdentifyApplication_params *params ); + +struct cppIVRApplications_IVRApplications_006_GetApplicationProcessId_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_006_GetApplicationProcessId( struct cppIVRApplications_IVRApplications_006_GetApplicationProcessId_params *params ); + +struct cppIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRApplicationError error; +}; +extern void cppIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum( struct cppIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum_params *params ); + +struct cppIVRApplications_IVRApplications_006_GetApplicationPropertyString_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + EVRApplicationProperty eProperty; + char *pchPropertyValueBuffer; + uint32_t unPropertyValueBufferLen; + EVRApplicationError *peError; +}; +extern void cppIVRApplications_IVRApplications_006_GetApplicationPropertyString( struct cppIVRApplications_IVRApplications_006_GetApplicationPropertyString_params *params ); + +struct cppIVRApplications_IVRApplications_006_GetApplicationPropertyBool_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; + EVRApplicationProperty eProperty; + EVRApplicationError *peError; +}; +extern void cppIVRApplications_IVRApplications_006_GetApplicationPropertyBool( struct cppIVRApplications_IVRApplications_006_GetApplicationPropertyBool_params *params ); + +struct cppIVRApplications_IVRApplications_006_GetApplicationPropertyUint64_params +{ + void *linux_side; + uint64_t _ret; + const char *pchAppKey; + EVRApplicationProperty eProperty; + EVRApplicationError *peError; +}; +extern void cppIVRApplications_IVRApplications_006_GetApplicationPropertyUint64( struct cppIVRApplications_IVRApplications_006_GetApplicationPropertyUint64_params *params ); + +struct cppIVRApplications_IVRApplications_006_SetApplicationAutoLaunch_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; + bool bAutoLaunch; +}; +extern void cppIVRApplications_IVRApplications_006_SetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_006_SetApplicationAutoLaunch_params *params ); + +struct cppIVRApplications_IVRApplications_006_GetApplicationAutoLaunch_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_006_GetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_006_GetApplicationAutoLaunch_params *params ); + +struct cppIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; + const char *pchMimeType; +}; +extern void cppIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType( struct cppIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType_params *params ); + +struct cppIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType_params +{ + void *linux_side; + bool _ret; + const char *pchMimeType; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType( struct cppIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType_params *params ); + +struct cppIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; + char *pchMimeTypesBuffer; + uint32_t unMimeTypesBuffer; +}; +extern void cppIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes( struct cppIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes_params *params ); + +struct cppIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType_params +{ + void *linux_side; + uint32_t _ret; + const char *pchMimeType; + char *pchAppKeysThatSupportBuffer; + uint32_t unAppKeysThatSupportBuffer; +}; +extern void cppIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType( struct cppIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType_params *params ); + +struct cppIVRApplications_IVRApplications_006_GetApplicationLaunchArguments_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unHandle; + char *pchArgs; + uint32_t unArgs; +}; +extern void cppIVRApplications_IVRApplications_006_GetApplicationLaunchArguments( struct cppIVRApplications_IVRApplications_006_GetApplicationLaunchArguments_params *params ); + +struct cppIVRApplications_IVRApplications_006_GetStartingApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_006_GetStartingApplication( struct cppIVRApplications_IVRApplications_006_GetStartingApplication_params *params ); + +struct cppIVRApplications_IVRApplications_006_GetTransitionState_params +{ + void *linux_side; + EVRApplicationTransitionState _ret; +}; +extern void cppIVRApplications_IVRApplications_006_GetTransitionState( struct cppIVRApplications_IVRApplications_006_GetTransitionState_params *params ); + +struct cppIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck( struct cppIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck_params *params ); + +struct cppIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRApplicationTransitionState state; +}; +extern void cppIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum( struct cppIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum_params *params ); + +struct cppIVRApplications_IVRApplications_006_IsQuitUserPromptRequested_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRApplications_IVRApplications_006_IsQuitUserPromptRequested( struct cppIVRApplications_IVRApplications_006_IsQuitUserPromptRequested_params *params ); + +struct cppIVRApplications_IVRApplications_006_LaunchInternalProcess_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchBinaryPath; + const char *pchArguments; + const char *pchWorkingDirectory; +}; +extern void cppIVRApplications_IVRApplications_006_LaunchInternalProcess( struct cppIVRApplications_IVRApplications_006_LaunchInternalProcess_params *params ); + +struct cppIVRApplications_IVRApplications_006_GetCurrentSceneProcessId_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRApplications_IVRApplications_006_GetCurrentSceneProcessId( struct cppIVRApplications_IVRApplications_006_GetCurrentSceneProcessId_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_007.cpp b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_007.cpp index 717cc566..15c83303 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_007.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_007.cpp @@ -9,214 +9,154 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVRApplicationError cppIVRApplications_IVRApplications_007_AddApplicationManifest(void *linux_side, const char *pchApplicationManifestFullPath, bool bTemporary) +void cppIVRApplications_IVRApplications_007_AddApplicationManifest( struct cppIVRApplications_IVRApplications_007_AddApplicationManifest_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->AddApplicationManifest((const char *)pchApplicationManifestFullPath, (bool)bTemporary); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->AddApplicationManifest((const char *)params->pchApplicationManifestFullPath, (bool)params->bTemporary); } -EVRApplicationError cppIVRApplications_IVRApplications_007_RemoveApplicationManifest(void *linux_side, const char *pchApplicationManifestFullPath) +void cppIVRApplications_IVRApplications_007_RemoveApplicationManifest( struct cppIVRApplications_IVRApplications_007_RemoveApplicationManifest_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->RemoveApplicationManifest((const char *)pchApplicationManifestFullPath); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->RemoveApplicationManifest((const char *)params->pchApplicationManifestFullPath); } -bool cppIVRApplications_IVRApplications_007_IsApplicationInstalled(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_007_IsApplicationInstalled( struct cppIVRApplications_IVRApplications_007_IsApplicationInstalled_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->IsApplicationInstalled((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->IsApplicationInstalled((const char *)params->pchAppKey); } -uint32_t cppIVRApplications_IVRApplications_007_GetApplicationCount(void *linux_side) +void cppIVRApplications_IVRApplications_007_GetApplicationCount( struct cppIVRApplications_IVRApplications_007_GetApplicationCount_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationCount(); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationCount(); } -EVRApplicationError cppIVRApplications_IVRApplications_007_GetApplicationKeyByIndex(void *linux_side, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_007_GetApplicationKeyByIndex( struct cppIVRApplications_IVRApplications_007_GetApplicationKeyByIndex_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationKeyByIndex((uint32_t)unApplicationIndex, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationKeyByIndex((uint32_t)params->unApplicationIndex, (char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -EVRApplicationError cppIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId(void *linux_side, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId( struct cppIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationKeyByProcessId((uint32_t)unProcessId, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationKeyByProcessId((uint32_t)params->unProcessId, (char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -EVRApplicationError cppIVRApplications_IVRApplications_007_LaunchApplication(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_007_LaunchApplication( struct cppIVRApplications_IVRApplications_007_LaunchApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchApplication((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchApplication((const char *)params->pchAppKey); } -EVRApplicationError cppIVRApplications_IVRApplications_007_LaunchTemplateApplication(void *linux_side, const char *pchTemplateAppKey, const char *pchNewAppKey, const AppOverrideKeys_t *pKeys, uint32_t unKeys) +void cppIVRApplications_IVRApplications_007_LaunchTemplateApplication( struct cppIVRApplications_IVRApplications_007_LaunchTemplateApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchTemplateApplication((const char *)pchTemplateAppKey, (const char *)pchNewAppKey, (const vr::AppOverrideKeys_t *)pKeys, (uint32_t)unKeys); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchTemplateApplication((const char *)params->pchTemplateAppKey, (const char *)params->pchNewAppKey, (const vr::AppOverrideKeys_t *)params->pKeys, (uint32_t)params->unKeys); } -EVRApplicationError cppIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType(void *linux_side, const char *pchMimeType, const char *pchArgs) +void cppIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType( struct cppIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchApplicationFromMimeType((const char *)pchMimeType, (const char *)pchArgs); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchApplicationFromMimeType((const char *)params->pchMimeType, (const char *)params->pchArgs); } -EVRApplicationError cppIVRApplications_IVRApplications_007_LaunchDashboardOverlay(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_007_LaunchDashboardOverlay( struct cppIVRApplications_IVRApplications_007_LaunchDashboardOverlay_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchDashboardOverlay((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchDashboardOverlay((const char *)params->pchAppKey); } -bool cppIVRApplications_IVRApplications_007_CancelApplicationLaunch(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_007_CancelApplicationLaunch( struct cppIVRApplications_IVRApplications_007_CancelApplicationLaunch_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->CancelApplicationLaunch((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->CancelApplicationLaunch((const char *)params->pchAppKey); } -EVRApplicationError cppIVRApplications_IVRApplications_007_IdentifyApplication(void *linux_side, uint32_t unProcessId, const char *pchAppKey) +void cppIVRApplications_IVRApplications_007_IdentifyApplication( struct cppIVRApplications_IVRApplications_007_IdentifyApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->IdentifyApplication((uint32_t)unProcessId, (const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->IdentifyApplication((uint32_t)params->unProcessId, (const char *)params->pchAppKey); } -uint32_t cppIVRApplications_IVRApplications_007_GetApplicationProcessId(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_007_GetApplicationProcessId( struct cppIVRApplications_IVRApplications_007_GetApplicationProcessId_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationProcessId((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationProcessId((const char *)params->pchAppKey); } -const char * cppIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum(void *linux_side, EVRApplicationError error) +void cppIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum( struct cppIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)error); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)params->error); } -uint32_t cppIVRApplications_IVRApplications_007_GetApplicationPropertyString(void *linux_side, const char *pchAppKey, EVRApplicationProperty eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError) +void cppIVRApplications_IVRApplications_007_GetApplicationPropertyString( struct cppIVRApplications_IVRApplications_007_GetApplicationPropertyString_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationPropertyString((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (char *)pchPropertyValueBuffer, (uint32_t)unPropertyValueBufferLen, (vr::EVRApplicationError *)peError); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationPropertyString((const char *)params->pchAppKey, (vr::EVRApplicationProperty)params->eProperty, (char *)params->pchPropertyValueBuffer, (uint32_t)params->unPropertyValueBufferLen, (vr::EVRApplicationError *)params->peError); } -bool cppIVRApplications_IVRApplications_007_GetApplicationPropertyBool(void *linux_side, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +void cppIVRApplications_IVRApplications_007_GetApplicationPropertyBool( struct cppIVRApplications_IVRApplications_007_GetApplicationPropertyBool_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationPropertyBool((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationPropertyBool((const char *)params->pchAppKey, (vr::EVRApplicationProperty)params->eProperty, (vr::EVRApplicationError *)params->peError); } -uint64_t cppIVRApplications_IVRApplications_007_GetApplicationPropertyUint64(void *linux_side, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) +void cppIVRApplications_IVRApplications_007_GetApplicationPropertyUint64( struct cppIVRApplications_IVRApplications_007_GetApplicationPropertyUint64_params *params ) { - uint64_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationPropertyUint64((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationPropertyUint64((const char *)params->pchAppKey, (vr::EVRApplicationProperty)params->eProperty, (vr::EVRApplicationError *)params->peError); } -EVRApplicationError cppIVRApplications_IVRApplications_007_SetApplicationAutoLaunch(void *linux_side, const char *pchAppKey, bool bAutoLaunch) +void cppIVRApplications_IVRApplications_007_SetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_007_SetApplicationAutoLaunch_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->SetApplicationAutoLaunch((const char *)pchAppKey, (bool)bAutoLaunch); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->SetApplicationAutoLaunch((const char *)params->pchAppKey, (bool)params->bAutoLaunch); } -bool cppIVRApplications_IVRApplications_007_GetApplicationAutoLaunch(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_007_GetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_007_GetApplicationAutoLaunch_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationAutoLaunch((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationAutoLaunch((const char *)params->pchAppKey); } -EVRApplicationError cppIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType(void *linux_side, const char *pchAppKey, const char *pchMimeType) +void cppIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType( struct cppIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->SetDefaultApplicationForMimeType((const char *)pchAppKey, (const char *)pchMimeType); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->SetDefaultApplicationForMimeType((const char *)params->pchAppKey, (const char *)params->pchMimeType); } -bool cppIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType(void *linux_side, const char *pchMimeType, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType( struct cppIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->GetDefaultApplicationForMimeType((const char *)pchMimeType, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetDefaultApplicationForMimeType((const char *)params->pchMimeType, (char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -bool cppIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes(void *linux_side, const char *pchAppKey, char *pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) +void cppIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes( struct cppIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes_params *params ) { - bool _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationSupportedMimeTypes((const char *)pchAppKey, (char *)pchMimeTypesBuffer, (uint32_t)unMimeTypesBuffer); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationSupportedMimeTypes((const char *)params->pchAppKey, (char *)params->pchMimeTypesBuffer, (uint32_t)params->unMimeTypesBuffer); } -uint32_t cppIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType(void *linux_side, const char *pchMimeType, char *pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) +void cppIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType( struct cppIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationsThatSupportMimeType((const char *)pchMimeType, (char *)pchAppKeysThatSupportBuffer, (uint32_t)unAppKeysThatSupportBuffer); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationsThatSupportMimeType((const char *)params->pchMimeType, (char *)params->pchAppKeysThatSupportBuffer, (uint32_t)params->unAppKeysThatSupportBuffer); } -uint32_t cppIVRApplications_IVRApplications_007_GetApplicationLaunchArguments(void *linux_side, uint32_t unHandle, char *pchArgs, uint32_t unArgs) +void cppIVRApplications_IVRApplications_007_GetApplicationLaunchArguments( struct cppIVRApplications_IVRApplications_007_GetApplicationLaunchArguments_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetApplicationLaunchArguments((uint32_t)unHandle, (char *)pchArgs, (uint32_t)unArgs); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetApplicationLaunchArguments((uint32_t)params->unHandle, (char *)params->pchArgs, (uint32_t)params->unArgs); } -EVRApplicationError cppIVRApplications_IVRApplications_007_GetStartingApplication(void *linux_side, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +void cppIVRApplications_IVRApplications_007_GetStartingApplication( struct cppIVRApplications_IVRApplications_007_GetStartingApplication_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->GetStartingApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetStartingApplication((char *)params->pchAppKeyBuffer, (uint32_t)params->unAppKeyBufferLen); } -EVRSceneApplicationState cppIVRApplications_IVRApplications_007_GetSceneApplicationState(void *linux_side) +void cppIVRApplications_IVRApplications_007_GetSceneApplicationState( struct cppIVRApplications_IVRApplications_007_GetSceneApplicationState_params *params ) { - EVRSceneApplicationState _ret; - _ret = ((IVRApplications*)linux_side)->GetSceneApplicationState(); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetSceneApplicationState(); } -EVRApplicationError cppIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck(void *linux_side, const char *pchAppKey) +void cppIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck( struct cppIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->PerformApplicationPrelaunchCheck((const char *)pchAppKey); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->PerformApplicationPrelaunchCheck((const char *)params->pchAppKey); } -const char * cppIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum(void *linux_side, EVRSceneApplicationState state) +void cppIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum( struct cppIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRApplications*)linux_side)->GetSceneApplicationStateNameFromEnum((vr::EVRSceneApplicationState)state); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetSceneApplicationStateNameFromEnum((vr::EVRSceneApplicationState)params->state); } -EVRApplicationError cppIVRApplications_IVRApplications_007_LaunchInternalProcess(void *linux_side, const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory) +void cppIVRApplications_IVRApplications_007_LaunchInternalProcess( struct cppIVRApplications_IVRApplications_007_LaunchInternalProcess_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRApplications*)linux_side)->LaunchInternalProcess((const char *)pchBinaryPath, (const char *)pchArguments, (const char *)pchWorkingDirectory); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->LaunchInternalProcess((const char *)params->pchBinaryPath, (const char *)params->pchArguments, (const char *)params->pchWorkingDirectory); } -uint32_t cppIVRApplications_IVRApplications_007_GetCurrentSceneProcessId(void *linux_side) +void cppIVRApplications_IVRApplications_007_GetCurrentSceneProcessId( struct cppIVRApplications_IVRApplications_007_GetCurrentSceneProcessId_params *params ) { - uint32_t _ret; - _ret = ((IVRApplications*)linux_side)->GetCurrentSceneProcessId(); - return _ret; + params->_ret = ((IVRApplications*)params->linux_side)->GetCurrentSceneProcessId(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_007.h b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_007.h index 56eaeb32..f4b5c59a 100644 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_007.h +++ b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_007.h @@ -1,36 +1,274 @@ #ifdef __cplusplus extern "C" { #endif -extern EVRApplicationError cppIVRApplications_IVRApplications_007_AddApplicationManifest(void *, const char *, bool); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_RemoveApplicationManifest(void *, const char *); -extern bool cppIVRApplications_IVRApplications_007_IsApplicationInstalled(void *, const char *); -extern uint32_t cppIVRApplications_IVRApplications_007_GetApplicationCount(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_GetApplicationKeyByIndex(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_LaunchApplication(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_LaunchTemplateApplication(void *, const char *, const char *, const AppOverrideKeys_t *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType(void *, const char *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_LaunchDashboardOverlay(void *, const char *); -extern bool cppIVRApplications_IVRApplications_007_CancelApplicationLaunch(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_IdentifyApplication(void *, uint32_t, const char *); -extern uint32_t cppIVRApplications_IVRApplications_007_GetApplicationProcessId(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum(void *, EVRApplicationError); -extern uint32_t cppIVRApplications_IVRApplications_007_GetApplicationPropertyString(void *, const char *, EVRApplicationProperty, char *, uint32_t, EVRApplicationError *); -extern bool cppIVRApplications_IVRApplications_007_GetApplicationPropertyBool(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern uint64_t cppIVRApplications_IVRApplications_007_GetApplicationPropertyUint64(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_SetApplicationAutoLaunch(void *, const char *, bool); -extern bool cppIVRApplications_IVRApplications_007_GetApplicationAutoLaunch(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType(void *, const char *, const char *); -extern bool cppIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType(void *, const char *, char *, uint32_t); -extern bool cppIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes(void *, const char *, char *, uint32_t); -extern uint32_t cppIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType(void *, const char *, char *, uint32_t); -extern uint32_t cppIVRApplications_IVRApplications_007_GetApplicationLaunchArguments(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_GetStartingApplication(void *, char *, uint32_t); -extern EVRSceneApplicationState cppIVRApplications_IVRApplications_007_GetSceneApplicationState(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum(void *, EVRSceneApplicationState); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_LaunchInternalProcess(void *, const char *, const char *, const char *); -extern uint32_t cppIVRApplications_IVRApplications_007_GetCurrentSceneProcessId(void *); +struct cppIVRApplications_IVRApplications_007_AddApplicationManifest_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchApplicationManifestFullPath; + bool bTemporary; +}; +extern void cppIVRApplications_IVRApplications_007_AddApplicationManifest( struct cppIVRApplications_IVRApplications_007_AddApplicationManifest_params *params ); + +struct cppIVRApplications_IVRApplications_007_RemoveApplicationManifest_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchApplicationManifestFullPath; +}; +extern void cppIVRApplications_IVRApplications_007_RemoveApplicationManifest( struct cppIVRApplications_IVRApplications_007_RemoveApplicationManifest_params *params ); + +struct cppIVRApplications_IVRApplications_007_IsApplicationInstalled_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_007_IsApplicationInstalled( struct cppIVRApplications_IVRApplications_007_IsApplicationInstalled_params *params ); + +struct cppIVRApplications_IVRApplications_007_GetApplicationCount_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRApplications_IVRApplications_007_GetApplicationCount( struct cppIVRApplications_IVRApplications_007_GetApplicationCount_params *params ); + +struct cppIVRApplications_IVRApplications_007_GetApplicationKeyByIndex_params +{ + void *linux_side; + EVRApplicationError _ret; + uint32_t unApplicationIndex; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_007_GetApplicationKeyByIndex( struct cppIVRApplications_IVRApplications_007_GetApplicationKeyByIndex_params *params ); + +struct cppIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId_params +{ + void *linux_side; + EVRApplicationError _ret; + uint32_t unProcessId; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId( struct cppIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId_params *params ); + +struct cppIVRApplications_IVRApplications_007_LaunchApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_007_LaunchApplication( struct cppIVRApplications_IVRApplications_007_LaunchApplication_params *params ); + +struct cppIVRApplications_IVRApplications_007_LaunchTemplateApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchTemplateAppKey; + const char *pchNewAppKey; + const AppOverrideKeys_t *pKeys; + uint32_t unKeys; +}; +extern void cppIVRApplications_IVRApplications_007_LaunchTemplateApplication( struct cppIVRApplications_IVRApplications_007_LaunchTemplateApplication_params *params ); + +struct cppIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchMimeType; + const char *pchArgs; +}; +extern void cppIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType( struct cppIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType_params *params ); + +struct cppIVRApplications_IVRApplications_007_LaunchDashboardOverlay_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_007_LaunchDashboardOverlay( struct cppIVRApplications_IVRApplications_007_LaunchDashboardOverlay_params *params ); + +struct cppIVRApplications_IVRApplications_007_CancelApplicationLaunch_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_007_CancelApplicationLaunch( struct cppIVRApplications_IVRApplications_007_CancelApplicationLaunch_params *params ); + +struct cppIVRApplications_IVRApplications_007_IdentifyApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + uint32_t unProcessId; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_007_IdentifyApplication( struct cppIVRApplications_IVRApplications_007_IdentifyApplication_params *params ); + +struct cppIVRApplications_IVRApplications_007_GetApplicationProcessId_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_007_GetApplicationProcessId( struct cppIVRApplications_IVRApplications_007_GetApplicationProcessId_params *params ); + +struct cppIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRApplicationError error; +}; +extern void cppIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum( struct cppIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum_params *params ); + +struct cppIVRApplications_IVRApplications_007_GetApplicationPropertyString_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + EVRApplicationProperty eProperty; + char *pchPropertyValueBuffer; + uint32_t unPropertyValueBufferLen; + EVRApplicationError *peError; +}; +extern void cppIVRApplications_IVRApplications_007_GetApplicationPropertyString( struct cppIVRApplications_IVRApplications_007_GetApplicationPropertyString_params *params ); + +struct cppIVRApplications_IVRApplications_007_GetApplicationPropertyBool_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; + EVRApplicationProperty eProperty; + EVRApplicationError *peError; +}; +extern void cppIVRApplications_IVRApplications_007_GetApplicationPropertyBool( struct cppIVRApplications_IVRApplications_007_GetApplicationPropertyBool_params *params ); + +struct cppIVRApplications_IVRApplications_007_GetApplicationPropertyUint64_params +{ + void *linux_side; + uint64_t _ret; + const char *pchAppKey; + EVRApplicationProperty eProperty; + EVRApplicationError *peError; +}; +extern void cppIVRApplications_IVRApplications_007_GetApplicationPropertyUint64( struct cppIVRApplications_IVRApplications_007_GetApplicationPropertyUint64_params *params ); + +struct cppIVRApplications_IVRApplications_007_SetApplicationAutoLaunch_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; + bool bAutoLaunch; +}; +extern void cppIVRApplications_IVRApplications_007_SetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_007_SetApplicationAutoLaunch_params *params ); + +struct cppIVRApplications_IVRApplications_007_GetApplicationAutoLaunch_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_007_GetApplicationAutoLaunch( struct cppIVRApplications_IVRApplications_007_GetApplicationAutoLaunch_params *params ); + +struct cppIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; + const char *pchMimeType; +}; +extern void cppIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType( struct cppIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType_params *params ); + +struct cppIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType_params +{ + void *linux_side; + bool _ret; + const char *pchMimeType; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType( struct cppIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType_params *params ); + +struct cppIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes_params +{ + void *linux_side; + bool _ret; + const char *pchAppKey; + char *pchMimeTypesBuffer; + uint32_t unMimeTypesBuffer; +}; +extern void cppIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes( struct cppIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes_params *params ); + +struct cppIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType_params +{ + void *linux_side; + uint32_t _ret; + const char *pchMimeType; + char *pchAppKeysThatSupportBuffer; + uint32_t unAppKeysThatSupportBuffer; +}; +extern void cppIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType( struct cppIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType_params *params ); + +struct cppIVRApplications_IVRApplications_007_GetApplicationLaunchArguments_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unHandle; + char *pchArgs; + uint32_t unArgs; +}; +extern void cppIVRApplications_IVRApplications_007_GetApplicationLaunchArguments( struct cppIVRApplications_IVRApplications_007_GetApplicationLaunchArguments_params *params ); + +struct cppIVRApplications_IVRApplications_007_GetStartingApplication_params +{ + void *linux_side; + EVRApplicationError _ret; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; +extern void cppIVRApplications_IVRApplications_007_GetStartingApplication( struct cppIVRApplications_IVRApplications_007_GetStartingApplication_params *params ); + +struct cppIVRApplications_IVRApplications_007_GetSceneApplicationState_params +{ + void *linux_side; + EVRSceneApplicationState _ret; +}; +extern void cppIVRApplications_IVRApplications_007_GetSceneApplicationState( struct cppIVRApplications_IVRApplications_007_GetSceneApplicationState_params *params ); + +struct cppIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchAppKey; +}; +extern void cppIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck( struct cppIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck_params *params ); + +struct cppIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRSceneApplicationState state; +}; +extern void cppIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum( struct cppIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum_params *params ); + +struct cppIVRApplications_IVRApplications_007_LaunchInternalProcess_params +{ + void *linux_side; + EVRApplicationError _ret; + const char *pchBinaryPath; + const char *pchArguments; + const char *pchWorkingDirectory; +}; +extern void cppIVRApplications_IVRApplications_007_LaunchInternalProcess( struct cppIVRApplications_IVRApplications_007_LaunchInternalProcess_params *params ); + +struct cppIVRApplications_IVRApplications_007_GetCurrentSceneProcessId_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRApplications_IVRApplications_007_GetCurrentSceneProcessId( struct cppIVRApplications_IVRApplications_007_GetCurrentSceneProcessId_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.cpp b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.cpp index 11ba02d6..2875003c 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.cpp @@ -9,102 +9,84 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy(void *linux_side, EChaperoneConfigFile configFile) +void cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->CommitWorkingCopy((vr::EChaperoneConfigFile)configFile); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->CommitWorkingCopy((vr::EChaperoneConfigFile)params->configFile); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy(void *linux_side) +void cppIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy_params *params ) { - ((IVRChaperoneSetup*)linux_side)->RevertWorkingCopy(); + ((IVRChaperoneSetup*)params->linux_side)->RevertWorkingCopy(); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize(void *linux_side, float *pSizeX, float *pSizeZ) +void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetWorkingPlayAreaSize((float *)pSizeX, (float *)pSizeZ); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetWorkingPlayAreaSize((float *)params->pSizeX, (float *)params->pSizeZ); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect(void *linux_side, HmdQuad_t *rect) +void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetWorkingPlayAreaRect((vr::HmdQuad_t *)rect); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetWorkingPlayAreaRect((vr::HmdQuad_t *)params->rect); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(void *linux_side, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)params->pQuadsBuffer, (uint32_t *)params->punQuadsCount); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(void *linux_side, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetLiveCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetLiveCollisionBoundsInfo((vr::HmdQuad_t *)params->pQuadsBuffer, (uint32_t *)params->punQuadsCount); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) +void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetWorkingSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatSeatedZeroPoseToRawTrackingPose); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetWorkingSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)params->pmatSeatedZeroPoseToRawTrackingPose); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose) +void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetWorkingStandingZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatStandingZeroPoseToRawTrackingPose); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetWorkingStandingZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)params->pmatStandingZeroPoseToRawTrackingPose); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(void *linux_side, float sizeX, float sizeZ) +void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize_params *params ) { - ((IVRChaperoneSetup*)linux_side)->SetWorkingPlayAreaSize((float)sizeX, (float)sizeZ); + ((IVRChaperoneSetup*)params->linux_side)->SetWorkingPlayAreaSize((float)params->sizeX, (float)params->sizeZ); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(void *linux_side, HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount) +void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo_params *params ) { - ((IVRChaperoneSetup*)linux_side)->SetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t)unQuadsCount); + ((IVRChaperoneSetup*)params->linux_side)->SetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)params->pQuadsBuffer, (uint32_t)params->unQuadsCount); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(void *linux_side, const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose) +void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose_params *params ) { - ((IVRChaperoneSetup*)linux_side)->SetWorkingSeatedZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)pMatSeatedZeroPoseToRawTrackingPose); + ((IVRChaperoneSetup*)params->linux_side)->SetWorkingSeatedZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)params->pMatSeatedZeroPoseToRawTrackingPose); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(void *linux_side, const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose) +void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose_params *params ) { - ((IVRChaperoneSetup*)linux_side)->SetWorkingStandingZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)pMatStandingZeroPoseToRawTrackingPose); + ((IVRChaperoneSetup*)params->linux_side)->SetWorkingStandingZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)params->pMatStandingZeroPoseToRawTrackingPose); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk(void *linux_side, EChaperoneConfigFile configFile) +void cppIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk_params *params ) { - ((IVRChaperoneSetup*)linux_side)->ReloadFromDisk((vr::EChaperoneConfigFile)configFile); + ((IVRChaperoneSetup*)params->linux_side)->ReloadFromDisk((vr::EChaperoneConfigFile)params->configFile); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) +void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetLiveSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatSeatedZeroPoseToRawTrackingPose); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetLiveSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)params->pmatSeatedZeroPoseToRawTrackingPose); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo(void *linux_side, uint8_t *pTagsBuffer, uint32_t unTagCount) +void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo_params *params ) { - ((IVRChaperoneSetup*)linux_side)->SetWorkingWallTagInfo((uint8_t *)pTagsBuffer, (uint32_t)unTagCount); + ((IVRChaperoneSetup*)params->linux_side)->SetWorkingWallTagInfo((uint8_t *)params->pTagsBuffer, (uint32_t)params->unTagCount); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo(void *linux_side, uint8_t *pTagsBuffer, uint32_t *punTagCount) +void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetLiveWallTagInfo((uint8_t *)pTagsBuffer, (uint32_t *)punTagCount); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetLiveWallTagInfo((uint8_t *)params->pTagsBuffer, (uint32_t *)params->punTagCount); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.h b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.h index 36abdcdb..a656c600 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.h +++ b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.h @@ -1,22 +1,133 @@ #ifdef __cplusplus extern "C" { #endif -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy(void *, EChaperoneConfigFile); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy(void *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize(void *, float *, float *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect(void *, HmdQuad_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(void *, float, float); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(void *, const HmdMatrix34_t *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(void *, const HmdMatrix34_t *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk(void *, EChaperoneConfigFile); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo(void *, uint8_t *, uint32_t); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo(void *, uint8_t *, uint32_t *); +struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy_params +{ + void *linux_side; + bool _ret; + EChaperoneConfigFile configFile; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy_params +{ + void *linux_side; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize_params +{ + void *linux_side; + bool _ret; + float *pSizeX; + float *pSizeZ; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect_params +{ + void *linux_side; + bool _ret; + HmdQuad_t *rect; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo_params +{ + void *linux_side; + bool _ret; + HmdQuad_t *pQuadsBuffer; + uint32_t *punQuadsCount; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo_params +{ + void *linux_side; + bool _ret; + HmdQuad_t *pQuadsBuffer; + uint32_t *punQuadsCount; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose_params +{ + void *linux_side; + bool _ret; + HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose_params +{ + void *linux_side; + bool _ret; + HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize_params +{ + void *linux_side; + float sizeX; + float sizeZ; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo_params +{ + void *linux_side; + HmdQuad_t *pQuadsBuffer; + uint32_t unQuadsCount; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose_params +{ + void *linux_side; + const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose_params +{ + void *linux_side; + const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk_params +{ + void *linux_side; + EChaperoneConfigFile configFile; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose_params +{ + void *linux_side; + bool _ret; + HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo_params +{ + void *linux_side; + uint8_t *pTagsBuffer; + uint32_t unTagCount; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo_params +{ + void *linux_side; + bool _ret; + uint8_t *pTagsBuffer; + uint32_t *punTagCount; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.cpp b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.cpp index 90007c03..5634cc7a 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.cpp @@ -9,130 +9,104 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy(void *linux_side, EChaperoneConfigFile configFile) +void cppIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->CommitWorkingCopy((vr::EChaperoneConfigFile)configFile); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->CommitWorkingCopy((vr::EChaperoneConfigFile)params->configFile); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy(void *linux_side) +void cppIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy_params *params ) { - ((IVRChaperoneSetup*)linux_side)->RevertWorkingCopy(); + ((IVRChaperoneSetup*)params->linux_side)->RevertWorkingCopy(); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize(void *linux_side, float *pSizeX, float *pSizeZ) +void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetWorkingPlayAreaSize((float *)pSizeX, (float *)pSizeZ); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetWorkingPlayAreaSize((float *)params->pSizeX, (float *)params->pSizeZ); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect(void *linux_side, HmdQuad_t *rect) +void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetWorkingPlayAreaRect((vr::HmdQuad_t *)rect); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetWorkingPlayAreaRect((vr::HmdQuad_t *)params->rect); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo(void *linux_side, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)params->pQuadsBuffer, (uint32_t *)params->punQuadsCount); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo(void *linux_side, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetLiveCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetLiveCollisionBoundsInfo((vr::HmdQuad_t *)params->pQuadsBuffer, (uint32_t *)params->punQuadsCount); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) +void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetWorkingSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatSeatedZeroPoseToRawTrackingPose); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetWorkingSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)params->pmatSeatedZeroPoseToRawTrackingPose); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose) +void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetWorkingStandingZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatStandingZeroPoseToRawTrackingPose); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetWorkingStandingZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)params->pmatStandingZeroPoseToRawTrackingPose); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize(void *linux_side, float sizeX, float sizeZ) +void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize_params *params ) { - ((IVRChaperoneSetup*)linux_side)->SetWorkingPlayAreaSize((float)sizeX, (float)sizeZ); + ((IVRChaperoneSetup*)params->linux_side)->SetWorkingPlayAreaSize((float)params->sizeX, (float)params->sizeZ); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo(void *linux_side, HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount) +void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo_params *params ) { - ((IVRChaperoneSetup*)linux_side)->SetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t)unQuadsCount); + ((IVRChaperoneSetup*)params->linux_side)->SetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)params->pQuadsBuffer, (uint32_t)params->unQuadsCount); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose(void *linux_side, const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose) +void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose_params *params ) { - ((IVRChaperoneSetup*)linux_side)->SetWorkingSeatedZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)pMatSeatedZeroPoseToRawTrackingPose); + ((IVRChaperoneSetup*)params->linux_side)->SetWorkingSeatedZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)params->pMatSeatedZeroPoseToRawTrackingPose); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose(void *linux_side, const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose) +void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose_params *params ) { - ((IVRChaperoneSetup*)linux_side)->SetWorkingStandingZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)pMatStandingZeroPoseToRawTrackingPose); + ((IVRChaperoneSetup*)params->linux_side)->SetWorkingStandingZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)params->pMatStandingZeroPoseToRawTrackingPose); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk(void *linux_side, EChaperoneConfigFile configFile) +void cppIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk_params *params ) { - ((IVRChaperoneSetup*)linux_side)->ReloadFromDisk((vr::EChaperoneConfigFile)configFile); + ((IVRChaperoneSetup*)params->linux_side)->ReloadFromDisk((vr::EChaperoneConfigFile)params->configFile); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) +void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetLiveSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatSeatedZeroPoseToRawTrackingPose); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetLiveSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)params->pmatSeatedZeroPoseToRawTrackingPose); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo(void *linux_side, uint8_t *pTagsBuffer, uint32_t unTagCount) +void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo_params *params ) { - ((IVRChaperoneSetup*)linux_side)->SetWorkingCollisionBoundsTagsInfo((uint8_t *)pTagsBuffer, (uint32_t)unTagCount); + ((IVRChaperoneSetup*)params->linux_side)->SetWorkingCollisionBoundsTagsInfo((uint8_t *)params->pTagsBuffer, (uint32_t)params->unTagCount); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo(void *linux_side, uint8_t *pTagsBuffer, uint32_t *punTagCount) +void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetLiveCollisionBoundsTagsInfo((uint8_t *)pTagsBuffer, (uint32_t *)punTagCount); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetLiveCollisionBoundsTagsInfo((uint8_t *)params->pTagsBuffer, (uint32_t *)params->punTagCount); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo(void *linux_side, HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount) +void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->SetWorkingPhysicalBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t)unQuadsCount); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->SetWorkingPhysicalBoundsInfo((vr::HmdQuad_t *)params->pQuadsBuffer, (uint32_t)params->unQuadsCount); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo(void *linux_side, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetLivePhysicalBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetLivePhysicalBoundsInfo((vr::HmdQuad_t *)params->pQuadsBuffer, (uint32_t *)params->punQuadsCount); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer(void *linux_side, char *pBuffer, uint32_t *pnBufferLength) +void cppIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->ExportLiveToBuffer((char *)pBuffer, (uint32_t *)pnBufferLength); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->ExportLiveToBuffer((char *)params->pBuffer, (uint32_t *)params->pnBufferLength); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking(void *linux_side, const char *pBuffer, uint32_t nImportFlags) +void cppIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->ImportFromBufferToWorking((const char *)pBuffer, (uint32_t)nImportFlags); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->ImportFromBufferToWorking((const char *)params->pBuffer, (uint32_t)params->nImportFlags); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.h b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.h index 1a68a9eb..ce260da7 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.h +++ b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.h @@ -1,26 +1,169 @@ #ifdef __cplusplus extern "C" { #endif -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy(void *, EChaperoneConfigFile); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy(void *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize(void *, float *, float *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect(void *, HmdQuad_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize(void *, float, float); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose(void *, const HmdMatrix34_t *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose(void *, const HmdMatrix34_t *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk(void *, EChaperoneConfigFile); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo(void *, uint8_t *, uint32_t); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo(void *, uint8_t *, uint32_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo(void *, HmdQuad_t *, uint32_t); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo(void *, HmdQuad_t *, uint32_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer(void *, char *, uint32_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking(void *, const char *, uint32_t); +struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy_params +{ + void *linux_side; + bool _ret; + EChaperoneConfigFile configFile; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy_params +{ + void *linux_side; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize_params +{ + void *linux_side; + bool _ret; + float *pSizeX; + float *pSizeZ; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect_params +{ + void *linux_side; + bool _ret; + HmdQuad_t *rect; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo_params +{ + void *linux_side; + bool _ret; + HmdQuad_t *pQuadsBuffer; + uint32_t *punQuadsCount; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo_params +{ + void *linux_side; + bool _ret; + HmdQuad_t *pQuadsBuffer; + uint32_t *punQuadsCount; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose_params +{ + void *linux_side; + bool _ret; + HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose_params +{ + void *linux_side; + bool _ret; + HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize_params +{ + void *linux_side; + float sizeX; + float sizeZ; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo_params +{ + void *linux_side; + HmdQuad_t *pQuadsBuffer; + uint32_t unQuadsCount; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose_params +{ + void *linux_side; + const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose_params +{ + void *linux_side; + const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk_params +{ + void *linux_side; + EChaperoneConfigFile configFile; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose_params +{ + void *linux_side; + bool _ret; + HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo_params +{ + void *linux_side; + uint8_t *pTagsBuffer; + uint32_t unTagCount; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo_params +{ + void *linux_side; + bool _ret; + uint8_t *pTagsBuffer; + uint32_t *punTagCount; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo_params +{ + void *linux_side; + bool _ret; + HmdQuad_t *pQuadsBuffer; + uint32_t unQuadsCount; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo_params +{ + void *linux_side; + bool _ret; + HmdQuad_t *pQuadsBuffer; + uint32_t *punQuadsCount; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer_params +{ + void *linux_side; + bool _ret; + char *pBuffer; + uint32_t *pnBufferLength; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking_params +{ + void *linux_side; + bool _ret; + const char *pBuffer; + uint32_t nImportFlags; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking( struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.cpp b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.cpp index 84f43a1d..0d91a773 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.cpp @@ -9,124 +9,104 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy(void *linux_side, EChaperoneConfigFile configFile) +void cppIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->CommitWorkingCopy((vr::EChaperoneConfigFile)configFile); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->CommitWorkingCopy((vr::EChaperoneConfigFile)params->configFile); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy(void *linux_side) +void cppIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy_params *params ) { - ((IVRChaperoneSetup*)linux_side)->RevertWorkingCopy(); + ((IVRChaperoneSetup*)params->linux_side)->RevertWorkingCopy(); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize(void *linux_side, float *pSizeX, float *pSizeZ) +void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetWorkingPlayAreaSize((float *)pSizeX, (float *)pSizeZ); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetWorkingPlayAreaSize((float *)params->pSizeX, (float *)params->pSizeZ); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect(void *linux_side, HmdQuad_t *rect) +void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetWorkingPlayAreaRect((vr::HmdQuad_t *)rect); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetWorkingPlayAreaRect((vr::HmdQuad_t *)params->rect); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo(void *linux_side, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)params->pQuadsBuffer, (uint32_t *)params->punQuadsCount); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo(void *linux_side, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetLiveCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetLiveCollisionBoundsInfo((vr::HmdQuad_t *)params->pQuadsBuffer, (uint32_t *)params->punQuadsCount); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) +void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetWorkingSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatSeatedZeroPoseToRawTrackingPose); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetWorkingSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)params->pmatSeatedZeroPoseToRawTrackingPose); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose) +void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetWorkingStandingZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatStandingZeroPoseToRawTrackingPose); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetWorkingStandingZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)params->pmatStandingZeroPoseToRawTrackingPose); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize(void *linux_side, float sizeX, float sizeZ) +void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize_params *params ) { - ((IVRChaperoneSetup*)linux_side)->SetWorkingPlayAreaSize((float)sizeX, (float)sizeZ); + ((IVRChaperoneSetup*)params->linux_side)->SetWorkingPlayAreaSize((float)params->sizeX, (float)params->sizeZ); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo(void *linux_side, HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount) +void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo_params *params ) { - ((IVRChaperoneSetup*)linux_side)->SetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t)unQuadsCount); + ((IVRChaperoneSetup*)params->linux_side)->SetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)params->pQuadsBuffer, (uint32_t)params->unQuadsCount); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter(void *linux_side, HmdVector2_t *pPointBuffer, uint32_t unPointCount) +void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter_params *params ) { - ((IVRChaperoneSetup*)linux_side)->SetWorkingPerimeter((vr::HmdVector2_t *)pPointBuffer, (uint32_t)unPointCount); + ((IVRChaperoneSetup*)params->linux_side)->SetWorkingPerimeter((vr::HmdVector2_t *)params->pPointBuffer, (uint32_t)params->unPointCount); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose(void *linux_side, const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose) +void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose_params *params ) { - ((IVRChaperoneSetup*)linux_side)->SetWorkingSeatedZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)pMatSeatedZeroPoseToRawTrackingPose); + ((IVRChaperoneSetup*)params->linux_side)->SetWorkingSeatedZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)params->pMatSeatedZeroPoseToRawTrackingPose); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose(void *linux_side, const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose) +void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose_params *params ) { - ((IVRChaperoneSetup*)linux_side)->SetWorkingStandingZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)pMatStandingZeroPoseToRawTrackingPose); + ((IVRChaperoneSetup*)params->linux_side)->SetWorkingStandingZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)params->pMatStandingZeroPoseToRawTrackingPose); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk(void *linux_side, EChaperoneConfigFile configFile) +void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk_params *params ) { - ((IVRChaperoneSetup*)linux_side)->ReloadFromDisk((vr::EChaperoneConfigFile)configFile); + ((IVRChaperoneSetup*)params->linux_side)->ReloadFromDisk((vr::EChaperoneConfigFile)params->configFile); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) +void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->GetLiveSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatSeatedZeroPoseToRawTrackingPose); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->GetLiveSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)params->pmatSeatedZeroPoseToRawTrackingPose); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer(void *linux_side, char *pBuffer, uint32_t *pnBufferLength) +void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->ExportLiveToBuffer((char *)pBuffer, (uint32_t *)pnBufferLength); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->ExportLiveToBuffer((char *)params->pBuffer, (uint32_t *)params->pnBufferLength); } -bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking(void *linux_side, const char *pBuffer, uint32_t nImportFlags) +void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking_params *params ) { - bool _ret; - _ret = ((IVRChaperoneSetup*)linux_side)->ImportFromBufferToWorking((const char *)pBuffer, (uint32_t)nImportFlags); - return _ret; + params->_ret = ((IVRChaperoneSetup*)params->linux_side)->ImportFromBufferToWorking((const char *)params->pBuffer, (uint32_t)params->nImportFlags); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview(void *linux_side) +void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview_params *params ) { - ((IVRChaperoneSetup*)linux_side)->ShowWorkingSetPreview(); + ((IVRChaperoneSetup*)params->linux_side)->ShowWorkingSetPreview(); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview(void *linux_side) +void cppIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview_params *params ) { - ((IVRChaperoneSetup*)linux_side)->HideWorkingSetPreview(); + ((IVRChaperoneSetup*)params->linux_side)->HideWorkingSetPreview(); } -void cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting(void *linux_side) +void cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting_params *params ) { - ((IVRChaperoneSetup*)linux_side)->RoomSetupStarting(); + ((IVRChaperoneSetup*)params->linux_side)->RoomSetupStarting(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.h b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.h index 3c6210bd..ccf6d129 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.h +++ b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.h @@ -1,26 +1,160 @@ #ifdef __cplusplus extern "C" { #endif -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy(void *, EChaperoneConfigFile); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy(void *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize(void *, float *, float *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect(void *, HmdQuad_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize(void *, float, float); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter(void *, HmdVector2_t *, uint32_t); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose(void *, const HmdMatrix34_t *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose(void *, const HmdMatrix34_t *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk(void *, EChaperoneConfigFile); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer(void *, char *, uint32_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking(void *, const char *, uint32_t); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview(void *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview(void *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting(void *); +struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy_params +{ + void *linux_side; + bool _ret; + EChaperoneConfigFile configFile; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy_params +{ + void *linux_side; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize_params +{ + void *linux_side; + bool _ret; + float *pSizeX; + float *pSizeZ; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect_params +{ + void *linux_side; + bool _ret; + HmdQuad_t *rect; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo_params +{ + void *linux_side; + bool _ret; + HmdQuad_t *pQuadsBuffer; + uint32_t *punQuadsCount; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo_params +{ + void *linux_side; + bool _ret; + HmdQuad_t *pQuadsBuffer; + uint32_t *punQuadsCount; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose_params +{ + void *linux_side; + bool _ret; + HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose_params +{ + void *linux_side; + bool _ret; + HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize_params +{ + void *linux_side; + float sizeX; + float sizeZ; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo_params +{ + void *linux_side; + HmdQuad_t *pQuadsBuffer; + uint32_t unQuadsCount; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter_params +{ + void *linux_side; + HmdVector2_t *pPointBuffer; + uint32_t unPointCount; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose_params +{ + void *linux_side; + const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose_params +{ + void *linux_side; + const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk_params +{ + void *linux_side; + EChaperoneConfigFile configFile; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose_params +{ + void *linux_side; + bool _ret; + HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer_params +{ + void *linux_side; + bool _ret; + char *pBuffer; + uint32_t *pnBufferLength; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking_params +{ + void *linux_side; + bool _ret; + const char *pBuffer; + uint32_t nImportFlags; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview_params +{ + void *linux_side; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview_params +{ + void *linux_side; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview_params *params ); + +struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting_params +{ + void *linux_side; +}; +extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting( struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_002.cpp b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_002.cpp index 42b454b0..358a3e9e 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_002.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_002.cpp @@ -9,59 +9,49 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -ChaperoneCalibrationState cppIVRChaperone_IVRChaperone_002_GetCalibrationState(void *linux_side) +void cppIVRChaperone_IVRChaperone_002_GetCalibrationState( struct cppIVRChaperone_IVRChaperone_002_GetCalibrationState_params *params ) { - ChaperoneCalibrationState _ret; - _ret = ((IVRChaperone*)linux_side)->GetCalibrationState(); - return _ret; + params->_ret = ((IVRChaperone*)params->linux_side)->GetCalibrationState(); } -bool cppIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo(void *linux_side, ChaperoneSoftBoundsInfo_t *pInfo) +void cppIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo( struct cppIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo_params *params ) { - bool _ret; - _ret = ((IVRChaperone*)linux_side)->GetSoftBoundsInfo((vr::ChaperoneSoftBoundsInfo_t *)pInfo); - return _ret; + params->_ret = ((IVRChaperone*)params->linux_side)->GetSoftBoundsInfo((vr::ChaperoneSoftBoundsInfo_t *)params->pInfo); } -bool cppIVRChaperone_IVRChaperone_002_GetHardBoundsInfo(void *linux_side, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +void cppIVRChaperone_IVRChaperone_002_GetHardBoundsInfo( struct cppIVRChaperone_IVRChaperone_002_GetHardBoundsInfo_params *params ) { - bool _ret; - _ret = ((IVRChaperone*)linux_side)->GetHardBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount); - return _ret; + params->_ret = ((IVRChaperone*)params->linux_side)->GetHardBoundsInfo((vr::HmdQuad_t *)params->pQuadsBuffer, (uint32_t *)params->punQuadsCount); } -bool cppIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo(void *linux_side, ChaperoneSeatedBoundsInfo_t *pInfo) +void cppIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo( struct cppIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo_params *params ) { - bool _ret; - _ret = ((IVRChaperone*)linux_side)->GetSeatedBoundsInfo((vr::ChaperoneSeatedBoundsInfo_t *)pInfo); - return _ret; + params->_ret = ((IVRChaperone*)params->linux_side)->GetSeatedBoundsInfo((vr::ChaperoneSeatedBoundsInfo_t *)params->pInfo); } -void cppIVRChaperone_IVRChaperone_002_ReloadInfo(void *linux_side) +void cppIVRChaperone_IVRChaperone_002_ReloadInfo( struct cppIVRChaperone_IVRChaperone_002_ReloadInfo_params *params ) { - ((IVRChaperone*)linux_side)->ReloadInfo(); + ((IVRChaperone*)params->linux_side)->ReloadInfo(); } -void cppIVRChaperone_IVRChaperone_002_SetSceneColor(void *linux_side, HmdColor_t color) +void cppIVRChaperone_IVRChaperone_002_SetSceneColor( struct cppIVRChaperone_IVRChaperone_002_SetSceneColor_params *params ) { - ((IVRChaperone*)linux_side)->SetSceneColor((vr::HmdColor_t)color); + ((IVRChaperone*)params->linux_side)->SetSceneColor((vr::HmdColor_t)params->color); } -void cppIVRChaperone_IVRChaperone_002_GetBoundsColor(void *linux_side, HmdColor_t *pOutputColorArray, int nNumOutputColors) +void cppIVRChaperone_IVRChaperone_002_GetBoundsColor( struct cppIVRChaperone_IVRChaperone_002_GetBoundsColor_params *params ) { - ((IVRChaperone*)linux_side)->GetBoundsColor((vr::HmdColor_t *)pOutputColorArray, (int)nNumOutputColors); + ((IVRChaperone*)params->linux_side)->GetBoundsColor((vr::HmdColor_t *)params->pOutputColorArray, (int)params->nNumOutputColors); } -bool cppIVRChaperone_IVRChaperone_002_AreBoundsVisible(void *linux_side) +void cppIVRChaperone_IVRChaperone_002_AreBoundsVisible( struct cppIVRChaperone_IVRChaperone_002_AreBoundsVisible_params *params ) { - bool _ret; - _ret = ((IVRChaperone*)linux_side)->AreBoundsVisible(); - return _ret; + params->_ret = ((IVRChaperone*)params->linux_side)->AreBoundsVisible(); } -void cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible(void *linux_side, bool bForce) +void cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible( struct cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible_params *params ) { - ((IVRChaperone*)linux_side)->ForceBoundsVisible((bool)bForce); + ((IVRChaperone*)params->linux_side)->ForceBoundsVisible((bool)params->bForce); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_002.h b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_002.h index 29762a07..157f19f2 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_002.h +++ b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_002.h @@ -1,15 +1,73 @@ #ifdef __cplusplus extern "C" { #endif -extern ChaperoneCalibrationState cppIVRChaperone_IVRChaperone_002_GetCalibrationState(void *); -extern bool cppIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo(void *, ChaperoneSoftBoundsInfo_t *); -extern bool cppIVRChaperone_IVRChaperone_002_GetHardBoundsInfo(void *, HmdQuad_t *, uint32_t *); -extern bool cppIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo(void *, ChaperoneSeatedBoundsInfo_t *); -extern void cppIVRChaperone_IVRChaperone_002_ReloadInfo(void *); -extern void cppIVRChaperone_IVRChaperone_002_SetSceneColor(void *, HmdColor_t); -extern void cppIVRChaperone_IVRChaperone_002_GetBoundsColor(void *, HmdColor_t *, int); -extern bool cppIVRChaperone_IVRChaperone_002_AreBoundsVisible(void *); -extern void cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible(void *, bool); +struct cppIVRChaperone_IVRChaperone_002_GetCalibrationState_params +{ + void *linux_side; + ChaperoneCalibrationState _ret; +}; +extern void cppIVRChaperone_IVRChaperone_002_GetCalibrationState( struct cppIVRChaperone_IVRChaperone_002_GetCalibrationState_params *params ); + +struct cppIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo_params +{ + void *linux_side; + bool _ret; + ChaperoneSoftBoundsInfo_t *pInfo; +}; +extern void cppIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo( struct cppIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo_params *params ); + +struct cppIVRChaperone_IVRChaperone_002_GetHardBoundsInfo_params +{ + void *linux_side; + bool _ret; + HmdQuad_t *pQuadsBuffer; + uint32_t *punQuadsCount; +}; +extern void cppIVRChaperone_IVRChaperone_002_GetHardBoundsInfo( struct cppIVRChaperone_IVRChaperone_002_GetHardBoundsInfo_params *params ); + +struct cppIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo_params +{ + void *linux_side; + bool _ret; + ChaperoneSeatedBoundsInfo_t *pInfo; +}; +extern void cppIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo( struct cppIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo_params *params ); + +struct cppIVRChaperone_IVRChaperone_002_ReloadInfo_params +{ + void *linux_side; +}; +extern void cppIVRChaperone_IVRChaperone_002_ReloadInfo( struct cppIVRChaperone_IVRChaperone_002_ReloadInfo_params *params ); + +struct cppIVRChaperone_IVRChaperone_002_SetSceneColor_params +{ + void *linux_side; + HmdColor_t color; +}; +extern void cppIVRChaperone_IVRChaperone_002_SetSceneColor( struct cppIVRChaperone_IVRChaperone_002_SetSceneColor_params *params ); + +struct cppIVRChaperone_IVRChaperone_002_GetBoundsColor_params +{ + void *linux_side; + HmdColor_t *pOutputColorArray; + int nNumOutputColors; +}; +extern void cppIVRChaperone_IVRChaperone_002_GetBoundsColor( struct cppIVRChaperone_IVRChaperone_002_GetBoundsColor_params *params ); + +struct cppIVRChaperone_IVRChaperone_002_AreBoundsVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRChaperone_IVRChaperone_002_AreBoundsVisible( struct cppIVRChaperone_IVRChaperone_002_AreBoundsVisible_params *params ); + +struct cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible_params +{ + void *linux_side; + bool bForce; +}; +extern void cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible( struct cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_003.cpp b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_003.cpp index c25097f1..a3ee69d6 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_003.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_003.cpp @@ -9,52 +9,44 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -ChaperoneCalibrationState cppIVRChaperone_IVRChaperone_003_GetCalibrationState(void *linux_side) +void cppIVRChaperone_IVRChaperone_003_GetCalibrationState( struct cppIVRChaperone_IVRChaperone_003_GetCalibrationState_params *params ) { - ChaperoneCalibrationState _ret; - _ret = ((IVRChaperone*)linux_side)->GetCalibrationState(); - return _ret; + params->_ret = ((IVRChaperone*)params->linux_side)->GetCalibrationState(); } -bool cppIVRChaperone_IVRChaperone_003_GetPlayAreaSize(void *linux_side, float *pSizeX, float *pSizeZ) +void cppIVRChaperone_IVRChaperone_003_GetPlayAreaSize( struct cppIVRChaperone_IVRChaperone_003_GetPlayAreaSize_params *params ) { - bool _ret; - _ret = ((IVRChaperone*)linux_side)->GetPlayAreaSize((float *)pSizeX, (float *)pSizeZ); - return _ret; + params->_ret = ((IVRChaperone*)params->linux_side)->GetPlayAreaSize((float *)params->pSizeX, (float *)params->pSizeZ); } -bool cppIVRChaperone_IVRChaperone_003_GetPlayAreaRect(void *linux_side, HmdQuad_t *rect) +void cppIVRChaperone_IVRChaperone_003_GetPlayAreaRect( struct cppIVRChaperone_IVRChaperone_003_GetPlayAreaRect_params *params ) { - bool _ret; - _ret = ((IVRChaperone*)linux_side)->GetPlayAreaRect((vr::HmdQuad_t *)rect); - return _ret; + params->_ret = ((IVRChaperone*)params->linux_side)->GetPlayAreaRect((vr::HmdQuad_t *)params->rect); } -void cppIVRChaperone_IVRChaperone_003_ReloadInfo(void *linux_side) +void cppIVRChaperone_IVRChaperone_003_ReloadInfo( struct cppIVRChaperone_IVRChaperone_003_ReloadInfo_params *params ) { - ((IVRChaperone*)linux_side)->ReloadInfo(); + ((IVRChaperone*)params->linux_side)->ReloadInfo(); } -void cppIVRChaperone_IVRChaperone_003_SetSceneColor(void *linux_side, HmdColor_t color) +void cppIVRChaperone_IVRChaperone_003_SetSceneColor( struct cppIVRChaperone_IVRChaperone_003_SetSceneColor_params *params ) { - ((IVRChaperone*)linux_side)->SetSceneColor((vr::HmdColor_t)color); + ((IVRChaperone*)params->linux_side)->SetSceneColor((vr::HmdColor_t)params->color); } -void cppIVRChaperone_IVRChaperone_003_GetBoundsColor(void *linux_side, HmdColor_t *pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t *pOutputCameraColor) +void cppIVRChaperone_IVRChaperone_003_GetBoundsColor( struct cppIVRChaperone_IVRChaperone_003_GetBoundsColor_params *params ) { - ((IVRChaperone*)linux_side)->GetBoundsColor((vr::HmdColor_t *)pOutputColorArray, (int)nNumOutputColors, (float)flCollisionBoundsFadeDistance, (vr::HmdColor_t *)pOutputCameraColor); + ((IVRChaperone*)params->linux_side)->GetBoundsColor((vr::HmdColor_t *)params->pOutputColorArray, (int)params->nNumOutputColors, (float)params->flCollisionBoundsFadeDistance, (vr::HmdColor_t *)params->pOutputCameraColor); } -bool cppIVRChaperone_IVRChaperone_003_AreBoundsVisible(void *linux_side) +void cppIVRChaperone_IVRChaperone_003_AreBoundsVisible( struct cppIVRChaperone_IVRChaperone_003_AreBoundsVisible_params *params ) { - bool _ret; - _ret = ((IVRChaperone*)linux_side)->AreBoundsVisible(); - return _ret; + params->_ret = ((IVRChaperone*)params->linux_side)->AreBoundsVisible(); } -void cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible(void *linux_side, bool bForce) +void cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible( struct cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible_params *params ) { - ((IVRChaperone*)linux_side)->ForceBoundsVisible((bool)bForce); + ((IVRChaperone*)params->linux_side)->ForceBoundsVisible((bool)params->bForce); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_003.h b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_003.h index 3d21d118..ea51fdf6 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_003.h +++ b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_003.h @@ -1,14 +1,67 @@ #ifdef __cplusplus extern "C" { #endif -extern ChaperoneCalibrationState cppIVRChaperone_IVRChaperone_003_GetCalibrationState(void *); -extern bool cppIVRChaperone_IVRChaperone_003_GetPlayAreaSize(void *, float *, float *); -extern bool cppIVRChaperone_IVRChaperone_003_GetPlayAreaRect(void *, HmdQuad_t *); -extern void cppIVRChaperone_IVRChaperone_003_ReloadInfo(void *); -extern void cppIVRChaperone_IVRChaperone_003_SetSceneColor(void *, HmdColor_t); -extern void cppIVRChaperone_IVRChaperone_003_GetBoundsColor(void *, HmdColor_t *, int, float, HmdColor_t *); -extern bool cppIVRChaperone_IVRChaperone_003_AreBoundsVisible(void *); -extern void cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible(void *, bool); +struct cppIVRChaperone_IVRChaperone_003_GetCalibrationState_params +{ + void *linux_side; + ChaperoneCalibrationState _ret; +}; +extern void cppIVRChaperone_IVRChaperone_003_GetCalibrationState( struct cppIVRChaperone_IVRChaperone_003_GetCalibrationState_params *params ); + +struct cppIVRChaperone_IVRChaperone_003_GetPlayAreaSize_params +{ + void *linux_side; + bool _ret; + float *pSizeX; + float *pSizeZ; +}; +extern void cppIVRChaperone_IVRChaperone_003_GetPlayAreaSize( struct cppIVRChaperone_IVRChaperone_003_GetPlayAreaSize_params *params ); + +struct cppIVRChaperone_IVRChaperone_003_GetPlayAreaRect_params +{ + void *linux_side; + bool _ret; + HmdQuad_t *rect; +}; +extern void cppIVRChaperone_IVRChaperone_003_GetPlayAreaRect( struct cppIVRChaperone_IVRChaperone_003_GetPlayAreaRect_params *params ); + +struct cppIVRChaperone_IVRChaperone_003_ReloadInfo_params +{ + void *linux_side; +}; +extern void cppIVRChaperone_IVRChaperone_003_ReloadInfo( struct cppIVRChaperone_IVRChaperone_003_ReloadInfo_params *params ); + +struct cppIVRChaperone_IVRChaperone_003_SetSceneColor_params +{ + void *linux_side; + HmdColor_t color; +}; +extern void cppIVRChaperone_IVRChaperone_003_SetSceneColor( struct cppIVRChaperone_IVRChaperone_003_SetSceneColor_params *params ); + +struct cppIVRChaperone_IVRChaperone_003_GetBoundsColor_params +{ + void *linux_side; + HmdColor_t *pOutputColorArray; + int nNumOutputColors; + float flCollisionBoundsFadeDistance; + HmdColor_t *pOutputCameraColor; +}; +extern void cppIVRChaperone_IVRChaperone_003_GetBoundsColor( struct cppIVRChaperone_IVRChaperone_003_GetBoundsColor_params *params ); + +struct cppIVRChaperone_IVRChaperone_003_AreBoundsVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRChaperone_IVRChaperone_003_AreBoundsVisible( struct cppIVRChaperone_IVRChaperone_003_AreBoundsVisible_params *params ); + +struct cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible_params +{ + void *linux_side; + bool bForce; +}; +extern void cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible( struct cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_004.cpp b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_004.cpp index 71d407d5..bf3ac557 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_004.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_004.cpp @@ -9,57 +9,49 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -ChaperoneCalibrationState cppIVRChaperone_IVRChaperone_004_GetCalibrationState(void *linux_side) +void cppIVRChaperone_IVRChaperone_004_GetCalibrationState( struct cppIVRChaperone_IVRChaperone_004_GetCalibrationState_params *params ) { - ChaperoneCalibrationState _ret; - _ret = ((IVRChaperone*)linux_side)->GetCalibrationState(); - return _ret; + params->_ret = ((IVRChaperone*)params->linux_side)->GetCalibrationState(); } -bool cppIVRChaperone_IVRChaperone_004_GetPlayAreaSize(void *linux_side, float *pSizeX, float *pSizeZ) +void cppIVRChaperone_IVRChaperone_004_GetPlayAreaSize( struct cppIVRChaperone_IVRChaperone_004_GetPlayAreaSize_params *params ) { - bool _ret; - _ret = ((IVRChaperone*)linux_side)->GetPlayAreaSize((float *)pSizeX, (float *)pSizeZ); - return _ret; + params->_ret = ((IVRChaperone*)params->linux_side)->GetPlayAreaSize((float *)params->pSizeX, (float *)params->pSizeZ); } -bool cppIVRChaperone_IVRChaperone_004_GetPlayAreaRect(void *linux_side, HmdQuad_t *rect) +void cppIVRChaperone_IVRChaperone_004_GetPlayAreaRect( struct cppIVRChaperone_IVRChaperone_004_GetPlayAreaRect_params *params ) { - bool _ret; - _ret = ((IVRChaperone*)linux_side)->GetPlayAreaRect((vr::HmdQuad_t *)rect); - return _ret; + params->_ret = ((IVRChaperone*)params->linux_side)->GetPlayAreaRect((vr::HmdQuad_t *)params->rect); } -void cppIVRChaperone_IVRChaperone_004_ReloadInfo(void *linux_side) +void cppIVRChaperone_IVRChaperone_004_ReloadInfo( struct cppIVRChaperone_IVRChaperone_004_ReloadInfo_params *params ) { - ((IVRChaperone*)linux_side)->ReloadInfo(); + ((IVRChaperone*)params->linux_side)->ReloadInfo(); } -void cppIVRChaperone_IVRChaperone_004_SetSceneColor(void *linux_side, HmdColor_t color) +void cppIVRChaperone_IVRChaperone_004_SetSceneColor( struct cppIVRChaperone_IVRChaperone_004_SetSceneColor_params *params ) { - ((IVRChaperone*)linux_side)->SetSceneColor((vr::HmdColor_t)color); + ((IVRChaperone*)params->linux_side)->SetSceneColor((vr::HmdColor_t)params->color); } -void cppIVRChaperone_IVRChaperone_004_GetBoundsColor(void *linux_side, HmdColor_t *pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t *pOutputCameraColor) +void cppIVRChaperone_IVRChaperone_004_GetBoundsColor( struct cppIVRChaperone_IVRChaperone_004_GetBoundsColor_params *params ) { - ((IVRChaperone*)linux_side)->GetBoundsColor((vr::HmdColor_t *)pOutputColorArray, (int)nNumOutputColors, (float)flCollisionBoundsFadeDistance, (vr::HmdColor_t *)pOutputCameraColor); + ((IVRChaperone*)params->linux_side)->GetBoundsColor((vr::HmdColor_t *)params->pOutputColorArray, (int)params->nNumOutputColors, (float)params->flCollisionBoundsFadeDistance, (vr::HmdColor_t *)params->pOutputCameraColor); } -bool cppIVRChaperone_IVRChaperone_004_AreBoundsVisible(void *linux_side) +void cppIVRChaperone_IVRChaperone_004_AreBoundsVisible( struct cppIVRChaperone_IVRChaperone_004_AreBoundsVisible_params *params ) { - bool _ret; - _ret = ((IVRChaperone*)linux_side)->AreBoundsVisible(); - return _ret; + params->_ret = ((IVRChaperone*)params->linux_side)->AreBoundsVisible(); } -void cppIVRChaperone_IVRChaperone_004_ForceBoundsVisible(void *linux_side, bool bForce) +void cppIVRChaperone_IVRChaperone_004_ForceBoundsVisible( struct cppIVRChaperone_IVRChaperone_004_ForceBoundsVisible_params *params ) { - ((IVRChaperone*)linux_side)->ForceBoundsVisible((bool)bForce); + ((IVRChaperone*)params->linux_side)->ForceBoundsVisible((bool)params->bForce); } -void cppIVRChaperone_IVRChaperone_004_ResetZeroPose(void *linux_side, ETrackingUniverseOrigin eTrackingUniverseOrigin) +void cppIVRChaperone_IVRChaperone_004_ResetZeroPose( struct cppIVRChaperone_IVRChaperone_004_ResetZeroPose_params *params ) { - ((IVRChaperone*)linux_side)->ResetZeroPose((vr::ETrackingUniverseOrigin)eTrackingUniverseOrigin); + ((IVRChaperone*)params->linux_side)->ResetZeroPose((vr::ETrackingUniverseOrigin)params->eTrackingUniverseOrigin); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_004.h b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_004.h index e62847df..befd434f 100644 --- a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_004.h +++ b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_004.h @@ -1,15 +1,74 @@ #ifdef __cplusplus extern "C" { #endif -extern ChaperoneCalibrationState cppIVRChaperone_IVRChaperone_004_GetCalibrationState(void *); -extern bool cppIVRChaperone_IVRChaperone_004_GetPlayAreaSize(void *, float *, float *); -extern bool cppIVRChaperone_IVRChaperone_004_GetPlayAreaRect(void *, HmdQuad_t *); -extern void cppIVRChaperone_IVRChaperone_004_ReloadInfo(void *); -extern void cppIVRChaperone_IVRChaperone_004_SetSceneColor(void *, HmdColor_t); -extern void cppIVRChaperone_IVRChaperone_004_GetBoundsColor(void *, HmdColor_t *, int, float, HmdColor_t *); -extern bool cppIVRChaperone_IVRChaperone_004_AreBoundsVisible(void *); -extern void cppIVRChaperone_IVRChaperone_004_ForceBoundsVisible(void *, bool); -extern void cppIVRChaperone_IVRChaperone_004_ResetZeroPose(void *, ETrackingUniverseOrigin); +struct cppIVRChaperone_IVRChaperone_004_GetCalibrationState_params +{ + void *linux_side; + ChaperoneCalibrationState _ret; +}; +extern void cppIVRChaperone_IVRChaperone_004_GetCalibrationState( struct cppIVRChaperone_IVRChaperone_004_GetCalibrationState_params *params ); + +struct cppIVRChaperone_IVRChaperone_004_GetPlayAreaSize_params +{ + void *linux_side; + bool _ret; + float *pSizeX; + float *pSizeZ; +}; +extern void cppIVRChaperone_IVRChaperone_004_GetPlayAreaSize( struct cppIVRChaperone_IVRChaperone_004_GetPlayAreaSize_params *params ); + +struct cppIVRChaperone_IVRChaperone_004_GetPlayAreaRect_params +{ + void *linux_side; + bool _ret; + HmdQuad_t *rect; +}; +extern void cppIVRChaperone_IVRChaperone_004_GetPlayAreaRect( struct cppIVRChaperone_IVRChaperone_004_GetPlayAreaRect_params *params ); + +struct cppIVRChaperone_IVRChaperone_004_ReloadInfo_params +{ + void *linux_side; +}; +extern void cppIVRChaperone_IVRChaperone_004_ReloadInfo( struct cppIVRChaperone_IVRChaperone_004_ReloadInfo_params *params ); + +struct cppIVRChaperone_IVRChaperone_004_SetSceneColor_params +{ + void *linux_side; + HmdColor_t color; +}; +extern void cppIVRChaperone_IVRChaperone_004_SetSceneColor( struct cppIVRChaperone_IVRChaperone_004_SetSceneColor_params *params ); + +struct cppIVRChaperone_IVRChaperone_004_GetBoundsColor_params +{ + void *linux_side; + HmdColor_t *pOutputColorArray; + int nNumOutputColors; + float flCollisionBoundsFadeDistance; + HmdColor_t *pOutputCameraColor; +}; +extern void cppIVRChaperone_IVRChaperone_004_GetBoundsColor( struct cppIVRChaperone_IVRChaperone_004_GetBoundsColor_params *params ); + +struct cppIVRChaperone_IVRChaperone_004_AreBoundsVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRChaperone_IVRChaperone_004_AreBoundsVisible( struct cppIVRChaperone_IVRChaperone_004_AreBoundsVisible_params *params ); + +struct cppIVRChaperone_IVRChaperone_004_ForceBoundsVisible_params +{ + void *linux_side; + bool bForce; +}; +extern void cppIVRChaperone_IVRChaperone_004_ForceBoundsVisible( struct cppIVRChaperone_IVRChaperone_004_ForceBoundsVisible_params *params ); + +struct cppIVRChaperone_IVRChaperone_004_ResetZeroPose_params +{ + void *linux_side; + ETrackingUniverseOrigin eTrackingUniverseOrigin; +}; +extern void cppIVRChaperone_IVRChaperone_004_ResetZeroPose( struct cppIVRChaperone_IVRChaperone_004_ResetZeroPose_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_002.cpp b/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_002.cpp index 537ead7f..064a0583 100644 --- a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_002.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_002.cpp @@ -9,51 +9,39 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVRInitError cppIVRClientCore_IVRClientCore_002_Init(void *linux_side, EVRApplicationType eApplicationType) +void cppIVRClientCore_IVRClientCore_002_Init( struct cppIVRClientCore_IVRClientCore_002_Init_params *params ) { - EVRInitError _ret; - _ret = ((IVRClientCore*)linux_side)->Init((vr::EVRApplicationType)eApplicationType); - return _ret; + params->_ret = ((IVRClientCore*)params->linux_side)->Init((vr::EVRApplicationType)params->eApplicationType); } -void cppIVRClientCore_IVRClientCore_002_Cleanup(void *linux_side) +void cppIVRClientCore_IVRClientCore_002_Cleanup( struct cppIVRClientCore_IVRClientCore_002_Cleanup_params *params ) { - ((IVRClientCore*)linux_side)->Cleanup(); + ((IVRClientCore*)params->linux_side)->Cleanup(); } -EVRInitError cppIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid(void *linux_side, const char *pchInterfaceVersion) +void cppIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid( struct cppIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid_params *params ) { - EVRInitError _ret; - _ret = ((IVRClientCore*)linux_side)->IsInterfaceVersionValid((const char *)pchInterfaceVersion); - return _ret; + params->_ret = ((IVRClientCore*)params->linux_side)->IsInterfaceVersionValid((const char *)params->pchInterfaceVersion); } -void * cppIVRClientCore_IVRClientCore_002_GetGenericInterface(void *linux_side, const char *pchNameAndVersion, EVRInitError *peError) +void cppIVRClientCore_IVRClientCore_002_GetGenericInterface( struct cppIVRClientCore_IVRClientCore_002_GetGenericInterface_params *params ) { - void *_ret; - _ret = ((IVRClientCore*)linux_side)->GetGenericInterface((const char *)pchNameAndVersion, (vr::EVRInitError *)peError); - return _ret; + params->_ret = ((IVRClientCore*)params->linux_side)->GetGenericInterface((const char *)params->pchNameAndVersion, (vr::EVRInitError *)params->peError); } -bool cppIVRClientCore_IVRClientCore_002_BIsHmdPresent(void *linux_side) +void cppIVRClientCore_IVRClientCore_002_BIsHmdPresent( struct cppIVRClientCore_IVRClientCore_002_BIsHmdPresent_params *params ) { - bool _ret; - _ret = ((IVRClientCore*)linux_side)->BIsHmdPresent(); - return _ret; + params->_ret = ((IVRClientCore*)params->linux_side)->BIsHmdPresent(); } -const char * cppIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError(void *linux_side, EVRInitError eError) +void cppIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError( struct cppIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError_params *params ) { - const char *_ret; - _ret = ((IVRClientCore*)linux_side)->GetEnglishStringForHmdError((vr::EVRInitError)eError); - return _ret; + params->_ret = ((IVRClientCore*)params->linux_side)->GetEnglishStringForHmdError((vr::EVRInitError)params->eError); } -const char * cppIVRClientCore_IVRClientCore_002_GetIDForVRInitError(void *linux_side, EVRInitError eError) +void cppIVRClientCore_IVRClientCore_002_GetIDForVRInitError( struct cppIVRClientCore_IVRClientCore_002_GetIDForVRInitError_params *params ) { - const char *_ret; - _ret = ((IVRClientCore*)linux_side)->GetIDForVRInitError((vr::EVRInitError)eError); - return _ret; + params->_ret = ((IVRClientCore*)params->linux_side)->GetIDForVRInitError((vr::EVRInitError)params->eError); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_002.h b/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_002.h index 5ff562ab..c9816704 100644 --- a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_002.h +++ b/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_002.h @@ -1,13 +1,60 @@ #ifdef __cplusplus extern "C" { #endif -extern EVRInitError cppIVRClientCore_IVRClientCore_002_Init(void *, EVRApplicationType); -extern void cppIVRClientCore_IVRClientCore_002_Cleanup(void *); -extern EVRInitError cppIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid(void *, const char *); -extern void * cppIVRClientCore_IVRClientCore_002_GetGenericInterface(void *, const char *, EVRInitError *); -extern bool cppIVRClientCore_IVRClientCore_002_BIsHmdPresent(void *); -extern const char * cppIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError(void *, EVRInitError); -extern const char * cppIVRClientCore_IVRClientCore_002_GetIDForVRInitError(void *, EVRInitError); +struct cppIVRClientCore_IVRClientCore_002_Init_params +{ + void *linux_side; + EVRInitError _ret; + EVRApplicationType eApplicationType; +}; +extern void cppIVRClientCore_IVRClientCore_002_Init( struct cppIVRClientCore_IVRClientCore_002_Init_params *params ); + +struct cppIVRClientCore_IVRClientCore_002_Cleanup_params +{ + void *linux_side; +}; +extern void cppIVRClientCore_IVRClientCore_002_Cleanup( struct cppIVRClientCore_IVRClientCore_002_Cleanup_params *params ); + +struct cppIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid_params +{ + void *linux_side; + EVRInitError _ret; + const char *pchInterfaceVersion; +}; +extern void cppIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid( struct cppIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid_params *params ); + +struct cppIVRClientCore_IVRClientCore_002_GetGenericInterface_params +{ + void *linux_side; + void *_ret; + const char *pchNameAndVersion; + EVRInitError *peError; +}; +extern void cppIVRClientCore_IVRClientCore_002_GetGenericInterface( struct cppIVRClientCore_IVRClientCore_002_GetGenericInterface_params *params ); + +struct cppIVRClientCore_IVRClientCore_002_BIsHmdPresent_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRClientCore_IVRClientCore_002_BIsHmdPresent( struct cppIVRClientCore_IVRClientCore_002_BIsHmdPresent_params *params ); + +struct cppIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError_params +{ + void *linux_side; + const char *_ret; + EVRInitError eError; +}; +extern void cppIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError( struct cppIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError_params *params ); + +struct cppIVRClientCore_IVRClientCore_002_GetIDForVRInitError_params +{ + void *linux_side; + const char *_ret; + EVRInitError eError; +}; +extern void cppIVRClientCore_IVRClientCore_002_GetIDForVRInitError( struct cppIVRClientCore_IVRClientCore_002_GetIDForVRInitError_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_003.cpp b/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_003.cpp index 36f9c29c..fc1fcaf1 100644 --- a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_003.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_003.cpp @@ -9,51 +9,39 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVRInitError cppIVRClientCore_IVRClientCore_003_Init(void *linux_side, EVRApplicationType eApplicationType, const char *pStartupInfo) +void cppIVRClientCore_IVRClientCore_003_Init( struct cppIVRClientCore_IVRClientCore_003_Init_params *params ) { - EVRInitError _ret; - _ret = ((IVRClientCore*)linux_side)->Init((vr::EVRApplicationType)eApplicationType, (const char *)pStartupInfo); - return _ret; + params->_ret = ((IVRClientCore*)params->linux_side)->Init((vr::EVRApplicationType)params->eApplicationType, (const char *)params->pStartupInfo); } -void cppIVRClientCore_IVRClientCore_003_Cleanup(void *linux_side) +void cppIVRClientCore_IVRClientCore_003_Cleanup( struct cppIVRClientCore_IVRClientCore_003_Cleanup_params *params ) { - ((IVRClientCore*)linux_side)->Cleanup(); + ((IVRClientCore*)params->linux_side)->Cleanup(); } -EVRInitError cppIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid(void *linux_side, const char *pchInterfaceVersion) +void cppIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid( struct cppIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid_params *params ) { - EVRInitError _ret; - _ret = ((IVRClientCore*)linux_side)->IsInterfaceVersionValid((const char *)pchInterfaceVersion); - return _ret; + params->_ret = ((IVRClientCore*)params->linux_side)->IsInterfaceVersionValid((const char *)params->pchInterfaceVersion); } -void * cppIVRClientCore_IVRClientCore_003_GetGenericInterface(void *linux_side, const char *pchNameAndVersion, EVRInitError *peError) +void cppIVRClientCore_IVRClientCore_003_GetGenericInterface( struct cppIVRClientCore_IVRClientCore_003_GetGenericInterface_params *params ) { - void *_ret; - _ret = ((IVRClientCore*)linux_side)->GetGenericInterface((const char *)pchNameAndVersion, (vr::EVRInitError *)peError); - return _ret; + params->_ret = ((IVRClientCore*)params->linux_side)->GetGenericInterface((const char *)params->pchNameAndVersion, (vr::EVRInitError *)params->peError); } -bool cppIVRClientCore_IVRClientCore_003_BIsHmdPresent(void *linux_side) +void cppIVRClientCore_IVRClientCore_003_BIsHmdPresent( struct cppIVRClientCore_IVRClientCore_003_BIsHmdPresent_params *params ) { - bool _ret; - _ret = ((IVRClientCore*)linux_side)->BIsHmdPresent(); - return _ret; + params->_ret = ((IVRClientCore*)params->linux_side)->BIsHmdPresent(); } -const char * cppIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError(void *linux_side, EVRInitError eError) +void cppIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError( struct cppIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError_params *params ) { - const char *_ret; - _ret = ((IVRClientCore*)linux_side)->GetEnglishStringForHmdError((vr::EVRInitError)eError); - return _ret; + params->_ret = ((IVRClientCore*)params->linux_side)->GetEnglishStringForHmdError((vr::EVRInitError)params->eError); } -const char * cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError(void *linux_side, EVRInitError eError) +void cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError( struct cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError_params *params ) { - const char *_ret; - _ret = ((IVRClientCore*)linux_side)->GetIDForVRInitError((vr::EVRInitError)eError); - return _ret; + params->_ret = ((IVRClientCore*)params->linux_side)->GetIDForVRInitError((vr::EVRInitError)params->eError); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_003.h b/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_003.h index c15add3c..a133d7fb 100644 --- a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_003.h +++ b/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_003.h @@ -1,13 +1,61 @@ #ifdef __cplusplus extern "C" { #endif -extern EVRInitError cppIVRClientCore_IVRClientCore_003_Init(void *, EVRApplicationType, const char *); -extern void cppIVRClientCore_IVRClientCore_003_Cleanup(void *); -extern EVRInitError cppIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid(void *, const char *); -extern void * cppIVRClientCore_IVRClientCore_003_GetGenericInterface(void *, const char *, EVRInitError *); -extern bool cppIVRClientCore_IVRClientCore_003_BIsHmdPresent(void *); -extern const char * cppIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError(void *, EVRInitError); -extern const char * cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError(void *, EVRInitError); +struct cppIVRClientCore_IVRClientCore_003_Init_params +{ + void *linux_side; + EVRInitError _ret; + EVRApplicationType eApplicationType; + const char *pStartupInfo; +}; +extern void cppIVRClientCore_IVRClientCore_003_Init( struct cppIVRClientCore_IVRClientCore_003_Init_params *params ); + +struct cppIVRClientCore_IVRClientCore_003_Cleanup_params +{ + void *linux_side; +}; +extern void cppIVRClientCore_IVRClientCore_003_Cleanup( struct cppIVRClientCore_IVRClientCore_003_Cleanup_params *params ); + +struct cppIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid_params +{ + void *linux_side; + EVRInitError _ret; + const char *pchInterfaceVersion; +}; +extern void cppIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid( struct cppIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid_params *params ); + +struct cppIVRClientCore_IVRClientCore_003_GetGenericInterface_params +{ + void *linux_side; + void *_ret; + const char *pchNameAndVersion; + EVRInitError *peError; +}; +extern void cppIVRClientCore_IVRClientCore_003_GetGenericInterface( struct cppIVRClientCore_IVRClientCore_003_GetGenericInterface_params *params ); + +struct cppIVRClientCore_IVRClientCore_003_BIsHmdPresent_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRClientCore_IVRClientCore_003_BIsHmdPresent( struct cppIVRClientCore_IVRClientCore_003_BIsHmdPresent_params *params ); + +struct cppIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError_params +{ + void *linux_side; + const char *_ret; + EVRInitError eError; +}; +extern void cppIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError( struct cppIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError_params *params ); + +struct cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError_params +{ + void *linux_side; + const char *_ret; + EVRInitError eError; +}; +extern void cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError( struct cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_005.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_005.cpp index 41712c79..c02ee866 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_005.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_005.cpp @@ -9,143 +9,129 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -uint32_t cppIVRCompositor_IVRCompositor_005_GetLastError(void *linux_side, char *pchBuffer, uint32_t unBufferSize) +void cppIVRCompositor_IVRCompositor_005_GetLastError( struct cppIVRCompositor_IVRCompositor_005_GetLastError_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastError((char *)pchBuffer, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastError((char *)params->pchBuffer, (uint32_t)params->unBufferSize); } -void cppIVRCompositor_IVRCompositor_005_SetVSync(void *linux_side, bool bVSync) +void cppIVRCompositor_IVRCompositor_005_SetVSync( struct cppIVRCompositor_IVRCompositor_005_SetVSync_params *params ) { - ((IVRCompositor*)linux_side)->SetVSync((bool)bVSync); + ((IVRCompositor*)params->linux_side)->SetVSync((bool)params->bVSync); } -bool cppIVRCompositor_IVRCompositor_005_GetVSync(void *linux_side) +void cppIVRCompositor_IVRCompositor_005_GetVSync( struct cppIVRCompositor_IVRCompositor_005_GetVSync_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->GetVSync(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetVSync(); } -void cppIVRCompositor_IVRCompositor_005_SetGamma(void *linux_side, float fGamma) +void cppIVRCompositor_IVRCompositor_005_SetGamma( struct cppIVRCompositor_IVRCompositor_005_SetGamma_params *params ) { - ((IVRCompositor*)linux_side)->SetGamma((float)fGamma); + ((IVRCompositor*)params->linux_side)->SetGamma((float)params->fGamma); } -float cppIVRCompositor_IVRCompositor_005_GetGamma(void *linux_side) +void cppIVRCompositor_IVRCompositor_005_GetGamma( struct cppIVRCompositor_IVRCompositor_005_GetGamma_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetGamma(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetGamma(); } -void cppIVRCompositor_IVRCompositor_005_SetGraphicsDevice(void *linux_side, Compositor_DeviceType eType, void *pDevice) +void cppIVRCompositor_IVRCompositor_005_SetGraphicsDevice( struct cppIVRCompositor_IVRCompositor_005_SetGraphicsDevice_params *params ) { - ((IVRCompositor*)linux_side)->SetGraphicsDevice((vr::Compositor_DeviceType)eType, (void *)pDevice); + ((IVRCompositor*)params->linux_side)->SetGraphicsDevice((vr::Compositor_DeviceType)params->eType, (void *)params->pDevice); } -void cppIVRCompositor_IVRCompositor_005_WaitGetPoses(void *linux_side, TrackedDevicePose_t *pPoseArray, uint32_t unPoseArrayCount) +void cppIVRCompositor_IVRCompositor_005_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_005_WaitGetPoses_params *params ) { - ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pPoseArray, (uint32_t)unPoseArrayCount); + ((IVRCompositor*)params->linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)params->pPoseArray, (uint32_t)params->unPoseArrayCount); } -void cppIVRCompositor_IVRCompositor_005_Submit(void *linux_side, Hmd_Eye eEye, void *pTexture, Compositor_TextureBounds *pBounds) +void cppIVRCompositor_IVRCompositor_005_Submit( struct cppIVRCompositor_IVRCompositor_005_Submit_params *params ) { - ((IVRCompositor*)linux_side)->Submit((vr::Hmd_Eye)eEye, (void *)pTexture, (vr::Compositor_TextureBounds *)pBounds); + ((IVRCompositor*)params->linux_side)->Submit((vr::Hmd_Eye)params->eEye, (void *)params->pTexture, (vr::Compositor_TextureBounds *)params->pBounds); } -void cppIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame(void *linux_side) +void cppIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame_params *params ) { - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); + ((IVRCompositor*)params->linux_side)->ClearLastSubmittedFrame(); } -void cppIVRCompositor_IVRCompositor_005_GetOverlayDefaults(void *linux_side, Compositor_OverlaySettings *pSettings) +void cppIVRCompositor_IVRCompositor_005_GetOverlayDefaults( struct cppIVRCompositor_IVRCompositor_005_GetOverlayDefaults_params *params ) { - ((IVRCompositor*)linux_side)->GetOverlayDefaults((vr::Compositor_OverlaySettings *)pSettings); + ((IVRCompositor*)params->linux_side)->GetOverlayDefaults((vr::Compositor_OverlaySettings *)params->pSettings); } -void cppIVRCompositor_IVRCompositor_005_SetOverlay(void *linux_side, void *pTexture, Compositor_OverlaySettings *pSettings) +void cppIVRCompositor_IVRCompositor_005_SetOverlay( struct cppIVRCompositor_IVRCompositor_005_SetOverlay_params *params ) { - ((IVRCompositor*)linux_side)->SetOverlay((void *)pTexture, (vr::Compositor_OverlaySettings *)pSettings); + ((IVRCompositor*)params->linux_side)->SetOverlay((void *)params->pTexture, (vr::Compositor_OverlaySettings *)params->pSettings); } -void cppIVRCompositor_IVRCompositor_005_SetOverlayRaw(void *linux_side, void *buffer, uint32_t width, uint32_t height, uint32_t depth, Compositor_OverlaySettings *pSettings) +void cppIVRCompositor_IVRCompositor_005_SetOverlayRaw( struct cppIVRCompositor_IVRCompositor_005_SetOverlayRaw_params *params ) { - ((IVRCompositor*)linux_side)->SetOverlayRaw((void *)buffer, (uint32_t)width, (uint32_t)height, (uint32_t)depth, (vr::Compositor_OverlaySettings *)pSettings); + ((IVRCompositor*)params->linux_side)->SetOverlayRaw((void *)params->buffer, (uint32_t)params->width, (uint32_t)params->height, (uint32_t)params->depth, (vr::Compositor_OverlaySettings *)params->pSettings); } -void cppIVRCompositor_IVRCompositor_005_SetOverlayFromFile(void *linux_side, const char *pchFilePath, Compositor_OverlaySettings *pSettings) +void cppIVRCompositor_IVRCompositor_005_SetOverlayFromFile( struct cppIVRCompositor_IVRCompositor_005_SetOverlayFromFile_params *params ) { - ((IVRCompositor*)linux_side)->SetOverlayFromFile((const char *)pchFilePath, (vr::Compositor_OverlaySettings *)pSettings); + ((IVRCompositor*)params->linux_side)->SetOverlayFromFile((const char *)params->pchFilePath, (vr::Compositor_OverlaySettings *)params->pSettings); } -void cppIVRCompositor_IVRCompositor_005_ClearOverlay(void *linux_side) +void cppIVRCompositor_IVRCompositor_005_ClearOverlay( struct cppIVRCompositor_IVRCompositor_005_ClearOverlay_params *params ) { - ((IVRCompositor*)linux_side)->ClearOverlay(); + ((IVRCompositor*)params->linux_side)->ClearOverlay(); } -bool cppIVRCompositor_IVRCompositor_005_GetFrameTiming(void *linux_side, winCompositor_FrameTiming_091 *pTiming, uint32_t unFramesAgo) +void cppIVRCompositor_IVRCompositor_005_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_005_GetFrameTiming_params *params ) { - bool _ret; Compositor_FrameTiming lin_pTiming; - if (pTiming) - struct_Compositor_FrameTiming_091_win_to_lin(pTiming, &lin_pTiming); - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming(pTiming ? &lin_pTiming : nullptr, (uint32_t)unFramesAgo); - if (pTiming) - struct_Compositor_FrameTiming_091_lin_to_win(&lin_pTiming, pTiming); - return _ret; + if (params->pTiming) + struct_Compositor_FrameTiming_091_win_to_lin( params->pTiming, &lin_pTiming ); + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTiming(params->pTiming ? &lin_pTiming : nullptr, (uint32_t)params->unFramesAgo); + if (params->pTiming) + struct_Compositor_FrameTiming_091_lin_to_win( &lin_pTiming, params->pTiming ); } -void cppIVRCompositor_IVRCompositor_005_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void cppIVRCompositor_IVRCompositor_005_FadeToColor( struct cppIVRCompositor_IVRCompositor_005_FadeToColor_params *params ) { - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); + ((IVRCompositor*)params->linux_side)->FadeToColor((float)params->fSeconds, (float)params->fRed, (float)params->fGreen, (float)params->fBlue, (float)params->fAlpha, (bool)params->bBackground); } -void cppIVRCompositor_IVRCompositor_005_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) +void cppIVRCompositor_IVRCompositor_005_FadeGrid( struct cppIVRCompositor_IVRCompositor_005_FadeGrid_params *params ) { - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); + ((IVRCompositor*)params->linux_side)->FadeGrid((float)params->fSeconds, (bool)params->bFadeIn); } -void cppIVRCompositor_IVRCompositor_005_CompositorBringToFront(void *linux_side) +void cppIVRCompositor_IVRCompositor_005_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_005_CompositorBringToFront_params *params ) { - ((IVRCompositor*)linux_side)->CompositorBringToFront(); + ((IVRCompositor*)params->linux_side)->CompositorBringToFront(); } -void cppIVRCompositor_IVRCompositor_005_CompositorGoToBack(void *linux_side) +void cppIVRCompositor_IVRCompositor_005_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_005_CompositorGoToBack_params *params ) { - ((IVRCompositor*)linux_side)->CompositorGoToBack(); + ((IVRCompositor*)params->linux_side)->CompositorGoToBack(); } -void cppIVRCompositor_IVRCompositor_005_CompositorQuit(void *linux_side) +void cppIVRCompositor_IVRCompositor_005_CompositorQuit( struct cppIVRCompositor_IVRCompositor_005_CompositorQuit_params *params ) { - ((IVRCompositor*)linux_side)->CompositorQuit(); + ((IVRCompositor*)params->linux_side)->CompositorQuit(); } -bool cppIVRCompositor_IVRCompositor_005_IsFullscreen(void *linux_side) +void cppIVRCompositor_IVRCompositor_005_IsFullscreen( struct cppIVRCompositor_IVRCompositor_005_IsFullscreen_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsFullscreen(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsFullscreen(); } -bool cppIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection(void *linux_side, const Compositor_OverlaySettings *pSettings, float fAspectRatio, TrackingUniverseOrigin eOrigin, HmdVector3_t vSource, HmdVector3_t vDirection, HmdVector2_t *pvecIntersectionUV, HmdVector3_t *pvecIntersectionTrackingSpace) +void cppIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection( struct cppIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ComputeOverlayIntersection((const vr::Compositor_OverlaySettings *)pSettings, (float)fAspectRatio, (vr::TrackingUniverseOrigin)eOrigin, (vr::HmdVector3_t)vSource, (vr::HmdVector3_t)vDirection, (vr::HmdVector2_t *)pvecIntersectionUV, (vr::HmdVector3_t *)pvecIntersectionTrackingSpace); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ComputeOverlayIntersection((const vr::Compositor_OverlaySettings *)params->pSettings, (float)params->fAspectRatio, (vr::TrackingUniverseOrigin)params->eOrigin, (vr::HmdVector3_t)params->vSource, (vr::HmdVector3_t)params->vDirection, (vr::HmdVector2_t *)params->pvecIntersectionUV, (vr::HmdVector3_t *)params->pvecIntersectionTrackingSpace); } -void cppIVRCompositor_IVRCompositor_005_SetTrackingSpace(void *linux_side, TrackingUniverseOrigin eOrigin) +void cppIVRCompositor_IVRCompositor_005_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_005_SetTrackingSpace_params *params ) { - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::TrackingUniverseOrigin)eOrigin); + ((IVRCompositor*)params->linux_side)->SetTrackingSpace((vr::TrackingUniverseOrigin)params->eOrigin); } -TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_005_GetTrackingSpace(void *linux_side) +void cppIVRCompositor_IVRCompositor_005_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_005_GetTrackingSpace_params *params ) { - TrackingUniverseOrigin _ret; - _ret = ((IVRCompositor*)linux_side)->GetTrackingSpace(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetTrackingSpace(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_005.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_005.h index e98d3129..b14add2b 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_005.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_005.h @@ -1,30 +1,196 @@ #ifdef __cplusplus extern "C" { #endif -extern uint32_t cppIVRCompositor_IVRCompositor_005_GetLastError(void *, char *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_005_SetVSync(void *, bool); -extern bool cppIVRCompositor_IVRCompositor_005_GetVSync(void *); -extern void cppIVRCompositor_IVRCompositor_005_SetGamma(void *, float); -extern float cppIVRCompositor_IVRCompositor_005_GetGamma(void *); -extern void cppIVRCompositor_IVRCompositor_005_SetGraphicsDevice(void *, Compositor_DeviceType, void *); -extern void cppIVRCompositor_IVRCompositor_005_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_005_Submit(void *, Hmd_Eye, void *, Compositor_TextureBounds *); -extern void cppIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_005_GetOverlayDefaults(void *, Compositor_OverlaySettings *); -extern void cppIVRCompositor_IVRCompositor_005_SetOverlay(void *, void *, Compositor_OverlaySettings *); -extern void cppIVRCompositor_IVRCompositor_005_SetOverlayRaw(void *, void *, uint32_t, uint32_t, uint32_t, Compositor_OverlaySettings *); -extern void cppIVRCompositor_IVRCompositor_005_SetOverlayFromFile(void *, const char *, Compositor_OverlaySettings *); -extern void cppIVRCompositor_IVRCompositor_005_ClearOverlay(void *); -extern bool cppIVRCompositor_IVRCompositor_005_GetFrameTiming(void *, winCompositor_FrameTiming_091 *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_005_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_005_FadeGrid(void *, float, bool); -extern void cppIVRCompositor_IVRCompositor_005_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_005_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_005_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_005_IsFullscreen(void *); -extern bool cppIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection(void *, const Compositor_OverlaySettings *, float, TrackingUniverseOrigin, HmdVector3_t, HmdVector3_t, HmdVector2_t *, HmdVector3_t *); -extern void cppIVRCompositor_IVRCompositor_005_SetTrackingSpace(void *, TrackingUniverseOrigin); -extern TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_005_GetTrackingSpace(void *); +struct cppIVRCompositor_IVRCompositor_005_GetLastError_params +{ + void *linux_side; + uint32_t _ret; + char *pchBuffer; + uint32_t unBufferSize; +}; +extern void cppIVRCompositor_IVRCompositor_005_GetLastError( struct cppIVRCompositor_IVRCompositor_005_GetLastError_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_SetVSync_params +{ + void *linux_side; + bool bVSync; +}; +extern void cppIVRCompositor_IVRCompositor_005_SetVSync( struct cppIVRCompositor_IVRCompositor_005_SetVSync_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_GetVSync_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_005_GetVSync( struct cppIVRCompositor_IVRCompositor_005_GetVSync_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_SetGamma_params +{ + void *linux_side; + float fGamma; +}; +extern void cppIVRCompositor_IVRCompositor_005_SetGamma( struct cppIVRCompositor_IVRCompositor_005_SetGamma_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_GetGamma_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_005_GetGamma( struct cppIVRCompositor_IVRCompositor_005_GetGamma_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_SetGraphicsDevice_params +{ + void *linux_side; + Compositor_DeviceType eType; + void *pDevice; +}; +extern void cppIVRCompositor_IVRCompositor_005_SetGraphicsDevice( struct cppIVRCompositor_IVRCompositor_005_SetGraphicsDevice_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_WaitGetPoses_params +{ + void *linux_side; + TrackedDevicePose_t *pPoseArray; + uint32_t unPoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_005_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_005_WaitGetPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_Submit_params +{ + void *linux_side; + Hmd_Eye eEye; + void *pTexture; + Compositor_TextureBounds *pBounds; +}; +extern void cppIVRCompositor_IVRCompositor_005_Submit( struct cppIVRCompositor_IVRCompositor_005_Submit_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_GetOverlayDefaults_params +{ + void *linux_side; + Compositor_OverlaySettings *pSettings; +}; +extern void cppIVRCompositor_IVRCompositor_005_GetOverlayDefaults( struct cppIVRCompositor_IVRCompositor_005_GetOverlayDefaults_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_SetOverlay_params +{ + void *linux_side; + void *pTexture; + Compositor_OverlaySettings *pSettings; +}; +extern void cppIVRCompositor_IVRCompositor_005_SetOverlay( struct cppIVRCompositor_IVRCompositor_005_SetOverlay_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_SetOverlayRaw_params +{ + void *linux_side; + void *buffer; + uint32_t width; + uint32_t height; + uint32_t depth; + Compositor_OverlaySettings *pSettings; +}; +extern void cppIVRCompositor_IVRCompositor_005_SetOverlayRaw( struct cppIVRCompositor_IVRCompositor_005_SetOverlayRaw_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_SetOverlayFromFile_params +{ + void *linux_side; + const char *pchFilePath; + Compositor_OverlaySettings *pSettings; +}; +extern void cppIVRCompositor_IVRCompositor_005_SetOverlayFromFile( struct cppIVRCompositor_IVRCompositor_005_SetOverlayFromFile_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_ClearOverlay_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_005_ClearOverlay( struct cppIVRCompositor_IVRCompositor_005_ClearOverlay_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_GetFrameTiming_params +{ + void *linux_side; + bool _ret; + winCompositor_FrameTiming_091 *pTiming; + uint32_t unFramesAgo; +}; +extern void cppIVRCompositor_IVRCompositor_005_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_005_GetFrameTiming_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_005_FadeToColor( struct cppIVRCompositor_IVRCompositor_005_FadeToColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_FadeGrid_params +{ + void *linux_side; + float fSeconds; + bool bFadeIn; +}; +extern void cppIVRCompositor_IVRCompositor_005_FadeGrid( struct cppIVRCompositor_IVRCompositor_005_FadeGrid_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_CompositorBringToFront_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_005_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_005_CompositorBringToFront_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_CompositorGoToBack_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_005_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_005_CompositorGoToBack_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_CompositorQuit_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_005_CompositorQuit( struct cppIVRCompositor_IVRCompositor_005_CompositorQuit_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_IsFullscreen_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_005_IsFullscreen( struct cppIVRCompositor_IVRCompositor_005_IsFullscreen_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + const Compositor_OverlaySettings *pSettings; + float fAspectRatio; + TrackingUniverseOrigin eOrigin; + HmdVector3_t vSource; + HmdVector3_t vDirection; + HmdVector2_t *pvecIntersectionUV; + HmdVector3_t *pvecIntersectionTrackingSpace; +}; +extern void cppIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection( struct cppIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_SetTrackingSpace_params +{ + void *linux_side; + TrackingUniverseOrigin eOrigin; +}; +extern void cppIVRCompositor_IVRCompositor_005_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_005_SetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_005_GetTrackingSpace_params +{ + void *linux_side; + TrackingUniverseOrigin _ret; +}; +extern void cppIVRCompositor_IVRCompositor_005_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_005_GetTrackingSpace_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_006.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_006.cpp index c6fcdfad..70f5c450 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_006.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_006.cpp @@ -9,129 +9,109 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -uint32_t cppIVRCompositor_IVRCompositor_006_GetLastError(void *linux_side, char *pchBuffer, uint32_t unBufferSize) +void cppIVRCompositor_IVRCompositor_006_GetLastError( struct cppIVRCompositor_IVRCompositor_006_GetLastError_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastError((char *)pchBuffer, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastError((char *)params->pchBuffer, (uint32_t)params->unBufferSize); } -void cppIVRCompositor_IVRCompositor_006_SetVSync(void *linux_side, bool bVSync) +void cppIVRCompositor_IVRCompositor_006_SetVSync( struct cppIVRCompositor_IVRCompositor_006_SetVSync_params *params ) { - ((IVRCompositor*)linux_side)->SetVSync((bool)bVSync); + ((IVRCompositor*)params->linux_side)->SetVSync((bool)params->bVSync); } -bool cppIVRCompositor_IVRCompositor_006_GetVSync(void *linux_side) +void cppIVRCompositor_IVRCompositor_006_GetVSync( struct cppIVRCompositor_IVRCompositor_006_GetVSync_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->GetVSync(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetVSync(); } -void cppIVRCompositor_IVRCompositor_006_SetGamma(void *linux_side, float fGamma) +void cppIVRCompositor_IVRCompositor_006_SetGamma( struct cppIVRCompositor_IVRCompositor_006_SetGamma_params *params ) { - ((IVRCompositor*)linux_side)->SetGamma((float)fGamma); + ((IVRCompositor*)params->linux_side)->SetGamma((float)params->fGamma); } -float cppIVRCompositor_IVRCompositor_006_GetGamma(void *linux_side) +void cppIVRCompositor_IVRCompositor_006_GetGamma( struct cppIVRCompositor_IVRCompositor_006_GetGamma_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetGamma(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetGamma(); } -void cppIVRCompositor_IVRCompositor_006_SetGraphicsDevice(void *linux_side, Compositor_DeviceType eType, void *pDevice) +void cppIVRCompositor_IVRCompositor_006_SetGraphicsDevice( struct cppIVRCompositor_IVRCompositor_006_SetGraphicsDevice_params *params ) { - ((IVRCompositor*)linux_side)->SetGraphicsDevice((vr::Compositor_DeviceType)eType, (void *)pDevice); + ((IVRCompositor*)params->linux_side)->SetGraphicsDevice((vr::Compositor_DeviceType)params->eType, (void *)params->pDevice); } -VRCompositorError cppIVRCompositor_IVRCompositor_006_WaitGetPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_006_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_006_WaitGetPoses_params *params ) { - VRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -VRCompositorError cppIVRCompositor_IVRCompositor_006_Submit(void *linux_side, Hmd_Eye eEye, void *pTexture, VRTextureBounds_t *pBounds) +void cppIVRCompositor_IVRCompositor_006_Submit( struct cppIVRCompositor_IVRCompositor_006_Submit_params *params ) { - VRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->Submit((vr::Hmd_Eye)eEye, (void *)pTexture, (vr::VRTextureBounds_t *)pBounds); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->Submit((vr::Hmd_Eye)params->eEye, (void *)params->pTexture, (vr::VRTextureBounds_t *)params->pBounds); } -void cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame(void *linux_side) +void cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame_params *params ) { - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); + ((IVRCompositor*)params->linux_side)->ClearLastSubmittedFrame(); } -bool cppIVRCompositor_IVRCompositor_006_GetFrameTiming(void *linux_side, winCompositor_FrameTiming_092 *pTiming, uint32_t unFramesAgo) +void cppIVRCompositor_IVRCompositor_006_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_006_GetFrameTiming_params *params ) { - bool _ret; Compositor_FrameTiming lin_pTiming; - if (pTiming) - struct_Compositor_FrameTiming_092_win_to_lin(pTiming, &lin_pTiming); - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming(pTiming ? &lin_pTiming : nullptr, (uint32_t)unFramesAgo); - if (pTiming) - struct_Compositor_FrameTiming_092_lin_to_win(&lin_pTiming, pTiming); - return _ret; + if (params->pTiming) + struct_Compositor_FrameTiming_092_win_to_lin( params->pTiming, &lin_pTiming ); + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTiming(params->pTiming ? &lin_pTiming : nullptr, (uint32_t)params->unFramesAgo); + if (params->pTiming) + struct_Compositor_FrameTiming_092_lin_to_win( &lin_pTiming, params->pTiming ); } -void cppIVRCompositor_IVRCompositor_006_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void cppIVRCompositor_IVRCompositor_006_FadeToColor( struct cppIVRCompositor_IVRCompositor_006_FadeToColor_params *params ) { - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); + ((IVRCompositor*)params->linux_side)->FadeToColor((float)params->fSeconds, (float)params->fRed, (float)params->fGreen, (float)params->fBlue, (float)params->fAlpha, (bool)params->bBackground); } -void cppIVRCompositor_IVRCompositor_006_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) +void cppIVRCompositor_IVRCompositor_006_FadeGrid( struct cppIVRCompositor_IVRCompositor_006_FadeGrid_params *params ) { - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); + ((IVRCompositor*)params->linux_side)->FadeGrid((float)params->fSeconds, (bool)params->bFadeIn); } -void cppIVRCompositor_IVRCompositor_006_CompositorBringToFront(void *linux_side) +void cppIVRCompositor_IVRCompositor_006_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_006_CompositorBringToFront_params *params ) { - ((IVRCompositor*)linux_side)->CompositorBringToFront(); + ((IVRCompositor*)params->linux_side)->CompositorBringToFront(); } -void cppIVRCompositor_IVRCompositor_006_CompositorGoToBack(void *linux_side) +void cppIVRCompositor_IVRCompositor_006_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_006_CompositorGoToBack_params *params ) { - ((IVRCompositor*)linux_side)->CompositorGoToBack(); + ((IVRCompositor*)params->linux_side)->CompositorGoToBack(); } -void cppIVRCompositor_IVRCompositor_006_CompositorQuit(void *linux_side) +void cppIVRCompositor_IVRCompositor_006_CompositorQuit( struct cppIVRCompositor_IVRCompositor_006_CompositorQuit_params *params ) { - ((IVRCompositor*)linux_side)->CompositorQuit(); + ((IVRCompositor*)params->linux_side)->CompositorQuit(); } -bool cppIVRCompositor_IVRCompositor_006_IsFullscreen(void *linux_side) +void cppIVRCompositor_IVRCompositor_006_IsFullscreen( struct cppIVRCompositor_IVRCompositor_006_IsFullscreen_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsFullscreen(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsFullscreen(); } -void cppIVRCompositor_IVRCompositor_006_SetTrackingSpace(void *linux_side, TrackingUniverseOrigin eOrigin) +void cppIVRCompositor_IVRCompositor_006_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_006_SetTrackingSpace_params *params ) { - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::TrackingUniverseOrigin)eOrigin); + ((IVRCompositor*)params->linux_side)->SetTrackingSpace((vr::TrackingUniverseOrigin)params->eOrigin); } -TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_006_GetTrackingSpace(void *linux_side) +void cppIVRCompositor_IVRCompositor_006_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_006_GetTrackingSpace_params *params ) { - TrackingUniverseOrigin _ret; - _ret = ((IVRCompositor*)linux_side)->GetTrackingSpace(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetTrackingSpace(); } -uint32_t cppIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentSceneFocusProcess(); } -bool cppIVRCompositor_IVRCompositor_006_CanRenderScene(void *linux_side) +void cppIVRCompositor_IVRCompositor_006_CanRenderScene( struct cppIVRCompositor_IVRCompositor_006_CanRenderScene_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->CanRenderScene(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->CanRenderScene(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_006.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_006.h index 43d80e33..411b7c86 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_006.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_006.h @@ -1,26 +1,160 @@ #ifdef __cplusplus extern "C" { #endif -extern uint32_t cppIVRCompositor_IVRCompositor_006_GetLastError(void *, char *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_006_SetVSync(void *, bool); -extern bool cppIVRCompositor_IVRCompositor_006_GetVSync(void *); -extern void cppIVRCompositor_IVRCompositor_006_SetGamma(void *, float); -extern float cppIVRCompositor_IVRCompositor_006_GetGamma(void *); -extern void cppIVRCompositor_IVRCompositor_006_SetGraphicsDevice(void *, Compositor_DeviceType, void *); -extern VRCompositorError cppIVRCompositor_IVRCompositor_006_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern VRCompositorError cppIVRCompositor_IVRCompositor_006_Submit(void *, Hmd_Eye, void *, VRTextureBounds_t *); -extern void cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame(void *); -extern bool cppIVRCompositor_IVRCompositor_006_GetFrameTiming(void *, winCompositor_FrameTiming_092 *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_006_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_006_FadeGrid(void *, float, bool); -extern void cppIVRCompositor_IVRCompositor_006_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_006_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_006_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_006_IsFullscreen(void *); -extern void cppIVRCompositor_IVRCompositor_006_SetTrackingSpace(void *, TrackingUniverseOrigin); -extern TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_006_GetTrackingSpace(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess(void *); -extern bool cppIVRCompositor_IVRCompositor_006_CanRenderScene(void *); +struct cppIVRCompositor_IVRCompositor_006_GetLastError_params +{ + void *linux_side; + uint32_t _ret; + char *pchBuffer; + uint32_t unBufferSize; +}; +extern void cppIVRCompositor_IVRCompositor_006_GetLastError( struct cppIVRCompositor_IVRCompositor_006_GetLastError_params *params ); + +struct cppIVRCompositor_IVRCompositor_006_SetVSync_params +{ + void *linux_side; + bool bVSync; +}; +extern void cppIVRCompositor_IVRCompositor_006_SetVSync( struct cppIVRCompositor_IVRCompositor_006_SetVSync_params *params ); + +struct cppIVRCompositor_IVRCompositor_006_GetVSync_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_006_GetVSync( struct cppIVRCompositor_IVRCompositor_006_GetVSync_params *params ); + +struct cppIVRCompositor_IVRCompositor_006_SetGamma_params +{ + void *linux_side; + float fGamma; +}; +extern void cppIVRCompositor_IVRCompositor_006_SetGamma( struct cppIVRCompositor_IVRCompositor_006_SetGamma_params *params ); + +struct cppIVRCompositor_IVRCompositor_006_GetGamma_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_006_GetGamma( struct cppIVRCompositor_IVRCompositor_006_GetGamma_params *params ); + +struct cppIVRCompositor_IVRCompositor_006_SetGraphicsDevice_params +{ + void *linux_side; + Compositor_DeviceType eType; + void *pDevice; +}; +extern void cppIVRCompositor_IVRCompositor_006_SetGraphicsDevice( struct cppIVRCompositor_IVRCompositor_006_SetGraphicsDevice_params *params ); + +struct cppIVRCompositor_IVRCompositor_006_WaitGetPoses_params +{ + void *linux_side; + VRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_006_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_006_WaitGetPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_006_Submit_params +{ + void *linux_side; + VRCompositorError _ret; + Hmd_Eye eEye; + void *pTexture; + VRTextureBounds_t *pBounds; +}; +extern void cppIVRCompositor_IVRCompositor_006_Submit( struct cppIVRCompositor_IVRCompositor_006_Submit_params *params ); + +struct cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame_params *params ); + +struct cppIVRCompositor_IVRCompositor_006_GetFrameTiming_params +{ + void *linux_side; + bool _ret; + winCompositor_FrameTiming_092 *pTiming; + uint32_t unFramesAgo; +}; +extern void cppIVRCompositor_IVRCompositor_006_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_006_GetFrameTiming_params *params ); + +struct cppIVRCompositor_IVRCompositor_006_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_006_FadeToColor( struct cppIVRCompositor_IVRCompositor_006_FadeToColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_006_FadeGrid_params +{ + void *linux_side; + float fSeconds; + bool bFadeIn; +}; +extern void cppIVRCompositor_IVRCompositor_006_FadeGrid( struct cppIVRCompositor_IVRCompositor_006_FadeGrid_params *params ); + +struct cppIVRCompositor_IVRCompositor_006_CompositorBringToFront_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_006_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_006_CompositorBringToFront_params *params ); + +struct cppIVRCompositor_IVRCompositor_006_CompositorGoToBack_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_006_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_006_CompositorGoToBack_params *params ); + +struct cppIVRCompositor_IVRCompositor_006_CompositorQuit_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_006_CompositorQuit( struct cppIVRCompositor_IVRCompositor_006_CompositorQuit_params *params ); + +struct cppIVRCompositor_IVRCompositor_006_IsFullscreen_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_006_IsFullscreen( struct cppIVRCompositor_IVRCompositor_006_IsFullscreen_params *params ); + +struct cppIVRCompositor_IVRCompositor_006_SetTrackingSpace_params +{ + void *linux_side; + TrackingUniverseOrigin eOrigin; +}; +extern void cppIVRCompositor_IVRCompositor_006_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_006_SetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_006_GetTrackingSpace_params +{ + void *linux_side; + TrackingUniverseOrigin _ret; +}; +extern void cppIVRCompositor_IVRCompositor_006_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_006_GetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_006_CanRenderScene_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_006_CanRenderScene( struct cppIVRCompositor_IVRCompositor_006_CanRenderScene_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_007.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_007.cpp index 990fe29f..c56a5cd8 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_007.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_007.cpp @@ -9,124 +9,104 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -uint32_t cppIVRCompositor_IVRCompositor_007_GetLastError(void *linux_side, char *pchBuffer, uint32_t unBufferSize) +void cppIVRCompositor_IVRCompositor_007_GetLastError( struct cppIVRCompositor_IVRCompositor_007_GetLastError_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastError((char *)pchBuffer, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastError((char *)params->pchBuffer, (uint32_t)params->unBufferSize); } -void cppIVRCompositor_IVRCompositor_007_SetVSync(void *linux_side, bool bVSync) +void cppIVRCompositor_IVRCompositor_007_SetVSync( struct cppIVRCompositor_IVRCompositor_007_SetVSync_params *params ) { - ((IVRCompositor*)linux_side)->SetVSync((bool)bVSync); + ((IVRCompositor*)params->linux_side)->SetVSync((bool)params->bVSync); } -bool cppIVRCompositor_IVRCompositor_007_GetVSync(void *linux_side) +void cppIVRCompositor_IVRCompositor_007_GetVSync( struct cppIVRCompositor_IVRCompositor_007_GetVSync_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->GetVSync(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetVSync(); } -void cppIVRCompositor_IVRCompositor_007_SetGamma(void *linux_side, float fGamma) +void cppIVRCompositor_IVRCompositor_007_SetGamma( struct cppIVRCompositor_IVRCompositor_007_SetGamma_params *params ) { - ((IVRCompositor*)linux_side)->SetGamma((float)fGamma); + ((IVRCompositor*)params->linux_side)->SetGamma((float)params->fGamma); } -float cppIVRCompositor_IVRCompositor_007_GetGamma(void *linux_side) +void cppIVRCompositor_IVRCompositor_007_GetGamma( struct cppIVRCompositor_IVRCompositor_007_GetGamma_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetGamma(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetGamma(); } -VRCompositorError cppIVRCompositor_IVRCompositor_007_WaitGetPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_007_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_007_WaitGetPoses_params *params ) { - VRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -VRCompositorError cppIVRCompositor_IVRCompositor_007_Submit(void *linux_side, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void *pTexture, const VRTextureBounds_t *pBounds) +void cppIVRCompositor_IVRCompositor_007_Submit( struct cppIVRCompositor_IVRCompositor_007_Submit_params *params ) { - VRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->Submit((vr::Hmd_Eye)eEye, (vr::GraphicsAPIConvention)eTextureType, (void *)pTexture, (const vr::VRTextureBounds_t *)pBounds); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->Submit((vr::Hmd_Eye)params->eEye, (vr::GraphicsAPIConvention)params->eTextureType, (void *)params->pTexture, (const vr::VRTextureBounds_t *)params->pBounds); } -void cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame(void *linux_side) +void cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame_params *params ) { - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); + ((IVRCompositor*)params->linux_side)->ClearLastSubmittedFrame(); } -bool cppIVRCompositor_IVRCompositor_007_GetFrameTiming(void *linux_side, winCompositor_FrameTiming_098 *pTiming, uint32_t unFramesAgo) +void cppIVRCompositor_IVRCompositor_007_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_007_GetFrameTiming_params *params ) { - bool _ret; Compositor_FrameTiming lin_pTiming; - if (pTiming) - struct_Compositor_FrameTiming_098_win_to_lin(pTiming, &lin_pTiming); - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming(pTiming ? &lin_pTiming : nullptr, (uint32_t)unFramesAgo); - if (pTiming) - struct_Compositor_FrameTiming_098_lin_to_win(&lin_pTiming, pTiming); - return _ret; + if (params->pTiming) + struct_Compositor_FrameTiming_098_win_to_lin( params->pTiming, &lin_pTiming ); + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTiming(params->pTiming ? &lin_pTiming : nullptr, (uint32_t)params->unFramesAgo); + if (params->pTiming) + struct_Compositor_FrameTiming_098_lin_to_win( &lin_pTiming, params->pTiming ); } -void cppIVRCompositor_IVRCompositor_007_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void cppIVRCompositor_IVRCompositor_007_FadeToColor( struct cppIVRCompositor_IVRCompositor_007_FadeToColor_params *params ) { - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); + ((IVRCompositor*)params->linux_side)->FadeToColor((float)params->fSeconds, (float)params->fRed, (float)params->fGreen, (float)params->fBlue, (float)params->fAlpha, (bool)params->bBackground); } -void cppIVRCompositor_IVRCompositor_007_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) +void cppIVRCompositor_IVRCompositor_007_FadeGrid( struct cppIVRCompositor_IVRCompositor_007_FadeGrid_params *params ) { - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); + ((IVRCompositor*)params->linux_side)->FadeGrid((float)params->fSeconds, (bool)params->bFadeIn); } -void cppIVRCompositor_IVRCompositor_007_CompositorBringToFront(void *linux_side) +void cppIVRCompositor_IVRCompositor_007_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_007_CompositorBringToFront_params *params ) { - ((IVRCompositor*)linux_side)->CompositorBringToFront(); + ((IVRCompositor*)params->linux_side)->CompositorBringToFront(); } -void cppIVRCompositor_IVRCompositor_007_CompositorGoToBack(void *linux_side) +void cppIVRCompositor_IVRCompositor_007_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_007_CompositorGoToBack_params *params ) { - ((IVRCompositor*)linux_side)->CompositorGoToBack(); + ((IVRCompositor*)params->linux_side)->CompositorGoToBack(); } -void cppIVRCompositor_IVRCompositor_007_CompositorQuit(void *linux_side) +void cppIVRCompositor_IVRCompositor_007_CompositorQuit( struct cppIVRCompositor_IVRCompositor_007_CompositorQuit_params *params ) { - ((IVRCompositor*)linux_side)->CompositorQuit(); + ((IVRCompositor*)params->linux_side)->CompositorQuit(); } -bool cppIVRCompositor_IVRCompositor_007_IsFullscreen(void *linux_side) +void cppIVRCompositor_IVRCompositor_007_IsFullscreen( struct cppIVRCompositor_IVRCompositor_007_IsFullscreen_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsFullscreen(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsFullscreen(); } -void cppIVRCompositor_IVRCompositor_007_SetTrackingSpace(void *linux_side, TrackingUniverseOrigin eOrigin) +void cppIVRCompositor_IVRCompositor_007_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_007_SetTrackingSpace_params *params ) { - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::TrackingUniverseOrigin)eOrigin); + ((IVRCompositor*)params->linux_side)->SetTrackingSpace((vr::TrackingUniverseOrigin)params->eOrigin); } -TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_007_GetTrackingSpace(void *linux_side) +void cppIVRCompositor_IVRCompositor_007_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_007_GetTrackingSpace_params *params ) { - TrackingUniverseOrigin _ret; - _ret = ((IVRCompositor*)linux_side)->GetTrackingSpace(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetTrackingSpace(); } -uint32_t cppIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentSceneFocusProcess(); } -bool cppIVRCompositor_IVRCompositor_007_CanRenderScene(void *linux_side) +void cppIVRCompositor_IVRCompositor_007_CanRenderScene( struct cppIVRCompositor_IVRCompositor_007_CanRenderScene_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->CanRenderScene(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->CanRenderScene(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_007.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_007.h index c048b57a..6b4dec09 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_007.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_007.h @@ -1,25 +1,153 @@ #ifdef __cplusplus extern "C" { #endif -extern uint32_t cppIVRCompositor_IVRCompositor_007_GetLastError(void *, char *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_007_SetVSync(void *, bool); -extern bool cppIVRCompositor_IVRCompositor_007_GetVSync(void *); -extern void cppIVRCompositor_IVRCompositor_007_SetGamma(void *, float); -extern float cppIVRCompositor_IVRCompositor_007_GetGamma(void *); -extern VRCompositorError cppIVRCompositor_IVRCompositor_007_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern VRCompositorError cppIVRCompositor_IVRCompositor_007_Submit(void *, Hmd_Eye, GraphicsAPIConvention, void *, const VRTextureBounds_t *); -extern void cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame(void *); -extern bool cppIVRCompositor_IVRCompositor_007_GetFrameTiming(void *, winCompositor_FrameTiming_098 *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_007_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_007_FadeGrid(void *, float, bool); -extern void cppIVRCompositor_IVRCompositor_007_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_007_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_007_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_007_IsFullscreen(void *); -extern void cppIVRCompositor_IVRCompositor_007_SetTrackingSpace(void *, TrackingUniverseOrigin); -extern TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_007_GetTrackingSpace(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess(void *); -extern bool cppIVRCompositor_IVRCompositor_007_CanRenderScene(void *); +struct cppIVRCompositor_IVRCompositor_007_GetLastError_params +{ + void *linux_side; + uint32_t _ret; + char *pchBuffer; + uint32_t unBufferSize; +}; +extern void cppIVRCompositor_IVRCompositor_007_GetLastError( struct cppIVRCompositor_IVRCompositor_007_GetLastError_params *params ); + +struct cppIVRCompositor_IVRCompositor_007_SetVSync_params +{ + void *linux_side; + bool bVSync; +}; +extern void cppIVRCompositor_IVRCompositor_007_SetVSync( struct cppIVRCompositor_IVRCompositor_007_SetVSync_params *params ); + +struct cppIVRCompositor_IVRCompositor_007_GetVSync_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_007_GetVSync( struct cppIVRCompositor_IVRCompositor_007_GetVSync_params *params ); + +struct cppIVRCompositor_IVRCompositor_007_SetGamma_params +{ + void *linux_side; + float fGamma; +}; +extern void cppIVRCompositor_IVRCompositor_007_SetGamma( struct cppIVRCompositor_IVRCompositor_007_SetGamma_params *params ); + +struct cppIVRCompositor_IVRCompositor_007_GetGamma_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_007_GetGamma( struct cppIVRCompositor_IVRCompositor_007_GetGamma_params *params ); + +struct cppIVRCompositor_IVRCompositor_007_WaitGetPoses_params +{ + void *linux_side; + VRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_007_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_007_WaitGetPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_007_Submit_params +{ + void *linux_side; + VRCompositorError _ret; + Hmd_Eye eEye; + GraphicsAPIConvention eTextureType; + void *pTexture; + const VRTextureBounds_t *pBounds; +}; +extern void cppIVRCompositor_IVRCompositor_007_Submit( struct cppIVRCompositor_IVRCompositor_007_Submit_params *params ); + +struct cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame_params *params ); + +struct cppIVRCompositor_IVRCompositor_007_GetFrameTiming_params +{ + void *linux_side; + bool _ret; + winCompositor_FrameTiming_098 *pTiming; + uint32_t unFramesAgo; +}; +extern void cppIVRCompositor_IVRCompositor_007_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_007_GetFrameTiming_params *params ); + +struct cppIVRCompositor_IVRCompositor_007_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_007_FadeToColor( struct cppIVRCompositor_IVRCompositor_007_FadeToColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_007_FadeGrid_params +{ + void *linux_side; + float fSeconds; + bool bFadeIn; +}; +extern void cppIVRCompositor_IVRCompositor_007_FadeGrid( struct cppIVRCompositor_IVRCompositor_007_FadeGrid_params *params ); + +struct cppIVRCompositor_IVRCompositor_007_CompositorBringToFront_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_007_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_007_CompositorBringToFront_params *params ); + +struct cppIVRCompositor_IVRCompositor_007_CompositorGoToBack_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_007_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_007_CompositorGoToBack_params *params ); + +struct cppIVRCompositor_IVRCompositor_007_CompositorQuit_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_007_CompositorQuit( struct cppIVRCompositor_IVRCompositor_007_CompositorQuit_params *params ); + +struct cppIVRCompositor_IVRCompositor_007_IsFullscreen_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_007_IsFullscreen( struct cppIVRCompositor_IVRCompositor_007_IsFullscreen_params *params ); + +struct cppIVRCompositor_IVRCompositor_007_SetTrackingSpace_params +{ + void *linux_side; + TrackingUniverseOrigin eOrigin; +}; +extern void cppIVRCompositor_IVRCompositor_007_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_007_SetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_007_GetTrackingSpace_params +{ + void *linux_side; + TrackingUniverseOrigin _ret; +}; +extern void cppIVRCompositor_IVRCompositor_007_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_007_GetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_007_CanRenderScene_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_007_CanRenderScene( struct cppIVRCompositor_IVRCompositor_007_CanRenderScene_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_008.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_008.cpp index 8ae3ffd9..12dc1cce 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_008.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_008.cpp @@ -9,163 +9,139 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -uint32_t cppIVRCompositor_IVRCompositor_008_GetLastError(void *linux_side, char *pchBuffer, uint32_t unBufferSize) +void cppIVRCompositor_IVRCompositor_008_GetLastError( struct cppIVRCompositor_IVRCompositor_008_GetLastError_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastError((char *)pchBuffer, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastError((char *)params->pchBuffer, (uint32_t)params->unBufferSize); } -void cppIVRCompositor_IVRCompositor_008_SetVSync(void *linux_side, bool bVSync) +void cppIVRCompositor_IVRCompositor_008_SetVSync( struct cppIVRCompositor_IVRCompositor_008_SetVSync_params *params ) { - ((IVRCompositor*)linux_side)->SetVSync((bool)bVSync); + ((IVRCompositor*)params->linux_side)->SetVSync((bool)params->bVSync); } -bool cppIVRCompositor_IVRCompositor_008_GetVSync(void *linux_side) +void cppIVRCompositor_IVRCompositor_008_GetVSync( struct cppIVRCompositor_IVRCompositor_008_GetVSync_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->GetVSync(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetVSync(); } -void cppIVRCompositor_IVRCompositor_008_SetGamma(void *linux_side, float fGamma) +void cppIVRCompositor_IVRCompositor_008_SetGamma( struct cppIVRCompositor_IVRCompositor_008_SetGamma_params *params ) { - ((IVRCompositor*)linux_side)->SetGamma((float)fGamma); + ((IVRCompositor*)params->linux_side)->SetGamma((float)params->fGamma); } -float cppIVRCompositor_IVRCompositor_008_GetGamma(void *linux_side) +void cppIVRCompositor_IVRCompositor_008_GetGamma( struct cppIVRCompositor_IVRCompositor_008_GetGamma_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetGamma(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetGamma(); } -VRCompositorError cppIVRCompositor_IVRCompositor_008_WaitGetPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_008_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_008_WaitGetPoses_params *params ) { - VRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -VRCompositorError cppIVRCompositor_IVRCompositor_008_Submit(void *linux_side, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void *pTexture, const VRTextureBounds_t *pBounds, VRSubmitFlags_t nSubmitFlags) +void cppIVRCompositor_IVRCompositor_008_Submit( struct cppIVRCompositor_IVRCompositor_008_Submit_params *params ) { - VRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->Submit((vr::Hmd_Eye)eEye, (vr::GraphicsAPIConvention)eTextureType, (void *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::VRSubmitFlags_t)nSubmitFlags); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->Submit((vr::Hmd_Eye)params->eEye, (vr::GraphicsAPIConvention)params->eTextureType, (void *)params->pTexture, (const vr::VRTextureBounds_t *)params->pBounds, (vr::VRSubmitFlags_t)params->nSubmitFlags); } -void cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame(void *linux_side) +void cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame_params *params ) { - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); + ((IVRCompositor*)params->linux_side)->ClearLastSubmittedFrame(); } -bool cppIVRCompositor_IVRCompositor_008_GetFrameTiming(void *linux_side, winCompositor_FrameTiming_0910 *pTiming, uint32_t unFramesAgo) +void cppIVRCompositor_IVRCompositor_008_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_008_GetFrameTiming_params *params ) { - bool _ret; Compositor_FrameTiming lin_pTiming; - if (pTiming) - struct_Compositor_FrameTiming_0910_win_to_lin(pTiming, &lin_pTiming); - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming(pTiming ? &lin_pTiming : nullptr, (uint32_t)unFramesAgo); - if (pTiming) - struct_Compositor_FrameTiming_0910_lin_to_win(&lin_pTiming, pTiming); - return _ret; + if (params->pTiming) + struct_Compositor_FrameTiming_0910_win_to_lin( params->pTiming, &lin_pTiming ); + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTiming(params->pTiming ? &lin_pTiming : nullptr, (uint32_t)params->unFramesAgo); + if (params->pTiming) + struct_Compositor_FrameTiming_0910_lin_to_win( &lin_pTiming, params->pTiming ); } -void cppIVRCompositor_IVRCompositor_008_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void cppIVRCompositor_IVRCompositor_008_FadeToColor( struct cppIVRCompositor_IVRCompositor_008_FadeToColor_params *params ) { - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); + ((IVRCompositor*)params->linux_side)->FadeToColor((float)params->fSeconds, (float)params->fRed, (float)params->fGreen, (float)params->fBlue, (float)params->fAlpha, (bool)params->bBackground); } -void cppIVRCompositor_IVRCompositor_008_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) +void cppIVRCompositor_IVRCompositor_008_FadeGrid( struct cppIVRCompositor_IVRCompositor_008_FadeGrid_params *params ) { - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); + ((IVRCompositor*)params->linux_side)->FadeGrid((float)params->fSeconds, (bool)params->bFadeIn); } -void cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride(void *linux_side, GraphicsAPIConvention eTextureType, void *pFront, void *pBack, void *pLeft, void *pRight, void *pTop, void *pBottom) +void cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride_params *params ) { - ((IVRCompositor*)linux_side)->SetSkyboxOverride((vr::GraphicsAPIConvention)eTextureType, (void *)pFront, (void *)pBack, (void *)pLeft, (void *)pRight, (void *)pTop, (void *)pBottom); + ((IVRCompositor*)params->linux_side)->SetSkyboxOverride((vr::GraphicsAPIConvention)params->eTextureType, (void *)params->pFront, (void *)params->pBack, (void *)params->pLeft, (void *)params->pRight, (void *)params->pTop, (void *)params->pBottom); } -void cppIVRCompositor_IVRCompositor_008_ClearSkyboxOverride(void *linux_side) +void cppIVRCompositor_IVRCompositor_008_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_008_ClearSkyboxOverride_params *params ) { - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); + ((IVRCompositor*)params->linux_side)->ClearSkyboxOverride(); } -void cppIVRCompositor_IVRCompositor_008_CompositorBringToFront(void *linux_side) +void cppIVRCompositor_IVRCompositor_008_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_008_CompositorBringToFront_params *params ) { - ((IVRCompositor*)linux_side)->CompositorBringToFront(); + ((IVRCompositor*)params->linux_side)->CompositorBringToFront(); } -void cppIVRCompositor_IVRCompositor_008_CompositorGoToBack(void *linux_side) +void cppIVRCompositor_IVRCompositor_008_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_008_CompositorGoToBack_params *params ) { - ((IVRCompositor*)linux_side)->CompositorGoToBack(); + ((IVRCompositor*)params->linux_side)->CompositorGoToBack(); } -void cppIVRCompositor_IVRCompositor_008_CompositorQuit(void *linux_side) +void cppIVRCompositor_IVRCompositor_008_CompositorQuit( struct cppIVRCompositor_IVRCompositor_008_CompositorQuit_params *params ) { - ((IVRCompositor*)linux_side)->CompositorQuit(); + ((IVRCompositor*)params->linux_side)->CompositorQuit(); } -bool cppIVRCompositor_IVRCompositor_008_IsFullscreen(void *linux_side) +void cppIVRCompositor_IVRCompositor_008_IsFullscreen( struct cppIVRCompositor_IVRCompositor_008_IsFullscreen_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsFullscreen(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsFullscreen(); } -void cppIVRCompositor_IVRCompositor_008_SetTrackingSpace(void *linux_side, TrackingUniverseOrigin eOrigin) +void cppIVRCompositor_IVRCompositor_008_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_008_SetTrackingSpace_params *params ) { - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::TrackingUniverseOrigin)eOrigin); + ((IVRCompositor*)params->linux_side)->SetTrackingSpace((vr::TrackingUniverseOrigin)params->eOrigin); } -TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_008_GetTrackingSpace(void *linux_side) +void cppIVRCompositor_IVRCompositor_008_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_008_GetTrackingSpace_params *params ) { - TrackingUniverseOrigin _ret; - _ret = ((IVRCompositor*)linux_side)->GetTrackingSpace(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetTrackingSpace(); } -uint32_t cppIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentSceneFocusProcess(); } -bool cppIVRCompositor_IVRCompositor_008_CanRenderScene(void *linux_side) +void cppIVRCompositor_IVRCompositor_008_CanRenderScene( struct cppIVRCompositor_IVRCompositor_008_CanRenderScene_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->CanRenderScene(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->CanRenderScene(); } -void cppIVRCompositor_IVRCompositor_008_ShowMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_008_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_008_ShowMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); + ((IVRCompositor*)params->linux_side)->ShowMirrorWindow(); } -void cppIVRCompositor_IVRCompositor_008_HideMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_008_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_008_HideMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->HideMirrorWindow(); + ((IVRCompositor*)params->linux_side)->HideMirrorWindow(); } -void cppIVRCompositor_IVRCompositor_008_CompositorDumpImages(void *linux_side) +void cppIVRCompositor_IVRCompositor_008_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_008_CompositorDumpImages_params *params ) { - ((IVRCompositor*)linux_side)->CompositorDumpImages(); + ((IVRCompositor*)params->linux_side)->CompositorDumpImages(); } -float cppIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining(void *linux_side) +void cppIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimeRemaining(); } -uint32_t cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer(void *linux_side) +void cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastFrameRenderer(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_008.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_008.h index c73ac095..14d33074 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_008.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_008.h @@ -1,32 +1,205 @@ #ifdef __cplusplus extern "C" { #endif -extern uint32_t cppIVRCompositor_IVRCompositor_008_GetLastError(void *, char *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_008_SetVSync(void *, bool); -extern bool cppIVRCompositor_IVRCompositor_008_GetVSync(void *); -extern void cppIVRCompositor_IVRCompositor_008_SetGamma(void *, float); -extern float cppIVRCompositor_IVRCompositor_008_GetGamma(void *); -extern VRCompositorError cppIVRCompositor_IVRCompositor_008_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern VRCompositorError cppIVRCompositor_IVRCompositor_008_Submit(void *, Hmd_Eye, GraphicsAPIConvention, void *, const VRTextureBounds_t *, VRSubmitFlags_t); -extern void cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame(void *); -extern bool cppIVRCompositor_IVRCompositor_008_GetFrameTiming(void *, winCompositor_FrameTiming_0910 *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_008_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_008_FadeGrid(void *, float, bool); -extern void cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride(void *, GraphicsAPIConvention, void *, void *, void *, void *, void *, void *); -extern void cppIVRCompositor_IVRCompositor_008_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_008_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_008_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_008_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_008_IsFullscreen(void *); -extern void cppIVRCompositor_IVRCompositor_008_SetTrackingSpace(void *, TrackingUniverseOrigin); -extern TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_008_GetTrackingSpace(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess(void *); -extern bool cppIVRCompositor_IVRCompositor_008_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_008_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_008_HideMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_008_CompositorDumpImages(void *); -extern float cppIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer(void *); +struct cppIVRCompositor_IVRCompositor_008_GetLastError_params +{ + void *linux_side; + uint32_t _ret; + char *pchBuffer; + uint32_t unBufferSize; +}; +extern void cppIVRCompositor_IVRCompositor_008_GetLastError( struct cppIVRCompositor_IVRCompositor_008_GetLastError_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_SetVSync_params +{ + void *linux_side; + bool bVSync; +}; +extern void cppIVRCompositor_IVRCompositor_008_SetVSync( struct cppIVRCompositor_IVRCompositor_008_SetVSync_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_GetVSync_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_008_GetVSync( struct cppIVRCompositor_IVRCompositor_008_GetVSync_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_SetGamma_params +{ + void *linux_side; + float fGamma; +}; +extern void cppIVRCompositor_IVRCompositor_008_SetGamma( struct cppIVRCompositor_IVRCompositor_008_SetGamma_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_GetGamma_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_008_GetGamma( struct cppIVRCompositor_IVRCompositor_008_GetGamma_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_WaitGetPoses_params +{ + void *linux_side; + VRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_008_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_008_WaitGetPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_Submit_params +{ + void *linux_side; + VRCompositorError _ret; + Hmd_Eye eEye; + GraphicsAPIConvention eTextureType; + void *pTexture; + const VRTextureBounds_t *pBounds; + VRSubmitFlags_t nSubmitFlags; +}; +extern void cppIVRCompositor_IVRCompositor_008_Submit( struct cppIVRCompositor_IVRCompositor_008_Submit_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_GetFrameTiming_params +{ + void *linux_side; + bool _ret; + winCompositor_FrameTiming_0910 *pTiming; + uint32_t unFramesAgo; +}; +extern void cppIVRCompositor_IVRCompositor_008_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_008_GetFrameTiming_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_008_FadeToColor( struct cppIVRCompositor_IVRCompositor_008_FadeToColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_FadeGrid_params +{ + void *linux_side; + float fSeconds; + bool bFadeIn; +}; +extern void cppIVRCompositor_IVRCompositor_008_FadeGrid( struct cppIVRCompositor_IVRCompositor_008_FadeGrid_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride_params +{ + void *linux_side; + GraphicsAPIConvention eTextureType; + void *pFront; + void *pBack; + void *pLeft; + void *pRight; + void *pTop; + void *pBottom; +}; +extern void cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_ClearSkyboxOverride_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_008_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_008_ClearSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_CompositorBringToFront_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_008_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_008_CompositorBringToFront_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_CompositorGoToBack_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_008_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_008_CompositorGoToBack_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_CompositorQuit_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_008_CompositorQuit( struct cppIVRCompositor_IVRCompositor_008_CompositorQuit_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_IsFullscreen_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_008_IsFullscreen( struct cppIVRCompositor_IVRCompositor_008_IsFullscreen_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_SetTrackingSpace_params +{ + void *linux_side; + TrackingUniverseOrigin eOrigin; +}; +extern void cppIVRCompositor_IVRCompositor_008_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_008_SetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_GetTrackingSpace_params +{ + void *linux_side; + TrackingUniverseOrigin _ret; +}; +extern void cppIVRCompositor_IVRCompositor_008_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_008_GetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_CanRenderScene_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_008_CanRenderScene( struct cppIVRCompositor_IVRCompositor_008_CanRenderScene_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_ShowMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_008_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_008_ShowMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_HideMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_008_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_008_HideMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_CompositorDumpImages_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_008_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_008_CompositorDumpImages_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining_params *params ); + +struct cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_009.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_009.cpp index 2e45d78d..26e7adb3 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_009.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_009.cpp @@ -9,153 +9,129 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRCompositor_IVRCompositor_009_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) +void cppIVRCompositor_IVRCompositor_009_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_009_SetTrackingSpace_params *params ) { - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); + ((IVRCompositor*)params->linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)params->eOrigin); } -ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_009_GetTrackingSpace(void *linux_side) +void cppIVRCompositor_IVRCompositor_009_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_009_GetTrackingSpace_params *params ) { - ETrackingUniverseOrigin _ret; - _ret = ((IVRCompositor*)linux_side)->GetTrackingSpace(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetTrackingSpace(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_009_WaitGetPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_009_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_009_WaitGetPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_009_GetLastPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_009_GetLastPoses( struct cppIVRCompositor_IVRCompositor_009_GetLastPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_009_Submit(void *linux_side, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +void cppIVRCompositor_IVRCompositor_009_Submit( struct cppIVRCompositor_IVRCompositor_009_Submit_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->Submit((vr::EVREye)params->eEye, (const vr::Texture_t *)params->pTexture, (const vr::VRTextureBounds_t *)params->pBounds, (vr::EVRSubmitFlags)params->nSubmitFlags); } -void cppIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(void *linux_side) +void cppIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame_params *params ) { - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); + ((IVRCompositor*)params->linux_side)->ClearLastSubmittedFrame(); } -void cppIVRCompositor_IVRCompositor_009_PostPresentHandoff(void *linux_side) +void cppIVRCompositor_IVRCompositor_009_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_009_PostPresentHandoff_params *params ) { - ((IVRCompositor*)linux_side)->PostPresentHandoff(); + ((IVRCompositor*)params->linux_side)->PostPresentHandoff(); } -bool cppIVRCompositor_IVRCompositor_009_GetFrameTiming(void *linux_side, winCompositor_FrameTiming_0913 *pTiming, uint32_t unFramesAgo) +void cppIVRCompositor_IVRCompositor_009_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_009_GetFrameTiming_params *params ) { - bool _ret; Compositor_FrameTiming lin_pTiming; - if (pTiming) - struct_Compositor_FrameTiming_0913_win_to_lin(pTiming, &lin_pTiming); - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming(pTiming ? &lin_pTiming : nullptr, (uint32_t)unFramesAgo); - if (pTiming) - struct_Compositor_FrameTiming_0913_lin_to_win(&lin_pTiming, pTiming); - return _ret; + if (params->pTiming) + struct_Compositor_FrameTiming_0913_win_to_lin( params->pTiming, &lin_pTiming ); + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTiming(params->pTiming ? &lin_pTiming : nullptr, (uint32_t)params->unFramesAgo); + if (params->pTiming) + struct_Compositor_FrameTiming_0913_lin_to_win( &lin_pTiming, params->pTiming ); } -float cppIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining(void *linux_side) +void cppIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimeRemaining(); } -void cppIVRCompositor_IVRCompositor_009_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void cppIVRCompositor_IVRCompositor_009_FadeToColor( struct cppIVRCompositor_IVRCompositor_009_FadeToColor_params *params ) { - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); + ((IVRCompositor*)params->linux_side)->FadeToColor((float)params->fSeconds, (float)params->fRed, (float)params->fGreen, (float)params->fBlue, (float)params->fAlpha, (bool)params->bBackground); } -void cppIVRCompositor_IVRCompositor_009_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) +void cppIVRCompositor_IVRCompositor_009_FadeGrid( struct cppIVRCompositor_IVRCompositor_009_FadeGrid_params *params ) { - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); + ((IVRCompositor*)params->linux_side)->FadeGrid((float)params->fSeconds, (bool)params->bFadeIn); } -EVRCompositorError cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride(void *linux_side, const Texture_t *pTextures, uint32_t unTextureCount) +void cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SetSkyboxOverride((const vr::Texture_t *)params->pTextures, (uint32_t)params->unTextureCount); } -void cppIVRCompositor_IVRCompositor_009_ClearSkyboxOverride(void *linux_side) +void cppIVRCompositor_IVRCompositor_009_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_009_ClearSkyboxOverride_params *params ) { - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); + ((IVRCompositor*)params->linux_side)->ClearSkyboxOverride(); } -void cppIVRCompositor_IVRCompositor_009_CompositorBringToFront(void *linux_side) +void cppIVRCompositor_IVRCompositor_009_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_009_CompositorBringToFront_params *params ) { - ((IVRCompositor*)linux_side)->CompositorBringToFront(); + ((IVRCompositor*)params->linux_side)->CompositorBringToFront(); } -void cppIVRCompositor_IVRCompositor_009_CompositorGoToBack(void *linux_side) +void cppIVRCompositor_IVRCompositor_009_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_009_CompositorGoToBack_params *params ) { - ((IVRCompositor*)linux_side)->CompositorGoToBack(); + ((IVRCompositor*)params->linux_side)->CompositorGoToBack(); } -void cppIVRCompositor_IVRCompositor_009_CompositorQuit(void *linux_side) +void cppIVRCompositor_IVRCompositor_009_CompositorQuit( struct cppIVRCompositor_IVRCompositor_009_CompositorQuit_params *params ) { - ((IVRCompositor*)linux_side)->CompositorQuit(); + ((IVRCompositor*)params->linux_side)->CompositorQuit(); } -bool cppIVRCompositor_IVRCompositor_009_IsFullscreen(void *linux_side) +void cppIVRCompositor_IVRCompositor_009_IsFullscreen( struct cppIVRCompositor_IVRCompositor_009_IsFullscreen_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsFullscreen(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsFullscreen(); } -uint32_t cppIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentSceneFocusProcess(); } -uint32_t cppIVRCompositor_IVRCompositor_009_GetLastFrameRenderer(void *linux_side) +void cppIVRCompositor_IVRCompositor_009_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_009_GetLastFrameRenderer_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastFrameRenderer(); } -bool cppIVRCompositor_IVRCompositor_009_CanRenderScene(void *linux_side) +void cppIVRCompositor_IVRCompositor_009_CanRenderScene( struct cppIVRCompositor_IVRCompositor_009_CanRenderScene_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->CanRenderScene(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->CanRenderScene(); } -void cppIVRCompositor_IVRCompositor_009_ShowMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_009_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_009_ShowMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); + ((IVRCompositor*)params->linux_side)->ShowMirrorWindow(); } -void cppIVRCompositor_IVRCompositor_009_HideMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_009_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_009_HideMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->HideMirrorWindow(); + ((IVRCompositor*)params->linux_side)->HideMirrorWindow(); } -bool cppIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible(void *linux_side) +void cppIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMirrorWindowVisible(); } -void cppIVRCompositor_IVRCompositor_009_CompositorDumpImages(void *linux_side) +void cppIVRCompositor_IVRCompositor_009_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_009_CompositorDumpImages_params *params ) { - ((IVRCompositor*)linux_side)->CompositorDumpImages(); + ((IVRCompositor*)params->linux_side)->CompositorDumpImages(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_009.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_009.h index 582dc0e7..59a7cf84 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_009.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_009.h @@ -1,30 +1,187 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRCompositor_IVRCompositor_009_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_009_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_009_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_009_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_009_Submit(void *, EVREye, const Texture_t *, const VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_009_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_009_GetFrameTiming(void *, winCompositor_FrameTiming_0913 *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_009_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_009_FadeGrid(void *, float, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride(void *, const Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_009_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_009_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_009_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_009_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_009_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_009_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_009_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_009_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_009_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_009_CompositorDumpImages(void *); +struct cppIVRCompositor_IVRCompositor_009_SetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; +}; +extern void cppIVRCompositor_IVRCompositor_009_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_009_SetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_GetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin _ret; +}; +extern void cppIVRCompositor_IVRCompositor_009_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_009_GetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_WaitGetPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_009_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_009_WaitGetPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_GetLastPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_009_GetLastPoses( struct cppIVRCompositor_IVRCompositor_009_GetLastPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_Submit_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + const Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + EVRSubmitFlags nSubmitFlags; +}; +extern void cppIVRCompositor_IVRCompositor_009_Submit( struct cppIVRCompositor_IVRCompositor_009_Submit_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_PostPresentHandoff_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_009_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_009_PostPresentHandoff_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_GetFrameTiming_params +{ + void *linux_side; + bool _ret; + winCompositor_FrameTiming_0913 *pTiming; + uint32_t unFramesAgo; +}; +extern void cppIVRCompositor_IVRCompositor_009_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_009_GetFrameTiming_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_009_FadeToColor( struct cppIVRCompositor_IVRCompositor_009_FadeToColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_FadeGrid_params +{ + void *linux_side; + float fSeconds; + bool bFadeIn; +}; +extern void cppIVRCompositor_IVRCompositor_009_FadeGrid( struct cppIVRCompositor_IVRCompositor_009_FadeGrid_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride_params +{ + void *linux_side; + EVRCompositorError _ret; + const Texture_t *pTextures; + uint32_t unTextureCount; +}; +extern void cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_ClearSkyboxOverride_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_009_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_009_ClearSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_CompositorBringToFront_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_009_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_009_CompositorBringToFront_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_CompositorGoToBack_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_009_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_009_CompositorGoToBack_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_CompositorQuit_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_009_CompositorQuit( struct cppIVRCompositor_IVRCompositor_009_CompositorQuit_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_IsFullscreen_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_009_IsFullscreen( struct cppIVRCompositor_IVRCompositor_009_IsFullscreen_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_009_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_009_GetLastFrameRenderer_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_CanRenderScene_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_009_CanRenderScene( struct cppIVRCompositor_IVRCompositor_009_CanRenderScene_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_ShowMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_009_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_009_ShowMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_HideMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_009_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_009_HideMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible_params *params ); + +struct cppIVRCompositor_IVRCompositor_009_CompositorDumpImages_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_009_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_009_CompositorDumpImages_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_010.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_010.cpp index 527e9322..08d18ea1 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_010.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_010.cpp @@ -9,153 +9,129 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRCompositor_IVRCompositor_010_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) +void cppIVRCompositor_IVRCompositor_010_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_010_SetTrackingSpace_params *params ) { - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); + ((IVRCompositor*)params->linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)params->eOrigin); } -ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_010_GetTrackingSpace(void *linux_side) +void cppIVRCompositor_IVRCompositor_010_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_010_GetTrackingSpace_params *params ) { - ETrackingUniverseOrigin _ret; - _ret = ((IVRCompositor*)linux_side)->GetTrackingSpace(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetTrackingSpace(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_010_WaitGetPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_010_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_010_WaitGetPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_010_GetLastPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_010_GetLastPoses( struct cppIVRCompositor_IVRCompositor_010_GetLastPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_010_Submit(void *linux_side, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +void cppIVRCompositor_IVRCompositor_010_Submit( struct cppIVRCompositor_IVRCompositor_010_Submit_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->Submit((vr::EVREye)params->eEye, (const vr::Texture_t *)params->pTexture, (const vr::VRTextureBounds_t *)params->pBounds, (vr::EVRSubmitFlags)params->nSubmitFlags); } -void cppIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(void *linux_side) +void cppIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame_params *params ) { - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); + ((IVRCompositor*)params->linux_side)->ClearLastSubmittedFrame(); } -void cppIVRCompositor_IVRCompositor_010_PostPresentHandoff(void *linux_side) +void cppIVRCompositor_IVRCompositor_010_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_010_PostPresentHandoff_params *params ) { - ((IVRCompositor*)linux_side)->PostPresentHandoff(); + ((IVRCompositor*)params->linux_side)->PostPresentHandoff(); } -bool cppIVRCompositor_IVRCompositor_010_GetFrameTiming(void *linux_side, winCompositor_FrameTiming_0914 *pTiming, uint32_t unFramesAgo) +void cppIVRCompositor_IVRCompositor_010_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_010_GetFrameTiming_params *params ) { - bool _ret; Compositor_FrameTiming lin_pTiming; - if (pTiming) - struct_Compositor_FrameTiming_0914_win_to_lin(pTiming, &lin_pTiming); - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming(pTiming ? &lin_pTiming : nullptr, (uint32_t)unFramesAgo); - if (pTiming) - struct_Compositor_FrameTiming_0914_lin_to_win(&lin_pTiming, pTiming); - return _ret; + if (params->pTiming) + struct_Compositor_FrameTiming_0914_win_to_lin( params->pTiming, &lin_pTiming ); + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTiming(params->pTiming ? &lin_pTiming : nullptr, (uint32_t)params->unFramesAgo); + if (params->pTiming) + struct_Compositor_FrameTiming_0914_lin_to_win( &lin_pTiming, params->pTiming ); } -float cppIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining(void *linux_side) +void cppIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimeRemaining(); } -void cppIVRCompositor_IVRCompositor_010_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void cppIVRCompositor_IVRCompositor_010_FadeToColor( struct cppIVRCompositor_IVRCompositor_010_FadeToColor_params *params ) { - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); + ((IVRCompositor*)params->linux_side)->FadeToColor((float)params->fSeconds, (float)params->fRed, (float)params->fGreen, (float)params->fBlue, (float)params->fAlpha, (bool)params->bBackground); } -void cppIVRCompositor_IVRCompositor_010_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) +void cppIVRCompositor_IVRCompositor_010_FadeGrid( struct cppIVRCompositor_IVRCompositor_010_FadeGrid_params *params ) { - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); + ((IVRCompositor*)params->linux_side)->FadeGrid((float)params->fSeconds, (bool)params->bFadeIn); } -EVRCompositorError cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride(void *linux_side, const Texture_t *pTextures, uint32_t unTextureCount) +void cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SetSkyboxOverride((const vr::Texture_t *)params->pTextures, (uint32_t)params->unTextureCount); } -void cppIVRCompositor_IVRCompositor_010_ClearSkyboxOverride(void *linux_side) +void cppIVRCompositor_IVRCompositor_010_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_010_ClearSkyboxOverride_params *params ) { - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); + ((IVRCompositor*)params->linux_side)->ClearSkyboxOverride(); } -void cppIVRCompositor_IVRCompositor_010_CompositorBringToFront(void *linux_side) +void cppIVRCompositor_IVRCompositor_010_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_010_CompositorBringToFront_params *params ) { - ((IVRCompositor*)linux_side)->CompositorBringToFront(); + ((IVRCompositor*)params->linux_side)->CompositorBringToFront(); } -void cppIVRCompositor_IVRCompositor_010_CompositorGoToBack(void *linux_side) +void cppIVRCompositor_IVRCompositor_010_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_010_CompositorGoToBack_params *params ) { - ((IVRCompositor*)linux_side)->CompositorGoToBack(); + ((IVRCompositor*)params->linux_side)->CompositorGoToBack(); } -void cppIVRCompositor_IVRCompositor_010_CompositorQuit(void *linux_side) +void cppIVRCompositor_IVRCompositor_010_CompositorQuit( struct cppIVRCompositor_IVRCompositor_010_CompositorQuit_params *params ) { - ((IVRCompositor*)linux_side)->CompositorQuit(); + ((IVRCompositor*)params->linux_side)->CompositorQuit(); } -bool cppIVRCompositor_IVRCompositor_010_IsFullscreen(void *linux_side) +void cppIVRCompositor_IVRCompositor_010_IsFullscreen( struct cppIVRCompositor_IVRCompositor_010_IsFullscreen_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsFullscreen(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsFullscreen(); } -uint32_t cppIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentSceneFocusProcess(); } -uint32_t cppIVRCompositor_IVRCompositor_010_GetLastFrameRenderer(void *linux_side) +void cppIVRCompositor_IVRCompositor_010_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_010_GetLastFrameRenderer_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastFrameRenderer(); } -bool cppIVRCompositor_IVRCompositor_010_CanRenderScene(void *linux_side) +void cppIVRCompositor_IVRCompositor_010_CanRenderScene( struct cppIVRCompositor_IVRCompositor_010_CanRenderScene_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->CanRenderScene(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->CanRenderScene(); } -void cppIVRCompositor_IVRCompositor_010_ShowMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_010_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_010_ShowMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); + ((IVRCompositor*)params->linux_side)->ShowMirrorWindow(); } -void cppIVRCompositor_IVRCompositor_010_HideMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_010_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_010_HideMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->HideMirrorWindow(); + ((IVRCompositor*)params->linux_side)->HideMirrorWindow(); } -bool cppIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible(void *linux_side) +void cppIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMirrorWindowVisible(); } -void cppIVRCompositor_IVRCompositor_010_CompositorDumpImages(void *linux_side) +void cppIVRCompositor_IVRCompositor_010_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_010_CompositorDumpImages_params *params ) { - ((IVRCompositor*)linux_side)->CompositorDumpImages(); + ((IVRCompositor*)params->linux_side)->CompositorDumpImages(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_010.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_010.h index cbea7856..8a072ed7 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_010.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_010.h @@ -1,30 +1,187 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRCompositor_IVRCompositor_010_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_010_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_010_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_010_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_010_Submit(void *, EVREye, const Texture_t *, const VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_010_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_010_GetFrameTiming(void *, winCompositor_FrameTiming_0914 *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_010_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_010_FadeGrid(void *, float, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride(void *, const Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_010_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_010_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_010_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_010_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_010_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_010_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_010_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_010_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_010_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_010_CompositorDumpImages(void *); +struct cppIVRCompositor_IVRCompositor_010_SetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; +}; +extern void cppIVRCompositor_IVRCompositor_010_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_010_SetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_GetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin _ret; +}; +extern void cppIVRCompositor_IVRCompositor_010_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_010_GetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_WaitGetPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_010_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_010_WaitGetPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_GetLastPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_010_GetLastPoses( struct cppIVRCompositor_IVRCompositor_010_GetLastPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_Submit_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + const Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + EVRSubmitFlags nSubmitFlags; +}; +extern void cppIVRCompositor_IVRCompositor_010_Submit( struct cppIVRCompositor_IVRCompositor_010_Submit_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_PostPresentHandoff_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_010_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_010_PostPresentHandoff_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_GetFrameTiming_params +{ + void *linux_side; + bool _ret; + winCompositor_FrameTiming_0914 *pTiming; + uint32_t unFramesAgo; +}; +extern void cppIVRCompositor_IVRCompositor_010_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_010_GetFrameTiming_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_010_FadeToColor( struct cppIVRCompositor_IVRCompositor_010_FadeToColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_FadeGrid_params +{ + void *linux_side; + float fSeconds; + bool bFadeIn; +}; +extern void cppIVRCompositor_IVRCompositor_010_FadeGrid( struct cppIVRCompositor_IVRCompositor_010_FadeGrid_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride_params +{ + void *linux_side; + EVRCompositorError _ret; + const Texture_t *pTextures; + uint32_t unTextureCount; +}; +extern void cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_ClearSkyboxOverride_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_010_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_010_ClearSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_CompositorBringToFront_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_010_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_010_CompositorBringToFront_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_CompositorGoToBack_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_010_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_010_CompositorGoToBack_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_CompositorQuit_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_010_CompositorQuit( struct cppIVRCompositor_IVRCompositor_010_CompositorQuit_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_IsFullscreen_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_010_IsFullscreen( struct cppIVRCompositor_IVRCompositor_010_IsFullscreen_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_010_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_010_GetLastFrameRenderer_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_CanRenderScene_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_010_CanRenderScene( struct cppIVRCompositor_IVRCompositor_010_CanRenderScene_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_ShowMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_010_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_010_ShowMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_HideMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_010_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_010_HideMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible_params *params ); + +struct cppIVRCompositor_IVRCompositor_010_CompositorDumpImages_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_010_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_010_CompositorDumpImages_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_011.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_011.cpp index f3a429b8..bea232eb 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_011.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_011.cpp @@ -9,148 +9,124 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRCompositor_IVRCompositor_011_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) +void cppIVRCompositor_IVRCompositor_011_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_011_SetTrackingSpace_params *params ) { - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); + ((IVRCompositor*)params->linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)params->eOrigin); } -ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_011_GetTrackingSpace(void *linux_side) +void cppIVRCompositor_IVRCompositor_011_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_011_GetTrackingSpace_params *params ) { - ETrackingUniverseOrigin _ret; - _ret = ((IVRCompositor*)linux_side)->GetTrackingSpace(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetTrackingSpace(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_011_WaitGetPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_011_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_011_WaitGetPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_011_GetLastPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_011_GetLastPoses( struct cppIVRCompositor_IVRCompositor_011_GetLastPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_011_Submit(void *linux_side, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +void cppIVRCompositor_IVRCompositor_011_Submit( struct cppIVRCompositor_IVRCompositor_011_Submit_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->Submit((vr::EVREye)params->eEye, (const vr::Texture_t *)params->pTexture, (const vr::VRTextureBounds_t *)params->pBounds, (vr::EVRSubmitFlags)params->nSubmitFlags); } -void cppIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(void *linux_side) +void cppIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame_params *params ) { - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); + ((IVRCompositor*)params->linux_side)->ClearLastSubmittedFrame(); } -void cppIVRCompositor_IVRCompositor_011_PostPresentHandoff(void *linux_side) +void cppIVRCompositor_IVRCompositor_011_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_011_PostPresentHandoff_params *params ) { - ((IVRCompositor*)linux_side)->PostPresentHandoff(); + ((IVRCompositor*)params->linux_side)->PostPresentHandoff(); } -bool cppIVRCompositor_IVRCompositor_011_GetFrameTiming(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +void cppIVRCompositor_IVRCompositor_011_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_011_GetFrameTiming_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->unFramesAgo); } -float cppIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining(void *linux_side) +void cppIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimeRemaining(); } -void cppIVRCompositor_IVRCompositor_011_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void cppIVRCompositor_IVRCompositor_011_FadeToColor( struct cppIVRCompositor_IVRCompositor_011_FadeToColor_params *params ) { - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); + ((IVRCompositor*)params->linux_side)->FadeToColor((float)params->fSeconds, (float)params->fRed, (float)params->fGreen, (float)params->fBlue, (float)params->fAlpha, (bool)params->bBackground); } -void cppIVRCompositor_IVRCompositor_011_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) +void cppIVRCompositor_IVRCompositor_011_FadeGrid( struct cppIVRCompositor_IVRCompositor_011_FadeGrid_params *params ) { - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); + ((IVRCompositor*)params->linux_side)->FadeGrid((float)params->fSeconds, (bool)params->bFadeIn); } -EVRCompositorError cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride(void *linux_side, const Texture_t *pTextures, uint32_t unTextureCount) +void cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SetSkyboxOverride((const vr::Texture_t *)params->pTextures, (uint32_t)params->unTextureCount); } -void cppIVRCompositor_IVRCompositor_011_ClearSkyboxOverride(void *linux_side) +void cppIVRCompositor_IVRCompositor_011_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_011_ClearSkyboxOverride_params *params ) { - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); + ((IVRCompositor*)params->linux_side)->ClearSkyboxOverride(); } -void cppIVRCompositor_IVRCompositor_011_CompositorBringToFront(void *linux_side) +void cppIVRCompositor_IVRCompositor_011_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_011_CompositorBringToFront_params *params ) { - ((IVRCompositor*)linux_side)->CompositorBringToFront(); + ((IVRCompositor*)params->linux_side)->CompositorBringToFront(); } -void cppIVRCompositor_IVRCompositor_011_CompositorGoToBack(void *linux_side) +void cppIVRCompositor_IVRCompositor_011_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_011_CompositorGoToBack_params *params ) { - ((IVRCompositor*)linux_side)->CompositorGoToBack(); + ((IVRCompositor*)params->linux_side)->CompositorGoToBack(); } -void cppIVRCompositor_IVRCompositor_011_CompositorQuit(void *linux_side) +void cppIVRCompositor_IVRCompositor_011_CompositorQuit( struct cppIVRCompositor_IVRCompositor_011_CompositorQuit_params *params ) { - ((IVRCompositor*)linux_side)->CompositorQuit(); + ((IVRCompositor*)params->linux_side)->CompositorQuit(); } -bool cppIVRCompositor_IVRCompositor_011_IsFullscreen(void *linux_side) +void cppIVRCompositor_IVRCompositor_011_IsFullscreen( struct cppIVRCompositor_IVRCompositor_011_IsFullscreen_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsFullscreen(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsFullscreen(); } -uint32_t cppIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentSceneFocusProcess(); } -uint32_t cppIVRCompositor_IVRCompositor_011_GetLastFrameRenderer(void *linux_side) +void cppIVRCompositor_IVRCompositor_011_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_011_GetLastFrameRenderer_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastFrameRenderer(); } -bool cppIVRCompositor_IVRCompositor_011_CanRenderScene(void *linux_side) +void cppIVRCompositor_IVRCompositor_011_CanRenderScene( struct cppIVRCompositor_IVRCompositor_011_CanRenderScene_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->CanRenderScene(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->CanRenderScene(); } -void cppIVRCompositor_IVRCompositor_011_ShowMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_011_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_011_ShowMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); + ((IVRCompositor*)params->linux_side)->ShowMirrorWindow(); } -void cppIVRCompositor_IVRCompositor_011_HideMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_011_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_011_HideMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->HideMirrorWindow(); + ((IVRCompositor*)params->linux_side)->HideMirrorWindow(); } -bool cppIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible(void *linux_side) +void cppIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMirrorWindowVisible(); } -void cppIVRCompositor_IVRCompositor_011_CompositorDumpImages(void *linux_side) +void cppIVRCompositor_IVRCompositor_011_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_011_CompositorDumpImages_params *params ) { - ((IVRCompositor*)linux_side)->CompositorDumpImages(); + ((IVRCompositor*)params->linux_side)->CompositorDumpImages(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_011.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_011.h index d576d143..b56764f6 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_011.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_011.h @@ -1,30 +1,187 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRCompositor_IVRCompositor_011_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_011_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_011_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_011_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_011_Submit(void *, EVREye, const Texture_t *, const VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_011_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_011_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_011_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_011_FadeGrid(void *, float, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride(void *, const Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_011_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_011_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_011_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_011_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_011_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_011_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_011_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_011_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_011_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_011_CompositorDumpImages(void *); +struct cppIVRCompositor_IVRCompositor_011_SetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; +}; +extern void cppIVRCompositor_IVRCompositor_011_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_011_SetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_GetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin _ret; +}; +extern void cppIVRCompositor_IVRCompositor_011_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_011_GetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_WaitGetPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_011_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_011_WaitGetPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_GetLastPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_011_GetLastPoses( struct cppIVRCompositor_IVRCompositor_011_GetLastPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_Submit_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + const Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + EVRSubmitFlags nSubmitFlags; +}; +extern void cppIVRCompositor_IVRCompositor_011_Submit( struct cppIVRCompositor_IVRCompositor_011_Submit_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_PostPresentHandoff_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_011_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_011_PostPresentHandoff_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_GetFrameTiming_params +{ + void *linux_side; + bool _ret; + Compositor_FrameTiming *pTiming; + uint32_t unFramesAgo; +}; +extern void cppIVRCompositor_IVRCompositor_011_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_011_GetFrameTiming_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_011_FadeToColor( struct cppIVRCompositor_IVRCompositor_011_FadeToColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_FadeGrid_params +{ + void *linux_side; + float fSeconds; + bool bFadeIn; +}; +extern void cppIVRCompositor_IVRCompositor_011_FadeGrid( struct cppIVRCompositor_IVRCompositor_011_FadeGrid_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride_params +{ + void *linux_side; + EVRCompositorError _ret; + const Texture_t *pTextures; + uint32_t unTextureCount; +}; +extern void cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_ClearSkyboxOverride_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_011_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_011_ClearSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_CompositorBringToFront_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_011_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_011_CompositorBringToFront_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_CompositorGoToBack_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_011_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_011_CompositorGoToBack_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_CompositorQuit_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_011_CompositorQuit( struct cppIVRCompositor_IVRCompositor_011_CompositorQuit_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_IsFullscreen_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_011_IsFullscreen( struct cppIVRCompositor_IVRCompositor_011_IsFullscreen_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_011_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_011_GetLastFrameRenderer_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_CanRenderScene_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_011_CanRenderScene( struct cppIVRCompositor_IVRCompositor_011_CanRenderScene_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_ShowMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_011_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_011_ShowMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_HideMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_011_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_011_HideMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible_params *params ); + +struct cppIVRCompositor_IVRCompositor_011_CompositorDumpImages_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_011_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_011_CompositorDumpImages_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_012.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_012.cpp index e47b8733..fa4fe866 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_012.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_012.cpp @@ -9,162 +9,134 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRCompositor_IVRCompositor_012_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) +void cppIVRCompositor_IVRCompositor_012_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_012_SetTrackingSpace_params *params ) { - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); + ((IVRCompositor*)params->linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)params->eOrigin); } -ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_012_GetTrackingSpace(void *linux_side) +void cppIVRCompositor_IVRCompositor_012_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_012_GetTrackingSpace_params *params ) { - ETrackingUniverseOrigin _ret; - _ret = ((IVRCompositor*)linux_side)->GetTrackingSpace(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetTrackingSpace(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_012_WaitGetPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_012_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_012_WaitGetPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_012_GetLastPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_012_GetLastPoses( struct cppIVRCompositor_IVRCompositor_012_GetLastPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +void cppIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDevicePose_t *)params->pOutputPose, (vr::TrackedDevicePose_t *)params->pOutputGamePose); } -EVRCompositorError cppIVRCompositor_IVRCompositor_012_Submit(void *linux_side, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +void cppIVRCompositor_IVRCompositor_012_Submit( struct cppIVRCompositor_IVRCompositor_012_Submit_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->Submit((vr::EVREye)params->eEye, (const vr::Texture_t *)params->pTexture, (const vr::VRTextureBounds_t *)params->pBounds, (vr::EVRSubmitFlags)params->nSubmitFlags); } -void cppIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(void *linux_side) +void cppIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame_params *params ) { - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); + ((IVRCompositor*)params->linux_side)->ClearLastSubmittedFrame(); } -void cppIVRCompositor_IVRCompositor_012_PostPresentHandoff(void *linux_side) +void cppIVRCompositor_IVRCompositor_012_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_012_PostPresentHandoff_params *params ) { - ((IVRCompositor*)linux_side)->PostPresentHandoff(); + ((IVRCompositor*)params->linux_side)->PostPresentHandoff(); } -bool cppIVRCompositor_IVRCompositor_012_GetFrameTiming(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +void cppIVRCompositor_IVRCompositor_012_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_012_GetFrameTiming_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->unFramesAgo); } -float cppIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining(void *linux_side) +void cppIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimeRemaining(); } -void cppIVRCompositor_IVRCompositor_012_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void cppIVRCompositor_IVRCompositor_012_FadeToColor( struct cppIVRCompositor_IVRCompositor_012_FadeToColor_params *params ) { - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); + ((IVRCompositor*)params->linux_side)->FadeToColor((float)params->fSeconds, (float)params->fRed, (float)params->fGreen, (float)params->fBlue, (float)params->fAlpha, (bool)params->bBackground); } -void cppIVRCompositor_IVRCompositor_012_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) +void cppIVRCompositor_IVRCompositor_012_FadeGrid( struct cppIVRCompositor_IVRCompositor_012_FadeGrid_params *params ) { - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); + ((IVRCompositor*)params->linux_side)->FadeGrid((float)params->fSeconds, (bool)params->bFadeIn); } -EVRCompositorError cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride(void *linux_side, const Texture_t *pTextures, uint32_t unTextureCount) +void cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SetSkyboxOverride((const vr::Texture_t *)params->pTextures, (uint32_t)params->unTextureCount); } -void cppIVRCompositor_IVRCompositor_012_ClearSkyboxOverride(void *linux_side) +void cppIVRCompositor_IVRCompositor_012_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_012_ClearSkyboxOverride_params *params ) { - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); + ((IVRCompositor*)params->linux_side)->ClearSkyboxOverride(); } -void cppIVRCompositor_IVRCompositor_012_CompositorBringToFront(void *linux_side) +void cppIVRCompositor_IVRCompositor_012_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_012_CompositorBringToFront_params *params ) { - ((IVRCompositor*)linux_side)->CompositorBringToFront(); + ((IVRCompositor*)params->linux_side)->CompositorBringToFront(); } -void cppIVRCompositor_IVRCompositor_012_CompositorGoToBack(void *linux_side) +void cppIVRCompositor_IVRCompositor_012_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_012_CompositorGoToBack_params *params ) { - ((IVRCompositor*)linux_side)->CompositorGoToBack(); + ((IVRCompositor*)params->linux_side)->CompositorGoToBack(); } -void cppIVRCompositor_IVRCompositor_012_CompositorQuit(void *linux_side) +void cppIVRCompositor_IVRCompositor_012_CompositorQuit( struct cppIVRCompositor_IVRCompositor_012_CompositorQuit_params *params ) { - ((IVRCompositor*)linux_side)->CompositorQuit(); + ((IVRCompositor*)params->linux_side)->CompositorQuit(); } -bool cppIVRCompositor_IVRCompositor_012_IsFullscreen(void *linux_side) +void cppIVRCompositor_IVRCompositor_012_IsFullscreen( struct cppIVRCompositor_IVRCompositor_012_IsFullscreen_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsFullscreen(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsFullscreen(); } -uint32_t cppIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentSceneFocusProcess(); } -uint32_t cppIVRCompositor_IVRCompositor_012_GetLastFrameRenderer(void *linux_side) +void cppIVRCompositor_IVRCompositor_012_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_012_GetLastFrameRenderer_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastFrameRenderer(); } -bool cppIVRCompositor_IVRCompositor_012_CanRenderScene(void *linux_side) +void cppIVRCompositor_IVRCompositor_012_CanRenderScene( struct cppIVRCompositor_IVRCompositor_012_CanRenderScene_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->CanRenderScene(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->CanRenderScene(); } -void cppIVRCompositor_IVRCompositor_012_ShowMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_012_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_012_ShowMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); + ((IVRCompositor*)params->linux_side)->ShowMirrorWindow(); } -void cppIVRCompositor_IVRCompositor_012_HideMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_012_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_012_HideMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->HideMirrorWindow(); + ((IVRCompositor*)params->linux_side)->HideMirrorWindow(); } -bool cppIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible(void *linux_side) +void cppIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMirrorWindowVisible(); } -void cppIVRCompositor_IVRCompositor_012_CompositorDumpImages(void *linux_side) +void cppIVRCompositor_IVRCompositor_012_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_012_CompositorDumpImages_params *params ) { - ((IVRCompositor*)linux_side)->CompositorDumpImages(); + ((IVRCompositor*)params->linux_side)->CompositorDumpImages(); } -bool cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources(void *linux_side) +void cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ShouldAppRenderWithLowResources(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_012.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_012.h index 60f2f70c..6624d319 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_012.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_012.h @@ -1,32 +1,204 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRCompositor_IVRCompositor_012_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_012_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_012_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_012_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_012_Submit(void *, EVREye, const Texture_t *, const VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_012_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_012_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_012_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_012_FadeGrid(void *, float, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride(void *, const Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_012_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_012_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_012_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_012_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_012_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_012_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_012_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_012_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_012_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_012_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources(void *); +struct cppIVRCompositor_IVRCompositor_012_SetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; +}; +extern void cppIVRCompositor_IVRCompositor_012_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_012_SetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_GetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin _ret; +}; +extern void cppIVRCompositor_IVRCompositor_012_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_012_GetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_WaitGetPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_012_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_012_WaitGetPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_GetLastPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_012_GetLastPoses( struct cppIVRCompositor_IVRCompositor_012_GetLastPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; +extern void cppIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_Submit_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + const Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + EVRSubmitFlags nSubmitFlags; +}; +extern void cppIVRCompositor_IVRCompositor_012_Submit( struct cppIVRCompositor_IVRCompositor_012_Submit_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_PostPresentHandoff_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_012_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_012_PostPresentHandoff_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_GetFrameTiming_params +{ + void *linux_side; + bool _ret; + Compositor_FrameTiming *pTiming; + uint32_t unFramesAgo; +}; +extern void cppIVRCompositor_IVRCompositor_012_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_012_GetFrameTiming_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_012_FadeToColor( struct cppIVRCompositor_IVRCompositor_012_FadeToColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_FadeGrid_params +{ + void *linux_side; + float fSeconds; + bool bFadeIn; +}; +extern void cppIVRCompositor_IVRCompositor_012_FadeGrid( struct cppIVRCompositor_IVRCompositor_012_FadeGrid_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride_params +{ + void *linux_side; + EVRCompositorError _ret; + const Texture_t *pTextures; + uint32_t unTextureCount; +}; +extern void cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_ClearSkyboxOverride_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_012_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_012_ClearSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_CompositorBringToFront_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_012_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_012_CompositorBringToFront_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_CompositorGoToBack_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_012_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_012_CompositorGoToBack_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_CompositorQuit_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_012_CompositorQuit( struct cppIVRCompositor_IVRCompositor_012_CompositorQuit_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_IsFullscreen_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_012_IsFullscreen( struct cppIVRCompositor_IVRCompositor_012_IsFullscreen_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_012_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_012_GetLastFrameRenderer_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_CanRenderScene_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_012_CanRenderScene( struct cppIVRCompositor_IVRCompositor_012_CanRenderScene_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_ShowMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_012_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_012_ShowMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_HideMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_012_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_012_HideMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_CompositorDumpImages_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_012_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_012_CompositorDumpImages_params *params ); + +struct cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_013.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_013.cpp index 468ef4f7..6f090ab0 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_013.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_013.cpp @@ -9,167 +9,139 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRCompositor_IVRCompositor_013_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) +void cppIVRCompositor_IVRCompositor_013_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_013_SetTrackingSpace_params *params ) { - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); + ((IVRCompositor*)params->linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)params->eOrigin); } -ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_013_GetTrackingSpace(void *linux_side) +void cppIVRCompositor_IVRCompositor_013_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_013_GetTrackingSpace_params *params ) { - ETrackingUniverseOrigin _ret; - _ret = ((IVRCompositor*)linux_side)->GetTrackingSpace(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetTrackingSpace(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_013_WaitGetPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_013_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_013_WaitGetPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_013_GetLastPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_013_GetLastPoses( struct cppIVRCompositor_IVRCompositor_013_GetLastPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +void cppIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDevicePose_t *)params->pOutputPose, (vr::TrackedDevicePose_t *)params->pOutputGamePose); } -EVRCompositorError cppIVRCompositor_IVRCompositor_013_Submit(void *linux_side, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +void cppIVRCompositor_IVRCompositor_013_Submit( struct cppIVRCompositor_IVRCompositor_013_Submit_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->Submit((vr::EVREye)params->eEye, (const vr::Texture_t *)params->pTexture, (const vr::VRTextureBounds_t *)params->pBounds, (vr::EVRSubmitFlags)params->nSubmitFlags); } -void cppIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(void *linux_side) +void cppIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame_params *params ) { - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); + ((IVRCompositor*)params->linux_side)->ClearLastSubmittedFrame(); } -void cppIVRCompositor_IVRCompositor_013_PostPresentHandoff(void *linux_side) +void cppIVRCompositor_IVRCompositor_013_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_013_PostPresentHandoff_params *params ) { - ((IVRCompositor*)linux_side)->PostPresentHandoff(); + ((IVRCompositor*)params->linux_side)->PostPresentHandoff(); } -bool cppIVRCompositor_IVRCompositor_013_GetFrameTiming(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +void cppIVRCompositor_IVRCompositor_013_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_013_GetFrameTiming_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->unFramesAgo); } -float cppIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining(void *linux_side) +void cppIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimeRemaining(); } -void cppIVRCompositor_IVRCompositor_013_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void cppIVRCompositor_IVRCompositor_013_FadeToColor( struct cppIVRCompositor_IVRCompositor_013_FadeToColor_params *params ) { - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); + ((IVRCompositor*)params->linux_side)->FadeToColor((float)params->fSeconds, (float)params->fRed, (float)params->fGreen, (float)params->fBlue, (float)params->fAlpha, (bool)params->bBackground); } -void cppIVRCompositor_IVRCompositor_013_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) +void cppIVRCompositor_IVRCompositor_013_FadeGrid( struct cppIVRCompositor_IVRCompositor_013_FadeGrid_params *params ) { - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); + ((IVRCompositor*)params->linux_side)->FadeGrid((float)params->fSeconds, (bool)params->bFadeIn); } -EVRCompositorError cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride(void *linux_side, const Texture_t *pTextures, uint32_t unTextureCount) +void cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SetSkyboxOverride((const vr::Texture_t *)params->pTextures, (uint32_t)params->unTextureCount); } -void cppIVRCompositor_IVRCompositor_013_ClearSkyboxOverride(void *linux_side) +void cppIVRCompositor_IVRCompositor_013_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_013_ClearSkyboxOverride_params *params ) { - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); + ((IVRCompositor*)params->linux_side)->ClearSkyboxOverride(); } -void cppIVRCompositor_IVRCompositor_013_CompositorBringToFront(void *linux_side) +void cppIVRCompositor_IVRCompositor_013_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_013_CompositorBringToFront_params *params ) { - ((IVRCompositor*)linux_side)->CompositorBringToFront(); + ((IVRCompositor*)params->linux_side)->CompositorBringToFront(); } -void cppIVRCompositor_IVRCompositor_013_CompositorGoToBack(void *linux_side) +void cppIVRCompositor_IVRCompositor_013_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_013_CompositorGoToBack_params *params ) { - ((IVRCompositor*)linux_side)->CompositorGoToBack(); + ((IVRCompositor*)params->linux_side)->CompositorGoToBack(); } -void cppIVRCompositor_IVRCompositor_013_CompositorQuit(void *linux_side) +void cppIVRCompositor_IVRCompositor_013_CompositorQuit( struct cppIVRCompositor_IVRCompositor_013_CompositorQuit_params *params ) { - ((IVRCompositor*)linux_side)->CompositorQuit(); + ((IVRCompositor*)params->linux_side)->CompositorQuit(); } -bool cppIVRCompositor_IVRCompositor_013_IsFullscreen(void *linux_side) +void cppIVRCompositor_IVRCompositor_013_IsFullscreen( struct cppIVRCompositor_IVRCompositor_013_IsFullscreen_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsFullscreen(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsFullscreen(); } -uint32_t cppIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentSceneFocusProcess(); } -uint32_t cppIVRCompositor_IVRCompositor_013_GetLastFrameRenderer(void *linux_side) +void cppIVRCompositor_IVRCompositor_013_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_013_GetLastFrameRenderer_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastFrameRenderer(); } -bool cppIVRCompositor_IVRCompositor_013_CanRenderScene(void *linux_side) +void cppIVRCompositor_IVRCompositor_013_CanRenderScene( struct cppIVRCompositor_IVRCompositor_013_CanRenderScene_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->CanRenderScene(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->CanRenderScene(); } -void cppIVRCompositor_IVRCompositor_013_ShowMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_013_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_013_ShowMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); + ((IVRCompositor*)params->linux_side)->ShowMirrorWindow(); } -void cppIVRCompositor_IVRCompositor_013_HideMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_013_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_013_HideMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->HideMirrorWindow(); + ((IVRCompositor*)params->linux_side)->HideMirrorWindow(); } -bool cppIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible(void *linux_side) +void cppIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMirrorWindowVisible(); } -void cppIVRCompositor_IVRCompositor_013_CompositorDumpImages(void *linux_side) +void cppIVRCompositor_IVRCompositor_013_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_013_CompositorDumpImages_params *params ) { - ((IVRCompositor*)linux_side)->CompositorDumpImages(); + ((IVRCompositor*)params->linux_side)->CompositorDumpImages(); } -bool cppIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources(void *linux_side) +void cppIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ShouldAppRenderWithLowResources(); } -void cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) +void cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn_params *params ) { - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); + ((IVRCompositor*)params->linux_side)->ForceInterleavedReprojectionOn((bool)params->bOverride); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_013.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_013.h index 09baa8e8..0f524923 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_013.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_013.h @@ -1,33 +1,211 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRCompositor_IVRCompositor_013_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_013_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_013_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_013_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_013_Submit(void *, EVREye, const Texture_t *, const VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_013_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_013_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_013_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_013_FadeGrid(void *, float, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride(void *, const Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_013_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_013_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_013_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_013_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_013_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_013_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_013_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_013_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_013_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_013_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn(void *, bool); +struct cppIVRCompositor_IVRCompositor_013_SetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; +}; +extern void cppIVRCompositor_IVRCompositor_013_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_013_SetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_GetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin _ret; +}; +extern void cppIVRCompositor_IVRCompositor_013_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_013_GetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_WaitGetPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_013_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_013_WaitGetPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_GetLastPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_013_GetLastPoses( struct cppIVRCompositor_IVRCompositor_013_GetLastPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; +extern void cppIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_Submit_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + const Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + EVRSubmitFlags nSubmitFlags; +}; +extern void cppIVRCompositor_IVRCompositor_013_Submit( struct cppIVRCompositor_IVRCompositor_013_Submit_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_PostPresentHandoff_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_013_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_013_PostPresentHandoff_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_GetFrameTiming_params +{ + void *linux_side; + bool _ret; + Compositor_FrameTiming *pTiming; + uint32_t unFramesAgo; +}; +extern void cppIVRCompositor_IVRCompositor_013_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_013_GetFrameTiming_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_013_FadeToColor( struct cppIVRCompositor_IVRCompositor_013_FadeToColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_FadeGrid_params +{ + void *linux_side; + float fSeconds; + bool bFadeIn; +}; +extern void cppIVRCompositor_IVRCompositor_013_FadeGrid( struct cppIVRCompositor_IVRCompositor_013_FadeGrid_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride_params +{ + void *linux_side; + EVRCompositorError _ret; + const Texture_t *pTextures; + uint32_t unTextureCount; +}; +extern void cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_ClearSkyboxOverride_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_013_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_013_ClearSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_CompositorBringToFront_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_013_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_013_CompositorBringToFront_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_CompositorGoToBack_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_013_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_013_CompositorGoToBack_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_CompositorQuit_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_013_CompositorQuit( struct cppIVRCompositor_IVRCompositor_013_CompositorQuit_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_IsFullscreen_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_013_IsFullscreen( struct cppIVRCompositor_IVRCompositor_013_IsFullscreen_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_013_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_013_GetLastFrameRenderer_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_CanRenderScene_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_013_CanRenderScene( struct cppIVRCompositor_IVRCompositor_013_CanRenderScene_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_ShowMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_013_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_013_ShowMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_HideMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_013_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_013_HideMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_CompositorDumpImages_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_013_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_013_CompositorDumpImages_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources_params *params ); + +struct cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + bool bOverride; +}; +extern void cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_014.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_014.cpp index afc8683b..29ee7913 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_014.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_014.cpp @@ -9,177 +9,149 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRCompositor_IVRCompositor_014_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) +void cppIVRCompositor_IVRCompositor_014_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_014_SetTrackingSpace_params *params ) { - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); + ((IVRCompositor*)params->linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)params->eOrigin); } -ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_014_GetTrackingSpace(void *linux_side) +void cppIVRCompositor_IVRCompositor_014_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_014_GetTrackingSpace_params *params ) { - ETrackingUniverseOrigin _ret; - _ret = ((IVRCompositor*)linux_side)->GetTrackingSpace(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetTrackingSpace(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_014_WaitGetPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_014_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_014_WaitGetPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_014_GetLastPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_014_GetLastPoses( struct cppIVRCompositor_IVRCompositor_014_GetLastPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +void cppIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDevicePose_t *)params->pOutputPose, (vr::TrackedDevicePose_t *)params->pOutputGamePose); } -EVRCompositorError cppIVRCompositor_IVRCompositor_014_Submit(void *linux_side, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +void cppIVRCompositor_IVRCompositor_014_Submit( struct cppIVRCompositor_IVRCompositor_014_Submit_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->Submit((vr::EVREye)params->eEye, (const vr::Texture_t *)params->pTexture, (const vr::VRTextureBounds_t *)params->pBounds, (vr::EVRSubmitFlags)params->nSubmitFlags); } -void cppIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(void *linux_side) +void cppIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame_params *params ) { - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); + ((IVRCompositor*)params->linux_side)->ClearLastSubmittedFrame(); } -void cppIVRCompositor_IVRCompositor_014_PostPresentHandoff(void *linux_side) +void cppIVRCompositor_IVRCompositor_014_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_014_PostPresentHandoff_params *params ) { - ((IVRCompositor*)linux_side)->PostPresentHandoff(); + ((IVRCompositor*)params->linux_side)->PostPresentHandoff(); } -bool cppIVRCompositor_IVRCompositor_014_GetFrameTiming(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +void cppIVRCompositor_IVRCompositor_014_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_014_GetFrameTiming_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->unFramesAgo); } -float cppIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining(void *linux_side) +void cppIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimeRemaining(); } -void cppIVRCompositor_IVRCompositor_014_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void cppIVRCompositor_IVRCompositor_014_FadeToColor( struct cppIVRCompositor_IVRCompositor_014_FadeToColor_params *params ) { - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); + ((IVRCompositor*)params->linux_side)->FadeToColor((float)params->fSeconds, (float)params->fRed, (float)params->fGreen, (float)params->fBlue, (float)params->fAlpha, (bool)params->bBackground); } -void cppIVRCompositor_IVRCompositor_014_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) +void cppIVRCompositor_IVRCompositor_014_FadeGrid( struct cppIVRCompositor_IVRCompositor_014_FadeGrid_params *params ) { - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); + ((IVRCompositor*)params->linux_side)->FadeGrid((float)params->fSeconds, (bool)params->bFadeIn); } -EVRCompositorError cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride(void *linux_side, const Texture_t *pTextures, uint32_t unTextureCount) +void cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SetSkyboxOverride((const vr::Texture_t *)params->pTextures, (uint32_t)params->unTextureCount); } -void cppIVRCompositor_IVRCompositor_014_ClearSkyboxOverride(void *linux_side) +void cppIVRCompositor_IVRCompositor_014_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_014_ClearSkyboxOverride_params *params ) { - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); + ((IVRCompositor*)params->linux_side)->ClearSkyboxOverride(); } -void cppIVRCompositor_IVRCompositor_014_CompositorBringToFront(void *linux_side) +void cppIVRCompositor_IVRCompositor_014_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_014_CompositorBringToFront_params *params ) { - ((IVRCompositor*)linux_side)->CompositorBringToFront(); + ((IVRCompositor*)params->linux_side)->CompositorBringToFront(); } -void cppIVRCompositor_IVRCompositor_014_CompositorGoToBack(void *linux_side) +void cppIVRCompositor_IVRCompositor_014_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_014_CompositorGoToBack_params *params ) { - ((IVRCompositor*)linux_side)->CompositorGoToBack(); + ((IVRCompositor*)params->linux_side)->CompositorGoToBack(); } -void cppIVRCompositor_IVRCompositor_014_CompositorQuit(void *linux_side) +void cppIVRCompositor_IVRCompositor_014_CompositorQuit( struct cppIVRCompositor_IVRCompositor_014_CompositorQuit_params *params ) { - ((IVRCompositor*)linux_side)->CompositorQuit(); + ((IVRCompositor*)params->linux_side)->CompositorQuit(); } -bool cppIVRCompositor_IVRCompositor_014_IsFullscreen(void *linux_side) +void cppIVRCompositor_IVRCompositor_014_IsFullscreen( struct cppIVRCompositor_IVRCompositor_014_IsFullscreen_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsFullscreen(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsFullscreen(); } -uint32_t cppIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentSceneFocusProcess(); } -uint32_t cppIVRCompositor_IVRCompositor_014_GetLastFrameRenderer(void *linux_side) +void cppIVRCompositor_IVRCompositor_014_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_014_GetLastFrameRenderer_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastFrameRenderer(); } -bool cppIVRCompositor_IVRCompositor_014_CanRenderScene(void *linux_side) +void cppIVRCompositor_IVRCompositor_014_CanRenderScene( struct cppIVRCompositor_IVRCompositor_014_CanRenderScene_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->CanRenderScene(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->CanRenderScene(); } -void cppIVRCompositor_IVRCompositor_014_ShowMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_014_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_014_ShowMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); + ((IVRCompositor*)params->linux_side)->ShowMirrorWindow(); } -void cppIVRCompositor_IVRCompositor_014_HideMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_014_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_014_HideMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->HideMirrorWindow(); + ((IVRCompositor*)params->linux_side)->HideMirrorWindow(); } -bool cppIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible(void *linux_side) +void cppIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMirrorWindowVisible(); } -void cppIVRCompositor_IVRCompositor_014_CompositorDumpImages(void *linux_side) +void cppIVRCompositor_IVRCompositor_014_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_014_CompositorDumpImages_params *params ) { - ((IVRCompositor*)linux_side)->CompositorDumpImages(); + ((IVRCompositor*)params->linux_side)->CompositorDumpImages(); } -bool cppIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources(void *linux_side) +void cppIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ShouldAppRenderWithLowResources(); } -void cppIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) +void cppIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn_params *params ) { - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); + ((IVRCompositor*)params->linux_side)->ForceInterleavedReprojectionOn((bool)params->bOverride); } -void cppIVRCompositor_IVRCompositor_014_ForceReconnectProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_014_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_014_ForceReconnectProcess_params *params ) { - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); + ((IVRCompositor*)params->linux_side)->ForceReconnectProcess(); } -void cppIVRCompositor_IVRCompositor_014_SuspendRendering(void *linux_side, bool bSuspend) +void cppIVRCompositor_IVRCompositor_014_SuspendRendering( struct cppIVRCompositor_IVRCompositor_014_SuspendRendering_params *params ) { - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); + ((IVRCompositor*)params->linux_side)->SuspendRendering((bool)params->bSuspend); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_014.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_014.h index 867f9085..51ecb2cb 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_014.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_014.h @@ -1,35 +1,224 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRCompositor_IVRCompositor_014_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_014_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_014_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_014_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_014_Submit(void *, EVREye, const Texture_t *, const VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_014_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_014_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_014_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_014_FadeGrid(void *, float, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride(void *, const Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_014_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_014_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_014_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_014_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_014_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_014_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_014_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_014_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_014_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_014_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_014_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_014_SuspendRendering(void *, bool); +struct cppIVRCompositor_IVRCompositor_014_SetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; +}; +extern void cppIVRCompositor_IVRCompositor_014_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_014_SetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_GetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin _ret; +}; +extern void cppIVRCompositor_IVRCompositor_014_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_014_GetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_WaitGetPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_014_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_014_WaitGetPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_GetLastPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_014_GetLastPoses( struct cppIVRCompositor_IVRCompositor_014_GetLastPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; +extern void cppIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_Submit_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + const Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + EVRSubmitFlags nSubmitFlags; +}; +extern void cppIVRCompositor_IVRCompositor_014_Submit( struct cppIVRCompositor_IVRCompositor_014_Submit_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_PostPresentHandoff_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_014_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_014_PostPresentHandoff_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_GetFrameTiming_params +{ + void *linux_side; + bool _ret; + Compositor_FrameTiming *pTiming; + uint32_t unFramesAgo; +}; +extern void cppIVRCompositor_IVRCompositor_014_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_014_GetFrameTiming_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_014_FadeToColor( struct cppIVRCompositor_IVRCompositor_014_FadeToColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_FadeGrid_params +{ + void *linux_side; + float fSeconds; + bool bFadeIn; +}; +extern void cppIVRCompositor_IVRCompositor_014_FadeGrid( struct cppIVRCompositor_IVRCompositor_014_FadeGrid_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride_params +{ + void *linux_side; + EVRCompositorError _ret; + const Texture_t *pTextures; + uint32_t unTextureCount; +}; +extern void cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_ClearSkyboxOverride_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_014_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_014_ClearSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_CompositorBringToFront_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_014_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_014_CompositorBringToFront_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_CompositorGoToBack_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_014_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_014_CompositorGoToBack_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_CompositorQuit_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_014_CompositorQuit( struct cppIVRCompositor_IVRCompositor_014_CompositorQuit_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_IsFullscreen_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_014_IsFullscreen( struct cppIVRCompositor_IVRCompositor_014_IsFullscreen_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_014_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_014_GetLastFrameRenderer_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_CanRenderScene_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_014_CanRenderScene( struct cppIVRCompositor_IVRCompositor_014_CanRenderScene_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_ShowMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_014_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_014_ShowMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_HideMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_014_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_014_HideMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_CompositorDumpImages_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_014_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_014_CompositorDumpImages_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + bool bOverride; +}; +extern void cppIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_ForceReconnectProcess_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_014_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_014_ForceReconnectProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_014_SuspendRendering_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppIVRCompositor_IVRCompositor_014_SuspendRendering( struct cppIVRCompositor_IVRCompositor_014_SuspendRendering_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_015.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_015.cpp index 1e10b2d1..5275ca7d 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_015.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_015.cpp @@ -9,227 +9,189 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRCompositor_IVRCompositor_015_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) +void cppIVRCompositor_IVRCompositor_015_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_015_SetTrackingSpace_params *params ) { - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); + ((IVRCompositor*)params->linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)params->eOrigin); } -ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_015_GetTrackingSpace(void *linux_side) +void cppIVRCompositor_IVRCompositor_015_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_015_GetTrackingSpace_params *params ) { - ETrackingUniverseOrigin _ret; - _ret = ((IVRCompositor*)linux_side)->GetTrackingSpace(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetTrackingSpace(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_015_WaitGetPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_015_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_015_WaitGetPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetLastPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_015_GetLastPoses( struct cppIVRCompositor_IVRCompositor_015_GetLastPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +void cppIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDevicePose_t *)params->pOutputPose, (vr::TrackedDevicePose_t *)params->pOutputGamePose); } -EVRCompositorError cppIVRCompositor_IVRCompositor_015_Submit(void *linux_side, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +void cppIVRCompositor_IVRCompositor_015_Submit( struct cppIVRCompositor_IVRCompositor_015_Submit_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->Submit((vr::EVREye)params->eEye, (const vr::Texture_t *)params->pTexture, (const vr::VRTextureBounds_t *)params->pBounds, (vr::EVRSubmitFlags)params->nSubmitFlags); } -void cppIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(void *linux_side) +void cppIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame_params *params ) { - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); + ((IVRCompositor*)params->linux_side)->ClearLastSubmittedFrame(); } -void cppIVRCompositor_IVRCompositor_015_PostPresentHandoff(void *linux_side) +void cppIVRCompositor_IVRCompositor_015_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_015_PostPresentHandoff_params *params ) { - ((IVRCompositor*)linux_side)->PostPresentHandoff(); + ((IVRCompositor*)params->linux_side)->PostPresentHandoff(); } -bool cppIVRCompositor_IVRCompositor_015_GetFrameTiming(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +void cppIVRCompositor_IVRCompositor_015_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_015_GetFrameTiming_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->unFramesAgo); } -float cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining(void *linux_side) +void cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimeRemaining(); } -void cppIVRCompositor_IVRCompositor_015_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void cppIVRCompositor_IVRCompositor_015_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_015_GetCumulativeStats_params *params ) { - ((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes); + ((IVRCompositor*)params->linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)params->pStats, (uint32_t)params->nStatsSizeInBytes); } -void cppIVRCompositor_IVRCompositor_015_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void cppIVRCompositor_IVRCompositor_015_FadeToColor( struct cppIVRCompositor_IVRCompositor_015_FadeToColor_params *params ) { - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); + ((IVRCompositor*)params->linux_side)->FadeToColor((float)params->fSeconds, (float)params->fRed, (float)params->fGreen, (float)params->fBlue, (float)params->fAlpha, (bool)params->bBackground); } -void cppIVRCompositor_IVRCompositor_015_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) +void cppIVRCompositor_IVRCompositor_015_FadeGrid( struct cppIVRCompositor_IVRCompositor_015_FadeGrid_params *params ) { - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); + ((IVRCompositor*)params->linux_side)->FadeGrid((float)params->fSeconds, (bool)params->bFadeIn); } -EVRCompositorError cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride(void *linux_side, const Texture_t *pTextures, uint32_t unTextureCount) +void cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SetSkyboxOverride((const vr::Texture_t *)params->pTextures, (uint32_t)params->unTextureCount); } -void cppIVRCompositor_IVRCompositor_015_ClearSkyboxOverride(void *linux_side) +void cppIVRCompositor_IVRCompositor_015_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_015_ClearSkyboxOverride_params *params ) { - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); + ((IVRCompositor*)params->linux_side)->ClearSkyboxOverride(); } -void cppIVRCompositor_IVRCompositor_015_CompositorBringToFront(void *linux_side) +void cppIVRCompositor_IVRCompositor_015_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_015_CompositorBringToFront_params *params ) { - ((IVRCompositor*)linux_side)->CompositorBringToFront(); + ((IVRCompositor*)params->linux_side)->CompositorBringToFront(); } -void cppIVRCompositor_IVRCompositor_015_CompositorGoToBack(void *linux_side) +void cppIVRCompositor_IVRCompositor_015_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_015_CompositorGoToBack_params *params ) { - ((IVRCompositor*)linux_side)->CompositorGoToBack(); + ((IVRCompositor*)params->linux_side)->CompositorGoToBack(); } -void cppIVRCompositor_IVRCompositor_015_CompositorQuit(void *linux_side) +void cppIVRCompositor_IVRCompositor_015_CompositorQuit( struct cppIVRCompositor_IVRCompositor_015_CompositorQuit_params *params ) { - ((IVRCompositor*)linux_side)->CompositorQuit(); + ((IVRCompositor*)params->linux_side)->CompositorQuit(); } -bool cppIVRCompositor_IVRCompositor_015_IsFullscreen(void *linux_side) +void cppIVRCompositor_IVRCompositor_015_IsFullscreen( struct cppIVRCompositor_IVRCompositor_015_IsFullscreen_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsFullscreen(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsFullscreen(); } -uint32_t cppIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentSceneFocusProcess(); } -uint32_t cppIVRCompositor_IVRCompositor_015_GetLastFrameRenderer(void *linux_side) +void cppIVRCompositor_IVRCompositor_015_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_015_GetLastFrameRenderer_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastFrameRenderer(); } -bool cppIVRCompositor_IVRCompositor_015_CanRenderScene(void *linux_side) +void cppIVRCompositor_IVRCompositor_015_CanRenderScene( struct cppIVRCompositor_IVRCompositor_015_CanRenderScene_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->CanRenderScene(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->CanRenderScene(); } -void cppIVRCompositor_IVRCompositor_015_ShowMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_015_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_015_ShowMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); + ((IVRCompositor*)params->linux_side)->ShowMirrorWindow(); } -void cppIVRCompositor_IVRCompositor_015_HideMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_015_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_015_HideMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->HideMirrorWindow(); + ((IVRCompositor*)params->linux_side)->HideMirrorWindow(); } -bool cppIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible(void *linux_side) +void cppIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMirrorWindowVisible(); } -void cppIVRCompositor_IVRCompositor_015_CompositorDumpImages(void *linux_side) +void cppIVRCompositor_IVRCompositor_015_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_015_CompositorDumpImages_params *params ) { - ((IVRCompositor*)linux_side)->CompositorDumpImages(); + ((IVRCompositor*)params->linux_side)->CompositorDumpImages(); } -bool cppIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources(void *linux_side) +void cppIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ShouldAppRenderWithLowResources(); } -void cppIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) +void cppIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn_params *params ) { - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); + ((IVRCompositor*)params->linux_side)->ForceInterleavedReprojectionOn((bool)params->bOverride); } -void cppIVRCompositor_IVRCompositor_015_ForceReconnectProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_015_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_015_ForceReconnectProcess_params *params ) { - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); + ((IVRCompositor*)params->linux_side)->ForceReconnectProcess(); } -void cppIVRCompositor_IVRCompositor_015_SuspendRendering(void *linux_side, bool bSuspend) +void cppIVRCompositor_IVRCompositor_015_SuspendRendering( struct cppIVRCompositor_IVRCompositor_015_SuspendRendering_params *params ) { - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); + ((IVRCompositor*)params->linux_side)->SuspendRendering((bool)params->bSuspend); } -EVRCompositorError cppIVRCompositor_IVRCompositor_015_RequestScreenshot(void *linux_side, EVRScreenshotType type, const char *pchDestinationFileName, const char *pchVRDestinationFileName) +void cppIVRCompositor_IVRCompositor_015_RequestScreenshot( struct cppIVRCompositor_IVRCompositor_015_RequestScreenshot_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->RequestScreenshot((vr::EVRScreenshotType)type, (const char *)pchDestinationFileName, (const char *)pchVRDestinationFileName); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->RequestScreenshot((vr::EVRScreenshotType)params->type, (const char *)params->pchDestinationFileName, (const char *)params->pchVRDestinationFileName); } -EVRScreenshotType cppIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType(void *linux_side) +void cppIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType( struct cppIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType_params *params ) { - EVRScreenshotType _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentScreenshotType(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentScreenshotType(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +void cppIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetMirrorTextureD3D11((vr::EVREye)params->eEye, (void *)params->pD3D11DeviceOrResource, (void **)params->ppD3D11ShaderResourceView); } -EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_015_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_015_GetMirrorTextureGL_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetMirrorTextureGL((vr::EVREye)params->eEye, (vr::glUInt_t *)params->pglTextureId, (vr::glSharedTextureHandle_t *)params->pglSharedTextureHandle); } -bool cppIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)params->glTextureId, (vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -void cppIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess_params *params ) { - ((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); + ((IVRCompositor*)params->linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -void cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess_params *params ) { - ((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); + ((IVRCompositor*)params->linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_015.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_015.h index adfbf332..4f84027a 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_015.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_015.h @@ -1,43 +1,292 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRCompositor_IVRCompositor_015_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_015_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_Submit(void *, EVREye, const Texture_t *, const VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_015_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_015_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_015_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_015_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_015_FadeGrid(void *, float, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride(void *, const Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_015_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_015_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_015_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_015_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_015_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_015_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_015_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_015_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_015_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_015_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_015_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_015_SuspendRendering(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_RequestScreenshot(void *, EVRScreenshotType, const char *, const char *); -extern EVRScreenshotType cppIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11(void *, EVREye, void *, void **); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *); -extern bool cppIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); +struct cppIVRCompositor_IVRCompositor_015_SetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; +}; +extern void cppIVRCompositor_IVRCompositor_015_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_015_SetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_GetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin _ret; +}; +extern void cppIVRCompositor_IVRCompositor_015_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_015_GetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_WaitGetPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_015_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_015_WaitGetPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_GetLastPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_015_GetLastPoses( struct cppIVRCompositor_IVRCompositor_015_GetLastPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; +extern void cppIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_Submit_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + const Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + EVRSubmitFlags nSubmitFlags; +}; +extern void cppIVRCompositor_IVRCompositor_015_Submit( struct cppIVRCompositor_IVRCompositor_015_Submit_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_PostPresentHandoff_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_015_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_015_PostPresentHandoff_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_GetFrameTiming_params +{ + void *linux_side; + bool _ret; + Compositor_FrameTiming *pTiming; + uint32_t unFramesAgo; +}; +extern void cppIVRCompositor_IVRCompositor_015_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_015_GetFrameTiming_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_GetCumulativeStats_params +{ + void *linux_side; + Compositor_CumulativeStats *pStats; + uint32_t nStatsSizeInBytes; +}; +extern void cppIVRCompositor_IVRCompositor_015_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_015_GetCumulativeStats_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_015_FadeToColor( struct cppIVRCompositor_IVRCompositor_015_FadeToColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_FadeGrid_params +{ + void *linux_side; + float fSeconds; + bool bFadeIn; +}; +extern void cppIVRCompositor_IVRCompositor_015_FadeGrid( struct cppIVRCompositor_IVRCompositor_015_FadeGrid_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride_params +{ + void *linux_side; + EVRCompositorError _ret; + const Texture_t *pTextures; + uint32_t unTextureCount; +}; +extern void cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_ClearSkyboxOverride_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_015_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_015_ClearSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_CompositorBringToFront_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_015_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_015_CompositorBringToFront_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_CompositorGoToBack_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_015_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_015_CompositorGoToBack_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_CompositorQuit_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_015_CompositorQuit( struct cppIVRCompositor_IVRCompositor_015_CompositorQuit_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_IsFullscreen_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_015_IsFullscreen( struct cppIVRCompositor_IVRCompositor_015_IsFullscreen_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_015_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_015_GetLastFrameRenderer_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_CanRenderScene_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_015_CanRenderScene( struct cppIVRCompositor_IVRCompositor_015_CanRenderScene_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_ShowMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_015_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_015_ShowMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_HideMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_015_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_015_HideMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_CompositorDumpImages_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_015_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_015_CompositorDumpImages_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + bool bOverride; +}; +extern void cppIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_ForceReconnectProcess_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_015_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_015_ForceReconnectProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_SuspendRendering_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppIVRCompositor_IVRCompositor_015_SuspendRendering( struct cppIVRCompositor_IVRCompositor_015_SuspendRendering_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_RequestScreenshot_params +{ + void *linux_side; + EVRCompositorError _ret; + EVRScreenshotType type; + const char *pchDestinationFileName; + const char *pchVRDestinationFileName; +}; +extern void cppIVRCompositor_IVRCompositor_015_RequestScreenshot( struct cppIVRCompositor_IVRCompositor_015_RequestScreenshot_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType_params +{ + void *linux_side; + EVRScreenshotType _ret; +}; +extern void cppIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType( struct cppIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; +}; +extern void cppIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_GetMirrorTextureGL_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + glUInt_t *pglTextureId; + glSharedTextureHandle_t *pglSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_015_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_015_GetMirrorTextureGL_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture_params +{ + void *linux_side; + bool _ret; + glUInt_t glTextureId; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess_params +{ + void *linux_side; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess_params *params ); + +struct cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess_params +{ + void *linux_side; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_016.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_016.cpp index 29262021..e8b4793a 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_016.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_016.cpp @@ -9,218 +9,184 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRCompositor_IVRCompositor_016_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) +void cppIVRCompositor_IVRCompositor_016_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_016_SetTrackingSpace_params *params ) { - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); + ((IVRCompositor*)params->linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)params->eOrigin); } -ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_016_GetTrackingSpace(void *linux_side) +void cppIVRCompositor_IVRCompositor_016_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_016_GetTrackingSpace_params *params ) { - ETrackingUniverseOrigin _ret; - _ret = ((IVRCompositor*)linux_side)->GetTrackingSpace(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetTrackingSpace(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_016_WaitGetPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_016_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_016_WaitGetPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetLastPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_016_GetLastPoses( struct cppIVRCompositor_IVRCompositor_016_GetLastPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +void cppIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDevicePose_t *)params->pOutputPose, (vr::TrackedDevicePose_t *)params->pOutputGamePose); } -EVRCompositorError cppIVRCompositor_IVRCompositor_016_Submit(void *linux_side, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +void cppIVRCompositor_IVRCompositor_016_Submit( struct cppIVRCompositor_IVRCompositor_016_Submit_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->Submit((vr::EVREye)params->eEye, (const vr::Texture_t *)params->pTexture, (const vr::VRTextureBounds_t *)params->pBounds, (vr::EVRSubmitFlags)params->nSubmitFlags); } -void cppIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(void *linux_side) +void cppIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame_params *params ) { - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); + ((IVRCompositor*)params->linux_side)->ClearLastSubmittedFrame(); } -void cppIVRCompositor_IVRCompositor_016_PostPresentHandoff(void *linux_side) +void cppIVRCompositor_IVRCompositor_016_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_016_PostPresentHandoff_params *params ) { - ((IVRCompositor*)linux_side)->PostPresentHandoff(); + ((IVRCompositor*)params->linux_side)->PostPresentHandoff(); } -bool cppIVRCompositor_IVRCompositor_016_GetFrameTiming(void *linux_side, winCompositor_FrameTiming_103 *pTiming, uint32_t unFramesAgo) +void cppIVRCompositor_IVRCompositor_016_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_016_GetFrameTiming_params *params ) { - bool _ret; Compositor_FrameTiming lin_pTiming; - if (pTiming) - struct_Compositor_FrameTiming_103_win_to_lin(pTiming, &lin_pTiming); - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming(pTiming ? &lin_pTiming : nullptr, (uint32_t)unFramesAgo); - if (pTiming) - struct_Compositor_FrameTiming_103_lin_to_win(&lin_pTiming, pTiming); - return _ret; + if (params->pTiming) + struct_Compositor_FrameTiming_103_win_to_lin( params->pTiming, &lin_pTiming ); + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTiming(params->pTiming ? &lin_pTiming : nullptr, (uint32_t)params->unFramesAgo); + if (params->pTiming) + struct_Compositor_FrameTiming_103_lin_to_win( &lin_pTiming, params->pTiming ); } -float cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining(void *linux_side) +void cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimeRemaining(); } -void cppIVRCompositor_IVRCompositor_016_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void cppIVRCompositor_IVRCompositor_016_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_016_GetCumulativeStats_params *params ) { - ((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes); + ((IVRCompositor*)params->linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)params->pStats, (uint32_t)params->nStatsSizeInBytes); } -void cppIVRCompositor_IVRCompositor_016_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void cppIVRCompositor_IVRCompositor_016_FadeToColor( struct cppIVRCompositor_IVRCompositor_016_FadeToColor_params *params ) { - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); + ((IVRCompositor*)params->linux_side)->FadeToColor((float)params->fSeconds, (float)params->fRed, (float)params->fGreen, (float)params->fBlue, (float)params->fAlpha, (bool)params->bBackground); } -void cppIVRCompositor_IVRCompositor_016_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) +void cppIVRCompositor_IVRCompositor_016_FadeGrid( struct cppIVRCompositor_IVRCompositor_016_FadeGrid_params *params ) { - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); + ((IVRCompositor*)params->linux_side)->FadeGrid((float)params->fSeconds, (bool)params->bFadeIn); } -EVRCompositorError cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride(void *linux_side, const Texture_t *pTextures, uint32_t unTextureCount) +void cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SetSkyboxOverride((const vr::Texture_t *)params->pTextures, (uint32_t)params->unTextureCount); } -void cppIVRCompositor_IVRCompositor_016_ClearSkyboxOverride(void *linux_side) +void cppIVRCompositor_IVRCompositor_016_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_016_ClearSkyboxOverride_params *params ) { - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); + ((IVRCompositor*)params->linux_side)->ClearSkyboxOverride(); } -void cppIVRCompositor_IVRCompositor_016_CompositorBringToFront(void *linux_side) +void cppIVRCompositor_IVRCompositor_016_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_016_CompositorBringToFront_params *params ) { - ((IVRCompositor*)linux_side)->CompositorBringToFront(); + ((IVRCompositor*)params->linux_side)->CompositorBringToFront(); } -void cppIVRCompositor_IVRCompositor_016_CompositorGoToBack(void *linux_side) +void cppIVRCompositor_IVRCompositor_016_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_016_CompositorGoToBack_params *params ) { - ((IVRCompositor*)linux_side)->CompositorGoToBack(); + ((IVRCompositor*)params->linux_side)->CompositorGoToBack(); } -void cppIVRCompositor_IVRCompositor_016_CompositorQuit(void *linux_side) +void cppIVRCompositor_IVRCompositor_016_CompositorQuit( struct cppIVRCompositor_IVRCompositor_016_CompositorQuit_params *params ) { - ((IVRCompositor*)linux_side)->CompositorQuit(); + ((IVRCompositor*)params->linux_side)->CompositorQuit(); } -bool cppIVRCompositor_IVRCompositor_016_IsFullscreen(void *linux_side) +void cppIVRCompositor_IVRCompositor_016_IsFullscreen( struct cppIVRCompositor_IVRCompositor_016_IsFullscreen_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsFullscreen(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsFullscreen(); } -uint32_t cppIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentSceneFocusProcess(); } -uint32_t cppIVRCompositor_IVRCompositor_016_GetLastFrameRenderer(void *linux_side) +void cppIVRCompositor_IVRCompositor_016_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_016_GetLastFrameRenderer_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastFrameRenderer(); } -bool cppIVRCompositor_IVRCompositor_016_CanRenderScene(void *linux_side) +void cppIVRCompositor_IVRCompositor_016_CanRenderScene( struct cppIVRCompositor_IVRCompositor_016_CanRenderScene_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->CanRenderScene(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->CanRenderScene(); } -void cppIVRCompositor_IVRCompositor_016_ShowMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_016_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_016_ShowMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); + ((IVRCompositor*)params->linux_side)->ShowMirrorWindow(); } -void cppIVRCompositor_IVRCompositor_016_HideMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_016_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_016_HideMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->HideMirrorWindow(); + ((IVRCompositor*)params->linux_side)->HideMirrorWindow(); } -bool cppIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible(void *linux_side) +void cppIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMirrorWindowVisible(); } -void cppIVRCompositor_IVRCompositor_016_CompositorDumpImages(void *linux_side) +void cppIVRCompositor_IVRCompositor_016_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_016_CompositorDumpImages_params *params ) { - ((IVRCompositor*)linux_side)->CompositorDumpImages(); + ((IVRCompositor*)params->linux_side)->CompositorDumpImages(); } -bool cppIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources(void *linux_side) +void cppIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ShouldAppRenderWithLowResources(); } -void cppIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) +void cppIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn_params *params ) { - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); + ((IVRCompositor*)params->linux_side)->ForceInterleavedReprojectionOn((bool)params->bOverride); } -void cppIVRCompositor_IVRCompositor_016_ForceReconnectProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_016_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_016_ForceReconnectProcess_params *params ) { - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); + ((IVRCompositor*)params->linux_side)->ForceReconnectProcess(); } -void cppIVRCompositor_IVRCompositor_016_SuspendRendering(void *linux_side, bool bSuspend) +void cppIVRCompositor_IVRCompositor_016_SuspendRendering( struct cppIVRCompositor_IVRCompositor_016_SuspendRendering_params *params ) { - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); + ((IVRCompositor*)params->linux_side)->SuspendRendering((bool)params->bSuspend); } -EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +void cppIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetMirrorTextureD3D11((vr::EVREye)params->eEye, (void *)params->pD3D11DeviceOrResource, (void **)params->ppD3D11ShaderResourceView); } -EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_016_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_016_GetMirrorTextureGL_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetMirrorTextureGL((vr::EVREye)params->eEye, (vr::glUInt_t *)params->pglTextureId, (vr::glSharedTextureHandle_t *)params->pglSharedTextureHandle); } -bool cppIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)params->glTextureId, (vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -void cppIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess_params *params ) { - ((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); + ((IVRCompositor*)params->linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -void cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess_params *params ) { - ((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); + ((IVRCompositor*)params->linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_016.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_016.h index 695d37bf..bc2eb150 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_016.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_016.h @@ -1,41 +1,275 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRCompositor_IVRCompositor_016_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_016_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_016_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_016_Submit(void *, EVREye, const Texture_t *, const VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_016_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_016_GetFrameTiming(void *, winCompositor_FrameTiming_103 *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_016_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_016_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_016_FadeGrid(void *, float, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride(void *, const Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_016_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_016_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_016_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_016_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_016_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_016_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_016_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_016_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_016_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_016_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_016_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_016_SuspendRendering(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11(void *, EVREye, void *, void **); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *); -extern bool cppIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); +struct cppIVRCompositor_IVRCompositor_016_SetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; +}; +extern void cppIVRCompositor_IVRCompositor_016_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_016_SetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_GetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin _ret; +}; +extern void cppIVRCompositor_IVRCompositor_016_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_016_GetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_WaitGetPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_016_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_016_WaitGetPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_GetLastPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_016_GetLastPoses( struct cppIVRCompositor_IVRCompositor_016_GetLastPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; +extern void cppIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_Submit_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + const Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + EVRSubmitFlags nSubmitFlags; +}; +extern void cppIVRCompositor_IVRCompositor_016_Submit( struct cppIVRCompositor_IVRCompositor_016_Submit_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_PostPresentHandoff_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_016_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_016_PostPresentHandoff_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_GetFrameTiming_params +{ + void *linux_side; + bool _ret; + winCompositor_FrameTiming_103 *pTiming; + uint32_t unFramesAgo; +}; +extern void cppIVRCompositor_IVRCompositor_016_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_016_GetFrameTiming_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_GetCumulativeStats_params +{ + void *linux_side; + Compositor_CumulativeStats *pStats; + uint32_t nStatsSizeInBytes; +}; +extern void cppIVRCompositor_IVRCompositor_016_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_016_GetCumulativeStats_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_016_FadeToColor( struct cppIVRCompositor_IVRCompositor_016_FadeToColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_FadeGrid_params +{ + void *linux_side; + float fSeconds; + bool bFadeIn; +}; +extern void cppIVRCompositor_IVRCompositor_016_FadeGrid( struct cppIVRCompositor_IVRCompositor_016_FadeGrid_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride_params +{ + void *linux_side; + EVRCompositorError _ret; + const Texture_t *pTextures; + uint32_t unTextureCount; +}; +extern void cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_ClearSkyboxOverride_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_016_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_016_ClearSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_CompositorBringToFront_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_016_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_016_CompositorBringToFront_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_CompositorGoToBack_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_016_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_016_CompositorGoToBack_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_CompositorQuit_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_016_CompositorQuit( struct cppIVRCompositor_IVRCompositor_016_CompositorQuit_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_IsFullscreen_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_016_IsFullscreen( struct cppIVRCompositor_IVRCompositor_016_IsFullscreen_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_016_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_016_GetLastFrameRenderer_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_CanRenderScene_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_016_CanRenderScene( struct cppIVRCompositor_IVRCompositor_016_CanRenderScene_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_ShowMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_016_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_016_ShowMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_HideMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_016_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_016_HideMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_CompositorDumpImages_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_016_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_016_CompositorDumpImages_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + bool bOverride; +}; +extern void cppIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_ForceReconnectProcess_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_016_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_016_ForceReconnectProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_SuspendRendering_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppIVRCompositor_IVRCompositor_016_SuspendRendering( struct cppIVRCompositor_IVRCompositor_016_SuspendRendering_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; +}; +extern void cppIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_GetMirrorTextureGL_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + glUInt_t *pglTextureId; + glSharedTextureHandle_t *pglSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_016_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_016_GetMirrorTextureGL_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture_params +{ + void *linux_side; + bool _ret; + glUInt_t glTextureId; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess_params +{ + void *linux_side; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess_params *params ); + +struct cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess_params +{ + void *linux_side; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_017.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_017.cpp index 59a94bef..e9a5cab6 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_017.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_017.cpp @@ -9,220 +9,184 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRCompositor_IVRCompositor_017_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) +void cppIVRCompositor_IVRCompositor_017_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_017_SetTrackingSpace_params *params ) { - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); + ((IVRCompositor*)params->linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)params->eOrigin); } -ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_017_GetTrackingSpace(void *linux_side) +void cppIVRCompositor_IVRCompositor_017_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_017_GetTrackingSpace_params *params ) { - ETrackingUniverseOrigin _ret; - _ret = ((IVRCompositor*)linux_side)->GetTrackingSpace(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetTrackingSpace(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_017_WaitGetPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_017_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_017_WaitGetPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_017_GetLastPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_017_GetLastPoses( struct cppIVRCompositor_IVRCompositor_017_GetLastPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +void cppIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDevicePose_t *)params->pOutputPose, (vr::TrackedDevicePose_t *)params->pOutputGamePose); } -EVRCompositorError cppIVRCompositor_IVRCompositor_017_Submit(void *linux_side, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +void cppIVRCompositor_IVRCompositor_017_Submit( struct cppIVRCompositor_IVRCompositor_017_Submit_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->Submit((vr::EVREye)params->eEye, (const vr::Texture_t *)params->pTexture, (const vr::VRTextureBounds_t *)params->pBounds, (vr::EVRSubmitFlags)params->nSubmitFlags); } -void cppIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame(void *linux_side) +void cppIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame_params *params ) { - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); + ((IVRCompositor*)params->linux_side)->ClearLastSubmittedFrame(); } -void cppIVRCompositor_IVRCompositor_017_PostPresentHandoff(void *linux_side) +void cppIVRCompositor_IVRCompositor_017_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_017_PostPresentHandoff_params *params ) { - ((IVRCompositor*)linux_side)->PostPresentHandoff(); + ((IVRCompositor*)params->linux_side)->PostPresentHandoff(); } -bool cppIVRCompositor_IVRCompositor_017_GetFrameTiming(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +void cppIVRCompositor_IVRCompositor_017_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_017_GetFrameTiming_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->unFramesAgo); } -uint32_t cppIVRCompositor_IVRCompositor_017_GetFrameTimings(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t nFrames) +void cppIVRCompositor_IVRCompositor_017_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_017_GetFrameTimings_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->nFrames); } -float cppIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining(void *linux_side) +void cppIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimeRemaining(); } -void cppIVRCompositor_IVRCompositor_017_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void cppIVRCompositor_IVRCompositor_017_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_017_GetCumulativeStats_params *params ) { - ((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes); + ((IVRCompositor*)params->linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)params->pStats, (uint32_t)params->nStatsSizeInBytes); } -void cppIVRCompositor_IVRCompositor_017_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void cppIVRCompositor_IVRCompositor_017_FadeToColor( struct cppIVRCompositor_IVRCompositor_017_FadeToColor_params *params ) { - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); + ((IVRCompositor*)params->linux_side)->FadeToColor((float)params->fSeconds, (float)params->fRed, (float)params->fGreen, (float)params->fBlue, (float)params->fAlpha, (bool)params->bBackground); } -void cppIVRCompositor_IVRCompositor_017_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) +void cppIVRCompositor_IVRCompositor_017_FadeGrid( struct cppIVRCompositor_IVRCompositor_017_FadeGrid_params *params ) { - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); + ((IVRCompositor*)params->linux_side)->FadeGrid((float)params->fSeconds, (bool)params->bFadeIn); } -EVRCompositorError cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride(void *linux_side, const Texture_t *pTextures, uint32_t unTextureCount) +void cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SetSkyboxOverride((const vr::Texture_t *)params->pTextures, (uint32_t)params->unTextureCount); } -void cppIVRCompositor_IVRCompositor_017_ClearSkyboxOverride(void *linux_side) +void cppIVRCompositor_IVRCompositor_017_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_017_ClearSkyboxOverride_params *params ) { - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); + ((IVRCompositor*)params->linux_side)->ClearSkyboxOverride(); } -void cppIVRCompositor_IVRCompositor_017_CompositorBringToFront(void *linux_side) +void cppIVRCompositor_IVRCompositor_017_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_017_CompositorBringToFront_params *params ) { - ((IVRCompositor*)linux_side)->CompositorBringToFront(); + ((IVRCompositor*)params->linux_side)->CompositorBringToFront(); } -void cppIVRCompositor_IVRCompositor_017_CompositorGoToBack(void *linux_side) +void cppIVRCompositor_IVRCompositor_017_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_017_CompositorGoToBack_params *params ) { - ((IVRCompositor*)linux_side)->CompositorGoToBack(); + ((IVRCompositor*)params->linux_side)->CompositorGoToBack(); } -void cppIVRCompositor_IVRCompositor_017_CompositorQuit(void *linux_side) +void cppIVRCompositor_IVRCompositor_017_CompositorQuit( struct cppIVRCompositor_IVRCompositor_017_CompositorQuit_params *params ) { - ((IVRCompositor*)linux_side)->CompositorQuit(); + ((IVRCompositor*)params->linux_side)->CompositorQuit(); } -bool cppIVRCompositor_IVRCompositor_017_IsFullscreen(void *linux_side) +void cppIVRCompositor_IVRCompositor_017_IsFullscreen( struct cppIVRCompositor_IVRCompositor_017_IsFullscreen_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsFullscreen(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsFullscreen(); } -uint32_t cppIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentSceneFocusProcess(); } -uint32_t cppIVRCompositor_IVRCompositor_017_GetLastFrameRenderer(void *linux_side) +void cppIVRCompositor_IVRCompositor_017_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_017_GetLastFrameRenderer_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastFrameRenderer(); } -bool cppIVRCompositor_IVRCompositor_017_CanRenderScene(void *linux_side) +void cppIVRCompositor_IVRCompositor_017_CanRenderScene( struct cppIVRCompositor_IVRCompositor_017_CanRenderScene_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->CanRenderScene(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->CanRenderScene(); } -void cppIVRCompositor_IVRCompositor_017_ShowMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_017_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_017_ShowMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); + ((IVRCompositor*)params->linux_side)->ShowMirrorWindow(); } -void cppIVRCompositor_IVRCompositor_017_HideMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_017_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_017_HideMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->HideMirrorWindow(); + ((IVRCompositor*)params->linux_side)->HideMirrorWindow(); } -bool cppIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible(void *linux_side) +void cppIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMirrorWindowVisible(); } -void cppIVRCompositor_IVRCompositor_017_CompositorDumpImages(void *linux_side) +void cppIVRCompositor_IVRCompositor_017_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_017_CompositorDumpImages_params *params ) { - ((IVRCompositor*)linux_side)->CompositorDumpImages(); + ((IVRCompositor*)params->linux_side)->CompositorDumpImages(); } -bool cppIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources(void *linux_side) +void cppIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ShouldAppRenderWithLowResources(); } -void cppIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) +void cppIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn_params *params ) { - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); + ((IVRCompositor*)params->linux_side)->ForceInterleavedReprojectionOn((bool)params->bOverride); } -void cppIVRCompositor_IVRCompositor_017_ForceReconnectProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_017_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_017_ForceReconnectProcess_params *params ) { - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); + ((IVRCompositor*)params->linux_side)->ForceReconnectProcess(); } -void cppIVRCompositor_IVRCompositor_017_SuspendRendering(void *linux_side, bool bSuspend) +void cppIVRCompositor_IVRCompositor_017_SuspendRendering( struct cppIVRCompositor_IVRCompositor_017_SuspendRendering_params *params ) { - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); + ((IVRCompositor*)params->linux_side)->SuspendRendering((bool)params->bSuspend); } -EVRCompositorError cppIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +void cppIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetMirrorTextureD3D11((vr::EVREye)params->eEye, (void *)params->pD3D11DeviceOrResource, (void **)params->ppD3D11ShaderResourceView); } -EVRCompositorError cppIVRCompositor_IVRCompositor_017_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_017_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_017_GetMirrorTextureGL_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetMirrorTextureGL((vr::EVREye)params->eEye, (vr::glUInt_t *)params->pglTextureId, (vr::glSharedTextureHandle_t *)params->pglSharedTextureHandle); } -bool cppIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)params->glTextureId, (vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -void cppIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess_params *params ) { - ((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); + ((IVRCompositor*)params->linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -void cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess_params *params ) { - ((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); + ((IVRCompositor*)params->linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_017.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_017.h index 11251d9f..4c30b5bb 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_017.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_017.h @@ -1,42 +1,284 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRCompositor_IVRCompositor_017_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_017_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_017_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_017_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_017_Submit(void *, EVREye, const Texture_t *, const VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_017_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_017_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_017_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_017_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_017_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_017_FadeGrid(void *, float, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride(void *, const Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_017_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_017_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_017_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_017_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_017_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_017_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_017_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_017_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_017_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_017_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_017_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_017_SuspendRendering(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11(void *, EVREye, void *, void **); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_017_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *); -extern bool cppIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); +struct cppIVRCompositor_IVRCompositor_017_SetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; +}; +extern void cppIVRCompositor_IVRCompositor_017_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_017_SetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_GetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin _ret; +}; +extern void cppIVRCompositor_IVRCompositor_017_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_017_GetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_WaitGetPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_017_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_017_WaitGetPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_GetLastPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_017_GetLastPoses( struct cppIVRCompositor_IVRCompositor_017_GetLastPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; +extern void cppIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_Submit_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + const Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + EVRSubmitFlags nSubmitFlags; +}; +extern void cppIVRCompositor_IVRCompositor_017_Submit( struct cppIVRCompositor_IVRCompositor_017_Submit_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_PostPresentHandoff_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_017_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_017_PostPresentHandoff_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_GetFrameTiming_params +{ + void *linux_side; + bool _ret; + Compositor_FrameTiming *pTiming; + uint32_t unFramesAgo; +}; +extern void cppIVRCompositor_IVRCompositor_017_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_017_GetFrameTiming_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_GetFrameTimings_params +{ + void *linux_side; + uint32_t _ret; + Compositor_FrameTiming *pTiming; + uint32_t nFrames; +}; +extern void cppIVRCompositor_IVRCompositor_017_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_017_GetFrameTimings_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_GetCumulativeStats_params +{ + void *linux_side; + Compositor_CumulativeStats *pStats; + uint32_t nStatsSizeInBytes; +}; +extern void cppIVRCompositor_IVRCompositor_017_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_017_GetCumulativeStats_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_017_FadeToColor( struct cppIVRCompositor_IVRCompositor_017_FadeToColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_FadeGrid_params +{ + void *linux_side; + float fSeconds; + bool bFadeIn; +}; +extern void cppIVRCompositor_IVRCompositor_017_FadeGrid( struct cppIVRCompositor_IVRCompositor_017_FadeGrid_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride_params +{ + void *linux_side; + EVRCompositorError _ret; + const Texture_t *pTextures; + uint32_t unTextureCount; +}; +extern void cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_ClearSkyboxOverride_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_017_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_017_ClearSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_CompositorBringToFront_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_017_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_017_CompositorBringToFront_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_CompositorGoToBack_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_017_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_017_CompositorGoToBack_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_CompositorQuit_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_017_CompositorQuit( struct cppIVRCompositor_IVRCompositor_017_CompositorQuit_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_IsFullscreen_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_017_IsFullscreen( struct cppIVRCompositor_IVRCompositor_017_IsFullscreen_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_017_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_017_GetLastFrameRenderer_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_CanRenderScene_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_017_CanRenderScene( struct cppIVRCompositor_IVRCompositor_017_CanRenderScene_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_ShowMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_017_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_017_ShowMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_HideMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_017_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_017_HideMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_CompositorDumpImages_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_017_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_017_CompositorDumpImages_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + bool bOverride; +}; +extern void cppIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_ForceReconnectProcess_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_017_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_017_ForceReconnectProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_SuspendRendering_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppIVRCompositor_IVRCompositor_017_SuspendRendering( struct cppIVRCompositor_IVRCompositor_017_SuspendRendering_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; +}; +extern void cppIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_GetMirrorTextureGL_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + glUInt_t *pglTextureId; + glSharedTextureHandle_t *pglSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_017_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_017_GetMirrorTextureGL_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture_params +{ + void *linux_side; + bool _ret; + glUInt_t glTextureId; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess_params +{ + void *linux_side; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess_params *params ); + +struct cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess_params +{ + void *linux_side; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_018.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_018.cpp index 6e5392ce..13f1283b 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_018.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_018.cpp @@ -9,234 +9,194 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRCompositor_IVRCompositor_018_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) +void cppIVRCompositor_IVRCompositor_018_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_018_SetTrackingSpace_params *params ) { - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); + ((IVRCompositor*)params->linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)params->eOrigin); } -ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_018_GetTrackingSpace(void *linux_side) +void cppIVRCompositor_IVRCompositor_018_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_018_GetTrackingSpace_params *params ) { - ETrackingUniverseOrigin _ret; - _ret = ((IVRCompositor*)linux_side)->GetTrackingSpace(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetTrackingSpace(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_018_WaitGetPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_018_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_018_WaitGetPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetLastPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_018_GetLastPoses( struct cppIVRCompositor_IVRCompositor_018_GetLastPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +void cppIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDevicePose_t *)params->pOutputPose, (vr::TrackedDevicePose_t *)params->pOutputGamePose); } -EVRCompositorError cppIVRCompositor_IVRCompositor_018_Submit(void *linux_side, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +void cppIVRCompositor_IVRCompositor_018_Submit( struct cppIVRCompositor_IVRCompositor_018_Submit_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->Submit((vr::EVREye)params->eEye, (const vr::Texture_t *)params->pTexture, (const vr::VRTextureBounds_t *)params->pBounds, (vr::EVRSubmitFlags)params->nSubmitFlags); } -void cppIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(void *linux_side) +void cppIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame_params *params ) { - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); + ((IVRCompositor*)params->linux_side)->ClearLastSubmittedFrame(); } -void cppIVRCompositor_IVRCompositor_018_PostPresentHandoff(void *linux_side) +void cppIVRCompositor_IVRCompositor_018_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_018_PostPresentHandoff_params *params ) { - ((IVRCompositor*)linux_side)->PostPresentHandoff(); + ((IVRCompositor*)params->linux_side)->PostPresentHandoff(); } -bool cppIVRCompositor_IVRCompositor_018_GetFrameTiming(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +void cppIVRCompositor_IVRCompositor_018_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_018_GetFrameTiming_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->unFramesAgo); } -uint32_t cppIVRCompositor_IVRCompositor_018_GetFrameTimings(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t nFrames) +void cppIVRCompositor_IVRCompositor_018_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_018_GetFrameTimings_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->nFrames); } -float cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining(void *linux_side) +void cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimeRemaining(); } -void cppIVRCompositor_IVRCompositor_018_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void cppIVRCompositor_IVRCompositor_018_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_018_GetCumulativeStats_params *params ) { - ((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes); + ((IVRCompositor*)params->linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)params->pStats, (uint32_t)params->nStatsSizeInBytes); } -void cppIVRCompositor_IVRCompositor_018_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void cppIVRCompositor_IVRCompositor_018_FadeToColor( struct cppIVRCompositor_IVRCompositor_018_FadeToColor_params *params ) { - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); + ((IVRCompositor*)params->linux_side)->FadeToColor((float)params->fSeconds, (float)params->fRed, (float)params->fGreen, (float)params->fBlue, (float)params->fAlpha, (bool)params->bBackground); } -HmdColor_t cppIVRCompositor_IVRCompositor_018_GetCurrentFadeColor(void *linux_side, bool bBackground) +void cppIVRCompositor_IVRCompositor_018_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_018_GetCurrentFadeColor_params *params ) { - HmdColor_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentFadeColor((bool)bBackground); - return _ret; + *params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentFadeColor((bool)params->bBackground); } -void cppIVRCompositor_IVRCompositor_018_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) +void cppIVRCompositor_IVRCompositor_018_FadeGrid( struct cppIVRCompositor_IVRCompositor_018_FadeGrid_params *params ) { - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); + ((IVRCompositor*)params->linux_side)->FadeGrid((float)params->fSeconds, (bool)params->bFadeIn); } -float cppIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha(void *linux_side) +void cppIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentGridAlpha(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentGridAlpha(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride(void *linux_side, const Texture_t *pTextures, uint32_t unTextureCount) +void cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SetSkyboxOverride((const vr::Texture_t *)params->pTextures, (uint32_t)params->unTextureCount); } -void cppIVRCompositor_IVRCompositor_018_ClearSkyboxOverride(void *linux_side) +void cppIVRCompositor_IVRCompositor_018_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_018_ClearSkyboxOverride_params *params ) { - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); + ((IVRCompositor*)params->linux_side)->ClearSkyboxOverride(); } -void cppIVRCompositor_IVRCompositor_018_CompositorBringToFront(void *linux_side) +void cppIVRCompositor_IVRCompositor_018_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_018_CompositorBringToFront_params *params ) { - ((IVRCompositor*)linux_side)->CompositorBringToFront(); + ((IVRCompositor*)params->linux_side)->CompositorBringToFront(); } -void cppIVRCompositor_IVRCompositor_018_CompositorGoToBack(void *linux_side) +void cppIVRCompositor_IVRCompositor_018_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_018_CompositorGoToBack_params *params ) { - ((IVRCompositor*)linux_side)->CompositorGoToBack(); + ((IVRCompositor*)params->linux_side)->CompositorGoToBack(); } -void cppIVRCompositor_IVRCompositor_018_CompositorQuit(void *linux_side) +void cppIVRCompositor_IVRCompositor_018_CompositorQuit( struct cppIVRCompositor_IVRCompositor_018_CompositorQuit_params *params ) { - ((IVRCompositor*)linux_side)->CompositorQuit(); + ((IVRCompositor*)params->linux_side)->CompositorQuit(); } -bool cppIVRCompositor_IVRCompositor_018_IsFullscreen(void *linux_side) +void cppIVRCompositor_IVRCompositor_018_IsFullscreen( struct cppIVRCompositor_IVRCompositor_018_IsFullscreen_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsFullscreen(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsFullscreen(); } -uint32_t cppIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentSceneFocusProcess(); } -uint32_t cppIVRCompositor_IVRCompositor_018_GetLastFrameRenderer(void *linux_side) +void cppIVRCompositor_IVRCompositor_018_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_018_GetLastFrameRenderer_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastFrameRenderer(); } -bool cppIVRCompositor_IVRCompositor_018_CanRenderScene(void *linux_side) +void cppIVRCompositor_IVRCompositor_018_CanRenderScene( struct cppIVRCompositor_IVRCompositor_018_CanRenderScene_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->CanRenderScene(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->CanRenderScene(); } -void cppIVRCompositor_IVRCompositor_018_ShowMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_018_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_018_ShowMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); + ((IVRCompositor*)params->linux_side)->ShowMirrorWindow(); } -void cppIVRCompositor_IVRCompositor_018_HideMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_018_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_018_HideMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->HideMirrorWindow(); + ((IVRCompositor*)params->linux_side)->HideMirrorWindow(); } -bool cppIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible(void *linux_side) +void cppIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMirrorWindowVisible(); } -void cppIVRCompositor_IVRCompositor_018_CompositorDumpImages(void *linux_side) +void cppIVRCompositor_IVRCompositor_018_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_018_CompositorDumpImages_params *params ) { - ((IVRCompositor*)linux_side)->CompositorDumpImages(); + ((IVRCompositor*)params->linux_side)->CompositorDumpImages(); } -bool cppIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources(void *linux_side) +void cppIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ShouldAppRenderWithLowResources(); } -void cppIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) +void cppIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn_params *params ) { - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); + ((IVRCompositor*)params->linux_side)->ForceInterleavedReprojectionOn((bool)params->bOverride); } -void cppIVRCompositor_IVRCompositor_018_ForceReconnectProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_018_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_018_ForceReconnectProcess_params *params ) { - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); + ((IVRCompositor*)params->linux_side)->ForceReconnectProcess(); } -void cppIVRCompositor_IVRCompositor_018_SuspendRendering(void *linux_side, bool bSuspend) +void cppIVRCompositor_IVRCompositor_018_SuspendRendering( struct cppIVRCompositor_IVRCompositor_018_SuspendRendering_params *params ) { - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); + ((IVRCompositor*)params->linux_side)->SuspendRendering((bool)params->bSuspend); } -EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +void cppIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetMirrorTextureD3D11((vr::EVREye)params->eEye, (void *)params->pD3D11DeviceOrResource, (void **)params->ppD3D11ShaderResourceView); } -EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_018_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_018_GetMirrorTextureGL_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetMirrorTextureGL((vr::EVREye)params->eEye, (vr::glUInt_t *)params->pglTextureId, (vr::glSharedTextureHandle_t *)params->pglSharedTextureHandle); } -bool cppIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)params->glTextureId, (vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -void cppIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess_params *params ) { - ((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); + ((IVRCompositor*)params->linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -void cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess_params *params ) { - ((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); + ((IVRCompositor*)params->linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_018.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_018.h index a383662f..b5701228 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_018.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_018.h @@ -1,44 +1,299 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRCompositor_IVRCompositor_018_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_018_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_018_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_018_Submit(void *, EVREye, const Texture_t *, const VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_018_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_018_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_018_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_018_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_018_FadeToColor(void *, float, float, float, float, float, bool); -extern HmdColor_t cppIVRCompositor_IVRCompositor_018_GetCurrentFadeColor(void *, bool); -extern void cppIVRCompositor_IVRCompositor_018_FadeGrid(void *, float, bool); -extern float cppIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride(void *, const Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_018_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_018_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_018_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_018_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_018_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_018_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_018_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_018_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_018_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_018_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_018_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_018_SuspendRendering(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11(void *, EVREye, void *, void **); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *); -extern bool cppIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); +struct cppIVRCompositor_IVRCompositor_018_SetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; +}; +extern void cppIVRCompositor_IVRCompositor_018_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_018_SetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_GetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin _ret; +}; +extern void cppIVRCompositor_IVRCompositor_018_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_018_GetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_WaitGetPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_018_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_018_WaitGetPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_GetLastPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_018_GetLastPoses( struct cppIVRCompositor_IVRCompositor_018_GetLastPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; +extern void cppIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_Submit_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + const Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + EVRSubmitFlags nSubmitFlags; +}; +extern void cppIVRCompositor_IVRCompositor_018_Submit( struct cppIVRCompositor_IVRCompositor_018_Submit_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_PostPresentHandoff_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_018_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_018_PostPresentHandoff_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_GetFrameTiming_params +{ + void *linux_side; + bool _ret; + Compositor_FrameTiming *pTiming; + uint32_t unFramesAgo; +}; +extern void cppIVRCompositor_IVRCompositor_018_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_018_GetFrameTiming_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_GetFrameTimings_params +{ + void *linux_side; + uint32_t _ret; + Compositor_FrameTiming *pTiming; + uint32_t nFrames; +}; +extern void cppIVRCompositor_IVRCompositor_018_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_018_GetFrameTimings_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_GetCumulativeStats_params +{ + void *linux_side; + Compositor_CumulativeStats *pStats; + uint32_t nStatsSizeInBytes; +}; +extern void cppIVRCompositor_IVRCompositor_018_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_018_GetCumulativeStats_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_018_FadeToColor( struct cppIVRCompositor_IVRCompositor_018_FadeToColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_GetCurrentFadeColor_params +{ + void *linux_side; + HmdColor_t *_ret; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_018_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_018_GetCurrentFadeColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_FadeGrid_params +{ + void *linux_side; + float fSeconds; + bool bFadeIn; +}; +extern void cppIVRCompositor_IVRCompositor_018_FadeGrid( struct cppIVRCompositor_IVRCompositor_018_FadeGrid_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride_params +{ + void *linux_side; + EVRCompositorError _ret; + const Texture_t *pTextures; + uint32_t unTextureCount; +}; +extern void cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_ClearSkyboxOverride_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_018_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_018_ClearSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_CompositorBringToFront_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_018_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_018_CompositorBringToFront_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_CompositorGoToBack_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_018_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_018_CompositorGoToBack_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_CompositorQuit_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_018_CompositorQuit( struct cppIVRCompositor_IVRCompositor_018_CompositorQuit_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_IsFullscreen_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_018_IsFullscreen( struct cppIVRCompositor_IVRCompositor_018_IsFullscreen_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_018_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_018_GetLastFrameRenderer_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_CanRenderScene_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_018_CanRenderScene( struct cppIVRCompositor_IVRCompositor_018_CanRenderScene_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_ShowMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_018_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_018_ShowMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_HideMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_018_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_018_HideMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_CompositorDumpImages_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_018_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_018_CompositorDumpImages_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + bool bOverride; +}; +extern void cppIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_ForceReconnectProcess_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_018_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_018_ForceReconnectProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_SuspendRendering_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppIVRCompositor_IVRCompositor_018_SuspendRendering( struct cppIVRCompositor_IVRCompositor_018_SuspendRendering_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; +}; +extern void cppIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_GetMirrorTextureGL_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + glUInt_t *pglTextureId; + glSharedTextureHandle_t *pglSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_018_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_018_GetMirrorTextureGL_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture_params +{ + void *linux_side; + bool _ret; + glUInt_t glTextureId; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess_params +{ + void *linux_side; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess_params *params ); + +struct cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess_params +{ + void *linux_side; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_019.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_019.cpp index 01d2441c..ff0a0dff 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_019.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_019.cpp @@ -9,248 +9,204 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRCompositor_IVRCompositor_019_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) +void cppIVRCompositor_IVRCompositor_019_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_019_SetTrackingSpace_params *params ) { - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); + ((IVRCompositor*)params->linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)params->eOrigin); } -ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_019_GetTrackingSpace(void *linux_side) +void cppIVRCompositor_IVRCompositor_019_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_019_GetTrackingSpace_params *params ) { - ETrackingUniverseOrigin _ret; - _ret = ((IVRCompositor*)linux_side)->GetTrackingSpace(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetTrackingSpace(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_019_WaitGetPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_019_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_019_WaitGetPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetLastPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_019_GetLastPoses( struct cppIVRCompositor_IVRCompositor_019_GetLastPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +void cppIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDevicePose_t *)params->pOutputPose, (vr::TrackedDevicePose_t *)params->pOutputGamePose); } -EVRCompositorError cppIVRCompositor_IVRCompositor_019_Submit(void *linux_side, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +void cppIVRCompositor_IVRCompositor_019_Submit( struct cppIVRCompositor_IVRCompositor_019_Submit_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->Submit((vr::EVREye)params->eEye, (const vr::Texture_t *)params->pTexture, (const vr::VRTextureBounds_t *)params->pBounds, (vr::EVRSubmitFlags)params->nSubmitFlags); } -void cppIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(void *linux_side) +void cppIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame_params *params ) { - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); + ((IVRCompositor*)params->linux_side)->ClearLastSubmittedFrame(); } -void cppIVRCompositor_IVRCompositor_019_PostPresentHandoff(void *linux_side) +void cppIVRCompositor_IVRCompositor_019_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_019_PostPresentHandoff_params *params ) { - ((IVRCompositor*)linux_side)->PostPresentHandoff(); + ((IVRCompositor*)params->linux_side)->PostPresentHandoff(); } -bool cppIVRCompositor_IVRCompositor_019_GetFrameTiming(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +void cppIVRCompositor_IVRCompositor_019_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_019_GetFrameTiming_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->unFramesAgo); } -uint32_t cppIVRCompositor_IVRCompositor_019_GetFrameTimings(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t nFrames) +void cppIVRCompositor_IVRCompositor_019_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_019_GetFrameTimings_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->nFrames); } -float cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining(void *linux_side) +void cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimeRemaining(); } -void cppIVRCompositor_IVRCompositor_019_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void cppIVRCompositor_IVRCompositor_019_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_019_GetCumulativeStats_params *params ) { - ((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes); + ((IVRCompositor*)params->linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)params->pStats, (uint32_t)params->nStatsSizeInBytes); } -void cppIVRCompositor_IVRCompositor_019_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void cppIVRCompositor_IVRCompositor_019_FadeToColor( struct cppIVRCompositor_IVRCompositor_019_FadeToColor_params *params ) { - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); + ((IVRCompositor*)params->linux_side)->FadeToColor((float)params->fSeconds, (float)params->fRed, (float)params->fGreen, (float)params->fBlue, (float)params->fAlpha, (bool)params->bBackground); } -HmdColor_t cppIVRCompositor_IVRCompositor_019_GetCurrentFadeColor(void *linux_side, bool bBackground) +void cppIVRCompositor_IVRCompositor_019_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_019_GetCurrentFadeColor_params *params ) { - HmdColor_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentFadeColor((bool)bBackground); - return _ret; + *params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentFadeColor((bool)params->bBackground); } -void cppIVRCompositor_IVRCompositor_019_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) +void cppIVRCompositor_IVRCompositor_019_FadeGrid( struct cppIVRCompositor_IVRCompositor_019_FadeGrid_params *params ) { - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); + ((IVRCompositor*)params->linux_side)->FadeGrid((float)params->fSeconds, (bool)params->bFadeIn); } -float cppIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha(void *linux_side) +void cppIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentGridAlpha(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentGridAlpha(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride(void *linux_side, const Texture_t *pTextures, uint32_t unTextureCount) +void cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SetSkyboxOverride((const vr::Texture_t *)params->pTextures, (uint32_t)params->unTextureCount); } -void cppIVRCompositor_IVRCompositor_019_ClearSkyboxOverride(void *linux_side) +void cppIVRCompositor_IVRCompositor_019_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_019_ClearSkyboxOverride_params *params ) { - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); + ((IVRCompositor*)params->linux_side)->ClearSkyboxOverride(); } -void cppIVRCompositor_IVRCompositor_019_CompositorBringToFront(void *linux_side) +void cppIVRCompositor_IVRCompositor_019_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_019_CompositorBringToFront_params *params ) { - ((IVRCompositor*)linux_side)->CompositorBringToFront(); + ((IVRCompositor*)params->linux_side)->CompositorBringToFront(); } -void cppIVRCompositor_IVRCompositor_019_CompositorGoToBack(void *linux_side) +void cppIVRCompositor_IVRCompositor_019_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_019_CompositorGoToBack_params *params ) { - ((IVRCompositor*)linux_side)->CompositorGoToBack(); + ((IVRCompositor*)params->linux_side)->CompositorGoToBack(); } -void cppIVRCompositor_IVRCompositor_019_CompositorQuit(void *linux_side) +void cppIVRCompositor_IVRCompositor_019_CompositorQuit( struct cppIVRCompositor_IVRCompositor_019_CompositorQuit_params *params ) { - ((IVRCompositor*)linux_side)->CompositorQuit(); + ((IVRCompositor*)params->linux_side)->CompositorQuit(); } -bool cppIVRCompositor_IVRCompositor_019_IsFullscreen(void *linux_side) +void cppIVRCompositor_IVRCompositor_019_IsFullscreen( struct cppIVRCompositor_IVRCompositor_019_IsFullscreen_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsFullscreen(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsFullscreen(); } -uint32_t cppIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentSceneFocusProcess(); } -uint32_t cppIVRCompositor_IVRCompositor_019_GetLastFrameRenderer(void *linux_side) +void cppIVRCompositor_IVRCompositor_019_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_019_GetLastFrameRenderer_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastFrameRenderer(); } -bool cppIVRCompositor_IVRCompositor_019_CanRenderScene(void *linux_side) +void cppIVRCompositor_IVRCompositor_019_CanRenderScene( struct cppIVRCompositor_IVRCompositor_019_CanRenderScene_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->CanRenderScene(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->CanRenderScene(); } -void cppIVRCompositor_IVRCompositor_019_ShowMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_019_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_019_ShowMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); + ((IVRCompositor*)params->linux_side)->ShowMirrorWindow(); } -void cppIVRCompositor_IVRCompositor_019_HideMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_019_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_019_HideMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->HideMirrorWindow(); + ((IVRCompositor*)params->linux_side)->HideMirrorWindow(); } -bool cppIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible(void *linux_side) +void cppIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMirrorWindowVisible(); } -void cppIVRCompositor_IVRCompositor_019_CompositorDumpImages(void *linux_side) +void cppIVRCompositor_IVRCompositor_019_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_019_CompositorDumpImages_params *params ) { - ((IVRCompositor*)linux_side)->CompositorDumpImages(); + ((IVRCompositor*)params->linux_side)->CompositorDumpImages(); } -bool cppIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources(void *linux_side) +void cppIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ShouldAppRenderWithLowResources(); } -void cppIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) +void cppIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn_params *params ) { - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); + ((IVRCompositor*)params->linux_side)->ForceInterleavedReprojectionOn((bool)params->bOverride); } -void cppIVRCompositor_IVRCompositor_019_ForceReconnectProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_019_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_019_ForceReconnectProcess_params *params ) { - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); + ((IVRCompositor*)params->linux_side)->ForceReconnectProcess(); } -void cppIVRCompositor_IVRCompositor_019_SuspendRendering(void *linux_side, bool bSuspend) +void cppIVRCompositor_IVRCompositor_019_SuspendRendering( struct cppIVRCompositor_IVRCompositor_019_SuspendRendering_params *params ) { - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); + ((IVRCompositor*)params->linux_side)->SuspendRendering((bool)params->bSuspend); } -EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +void cppIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetMirrorTextureD3D11((vr::EVREye)params->eEye, (void *)params->pD3D11DeviceOrResource, (void **)params->ppD3D11ShaderResourceView); } -EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_019_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_019_GetMirrorTextureGL_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetMirrorTextureGL((vr::EVREye)params->eEye, (vr::glUInt_t *)params->pglTextureId, (vr::glSharedTextureHandle_t *)params->pglSharedTextureHandle); } -bool cppIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)params->glTextureId, (vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -void cppIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess_params *params ) { - ((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); + ((IVRCompositor*)params->linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -void cppIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess_params *params ) { - ((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); + ((IVRCompositor*)params->linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -uint32_t cppIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired(void *linux_side, char *pchValue, uint32_t unBufferSize) +void cppIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetVulkanInstanceExtensionsRequired((char *)pchValue, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetVulkanInstanceExtensionsRequired((char *)params->pchValue, (uint32_t)params->unBufferSize); } -uint32_t cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired(void *linux_side, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) +void cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)pPhysicalDevice, (char *)pchValue, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)params->pPhysicalDevice, (char *)params->pchValue, (uint32_t)params->unBufferSize); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_019.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_019.h index 821077be..0f82aa33 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_019.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_019.h @@ -1,46 +1,318 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRCompositor_IVRCompositor_019_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_019_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_019_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_019_Submit(void *, EVREye, const Texture_t *, const VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_019_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_019_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_019_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_019_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_019_FadeToColor(void *, float, float, float, float, float, bool); -extern HmdColor_t cppIVRCompositor_IVRCompositor_019_GetCurrentFadeColor(void *, bool); -extern void cppIVRCompositor_IVRCompositor_019_FadeGrid(void *, float, bool); -extern float cppIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride(void *, const Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_019_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_019_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_019_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_019_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_019_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_019_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_019_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_019_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_019_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_019_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_019_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_019_SuspendRendering(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11(void *, EVREye, void *, void **); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *); -extern bool cppIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern uint32_t cppIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired(void *, char *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired(void *, VkPhysicalDevice_T *, char *, uint32_t); +struct cppIVRCompositor_IVRCompositor_019_SetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; +}; +extern void cppIVRCompositor_IVRCompositor_019_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_019_SetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_GetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin _ret; +}; +extern void cppIVRCompositor_IVRCompositor_019_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_019_GetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_WaitGetPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_019_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_019_WaitGetPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_GetLastPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_019_GetLastPoses( struct cppIVRCompositor_IVRCompositor_019_GetLastPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; +extern void cppIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_Submit_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + const Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + EVRSubmitFlags nSubmitFlags; +}; +extern void cppIVRCompositor_IVRCompositor_019_Submit( struct cppIVRCompositor_IVRCompositor_019_Submit_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_PostPresentHandoff_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_019_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_019_PostPresentHandoff_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_GetFrameTiming_params +{ + void *linux_side; + bool _ret; + Compositor_FrameTiming *pTiming; + uint32_t unFramesAgo; +}; +extern void cppIVRCompositor_IVRCompositor_019_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_019_GetFrameTiming_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_GetFrameTimings_params +{ + void *linux_side; + uint32_t _ret; + Compositor_FrameTiming *pTiming; + uint32_t nFrames; +}; +extern void cppIVRCompositor_IVRCompositor_019_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_019_GetFrameTimings_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_GetCumulativeStats_params +{ + void *linux_side; + Compositor_CumulativeStats *pStats; + uint32_t nStatsSizeInBytes; +}; +extern void cppIVRCompositor_IVRCompositor_019_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_019_GetCumulativeStats_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_019_FadeToColor( struct cppIVRCompositor_IVRCompositor_019_FadeToColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_GetCurrentFadeColor_params +{ + void *linux_side; + HmdColor_t *_ret; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_019_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_019_GetCurrentFadeColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_FadeGrid_params +{ + void *linux_side; + float fSeconds; + bool bFadeIn; +}; +extern void cppIVRCompositor_IVRCompositor_019_FadeGrid( struct cppIVRCompositor_IVRCompositor_019_FadeGrid_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride_params +{ + void *linux_side; + EVRCompositorError _ret; + const Texture_t *pTextures; + uint32_t unTextureCount; +}; +extern void cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_ClearSkyboxOverride_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_019_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_019_ClearSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_CompositorBringToFront_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_019_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_019_CompositorBringToFront_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_CompositorGoToBack_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_019_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_019_CompositorGoToBack_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_CompositorQuit_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_019_CompositorQuit( struct cppIVRCompositor_IVRCompositor_019_CompositorQuit_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_IsFullscreen_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_019_IsFullscreen( struct cppIVRCompositor_IVRCompositor_019_IsFullscreen_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_019_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_019_GetLastFrameRenderer_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_CanRenderScene_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_019_CanRenderScene( struct cppIVRCompositor_IVRCompositor_019_CanRenderScene_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_ShowMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_019_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_019_ShowMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_HideMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_019_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_019_HideMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_CompositorDumpImages_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_019_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_019_CompositorDumpImages_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + bool bOverride; +}; +extern void cppIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_ForceReconnectProcess_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_019_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_019_ForceReconnectProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_SuspendRendering_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppIVRCompositor_IVRCompositor_019_SuspendRendering( struct cppIVRCompositor_IVRCompositor_019_SuspendRendering_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; +}; +extern void cppIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_GetMirrorTextureGL_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + glUInt_t *pglTextureId; + glSharedTextureHandle_t *pglSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_019_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_019_GetMirrorTextureGL_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture_params +{ + void *linux_side; + bool _ret; + glUInt_t glTextureId; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess_params +{ + void *linux_side; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess_params +{ + void *linux_side; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + char *pchValue; + uint32_t unBufferSize; +}; +extern void cppIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired_params *params ); + +struct cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + VkPhysicalDevice_T *pPhysicalDevice; + char *pchValue; + uint32_t unBufferSize; +}; +extern void cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_020.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_020.cpp index 0e0769da..eac22a9c 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_020.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_020.cpp @@ -9,253 +9,209 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRCompositor_IVRCompositor_020_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) +void cppIVRCompositor_IVRCompositor_020_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_020_SetTrackingSpace_params *params ) { - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); + ((IVRCompositor*)params->linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)params->eOrigin); } -ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_020_GetTrackingSpace(void *linux_side) +void cppIVRCompositor_IVRCompositor_020_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_020_GetTrackingSpace_params *params ) { - ETrackingUniverseOrigin _ret; - _ret = ((IVRCompositor*)linux_side)->GetTrackingSpace(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetTrackingSpace(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_020_WaitGetPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_020_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_020_WaitGetPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetLastPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_020_GetLastPoses( struct cppIVRCompositor_IVRCompositor_020_GetLastPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +void cppIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDevicePose_t *)params->pOutputPose, (vr::TrackedDevicePose_t *)params->pOutputGamePose); } -EVRCompositorError cppIVRCompositor_IVRCompositor_020_Submit(void *linux_side, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +void cppIVRCompositor_IVRCompositor_020_Submit( struct cppIVRCompositor_IVRCompositor_020_Submit_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->Submit((vr::EVREye)params->eEye, (const vr::Texture_t *)params->pTexture, (const vr::VRTextureBounds_t *)params->pBounds, (vr::EVRSubmitFlags)params->nSubmitFlags); } -void cppIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(void *linux_side) +void cppIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame_params *params ) { - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); + ((IVRCompositor*)params->linux_side)->ClearLastSubmittedFrame(); } -void cppIVRCompositor_IVRCompositor_020_PostPresentHandoff(void *linux_side) +void cppIVRCompositor_IVRCompositor_020_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_020_PostPresentHandoff_params *params ) { - ((IVRCompositor*)linux_side)->PostPresentHandoff(); + ((IVRCompositor*)params->linux_side)->PostPresentHandoff(); } -bool cppIVRCompositor_IVRCompositor_020_GetFrameTiming(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +void cppIVRCompositor_IVRCompositor_020_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_020_GetFrameTiming_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->unFramesAgo); } -uint32_t cppIVRCompositor_IVRCompositor_020_GetFrameTimings(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t nFrames) +void cppIVRCompositor_IVRCompositor_020_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_020_GetFrameTimings_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->nFrames); } -float cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining(void *linux_side) +void cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimeRemaining(); } -void cppIVRCompositor_IVRCompositor_020_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void cppIVRCompositor_IVRCompositor_020_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_020_GetCumulativeStats_params *params ) { - ((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes); + ((IVRCompositor*)params->linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)params->pStats, (uint32_t)params->nStatsSizeInBytes); } -void cppIVRCompositor_IVRCompositor_020_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void cppIVRCompositor_IVRCompositor_020_FadeToColor( struct cppIVRCompositor_IVRCompositor_020_FadeToColor_params *params ) { - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); + ((IVRCompositor*)params->linux_side)->FadeToColor((float)params->fSeconds, (float)params->fRed, (float)params->fGreen, (float)params->fBlue, (float)params->fAlpha, (bool)params->bBackground); } -HmdColor_t cppIVRCompositor_IVRCompositor_020_GetCurrentFadeColor(void *linux_side, bool bBackground) +void cppIVRCompositor_IVRCompositor_020_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_020_GetCurrentFadeColor_params *params ) { - HmdColor_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentFadeColor((bool)bBackground); - return _ret; + *params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentFadeColor((bool)params->bBackground); } -void cppIVRCompositor_IVRCompositor_020_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) +void cppIVRCompositor_IVRCompositor_020_FadeGrid( struct cppIVRCompositor_IVRCompositor_020_FadeGrid_params *params ) { - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); + ((IVRCompositor*)params->linux_side)->FadeGrid((float)params->fSeconds, (bool)params->bFadeIn); } -float cppIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha(void *linux_side) +void cppIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentGridAlpha(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentGridAlpha(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride(void *linux_side, const Texture_t *pTextures, uint32_t unTextureCount) +void cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SetSkyboxOverride((const vr::Texture_t *)params->pTextures, (uint32_t)params->unTextureCount); } -void cppIVRCompositor_IVRCompositor_020_ClearSkyboxOverride(void *linux_side) +void cppIVRCompositor_IVRCompositor_020_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_020_ClearSkyboxOverride_params *params ) { - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); + ((IVRCompositor*)params->linux_side)->ClearSkyboxOverride(); } -void cppIVRCompositor_IVRCompositor_020_CompositorBringToFront(void *linux_side) +void cppIVRCompositor_IVRCompositor_020_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_020_CompositorBringToFront_params *params ) { - ((IVRCompositor*)linux_side)->CompositorBringToFront(); + ((IVRCompositor*)params->linux_side)->CompositorBringToFront(); } -void cppIVRCompositor_IVRCompositor_020_CompositorGoToBack(void *linux_side) +void cppIVRCompositor_IVRCompositor_020_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_020_CompositorGoToBack_params *params ) { - ((IVRCompositor*)linux_side)->CompositorGoToBack(); + ((IVRCompositor*)params->linux_side)->CompositorGoToBack(); } -void cppIVRCompositor_IVRCompositor_020_CompositorQuit(void *linux_side) +void cppIVRCompositor_IVRCompositor_020_CompositorQuit( struct cppIVRCompositor_IVRCompositor_020_CompositorQuit_params *params ) { - ((IVRCompositor*)linux_side)->CompositorQuit(); + ((IVRCompositor*)params->linux_side)->CompositorQuit(); } -bool cppIVRCompositor_IVRCompositor_020_IsFullscreen(void *linux_side) +void cppIVRCompositor_IVRCompositor_020_IsFullscreen( struct cppIVRCompositor_IVRCompositor_020_IsFullscreen_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsFullscreen(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsFullscreen(); } -uint32_t cppIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentSceneFocusProcess(); } -uint32_t cppIVRCompositor_IVRCompositor_020_GetLastFrameRenderer(void *linux_side) +void cppIVRCompositor_IVRCompositor_020_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_020_GetLastFrameRenderer_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastFrameRenderer(); } -bool cppIVRCompositor_IVRCompositor_020_CanRenderScene(void *linux_side) +void cppIVRCompositor_IVRCompositor_020_CanRenderScene( struct cppIVRCompositor_IVRCompositor_020_CanRenderScene_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->CanRenderScene(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->CanRenderScene(); } -void cppIVRCompositor_IVRCompositor_020_ShowMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_020_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_020_ShowMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); + ((IVRCompositor*)params->linux_side)->ShowMirrorWindow(); } -void cppIVRCompositor_IVRCompositor_020_HideMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_020_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_020_HideMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->HideMirrorWindow(); + ((IVRCompositor*)params->linux_side)->HideMirrorWindow(); } -bool cppIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible(void *linux_side) +void cppIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMirrorWindowVisible(); } -void cppIVRCompositor_IVRCompositor_020_CompositorDumpImages(void *linux_side) +void cppIVRCompositor_IVRCompositor_020_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_020_CompositorDumpImages_params *params ) { - ((IVRCompositor*)linux_side)->CompositorDumpImages(); + ((IVRCompositor*)params->linux_side)->CompositorDumpImages(); } -bool cppIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources(void *linux_side) +void cppIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ShouldAppRenderWithLowResources(); } -void cppIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) +void cppIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn_params *params ) { - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); + ((IVRCompositor*)params->linux_side)->ForceInterleavedReprojectionOn((bool)params->bOverride); } -void cppIVRCompositor_IVRCompositor_020_ForceReconnectProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_020_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_020_ForceReconnectProcess_params *params ) { - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); + ((IVRCompositor*)params->linux_side)->ForceReconnectProcess(); } -void cppIVRCompositor_IVRCompositor_020_SuspendRendering(void *linux_side, bool bSuspend) +void cppIVRCompositor_IVRCompositor_020_SuspendRendering( struct cppIVRCompositor_IVRCompositor_020_SuspendRendering_params *params ) { - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); + ((IVRCompositor*)params->linux_side)->SuspendRendering((bool)params->bSuspend); } -EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +void cppIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetMirrorTextureD3D11((vr::EVREye)params->eEye, (void *)params->pD3D11DeviceOrResource, (void **)params->ppD3D11ShaderResourceView); } -void cppIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11(void *linux_side, void *pD3D11ShaderResourceView) +void cppIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11_params *params ) { - ((IVRCompositor*)linux_side)->ReleaseMirrorTextureD3D11((void *)pD3D11ShaderResourceView); + ((IVRCompositor*)params->linux_side)->ReleaseMirrorTextureD3D11((void *)params->pD3D11ShaderResourceView); } -EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_020_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_020_GetMirrorTextureGL_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetMirrorTextureGL((vr::EVREye)params->eEye, (vr::glUInt_t *)params->pglTextureId, (vr::glSharedTextureHandle_t *)params->pglSharedTextureHandle); } -bool cppIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)params->glTextureId, (vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -void cppIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess_params *params ) { - ((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); + ((IVRCompositor*)params->linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -void cppIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess_params *params ) { - ((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); + ((IVRCompositor*)params->linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -uint32_t cppIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired(void *linux_side, char *pchValue, uint32_t unBufferSize) +void cppIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetVulkanInstanceExtensionsRequired((char *)pchValue, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetVulkanInstanceExtensionsRequired((char *)params->pchValue, (uint32_t)params->unBufferSize); } -uint32_t cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired(void *linux_side, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) +void cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)pPhysicalDevice, (char *)pchValue, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)params->pPhysicalDevice, (char *)params->pchValue, (uint32_t)params->unBufferSize); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_020.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_020.h index f1fe205f..360cb76c 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_020.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_020.h @@ -1,47 +1,325 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRCompositor_IVRCompositor_020_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_020_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_020_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_020_Submit(void *, EVREye, const Texture_t *, const VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_020_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_020_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_020_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_020_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_020_FadeToColor(void *, float, float, float, float, float, bool); -extern HmdColor_t cppIVRCompositor_IVRCompositor_020_GetCurrentFadeColor(void *, bool); -extern void cppIVRCompositor_IVRCompositor_020_FadeGrid(void *, float, bool); -extern float cppIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride(void *, const Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_020_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_020_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_020_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_020_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_020_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_020_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_020_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_020_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_020_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_020_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_020_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_020_SuspendRendering(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11(void *, EVREye, void *, void **); -extern void cppIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11(void *, void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *); -extern bool cppIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern uint32_t cppIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired(void *, char *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired(void *, VkPhysicalDevice_T *, char *, uint32_t); +struct cppIVRCompositor_IVRCompositor_020_SetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; +}; +extern void cppIVRCompositor_IVRCompositor_020_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_020_SetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_GetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin _ret; +}; +extern void cppIVRCompositor_IVRCompositor_020_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_020_GetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_WaitGetPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_020_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_020_WaitGetPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_GetLastPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_020_GetLastPoses( struct cppIVRCompositor_IVRCompositor_020_GetLastPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; +extern void cppIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_Submit_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + const Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + EVRSubmitFlags nSubmitFlags; +}; +extern void cppIVRCompositor_IVRCompositor_020_Submit( struct cppIVRCompositor_IVRCompositor_020_Submit_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_PostPresentHandoff_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_020_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_020_PostPresentHandoff_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_GetFrameTiming_params +{ + void *linux_side; + bool _ret; + Compositor_FrameTiming *pTiming; + uint32_t unFramesAgo; +}; +extern void cppIVRCompositor_IVRCompositor_020_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_020_GetFrameTiming_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_GetFrameTimings_params +{ + void *linux_side; + uint32_t _ret; + Compositor_FrameTiming *pTiming; + uint32_t nFrames; +}; +extern void cppIVRCompositor_IVRCompositor_020_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_020_GetFrameTimings_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_GetCumulativeStats_params +{ + void *linux_side; + Compositor_CumulativeStats *pStats; + uint32_t nStatsSizeInBytes; +}; +extern void cppIVRCompositor_IVRCompositor_020_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_020_GetCumulativeStats_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_020_FadeToColor( struct cppIVRCompositor_IVRCompositor_020_FadeToColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_GetCurrentFadeColor_params +{ + void *linux_side; + HmdColor_t *_ret; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_020_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_020_GetCurrentFadeColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_FadeGrid_params +{ + void *linux_side; + float fSeconds; + bool bFadeIn; +}; +extern void cppIVRCompositor_IVRCompositor_020_FadeGrid( struct cppIVRCompositor_IVRCompositor_020_FadeGrid_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride_params +{ + void *linux_side; + EVRCompositorError _ret; + const Texture_t *pTextures; + uint32_t unTextureCount; +}; +extern void cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_ClearSkyboxOverride_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_020_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_020_ClearSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_CompositorBringToFront_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_020_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_020_CompositorBringToFront_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_CompositorGoToBack_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_020_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_020_CompositorGoToBack_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_CompositorQuit_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_020_CompositorQuit( struct cppIVRCompositor_IVRCompositor_020_CompositorQuit_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_IsFullscreen_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_020_IsFullscreen( struct cppIVRCompositor_IVRCompositor_020_IsFullscreen_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_020_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_020_GetLastFrameRenderer_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_CanRenderScene_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_020_CanRenderScene( struct cppIVRCompositor_IVRCompositor_020_CanRenderScene_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_ShowMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_020_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_020_ShowMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_HideMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_020_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_020_HideMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_CompositorDumpImages_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_020_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_020_CompositorDumpImages_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + bool bOverride; +}; +extern void cppIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_ForceReconnectProcess_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_020_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_020_ForceReconnectProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_SuspendRendering_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppIVRCompositor_IVRCompositor_020_SuspendRendering( struct cppIVRCompositor_IVRCompositor_020_SuspendRendering_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; +}; +extern void cppIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11_params +{ + void *linux_side; + void *pD3D11ShaderResourceView; +}; +extern void cppIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_GetMirrorTextureGL_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + glUInt_t *pglTextureId; + glSharedTextureHandle_t *pglSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_020_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_020_GetMirrorTextureGL_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture_params +{ + void *linux_side; + bool _ret; + glUInt_t glTextureId; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess_params +{ + void *linux_side; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess_params +{ + void *linux_side; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + char *pchValue; + uint32_t unBufferSize; +}; +extern void cppIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired_params *params ); + +struct cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + VkPhysicalDevice_T *pPhysicalDevice; + char *pchValue; + uint32_t unBufferSize; +}; +extern void cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_021.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_021.cpp index 5d18e78f..5f86a0c9 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_021.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_021.cpp @@ -9,265 +9,219 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRCompositor_IVRCompositor_021_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) +void cppIVRCompositor_IVRCompositor_021_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_021_SetTrackingSpace_params *params ) { - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); + ((IVRCompositor*)params->linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)params->eOrigin); } -ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_021_GetTrackingSpace(void *linux_side) +void cppIVRCompositor_IVRCompositor_021_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_021_GetTrackingSpace_params *params ) { - ETrackingUniverseOrigin _ret; - _ret = ((IVRCompositor*)linux_side)->GetTrackingSpace(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetTrackingSpace(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_021_WaitGetPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_021_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_021_WaitGetPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetLastPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_021_GetLastPoses( struct cppIVRCompositor_IVRCompositor_021_GetLastPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +void cppIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDevicePose_t *)params->pOutputPose, (vr::TrackedDevicePose_t *)params->pOutputGamePose); } -EVRCompositorError cppIVRCompositor_IVRCompositor_021_Submit(void *linux_side, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +void cppIVRCompositor_IVRCompositor_021_Submit( struct cppIVRCompositor_IVRCompositor_021_Submit_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->Submit((vr::EVREye)params->eEye, (const vr::Texture_t *)params->pTexture, (const vr::VRTextureBounds_t *)params->pBounds, (vr::EVRSubmitFlags)params->nSubmitFlags); } -void cppIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(void *linux_side) +void cppIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame_params *params ) { - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); + ((IVRCompositor*)params->linux_side)->ClearLastSubmittedFrame(); } -void cppIVRCompositor_IVRCompositor_021_PostPresentHandoff(void *linux_side) +void cppIVRCompositor_IVRCompositor_021_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_021_PostPresentHandoff_params *params ) { - ((IVRCompositor*)linux_side)->PostPresentHandoff(); + ((IVRCompositor*)params->linux_side)->PostPresentHandoff(); } -bool cppIVRCompositor_IVRCompositor_021_GetFrameTiming(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +void cppIVRCompositor_IVRCompositor_021_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_021_GetFrameTiming_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->unFramesAgo); } -uint32_t cppIVRCompositor_IVRCompositor_021_GetFrameTimings(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t nFrames) +void cppIVRCompositor_IVRCompositor_021_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_021_GetFrameTimings_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->nFrames); } -float cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining(void *linux_side) +void cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimeRemaining(); } -void cppIVRCompositor_IVRCompositor_021_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void cppIVRCompositor_IVRCompositor_021_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_021_GetCumulativeStats_params *params ) { - ((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes); + ((IVRCompositor*)params->linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)params->pStats, (uint32_t)params->nStatsSizeInBytes); } -void cppIVRCompositor_IVRCompositor_021_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void cppIVRCompositor_IVRCompositor_021_FadeToColor( struct cppIVRCompositor_IVRCompositor_021_FadeToColor_params *params ) { - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); + ((IVRCompositor*)params->linux_side)->FadeToColor((float)params->fSeconds, (float)params->fRed, (float)params->fGreen, (float)params->fBlue, (float)params->fAlpha, (bool)params->bBackground); } -HmdColor_t cppIVRCompositor_IVRCompositor_021_GetCurrentFadeColor(void *linux_side, bool bBackground) +void cppIVRCompositor_IVRCompositor_021_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_021_GetCurrentFadeColor_params *params ) { - HmdColor_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentFadeColor((bool)bBackground); - return _ret; + *params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentFadeColor((bool)params->bBackground); } -void cppIVRCompositor_IVRCompositor_021_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) +void cppIVRCompositor_IVRCompositor_021_FadeGrid( struct cppIVRCompositor_IVRCompositor_021_FadeGrid_params *params ) { - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); + ((IVRCompositor*)params->linux_side)->FadeGrid((float)params->fSeconds, (bool)params->bFadeIn); } -float cppIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha(void *linux_side) +void cppIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentGridAlpha(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentGridAlpha(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride(void *linux_side, const Texture_t *pTextures, uint32_t unTextureCount) +void cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SetSkyboxOverride((const vr::Texture_t *)params->pTextures, (uint32_t)params->unTextureCount); } -void cppIVRCompositor_IVRCompositor_021_ClearSkyboxOverride(void *linux_side) +void cppIVRCompositor_IVRCompositor_021_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_021_ClearSkyboxOverride_params *params ) { - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); + ((IVRCompositor*)params->linux_side)->ClearSkyboxOverride(); } -void cppIVRCompositor_IVRCompositor_021_CompositorBringToFront(void *linux_side) +void cppIVRCompositor_IVRCompositor_021_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_021_CompositorBringToFront_params *params ) { - ((IVRCompositor*)linux_side)->CompositorBringToFront(); + ((IVRCompositor*)params->linux_side)->CompositorBringToFront(); } -void cppIVRCompositor_IVRCompositor_021_CompositorGoToBack(void *linux_side) +void cppIVRCompositor_IVRCompositor_021_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_021_CompositorGoToBack_params *params ) { - ((IVRCompositor*)linux_side)->CompositorGoToBack(); + ((IVRCompositor*)params->linux_side)->CompositorGoToBack(); } -void cppIVRCompositor_IVRCompositor_021_CompositorQuit(void *linux_side) +void cppIVRCompositor_IVRCompositor_021_CompositorQuit( struct cppIVRCompositor_IVRCompositor_021_CompositorQuit_params *params ) { - ((IVRCompositor*)linux_side)->CompositorQuit(); + ((IVRCompositor*)params->linux_side)->CompositorQuit(); } -bool cppIVRCompositor_IVRCompositor_021_IsFullscreen(void *linux_side) +void cppIVRCompositor_IVRCompositor_021_IsFullscreen( struct cppIVRCompositor_IVRCompositor_021_IsFullscreen_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsFullscreen(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsFullscreen(); } -uint32_t cppIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentSceneFocusProcess(); } -uint32_t cppIVRCompositor_IVRCompositor_021_GetLastFrameRenderer(void *linux_side) +void cppIVRCompositor_IVRCompositor_021_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_021_GetLastFrameRenderer_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastFrameRenderer(); } -bool cppIVRCompositor_IVRCompositor_021_CanRenderScene(void *linux_side) +void cppIVRCompositor_IVRCompositor_021_CanRenderScene( struct cppIVRCompositor_IVRCompositor_021_CanRenderScene_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->CanRenderScene(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->CanRenderScene(); } -void cppIVRCompositor_IVRCompositor_021_ShowMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_021_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_021_ShowMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); + ((IVRCompositor*)params->linux_side)->ShowMirrorWindow(); } -void cppIVRCompositor_IVRCompositor_021_HideMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_021_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_021_HideMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->HideMirrorWindow(); + ((IVRCompositor*)params->linux_side)->HideMirrorWindow(); } -bool cppIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible(void *linux_side) +void cppIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMirrorWindowVisible(); } -void cppIVRCompositor_IVRCompositor_021_CompositorDumpImages(void *linux_side) +void cppIVRCompositor_IVRCompositor_021_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_021_CompositorDumpImages_params *params ) { - ((IVRCompositor*)linux_side)->CompositorDumpImages(); + ((IVRCompositor*)params->linux_side)->CompositorDumpImages(); } -bool cppIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources(void *linux_side) +void cppIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ShouldAppRenderWithLowResources(); } -void cppIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) +void cppIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn_params *params ) { - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); + ((IVRCompositor*)params->linux_side)->ForceInterleavedReprojectionOn((bool)params->bOverride); } -void cppIVRCompositor_IVRCompositor_021_ForceReconnectProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_021_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_021_ForceReconnectProcess_params *params ) { - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); + ((IVRCompositor*)params->linux_side)->ForceReconnectProcess(); } -void cppIVRCompositor_IVRCompositor_021_SuspendRendering(void *linux_side, bool bSuspend) +void cppIVRCompositor_IVRCompositor_021_SuspendRendering( struct cppIVRCompositor_IVRCompositor_021_SuspendRendering_params *params ) { - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); + ((IVRCompositor*)params->linux_side)->SuspendRendering((bool)params->bSuspend); } -EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +void cppIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetMirrorTextureD3D11((vr::EVREye)params->eEye, (void *)params->pD3D11DeviceOrResource, (void **)params->ppD3D11ShaderResourceView); } -void cppIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11(void *linux_side, void *pD3D11ShaderResourceView) +void cppIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11_params *params ) { - ((IVRCompositor*)linux_side)->ReleaseMirrorTextureD3D11((void *)pD3D11ShaderResourceView); + ((IVRCompositor*)params->linux_side)->ReleaseMirrorTextureD3D11((void *)params->pD3D11ShaderResourceView); } -EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_021_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_021_GetMirrorTextureGL_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetMirrorTextureGL((vr::EVREye)params->eEye, (vr::glUInt_t *)params->pglTextureId, (vr::glSharedTextureHandle_t *)params->pglSharedTextureHandle); } -bool cppIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)params->glTextureId, (vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -void cppIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess_params *params ) { - ((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); + ((IVRCompositor*)params->linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -void cppIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess_params *params ) { - ((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); + ((IVRCompositor*)params->linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -uint32_t cppIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired(void *linux_side, char *pchValue, uint32_t unBufferSize) +void cppIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetVulkanInstanceExtensionsRequired((char *)pchValue, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetVulkanInstanceExtensionsRequired((char *)params->pchValue, (uint32_t)params->unBufferSize); } -uint32_t cppIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired(void *linux_side, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) +void cppIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)pPhysicalDevice, (char *)pchValue, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)params->pPhysicalDevice, (char *)params->pchValue, (uint32_t)params->unBufferSize); } -void cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode(void *linux_side, bool bExplicitTimingMode) +void cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode( struct cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode_params *params ) { - ((IVRCompositor*)linux_side)->SetExplicitTimingMode((bool)bExplicitTimingMode); + ((IVRCompositor*)params->linux_side)->SetExplicitTimingMode((bool)params->bExplicitTimingMode); } -EVRCompositorError cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData(void *linux_side) +void cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData( struct cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SubmitExplicitTimingData(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SubmitExplicitTimingData(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_021.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_021.h index b352ca31..6b2f407f 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_021.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_021.h @@ -1,49 +1,339 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRCompositor_IVRCompositor_021_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_021_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_Submit(void *, EVREye, const Texture_t *, const VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_021_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_021_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_021_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_021_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_021_FadeToColor(void *, float, float, float, float, float, bool); -extern HmdColor_t cppIVRCompositor_IVRCompositor_021_GetCurrentFadeColor(void *, bool); -extern void cppIVRCompositor_IVRCompositor_021_FadeGrid(void *, float, bool); -extern float cppIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride(void *, const Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_021_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_021_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_021_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_021_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_021_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_021_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_021_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_021_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_021_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_021_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_021_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_021_SuspendRendering(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11(void *, EVREye, void *, void **); -extern void cppIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11(void *, void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *); -extern bool cppIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern uint32_t cppIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired(void *, char *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired(void *, VkPhysicalDevice_T *, char *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData(void *); +struct cppIVRCompositor_IVRCompositor_021_SetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; +}; +extern void cppIVRCompositor_IVRCompositor_021_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_021_SetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_GetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin _ret; +}; +extern void cppIVRCompositor_IVRCompositor_021_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_021_GetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_WaitGetPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_021_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_021_WaitGetPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_GetLastPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_021_GetLastPoses( struct cppIVRCompositor_IVRCompositor_021_GetLastPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; +extern void cppIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_Submit_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + const Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + EVRSubmitFlags nSubmitFlags; +}; +extern void cppIVRCompositor_IVRCompositor_021_Submit( struct cppIVRCompositor_IVRCompositor_021_Submit_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_PostPresentHandoff_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_021_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_021_PostPresentHandoff_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_GetFrameTiming_params +{ + void *linux_side; + bool _ret; + Compositor_FrameTiming *pTiming; + uint32_t unFramesAgo; +}; +extern void cppIVRCompositor_IVRCompositor_021_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_021_GetFrameTiming_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_GetFrameTimings_params +{ + void *linux_side; + uint32_t _ret; + Compositor_FrameTiming *pTiming; + uint32_t nFrames; +}; +extern void cppIVRCompositor_IVRCompositor_021_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_021_GetFrameTimings_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_GetCumulativeStats_params +{ + void *linux_side; + Compositor_CumulativeStats *pStats; + uint32_t nStatsSizeInBytes; +}; +extern void cppIVRCompositor_IVRCompositor_021_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_021_GetCumulativeStats_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_021_FadeToColor( struct cppIVRCompositor_IVRCompositor_021_FadeToColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_GetCurrentFadeColor_params +{ + void *linux_side; + HmdColor_t *_ret; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_021_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_021_GetCurrentFadeColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_FadeGrid_params +{ + void *linux_side; + float fSeconds; + bool bFadeIn; +}; +extern void cppIVRCompositor_IVRCompositor_021_FadeGrid( struct cppIVRCompositor_IVRCompositor_021_FadeGrid_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride_params +{ + void *linux_side; + EVRCompositorError _ret; + const Texture_t *pTextures; + uint32_t unTextureCount; +}; +extern void cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_ClearSkyboxOverride_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_021_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_021_ClearSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_CompositorBringToFront_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_021_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_021_CompositorBringToFront_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_CompositorGoToBack_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_021_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_021_CompositorGoToBack_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_CompositorQuit_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_021_CompositorQuit( struct cppIVRCompositor_IVRCompositor_021_CompositorQuit_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_IsFullscreen_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_021_IsFullscreen( struct cppIVRCompositor_IVRCompositor_021_IsFullscreen_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_021_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_021_GetLastFrameRenderer_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_CanRenderScene_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_021_CanRenderScene( struct cppIVRCompositor_IVRCompositor_021_CanRenderScene_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_ShowMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_021_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_021_ShowMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_HideMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_021_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_021_HideMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_CompositorDumpImages_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_021_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_021_CompositorDumpImages_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + bool bOverride; +}; +extern void cppIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_ForceReconnectProcess_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_021_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_021_ForceReconnectProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_SuspendRendering_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppIVRCompositor_IVRCompositor_021_SuspendRendering( struct cppIVRCompositor_IVRCompositor_021_SuspendRendering_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; +}; +extern void cppIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11_params +{ + void *linux_side; + void *pD3D11ShaderResourceView; +}; +extern void cppIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_GetMirrorTextureGL_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + glUInt_t *pglTextureId; + glSharedTextureHandle_t *pglSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_021_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_021_GetMirrorTextureGL_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture_params +{ + void *linux_side; + bool _ret; + glUInt_t glTextureId; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess_params +{ + void *linux_side; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess_params +{ + void *linux_side; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + char *pchValue; + uint32_t unBufferSize; +}; +extern void cppIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + VkPhysicalDevice_T *pPhysicalDevice; + char *pchValue; + uint32_t unBufferSize; +}; +extern void cppIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode_params +{ + void *linux_side; + bool bExplicitTimingMode; +}; +extern void cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode( struct cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode_params *params ); + +struct cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData_params +{ + void *linux_side; + EVRCompositorError _ret; +}; +extern void cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData( struct cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_022.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_022.cpp index f13cfad4..92be7567 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_022.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_022.cpp @@ -9,286 +9,234 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRCompositor_IVRCompositor_022_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) +void cppIVRCompositor_IVRCompositor_022_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_022_SetTrackingSpace_params *params ) { - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); + ((IVRCompositor*)params->linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)params->eOrigin); } -ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_022_GetTrackingSpace(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_022_GetTrackingSpace_params *params ) { - ETrackingUniverseOrigin _ret; - _ret = ((IVRCompositor*)linux_side)->GetTrackingSpace(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetTrackingSpace(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_022_WaitGetPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_022_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_022_WaitGetPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetLastPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_022_GetLastPoses( struct cppIVRCompositor_IVRCompositor_022_GetLastPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +void cppIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDevicePose_t *)params->pOutputPose, (vr::TrackedDevicePose_t *)params->pOutputGamePose); } -EVRCompositorError cppIVRCompositor_IVRCompositor_022_Submit(void *linux_side, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +void cppIVRCompositor_IVRCompositor_022_Submit( struct cppIVRCompositor_IVRCompositor_022_Submit_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->Submit((vr::EVREye)params->eEye, (const vr::Texture_t *)params->pTexture, (const vr::VRTextureBounds_t *)params->pBounds, (vr::EVRSubmitFlags)params->nSubmitFlags); } -void cppIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame_params *params ) { - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); + ((IVRCompositor*)params->linux_side)->ClearLastSubmittedFrame(); } -void cppIVRCompositor_IVRCompositor_022_PostPresentHandoff(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_022_PostPresentHandoff_params *params ) { - ((IVRCompositor*)linux_side)->PostPresentHandoff(); + ((IVRCompositor*)params->linux_side)->PostPresentHandoff(); } -bool cppIVRCompositor_IVRCompositor_022_GetFrameTiming(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +void cppIVRCompositor_IVRCompositor_022_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_022_GetFrameTiming_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->unFramesAgo); } -uint32_t cppIVRCompositor_IVRCompositor_022_GetFrameTimings(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t nFrames) +void cppIVRCompositor_IVRCompositor_022_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_022_GetFrameTimings_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->nFrames); } -float cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimeRemaining(); } -void cppIVRCompositor_IVRCompositor_022_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void cppIVRCompositor_IVRCompositor_022_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_022_GetCumulativeStats_params *params ) { - ((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes); + ((IVRCompositor*)params->linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)params->pStats, (uint32_t)params->nStatsSizeInBytes); } -void cppIVRCompositor_IVRCompositor_022_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void cppIVRCompositor_IVRCompositor_022_FadeToColor( struct cppIVRCompositor_IVRCompositor_022_FadeToColor_params *params ) { - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); + ((IVRCompositor*)params->linux_side)->FadeToColor((float)params->fSeconds, (float)params->fRed, (float)params->fGreen, (float)params->fBlue, (float)params->fAlpha, (bool)params->bBackground); } -HmdColor_t cppIVRCompositor_IVRCompositor_022_GetCurrentFadeColor(void *linux_side, bool bBackground) +void cppIVRCompositor_IVRCompositor_022_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_022_GetCurrentFadeColor_params *params ) { - HmdColor_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentFadeColor((bool)bBackground); - return _ret; + *params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentFadeColor((bool)params->bBackground); } -void cppIVRCompositor_IVRCompositor_022_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) +void cppIVRCompositor_IVRCompositor_022_FadeGrid( struct cppIVRCompositor_IVRCompositor_022_FadeGrid_params *params ) { - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); + ((IVRCompositor*)params->linux_side)->FadeGrid((float)params->fSeconds, (bool)params->bFadeIn); } -float cppIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentGridAlpha(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentGridAlpha(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride(void *linux_side, const Texture_t *pTextures, uint32_t unTextureCount) +void cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SetSkyboxOverride((const vr::Texture_t *)params->pTextures, (uint32_t)params->unTextureCount); } -void cppIVRCompositor_IVRCompositor_022_ClearSkyboxOverride(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_022_ClearSkyboxOverride_params *params ) { - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); + ((IVRCompositor*)params->linux_side)->ClearSkyboxOverride(); } -void cppIVRCompositor_IVRCompositor_022_CompositorBringToFront(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_022_CompositorBringToFront_params *params ) { - ((IVRCompositor*)linux_side)->CompositorBringToFront(); + ((IVRCompositor*)params->linux_side)->CompositorBringToFront(); } -void cppIVRCompositor_IVRCompositor_022_CompositorGoToBack(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_022_CompositorGoToBack_params *params ) { - ((IVRCompositor*)linux_side)->CompositorGoToBack(); + ((IVRCompositor*)params->linux_side)->CompositorGoToBack(); } -void cppIVRCompositor_IVRCompositor_022_CompositorQuit(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_CompositorQuit( struct cppIVRCompositor_IVRCompositor_022_CompositorQuit_params *params ) { - ((IVRCompositor*)linux_side)->CompositorQuit(); + ((IVRCompositor*)params->linux_side)->CompositorQuit(); } -bool cppIVRCompositor_IVRCompositor_022_IsFullscreen(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_IsFullscreen( struct cppIVRCompositor_IVRCompositor_022_IsFullscreen_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsFullscreen(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsFullscreen(); } -uint32_t cppIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentSceneFocusProcess(); } -uint32_t cppIVRCompositor_IVRCompositor_022_GetLastFrameRenderer(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_022_GetLastFrameRenderer_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastFrameRenderer(); } -bool cppIVRCompositor_IVRCompositor_022_CanRenderScene(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_CanRenderScene( struct cppIVRCompositor_IVRCompositor_022_CanRenderScene_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->CanRenderScene(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->CanRenderScene(); } -void cppIVRCompositor_IVRCompositor_022_ShowMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_022_ShowMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); + ((IVRCompositor*)params->linux_side)->ShowMirrorWindow(); } -void cppIVRCompositor_IVRCompositor_022_HideMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_022_HideMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->HideMirrorWindow(); + ((IVRCompositor*)params->linux_side)->HideMirrorWindow(); } -bool cppIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMirrorWindowVisible(); } -void cppIVRCompositor_IVRCompositor_022_CompositorDumpImages(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_022_CompositorDumpImages_params *params ) { - ((IVRCompositor*)linux_side)->CompositorDumpImages(); + ((IVRCompositor*)params->linux_side)->CompositorDumpImages(); } -bool cppIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ShouldAppRenderWithLowResources(); } -void cppIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) +void cppIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn_params *params ) { - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); + ((IVRCompositor*)params->linux_side)->ForceInterleavedReprojectionOn((bool)params->bOverride); } -void cppIVRCompositor_IVRCompositor_022_ForceReconnectProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_022_ForceReconnectProcess_params *params ) { - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); + ((IVRCompositor*)params->linux_side)->ForceReconnectProcess(); } -void cppIVRCompositor_IVRCompositor_022_SuspendRendering(void *linux_side, bool bSuspend) +void cppIVRCompositor_IVRCompositor_022_SuspendRendering( struct cppIVRCompositor_IVRCompositor_022_SuspendRendering_params *params ) { - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); + ((IVRCompositor*)params->linux_side)->SuspendRendering((bool)params->bSuspend); } -EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +void cppIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetMirrorTextureD3D11((vr::EVREye)params->eEye, (void *)params->pD3D11DeviceOrResource, (void **)params->ppD3D11ShaderResourceView); } -void cppIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11(void *linux_side, void *pD3D11ShaderResourceView) +void cppIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11_params *params ) { - ((IVRCompositor*)linux_side)->ReleaseMirrorTextureD3D11((void *)pD3D11ShaderResourceView); + ((IVRCompositor*)params->linux_side)->ReleaseMirrorTextureD3D11((void *)params->pD3D11ShaderResourceView); } -EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_022_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_022_GetMirrorTextureGL_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetMirrorTextureGL((vr::EVREye)params->eEye, (vr::glUInt_t *)params->pglTextureId, (vr::glSharedTextureHandle_t *)params->pglSharedTextureHandle); } -bool cppIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)params->glTextureId, (vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -void cppIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess_params *params ) { - ((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); + ((IVRCompositor*)params->linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -void cppIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess_params *params ) { - ((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); + ((IVRCompositor*)params->linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -uint32_t cppIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired(void *linux_side, char *pchValue, uint32_t unBufferSize) +void cppIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetVulkanInstanceExtensionsRequired((char *)pchValue, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetVulkanInstanceExtensionsRequired((char *)params->pchValue, (uint32_t)params->unBufferSize); } -uint32_t cppIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired(void *linux_side, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) +void cppIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)pPhysicalDevice, (char *)pchValue, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)params->pPhysicalDevice, (char *)params->pchValue, (uint32_t)params->unBufferSize); } -void cppIVRCompositor_IVRCompositor_022_SetExplicitTimingMode(void *linux_side, EVRCompositorTimingMode eTimingMode) +void cppIVRCompositor_IVRCompositor_022_SetExplicitTimingMode( struct cppIVRCompositor_IVRCompositor_022_SetExplicitTimingMode_params *params ) { - ((IVRCompositor*)linux_side)->SetExplicitTimingMode((vr::EVRCompositorTimingMode)eTimingMode); + ((IVRCompositor*)params->linux_side)->SetExplicitTimingMode((vr::EVRCompositorTimingMode)params->eTimingMode); } -EVRCompositorError cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData( struct cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SubmitExplicitTimingData(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SubmitExplicitTimingData(); } -bool cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled( struct cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMotionSmoothingEnabled(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMotionSmoothingEnabled(); } -bool cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported( struct cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMotionSmoothingSupported(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMotionSmoothingSupported(); } -bool cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading(void *linux_side) +void cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading( struct cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsCurrentSceneFocusAppLoading(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsCurrentSceneFocusAppLoading(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_022.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_022.h index 0c77ef37..13f97784 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_022.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_022.h @@ -1,52 +1,360 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRCompositor_IVRCompositor_022_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_022_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_Submit(void *, EVREye, const Texture_t *, const VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_022_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_022_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_022_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_022_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_022_FadeToColor(void *, float, float, float, float, float, bool); -extern HmdColor_t cppIVRCompositor_IVRCompositor_022_GetCurrentFadeColor(void *, bool); -extern void cppIVRCompositor_IVRCompositor_022_FadeGrid(void *, float, bool); -extern float cppIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride(void *, const Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_022_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_022_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_022_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_022_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_022_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_022_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_022_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_022_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_022_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_022_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_022_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_022_SuspendRendering(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11(void *, EVREye, void *, void **); -extern void cppIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11(void *, void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *); -extern bool cppIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern uint32_t cppIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired(void *, char *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired(void *, VkPhysicalDevice_T *, char *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_022_SetExplicitTimingMode(void *, EVRCompositorTimingMode); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(void *); -extern bool cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled(void *); -extern bool cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported(void *); -extern bool cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading(void *); +struct cppIVRCompositor_IVRCompositor_022_SetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; +}; +extern void cppIVRCompositor_IVRCompositor_022_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_022_SetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_GetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin _ret; +}; +extern void cppIVRCompositor_IVRCompositor_022_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_022_GetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_WaitGetPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_022_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_022_WaitGetPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_GetLastPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_022_GetLastPoses( struct cppIVRCompositor_IVRCompositor_022_GetLastPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; +extern void cppIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_Submit_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + const Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + EVRSubmitFlags nSubmitFlags; +}; +extern void cppIVRCompositor_IVRCompositor_022_Submit( struct cppIVRCompositor_IVRCompositor_022_Submit_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_PostPresentHandoff_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_022_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_022_PostPresentHandoff_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_GetFrameTiming_params +{ + void *linux_side; + bool _ret; + Compositor_FrameTiming *pTiming; + uint32_t unFramesAgo; +}; +extern void cppIVRCompositor_IVRCompositor_022_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_022_GetFrameTiming_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_GetFrameTimings_params +{ + void *linux_side; + uint32_t _ret; + Compositor_FrameTiming *pTiming; + uint32_t nFrames; +}; +extern void cppIVRCompositor_IVRCompositor_022_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_022_GetFrameTimings_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_GetCumulativeStats_params +{ + void *linux_side; + Compositor_CumulativeStats *pStats; + uint32_t nStatsSizeInBytes; +}; +extern void cppIVRCompositor_IVRCompositor_022_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_022_GetCumulativeStats_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_022_FadeToColor( struct cppIVRCompositor_IVRCompositor_022_FadeToColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_GetCurrentFadeColor_params +{ + void *linux_side; + HmdColor_t *_ret; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_022_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_022_GetCurrentFadeColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_FadeGrid_params +{ + void *linux_side; + float fSeconds; + bool bFadeIn; +}; +extern void cppIVRCompositor_IVRCompositor_022_FadeGrid( struct cppIVRCompositor_IVRCompositor_022_FadeGrid_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride_params +{ + void *linux_side; + EVRCompositorError _ret; + const Texture_t *pTextures; + uint32_t unTextureCount; +}; +extern void cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_ClearSkyboxOverride_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_022_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_022_ClearSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_CompositorBringToFront_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_022_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_022_CompositorBringToFront_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_CompositorGoToBack_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_022_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_022_CompositorGoToBack_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_CompositorQuit_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_022_CompositorQuit( struct cppIVRCompositor_IVRCompositor_022_CompositorQuit_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_IsFullscreen_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_022_IsFullscreen( struct cppIVRCompositor_IVRCompositor_022_IsFullscreen_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_022_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_022_GetLastFrameRenderer_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_CanRenderScene_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_022_CanRenderScene( struct cppIVRCompositor_IVRCompositor_022_CanRenderScene_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_ShowMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_022_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_022_ShowMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_HideMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_022_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_022_HideMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_CompositorDumpImages_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_022_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_022_CompositorDumpImages_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + bool bOverride; +}; +extern void cppIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_ForceReconnectProcess_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_022_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_022_ForceReconnectProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_SuspendRendering_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppIVRCompositor_IVRCompositor_022_SuspendRendering( struct cppIVRCompositor_IVRCompositor_022_SuspendRendering_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; +}; +extern void cppIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11_params +{ + void *linux_side; + void *pD3D11ShaderResourceView; +}; +extern void cppIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_GetMirrorTextureGL_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + glUInt_t *pglTextureId; + glSharedTextureHandle_t *pglSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_022_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_022_GetMirrorTextureGL_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture_params +{ + void *linux_side; + bool _ret; + glUInt_t glTextureId; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess_params +{ + void *linux_side; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess_params +{ + void *linux_side; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + char *pchValue; + uint32_t unBufferSize; +}; +extern void cppIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + VkPhysicalDevice_T *pPhysicalDevice; + char *pchValue; + uint32_t unBufferSize; +}; +extern void cppIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_SetExplicitTimingMode_params +{ + void *linux_side; + EVRCompositorTimingMode eTimingMode; +}; +extern void cppIVRCompositor_IVRCompositor_022_SetExplicitTimingMode( struct cppIVRCompositor_IVRCompositor_022_SetExplicitTimingMode_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData_params +{ + void *linux_side; + EVRCompositorError _ret; +}; +extern void cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData( struct cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled( struct cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported( struct cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported_params *params ); + +struct cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading( struct cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_024.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_024.cpp index 4a1cd718..12abe2c7 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_024.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_024.cpp @@ -9,298 +9,244 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRCompositor_IVRCompositor_024_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) +void cppIVRCompositor_IVRCompositor_024_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_024_SetTrackingSpace_params *params ) { - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); + ((IVRCompositor*)params->linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)params->eOrigin); } -ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_024_GetTrackingSpace(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_024_GetTrackingSpace_params *params ) { - ETrackingUniverseOrigin _ret; - _ret = ((IVRCompositor*)linux_side)->GetTrackingSpace(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetTrackingSpace(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_024_WaitGetPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_024_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_024_WaitGetPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_024_GetLastPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_024_GetLastPoses( struct cppIVRCompositor_IVRCompositor_024_GetLastPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +void cppIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDevicePose_t *)params->pOutputPose, (vr::TrackedDevicePose_t *)params->pOutputGamePose); } -EVRCompositorError cppIVRCompositor_IVRCompositor_024_Submit(void *linux_side, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +void cppIVRCompositor_IVRCompositor_024_Submit( struct cppIVRCompositor_IVRCompositor_024_Submit_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->Submit((vr::EVREye)params->eEye, (const vr::Texture_t *)params->pTexture, (const vr::VRTextureBounds_t *)params->pBounds, (vr::EVRSubmitFlags)params->nSubmitFlags); } -void cppIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame_params *params ) { - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); + ((IVRCompositor*)params->linux_side)->ClearLastSubmittedFrame(); } -void cppIVRCompositor_IVRCompositor_024_PostPresentHandoff(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_024_PostPresentHandoff_params *params ) { - ((IVRCompositor*)linux_side)->PostPresentHandoff(); + ((IVRCompositor*)params->linux_side)->PostPresentHandoff(); } -bool cppIVRCompositor_IVRCompositor_024_GetFrameTiming(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +void cppIVRCompositor_IVRCompositor_024_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_024_GetFrameTiming_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->unFramesAgo); } -uint32_t cppIVRCompositor_IVRCompositor_024_GetFrameTimings(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t nFrames) +void cppIVRCompositor_IVRCompositor_024_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_024_GetFrameTimings_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->nFrames); } -float cppIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimeRemaining(); } -void cppIVRCompositor_IVRCompositor_024_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void cppIVRCompositor_IVRCompositor_024_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_024_GetCumulativeStats_params *params ) { - ((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes); + ((IVRCompositor*)params->linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)params->pStats, (uint32_t)params->nStatsSizeInBytes); } -void cppIVRCompositor_IVRCompositor_024_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void cppIVRCompositor_IVRCompositor_024_FadeToColor( struct cppIVRCompositor_IVRCompositor_024_FadeToColor_params *params ) { - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); + ((IVRCompositor*)params->linux_side)->FadeToColor((float)params->fSeconds, (float)params->fRed, (float)params->fGreen, (float)params->fBlue, (float)params->fAlpha, (bool)params->bBackground); } -HmdColor_t cppIVRCompositor_IVRCompositor_024_GetCurrentFadeColor(void *linux_side, bool bBackground) +void cppIVRCompositor_IVRCompositor_024_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_024_GetCurrentFadeColor_params *params ) { - HmdColor_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentFadeColor((bool)bBackground); - return _ret; + *params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentFadeColor((bool)params->bBackground); } -void cppIVRCompositor_IVRCompositor_024_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) +void cppIVRCompositor_IVRCompositor_024_FadeGrid( struct cppIVRCompositor_IVRCompositor_024_FadeGrid_params *params ) { - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); + ((IVRCompositor*)params->linux_side)->FadeGrid((float)params->fSeconds, (bool)params->bFadeIn); } -float cppIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentGridAlpha(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentGridAlpha(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride(void *linux_side, const Texture_t *pTextures, uint32_t unTextureCount) +void cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SetSkyboxOverride((const vr::Texture_t *)params->pTextures, (uint32_t)params->unTextureCount); } -void cppIVRCompositor_IVRCompositor_024_ClearSkyboxOverride(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_024_ClearSkyboxOverride_params *params ) { - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); + ((IVRCompositor*)params->linux_side)->ClearSkyboxOverride(); } -void cppIVRCompositor_IVRCompositor_024_CompositorBringToFront(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_024_CompositorBringToFront_params *params ) { - ((IVRCompositor*)linux_side)->CompositorBringToFront(); + ((IVRCompositor*)params->linux_side)->CompositorBringToFront(); } -void cppIVRCompositor_IVRCompositor_024_CompositorGoToBack(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_024_CompositorGoToBack_params *params ) { - ((IVRCompositor*)linux_side)->CompositorGoToBack(); + ((IVRCompositor*)params->linux_side)->CompositorGoToBack(); } -void cppIVRCompositor_IVRCompositor_024_CompositorQuit(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_CompositorQuit( struct cppIVRCompositor_IVRCompositor_024_CompositorQuit_params *params ) { - ((IVRCompositor*)linux_side)->CompositorQuit(); + ((IVRCompositor*)params->linux_side)->CompositorQuit(); } -bool cppIVRCompositor_IVRCompositor_024_IsFullscreen(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_IsFullscreen( struct cppIVRCompositor_IVRCompositor_024_IsFullscreen_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsFullscreen(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsFullscreen(); } -uint32_t cppIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentSceneFocusProcess(); } -uint32_t cppIVRCompositor_IVRCompositor_024_GetLastFrameRenderer(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_024_GetLastFrameRenderer_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastFrameRenderer(); } -bool cppIVRCompositor_IVRCompositor_024_CanRenderScene(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_CanRenderScene( struct cppIVRCompositor_IVRCompositor_024_CanRenderScene_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->CanRenderScene(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->CanRenderScene(); } -void cppIVRCompositor_IVRCompositor_024_ShowMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_024_ShowMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); + ((IVRCompositor*)params->linux_side)->ShowMirrorWindow(); } -void cppIVRCompositor_IVRCompositor_024_HideMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_024_HideMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->HideMirrorWindow(); + ((IVRCompositor*)params->linux_side)->HideMirrorWindow(); } -bool cppIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMirrorWindowVisible(); } -void cppIVRCompositor_IVRCompositor_024_CompositorDumpImages(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_024_CompositorDumpImages_params *params ) { - ((IVRCompositor*)linux_side)->CompositorDumpImages(); + ((IVRCompositor*)params->linux_side)->CompositorDumpImages(); } -bool cppIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ShouldAppRenderWithLowResources(); } -void cppIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) +void cppIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn_params *params ) { - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); + ((IVRCompositor*)params->linux_side)->ForceInterleavedReprojectionOn((bool)params->bOverride); } -void cppIVRCompositor_IVRCompositor_024_ForceReconnectProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_024_ForceReconnectProcess_params *params ) { - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); + ((IVRCompositor*)params->linux_side)->ForceReconnectProcess(); } -void cppIVRCompositor_IVRCompositor_024_SuspendRendering(void *linux_side, bool bSuspend) +void cppIVRCompositor_IVRCompositor_024_SuspendRendering( struct cppIVRCompositor_IVRCompositor_024_SuspendRendering_params *params ) { - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); + ((IVRCompositor*)params->linux_side)->SuspendRendering((bool)params->bSuspend); } -EVRCompositorError cppIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +void cppIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetMirrorTextureD3D11((vr::EVREye)params->eEye, (void *)params->pD3D11DeviceOrResource, (void **)params->ppD3D11ShaderResourceView); } -void cppIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11(void *linux_side, void *pD3D11ShaderResourceView) +void cppIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11_params *params ) { - ((IVRCompositor*)linux_side)->ReleaseMirrorTextureD3D11((void *)pD3D11ShaderResourceView); + ((IVRCompositor*)params->linux_side)->ReleaseMirrorTextureD3D11((void *)params->pD3D11ShaderResourceView); } -EVRCompositorError cppIVRCompositor_IVRCompositor_024_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_024_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_024_GetMirrorTextureGL_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetMirrorTextureGL((vr::EVREye)params->eEye, (vr::glUInt_t *)params->pglTextureId, (vr::glSharedTextureHandle_t *)params->pglSharedTextureHandle); } -bool cppIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)params->glTextureId, (vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -void cppIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess_params *params ) { - ((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); + ((IVRCompositor*)params->linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -void cppIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess_params *params ) { - ((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); + ((IVRCompositor*)params->linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -uint32_t cppIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired(void *linux_side, char *pchValue, uint32_t unBufferSize) +void cppIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetVulkanInstanceExtensionsRequired((char *)pchValue, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetVulkanInstanceExtensionsRequired((char *)params->pchValue, (uint32_t)params->unBufferSize); } -uint32_t cppIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired(void *linux_side, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) +void cppIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)pPhysicalDevice, (char *)pchValue, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)params->pPhysicalDevice, (char *)params->pchValue, (uint32_t)params->unBufferSize); } -void cppIVRCompositor_IVRCompositor_024_SetExplicitTimingMode(void *linux_side, EVRCompositorTimingMode eTimingMode) +void cppIVRCompositor_IVRCompositor_024_SetExplicitTimingMode( struct cppIVRCompositor_IVRCompositor_024_SetExplicitTimingMode_params *params ) { - ((IVRCompositor*)linux_side)->SetExplicitTimingMode((vr::EVRCompositorTimingMode)eTimingMode); + ((IVRCompositor*)params->linux_side)->SetExplicitTimingMode((vr::EVRCompositorTimingMode)params->eTimingMode); } -EVRCompositorError cppIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData( struct cppIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SubmitExplicitTimingData(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SubmitExplicitTimingData(); } -bool cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled( struct cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMotionSmoothingEnabled(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMotionSmoothingEnabled(); } -bool cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported( struct cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMotionSmoothingSupported(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMotionSmoothingSupported(); } -bool cppIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading( struct cppIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsCurrentSceneFocusAppLoading(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsCurrentSceneFocusAppLoading(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_024_SetStageOverride_Async(void *linux_side, const char *pchRenderModelPath, const HmdMatrix34_t *pTransform, const Compositor_StageRenderSettings *pRenderSettings, uint32_t nSizeOfRenderSettings) +void cppIVRCompositor_IVRCompositor_024_SetStageOverride_Async( struct cppIVRCompositor_IVRCompositor_024_SetStageOverride_Async_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SetStageOverride_Async((const char *)pchRenderModelPath, (const vr::HmdMatrix34_t *)pTransform, (const vr::Compositor_StageRenderSettings *)pRenderSettings, (uint32_t)nSizeOfRenderSettings); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SetStageOverride_Async((const char *)params->pchRenderModelPath, (const vr::HmdMatrix34_t *)params->pTransform, (const vr::Compositor_StageRenderSettings *)params->pRenderSettings, (uint32_t)params->nSizeOfRenderSettings); } -void cppIVRCompositor_IVRCompositor_024_ClearStageOverride(void *linux_side) +void cppIVRCompositor_IVRCompositor_024_ClearStageOverride( struct cppIVRCompositor_IVRCompositor_024_ClearStageOverride_params *params ) { - ((IVRCompositor*)linux_side)->ClearStageOverride(); + ((IVRCompositor*)params->linux_side)->ClearStageOverride(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_024.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_024.h index 27b55935..ebca3524 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_024.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_024.h @@ -1,54 +1,377 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRCompositor_IVRCompositor_024_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_024_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_024_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_024_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_024_Submit(void *, EVREye, const Texture_t *, const VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_024_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_024_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_024_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_024_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_024_FadeToColor(void *, float, float, float, float, float, bool); -extern HmdColor_t cppIVRCompositor_IVRCompositor_024_GetCurrentFadeColor(void *, bool); -extern void cppIVRCompositor_IVRCompositor_024_FadeGrid(void *, float, bool); -extern float cppIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride(void *, const Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_024_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_024_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_024_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_024_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_024_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_024_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_024_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_024_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_024_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_024_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_024_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_024_SuspendRendering(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11(void *, EVREye, void *, void **); -extern void cppIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11(void *, void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_024_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *); -extern bool cppIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern uint32_t cppIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired(void *, char *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired(void *, VkPhysicalDevice_T *, char *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_024_SetExplicitTimingMode(void *, EVRCompositorTimingMode); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData(void *); -extern bool cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled(void *); -extern bool cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported(void *); -extern bool cppIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_024_SetStageOverride_Async(void *, const char *, const HmdMatrix34_t *, const Compositor_StageRenderSettings *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_024_ClearStageOverride(void *); +struct cppIVRCompositor_IVRCompositor_024_SetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; +}; +extern void cppIVRCompositor_IVRCompositor_024_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_024_SetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_GetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin _ret; +}; +extern void cppIVRCompositor_IVRCompositor_024_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_024_GetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_WaitGetPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_024_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_024_WaitGetPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_GetLastPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_024_GetLastPoses( struct cppIVRCompositor_IVRCompositor_024_GetLastPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; +extern void cppIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_Submit_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + const Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + EVRSubmitFlags nSubmitFlags; +}; +extern void cppIVRCompositor_IVRCompositor_024_Submit( struct cppIVRCompositor_IVRCompositor_024_Submit_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_PostPresentHandoff_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_024_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_024_PostPresentHandoff_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_GetFrameTiming_params +{ + void *linux_side; + bool _ret; + Compositor_FrameTiming *pTiming; + uint32_t unFramesAgo; +}; +extern void cppIVRCompositor_IVRCompositor_024_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_024_GetFrameTiming_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_GetFrameTimings_params +{ + void *linux_side; + uint32_t _ret; + Compositor_FrameTiming *pTiming; + uint32_t nFrames; +}; +extern void cppIVRCompositor_IVRCompositor_024_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_024_GetFrameTimings_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_GetCumulativeStats_params +{ + void *linux_side; + Compositor_CumulativeStats *pStats; + uint32_t nStatsSizeInBytes; +}; +extern void cppIVRCompositor_IVRCompositor_024_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_024_GetCumulativeStats_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_024_FadeToColor( struct cppIVRCompositor_IVRCompositor_024_FadeToColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_GetCurrentFadeColor_params +{ + void *linux_side; + HmdColor_t *_ret; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_024_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_024_GetCurrentFadeColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_FadeGrid_params +{ + void *linux_side; + float fSeconds; + bool bFadeIn; +}; +extern void cppIVRCompositor_IVRCompositor_024_FadeGrid( struct cppIVRCompositor_IVRCompositor_024_FadeGrid_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride_params +{ + void *linux_side; + EVRCompositorError _ret; + const Texture_t *pTextures; + uint32_t unTextureCount; +}; +extern void cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_ClearSkyboxOverride_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_024_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_024_ClearSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_CompositorBringToFront_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_024_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_024_CompositorBringToFront_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_CompositorGoToBack_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_024_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_024_CompositorGoToBack_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_CompositorQuit_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_024_CompositorQuit( struct cppIVRCompositor_IVRCompositor_024_CompositorQuit_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_IsFullscreen_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_024_IsFullscreen( struct cppIVRCompositor_IVRCompositor_024_IsFullscreen_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_024_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_024_GetLastFrameRenderer_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_CanRenderScene_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_024_CanRenderScene( struct cppIVRCompositor_IVRCompositor_024_CanRenderScene_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_ShowMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_024_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_024_ShowMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_HideMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_024_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_024_HideMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_CompositorDumpImages_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_024_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_024_CompositorDumpImages_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + bool bOverride; +}; +extern void cppIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_ForceReconnectProcess_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_024_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_024_ForceReconnectProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_SuspendRendering_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppIVRCompositor_IVRCompositor_024_SuspendRendering( struct cppIVRCompositor_IVRCompositor_024_SuspendRendering_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; +}; +extern void cppIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11_params +{ + void *linux_side; + void *pD3D11ShaderResourceView; +}; +extern void cppIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_GetMirrorTextureGL_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + glUInt_t *pglTextureId; + glSharedTextureHandle_t *pglSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_024_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_024_GetMirrorTextureGL_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture_params +{ + void *linux_side; + bool _ret; + glUInt_t glTextureId; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess_params +{ + void *linux_side; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess_params +{ + void *linux_side; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + char *pchValue; + uint32_t unBufferSize; +}; +extern void cppIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + VkPhysicalDevice_T *pPhysicalDevice; + char *pchValue; + uint32_t unBufferSize; +}; +extern void cppIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_SetExplicitTimingMode_params +{ + void *linux_side; + EVRCompositorTimingMode eTimingMode; +}; +extern void cppIVRCompositor_IVRCompositor_024_SetExplicitTimingMode( struct cppIVRCompositor_IVRCompositor_024_SetExplicitTimingMode_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData_params +{ + void *linux_side; + EVRCompositorError _ret; +}; +extern void cppIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData( struct cppIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled( struct cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported( struct cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading( struct cppIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_SetStageOverride_Async_params +{ + void *linux_side; + EVRCompositorError _ret; + const char *pchRenderModelPath; + const HmdMatrix34_t *pTransform; + const Compositor_StageRenderSettings *pRenderSettings; + uint32_t nSizeOfRenderSettings; +}; +extern void cppIVRCompositor_IVRCompositor_024_SetStageOverride_Async( struct cppIVRCompositor_IVRCompositor_024_SetStageOverride_Async_params *params ); + +struct cppIVRCompositor_IVRCompositor_024_ClearStageOverride_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_024_ClearStageOverride( struct cppIVRCompositor_IVRCompositor_024_ClearStageOverride_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_026.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_026.cpp index 00e5ad09..030439ef 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_026.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_026.cpp @@ -9,319 +9,259 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRCompositor_IVRCompositor_026_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) +void cppIVRCompositor_IVRCompositor_026_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_026_SetTrackingSpace_params *params ) { - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); + ((IVRCompositor*)params->linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)params->eOrigin); } -ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_026_GetTrackingSpace(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_026_GetTrackingSpace_params *params ) { - ETrackingUniverseOrigin _ret; - _ret = ((IVRCompositor*)linux_side)->GetTrackingSpace(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetTrackingSpace(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_026_WaitGetPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_026_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_026_WaitGetPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetLastPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_026_GetLastPoses( struct cppIVRCompositor_IVRCompositor_026_GetLastPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +void cppIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDevicePose_t *)params->pOutputPose, (vr::TrackedDevicePose_t *)params->pOutputGamePose); } -EVRCompositorError cppIVRCompositor_IVRCompositor_026_Submit(void *linux_side, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +void cppIVRCompositor_IVRCompositor_026_Submit( struct cppIVRCompositor_IVRCompositor_026_Submit_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->Submit((vr::EVREye)params->eEye, (const vr::Texture_t *)params->pTexture, (const vr::VRTextureBounds_t *)params->pBounds, (vr::EVRSubmitFlags)params->nSubmitFlags); } -void cppIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame_params *params ) { - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); + ((IVRCompositor*)params->linux_side)->ClearLastSubmittedFrame(); } -void cppIVRCompositor_IVRCompositor_026_PostPresentHandoff(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_026_PostPresentHandoff_params *params ) { - ((IVRCompositor*)linux_side)->PostPresentHandoff(); + ((IVRCompositor*)params->linux_side)->PostPresentHandoff(); } -bool cppIVRCompositor_IVRCompositor_026_GetFrameTiming(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +void cppIVRCompositor_IVRCompositor_026_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_026_GetFrameTiming_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->unFramesAgo); } -uint32_t cppIVRCompositor_IVRCompositor_026_GetFrameTimings(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t nFrames) +void cppIVRCompositor_IVRCompositor_026_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_026_GetFrameTimings_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->nFrames); } -float cppIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimeRemaining(); } -void cppIVRCompositor_IVRCompositor_026_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void cppIVRCompositor_IVRCompositor_026_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_026_GetCumulativeStats_params *params ) { - ((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes); + ((IVRCompositor*)params->linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)params->pStats, (uint32_t)params->nStatsSizeInBytes); } -void cppIVRCompositor_IVRCompositor_026_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void cppIVRCompositor_IVRCompositor_026_FadeToColor( struct cppIVRCompositor_IVRCompositor_026_FadeToColor_params *params ) { - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); + ((IVRCompositor*)params->linux_side)->FadeToColor((float)params->fSeconds, (float)params->fRed, (float)params->fGreen, (float)params->fBlue, (float)params->fAlpha, (bool)params->bBackground); } -HmdColor_t cppIVRCompositor_IVRCompositor_026_GetCurrentFadeColor(void *linux_side, bool bBackground) +void cppIVRCompositor_IVRCompositor_026_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_026_GetCurrentFadeColor_params *params ) { - HmdColor_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentFadeColor((bool)bBackground); - return _ret; + *params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentFadeColor((bool)params->bBackground); } -void cppIVRCompositor_IVRCompositor_026_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) +void cppIVRCompositor_IVRCompositor_026_FadeGrid( struct cppIVRCompositor_IVRCompositor_026_FadeGrid_params *params ) { - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); + ((IVRCompositor*)params->linux_side)->FadeGrid((float)params->fSeconds, (bool)params->bFadeIn); } -float cppIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentGridAlpha(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentGridAlpha(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_026_SetSkyboxOverride(void *linux_side, const Texture_t *pTextures, uint32_t unTextureCount) +void cppIVRCompositor_IVRCompositor_026_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_026_SetSkyboxOverride_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SetSkyboxOverride((const vr::Texture_t *)params->pTextures, (uint32_t)params->unTextureCount); } -void cppIVRCompositor_IVRCompositor_026_ClearSkyboxOverride(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_026_ClearSkyboxOverride_params *params ) { - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); + ((IVRCompositor*)params->linux_side)->ClearSkyboxOverride(); } -void cppIVRCompositor_IVRCompositor_026_CompositorBringToFront(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_026_CompositorBringToFront_params *params ) { - ((IVRCompositor*)linux_side)->CompositorBringToFront(); + ((IVRCompositor*)params->linux_side)->CompositorBringToFront(); } -void cppIVRCompositor_IVRCompositor_026_CompositorGoToBack(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_026_CompositorGoToBack_params *params ) { - ((IVRCompositor*)linux_side)->CompositorGoToBack(); + ((IVRCompositor*)params->linux_side)->CompositorGoToBack(); } -void cppIVRCompositor_IVRCompositor_026_CompositorQuit(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_CompositorQuit( struct cppIVRCompositor_IVRCompositor_026_CompositorQuit_params *params ) { - ((IVRCompositor*)linux_side)->CompositorQuit(); + ((IVRCompositor*)params->linux_side)->CompositorQuit(); } -bool cppIVRCompositor_IVRCompositor_026_IsFullscreen(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_IsFullscreen( struct cppIVRCompositor_IVRCompositor_026_IsFullscreen_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsFullscreen(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsFullscreen(); } -uint32_t cppIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentSceneFocusProcess(); } -uint32_t cppIVRCompositor_IVRCompositor_026_GetLastFrameRenderer(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_026_GetLastFrameRenderer_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastFrameRenderer(); } -bool cppIVRCompositor_IVRCompositor_026_CanRenderScene(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_CanRenderScene( struct cppIVRCompositor_IVRCompositor_026_CanRenderScene_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->CanRenderScene(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->CanRenderScene(); } -void cppIVRCompositor_IVRCompositor_026_ShowMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_026_ShowMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); + ((IVRCompositor*)params->linux_side)->ShowMirrorWindow(); } -void cppIVRCompositor_IVRCompositor_026_HideMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_026_HideMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->HideMirrorWindow(); + ((IVRCompositor*)params->linux_side)->HideMirrorWindow(); } -bool cppIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMirrorWindowVisible(); } -void cppIVRCompositor_IVRCompositor_026_CompositorDumpImages(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_026_CompositorDumpImages_params *params ) { - ((IVRCompositor*)linux_side)->CompositorDumpImages(); + ((IVRCompositor*)params->linux_side)->CompositorDumpImages(); } -bool cppIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ShouldAppRenderWithLowResources(); } -void cppIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) +void cppIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn_params *params ) { - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); + ((IVRCompositor*)params->linux_side)->ForceInterleavedReprojectionOn((bool)params->bOverride); } -void cppIVRCompositor_IVRCompositor_026_ForceReconnectProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_026_ForceReconnectProcess_params *params ) { - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); + ((IVRCompositor*)params->linux_side)->ForceReconnectProcess(); } -void cppIVRCompositor_IVRCompositor_026_SuspendRendering(void *linux_side, bool bSuspend) +void cppIVRCompositor_IVRCompositor_026_SuspendRendering( struct cppIVRCompositor_IVRCompositor_026_SuspendRendering_params *params ) { - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); + ((IVRCompositor*)params->linux_side)->SuspendRendering((bool)params->bSuspend); } -EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +void cppIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetMirrorTextureD3D11((vr::EVREye)params->eEye, (void *)params->pD3D11DeviceOrResource, (void **)params->ppD3D11ShaderResourceView); } -void cppIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11(void *linux_side, void *pD3D11ShaderResourceView) +void cppIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11_params *params ) { - ((IVRCompositor*)linux_side)->ReleaseMirrorTextureD3D11((void *)pD3D11ShaderResourceView); + ((IVRCompositor*)params->linux_side)->ReleaseMirrorTextureD3D11((void *)params->pD3D11ShaderResourceView); } -EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_026_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_026_GetMirrorTextureGL_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetMirrorTextureGL((vr::EVREye)params->eEye, (vr::glUInt_t *)params->pglTextureId, (vr::glSharedTextureHandle_t *)params->pglSharedTextureHandle); } -bool cppIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)params->glTextureId, (vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -void cppIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess_params *params ) { - ((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); + ((IVRCompositor*)params->linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -void cppIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess_params *params ) { - ((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); + ((IVRCompositor*)params->linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -uint32_t cppIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired(void *linux_side, char *pchValue, uint32_t unBufferSize) +void cppIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetVulkanInstanceExtensionsRequired((char *)pchValue, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetVulkanInstanceExtensionsRequired((char *)params->pchValue, (uint32_t)params->unBufferSize); } -uint32_t cppIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired(void *linux_side, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) +void cppIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)pPhysicalDevice, (char *)pchValue, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)params->pPhysicalDevice, (char *)params->pchValue, (uint32_t)params->unBufferSize); } -void cppIVRCompositor_IVRCompositor_026_SetExplicitTimingMode(void *linux_side, EVRCompositorTimingMode eTimingMode) +void cppIVRCompositor_IVRCompositor_026_SetExplicitTimingMode( struct cppIVRCompositor_IVRCompositor_026_SetExplicitTimingMode_params *params ) { - ((IVRCompositor*)linux_side)->SetExplicitTimingMode((vr::EVRCompositorTimingMode)eTimingMode); + ((IVRCompositor*)params->linux_side)->SetExplicitTimingMode((vr::EVRCompositorTimingMode)params->eTimingMode); } -EVRCompositorError cppIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData( struct cppIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SubmitExplicitTimingData(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SubmitExplicitTimingData(); } -bool cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled( struct cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMotionSmoothingEnabled(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMotionSmoothingEnabled(); } -bool cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported( struct cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMotionSmoothingSupported(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMotionSmoothingSupported(); } -bool cppIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading( struct cppIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsCurrentSceneFocusAppLoading(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsCurrentSceneFocusAppLoading(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_026_SetStageOverride_Async(void *linux_side, const char *pchRenderModelPath, const HmdMatrix34_t *pTransform, const Compositor_StageRenderSettings *pRenderSettings, uint32_t nSizeOfRenderSettings) +void cppIVRCompositor_IVRCompositor_026_SetStageOverride_Async( struct cppIVRCompositor_IVRCompositor_026_SetStageOverride_Async_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SetStageOverride_Async((const char *)pchRenderModelPath, (const vr::HmdMatrix34_t *)pTransform, (const vr::Compositor_StageRenderSettings *)pRenderSettings, (uint32_t)nSizeOfRenderSettings); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SetStageOverride_Async((const char *)params->pchRenderModelPath, (const vr::HmdMatrix34_t *)params->pTransform, (const vr::Compositor_StageRenderSettings *)params->pRenderSettings, (uint32_t)params->nSizeOfRenderSettings); } -void cppIVRCompositor_IVRCompositor_026_ClearStageOverride(void *linux_side) +void cppIVRCompositor_IVRCompositor_026_ClearStageOverride( struct cppIVRCompositor_IVRCompositor_026_ClearStageOverride_params *params ) { - ((IVRCompositor*)linux_side)->ClearStageOverride(); + ((IVRCompositor*)params->linux_side)->ClearStageOverride(); } -bool cppIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults(void *linux_side, Compositor_BenchmarkResults *pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) +void cppIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults( struct cppIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->GetCompositorBenchmarkResults((vr::Compositor_BenchmarkResults *)pBenchmarkResults, (uint32_t)nSizeOfBenchmarkResults); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCompositorBenchmarkResults((vr::Compositor_BenchmarkResults *)params->pBenchmarkResults, (uint32_t)params->nSizeOfBenchmarkResults); } -EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs(void *linux_side, uint32_t *pRenderPosePredictionID, uint32_t *pGamePosePredictionID) +void cppIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs( struct cppIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPosePredictionIDs((uint32_t *)pRenderPosePredictionID, (uint32_t *)pGamePosePredictionID); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPosePredictionIDs((uint32_t *)params->pRenderPosePredictionID, (uint32_t *)params->pGamePosePredictionID); } -EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetPosesForFrame(void *linux_side, uint32_t unPosePredictionID, TrackedDevicePose_t *pPoseArray, uint32_t unPoseArrayCount) +void cppIVRCompositor_IVRCompositor_026_GetPosesForFrame( struct cppIVRCompositor_IVRCompositor_026_GetPosesForFrame_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetPosesForFrame((uint32_t)unPosePredictionID, (vr::TrackedDevicePose_t *)pPoseArray, (uint32_t)unPoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetPosesForFrame((uint32_t)params->unPosePredictionID, (vr::TrackedDevicePose_t *)params->pPoseArray, (uint32_t)params->unPoseArrayCount); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_026.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_026.h index 83e00c3a..83947d78 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_026.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_026.h @@ -1,57 +1,405 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRCompositor_IVRCompositor_026_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_026_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_026_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_026_Submit(void *, EVREye, const Texture_t *, const VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_026_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_026_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_026_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_026_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_026_FadeToColor(void *, float, float, float, float, float, bool); -extern HmdColor_t cppIVRCompositor_IVRCompositor_026_GetCurrentFadeColor(void *, bool); -extern void cppIVRCompositor_IVRCompositor_026_FadeGrid(void *, float, bool); -extern float cppIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_026_SetSkyboxOverride(void *, const Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_026_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_026_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_026_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_026_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_026_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_026_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_026_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_026_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_026_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_026_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_026_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_026_SuspendRendering(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11(void *, EVREye, void *, void **); -extern void cppIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11(void *, void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *); -extern bool cppIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern uint32_t cppIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired(void *, char *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired(void *, VkPhysicalDevice_T *, char *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_026_SetExplicitTimingMode(void *, EVRCompositorTimingMode); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData(void *); -extern bool cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled(void *); -extern bool cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported(void *); -extern bool cppIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_026_SetStageOverride_Async(void *, const char *, const HmdMatrix34_t *, const Compositor_StageRenderSettings *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_026_ClearStageOverride(void *); -extern bool cppIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults(void *, Compositor_BenchmarkResults *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs(void *, uint32_t *, uint32_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetPosesForFrame(void *, uint32_t, TrackedDevicePose_t *, uint32_t); +struct cppIVRCompositor_IVRCompositor_026_SetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; +}; +extern void cppIVRCompositor_IVRCompositor_026_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_026_SetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_GetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin _ret; +}; +extern void cppIVRCompositor_IVRCompositor_026_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_026_GetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_WaitGetPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_026_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_026_WaitGetPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_GetLastPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_026_GetLastPoses( struct cppIVRCompositor_IVRCompositor_026_GetLastPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; +extern void cppIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_Submit_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + const Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + EVRSubmitFlags nSubmitFlags; +}; +extern void cppIVRCompositor_IVRCompositor_026_Submit( struct cppIVRCompositor_IVRCompositor_026_Submit_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_PostPresentHandoff_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_026_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_026_PostPresentHandoff_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_GetFrameTiming_params +{ + void *linux_side; + bool _ret; + Compositor_FrameTiming *pTiming; + uint32_t unFramesAgo; +}; +extern void cppIVRCompositor_IVRCompositor_026_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_026_GetFrameTiming_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_GetFrameTimings_params +{ + void *linux_side; + uint32_t _ret; + Compositor_FrameTiming *pTiming; + uint32_t nFrames; +}; +extern void cppIVRCompositor_IVRCompositor_026_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_026_GetFrameTimings_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_GetCumulativeStats_params +{ + void *linux_side; + Compositor_CumulativeStats *pStats; + uint32_t nStatsSizeInBytes; +}; +extern void cppIVRCompositor_IVRCompositor_026_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_026_GetCumulativeStats_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_026_FadeToColor( struct cppIVRCompositor_IVRCompositor_026_FadeToColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_GetCurrentFadeColor_params +{ + void *linux_side; + HmdColor_t *_ret; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_026_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_026_GetCurrentFadeColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_FadeGrid_params +{ + void *linux_side; + float fSeconds; + bool bFadeIn; +}; +extern void cppIVRCompositor_IVRCompositor_026_FadeGrid( struct cppIVRCompositor_IVRCompositor_026_FadeGrid_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_SetSkyboxOverride_params +{ + void *linux_side; + EVRCompositorError _ret; + const Texture_t *pTextures; + uint32_t unTextureCount; +}; +extern void cppIVRCompositor_IVRCompositor_026_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_026_SetSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_ClearSkyboxOverride_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_026_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_026_ClearSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_CompositorBringToFront_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_026_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_026_CompositorBringToFront_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_CompositorGoToBack_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_026_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_026_CompositorGoToBack_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_CompositorQuit_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_026_CompositorQuit( struct cppIVRCompositor_IVRCompositor_026_CompositorQuit_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_IsFullscreen_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_026_IsFullscreen( struct cppIVRCompositor_IVRCompositor_026_IsFullscreen_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_026_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_026_GetLastFrameRenderer_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_CanRenderScene_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_026_CanRenderScene( struct cppIVRCompositor_IVRCompositor_026_CanRenderScene_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_ShowMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_026_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_026_ShowMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_HideMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_026_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_026_HideMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_CompositorDumpImages_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_026_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_026_CompositorDumpImages_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + bool bOverride; +}; +extern void cppIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_ForceReconnectProcess_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_026_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_026_ForceReconnectProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_SuspendRendering_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppIVRCompositor_IVRCompositor_026_SuspendRendering( struct cppIVRCompositor_IVRCompositor_026_SuspendRendering_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; +}; +extern void cppIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11_params +{ + void *linux_side; + void *pD3D11ShaderResourceView; +}; +extern void cppIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_GetMirrorTextureGL_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + glUInt_t *pglTextureId; + glSharedTextureHandle_t *pglSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_026_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_026_GetMirrorTextureGL_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture_params +{ + void *linux_side; + bool _ret; + glUInt_t glTextureId; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess_params +{ + void *linux_side; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess_params +{ + void *linux_side; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + char *pchValue; + uint32_t unBufferSize; +}; +extern void cppIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + VkPhysicalDevice_T *pPhysicalDevice; + char *pchValue; + uint32_t unBufferSize; +}; +extern void cppIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_SetExplicitTimingMode_params +{ + void *linux_side; + EVRCompositorTimingMode eTimingMode; +}; +extern void cppIVRCompositor_IVRCompositor_026_SetExplicitTimingMode( struct cppIVRCompositor_IVRCompositor_026_SetExplicitTimingMode_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData_params +{ + void *linux_side; + EVRCompositorError _ret; +}; +extern void cppIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData( struct cppIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled( struct cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported( struct cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading( struct cppIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_SetStageOverride_Async_params +{ + void *linux_side; + EVRCompositorError _ret; + const char *pchRenderModelPath; + const HmdMatrix34_t *pTransform; + const Compositor_StageRenderSettings *pRenderSettings; + uint32_t nSizeOfRenderSettings; +}; +extern void cppIVRCompositor_IVRCompositor_026_SetStageOverride_Async( struct cppIVRCompositor_IVRCompositor_026_SetStageOverride_Async_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_ClearStageOverride_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_026_ClearStageOverride( struct cppIVRCompositor_IVRCompositor_026_ClearStageOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults_params +{ + void *linux_side; + bool _ret; + Compositor_BenchmarkResults *pBenchmarkResults; + uint32_t nSizeOfBenchmarkResults; +}; +extern void cppIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults( struct cppIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs_params +{ + void *linux_side; + EVRCompositorError _ret; + uint32_t *pRenderPosePredictionID; + uint32_t *pGamePosePredictionID; +}; +extern void cppIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs( struct cppIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs_params *params ); + +struct cppIVRCompositor_IVRCompositor_026_GetPosesForFrame_params +{ + void *linux_side; + EVRCompositorError _ret; + uint32_t unPosePredictionID; + TrackedDevicePose_t *pPoseArray; + uint32_t unPoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_026_GetPosesForFrame( struct cppIVRCompositor_IVRCompositor_026_GetPosesForFrame_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_027.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_027.cpp index 781414bb..5eabc411 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_027.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_027.cpp @@ -9,319 +9,259 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRCompositor_IVRCompositor_027_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) +void cppIVRCompositor_IVRCompositor_027_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_027_SetTrackingSpace_params *params ) { - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); + ((IVRCompositor*)params->linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)params->eOrigin); } -ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_027_GetTrackingSpace(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_027_GetTrackingSpace_params *params ) { - ETrackingUniverseOrigin _ret; - _ret = ((IVRCompositor*)linux_side)->GetTrackingSpace(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetTrackingSpace(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_027_WaitGetPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_027_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_027_WaitGetPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetLastPoses(void *linux_side, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +void cppIVRCompositor_IVRCompositor_027_GetLastPoses( struct cppIVRCompositor_IVRCompositor_027_GetLastPoses_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)params->pRenderPoseArray, (uint32_t)params->unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)params->pGamePoseArray, (uint32_t)params->unGamePoseArrayCount); } -EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +void cppIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDevicePose_t *)params->pOutputPose, (vr::TrackedDevicePose_t *)params->pOutputGamePose); } -EVRCompositorError cppIVRCompositor_IVRCompositor_027_Submit(void *linux_side, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags) +void cppIVRCompositor_IVRCompositor_027_Submit( struct cppIVRCompositor_IVRCompositor_027_Submit_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->Submit((vr::EVREye)params->eEye, (const vr::Texture_t *)params->pTexture, (const vr::VRTextureBounds_t *)params->pBounds, (vr::EVRSubmitFlags)params->nSubmitFlags); } -void cppIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame_params *params ) { - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); + ((IVRCompositor*)params->linux_side)->ClearLastSubmittedFrame(); } -void cppIVRCompositor_IVRCompositor_027_PostPresentHandoff(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_027_PostPresentHandoff_params *params ) { - ((IVRCompositor*)linux_side)->PostPresentHandoff(); + ((IVRCompositor*)params->linux_side)->PostPresentHandoff(); } -bool cppIVRCompositor_IVRCompositor_027_GetFrameTiming(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) +void cppIVRCompositor_IVRCompositor_027_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_027_GetFrameTiming_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->unFramesAgo); } -uint32_t cppIVRCompositor_IVRCompositor_027_GetFrameTimings(void *linux_side, Compositor_FrameTiming *pTiming, uint32_t nFrames) +void cppIVRCompositor_IVRCompositor_027_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_027_GetFrameTimings_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)params->pTiming, (uint32_t)params->nFrames); } -float cppIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetFrameTimeRemaining(); } -void cppIVRCompositor_IVRCompositor_027_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) +void cppIVRCompositor_IVRCompositor_027_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_027_GetCumulativeStats_params *params ) { - ((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes); + ((IVRCompositor*)params->linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)params->pStats, (uint32_t)params->nStatsSizeInBytes); } -void cppIVRCompositor_IVRCompositor_027_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void cppIVRCompositor_IVRCompositor_027_FadeToColor( struct cppIVRCompositor_IVRCompositor_027_FadeToColor_params *params ) { - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); + ((IVRCompositor*)params->linux_side)->FadeToColor((float)params->fSeconds, (float)params->fRed, (float)params->fGreen, (float)params->fBlue, (float)params->fAlpha, (bool)params->bBackground); } -HmdColor_t cppIVRCompositor_IVRCompositor_027_GetCurrentFadeColor(void *linux_side, bool bBackground) +void cppIVRCompositor_IVRCompositor_027_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_027_GetCurrentFadeColor_params *params ) { - HmdColor_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentFadeColor((bool)bBackground); - return _ret; + *params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentFadeColor((bool)params->bBackground); } -void cppIVRCompositor_IVRCompositor_027_FadeGrid(void *linux_side, float fSeconds, bool bFadeGridIn) +void cppIVRCompositor_IVRCompositor_027_FadeGrid( struct cppIVRCompositor_IVRCompositor_027_FadeGrid_params *params ) { - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeGridIn); + ((IVRCompositor*)params->linux_side)->FadeGrid((float)params->fSeconds, (bool)params->bFadeGridIn); } -float cppIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha_params *params ) { - float _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentGridAlpha(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentGridAlpha(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride(void *linux_side, const Texture_t *pTextures, uint32_t unTextureCount) +void cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SetSkyboxOverride((const vr::Texture_t *)params->pTextures, (uint32_t)params->unTextureCount); } -void cppIVRCompositor_IVRCompositor_027_ClearSkyboxOverride(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_027_ClearSkyboxOverride_params *params ) { - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); + ((IVRCompositor*)params->linux_side)->ClearSkyboxOverride(); } -void cppIVRCompositor_IVRCompositor_027_CompositorBringToFront(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_027_CompositorBringToFront_params *params ) { - ((IVRCompositor*)linux_side)->CompositorBringToFront(); + ((IVRCompositor*)params->linux_side)->CompositorBringToFront(); } -void cppIVRCompositor_IVRCompositor_027_CompositorGoToBack(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_027_CompositorGoToBack_params *params ) { - ((IVRCompositor*)linux_side)->CompositorGoToBack(); + ((IVRCompositor*)params->linux_side)->CompositorGoToBack(); } -void cppIVRCompositor_IVRCompositor_027_CompositorQuit(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_CompositorQuit( struct cppIVRCompositor_IVRCompositor_027_CompositorQuit_params *params ) { - ((IVRCompositor*)linux_side)->CompositorQuit(); + ((IVRCompositor*)params->linux_side)->CompositorQuit(); } -bool cppIVRCompositor_IVRCompositor_027_IsFullscreen(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_IsFullscreen( struct cppIVRCompositor_IVRCompositor_027_IsFullscreen_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsFullscreen(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsFullscreen(); } -uint32_t cppIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCurrentSceneFocusProcess(); } -uint32_t cppIVRCompositor_IVRCompositor_027_GetLastFrameRenderer(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_027_GetLastFrameRenderer_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastFrameRenderer(); } -bool cppIVRCompositor_IVRCompositor_027_CanRenderScene(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_CanRenderScene( struct cppIVRCompositor_IVRCompositor_027_CanRenderScene_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->CanRenderScene(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->CanRenderScene(); } -void cppIVRCompositor_IVRCompositor_027_ShowMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_027_ShowMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); + ((IVRCompositor*)params->linux_side)->ShowMirrorWindow(); } -void cppIVRCompositor_IVRCompositor_027_HideMirrorWindow(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_027_HideMirrorWindow_params *params ) { - ((IVRCompositor*)linux_side)->HideMirrorWindow(); + ((IVRCompositor*)params->linux_side)->HideMirrorWindow(); } -bool cppIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMirrorWindowVisible(); } -void cppIVRCompositor_IVRCompositor_027_CompositorDumpImages(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_027_CompositorDumpImages_params *params ) { - ((IVRCompositor*)linux_side)->CompositorDumpImages(); + ((IVRCompositor*)params->linux_side)->CompositorDumpImages(); } -bool cppIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ShouldAppRenderWithLowResources(); } -void cppIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) +void cppIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn_params *params ) { - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); + ((IVRCompositor*)params->linux_side)->ForceInterleavedReprojectionOn((bool)params->bOverride); } -void cppIVRCompositor_IVRCompositor_027_ForceReconnectProcess(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_027_ForceReconnectProcess_params *params ) { - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); + ((IVRCompositor*)params->linux_side)->ForceReconnectProcess(); } -void cppIVRCompositor_IVRCompositor_027_SuspendRendering(void *linux_side, bool bSuspend) +void cppIVRCompositor_IVRCompositor_027_SuspendRendering( struct cppIVRCompositor_IVRCompositor_027_SuspendRendering_params *params ) { - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); + ((IVRCompositor*)params->linux_side)->SuspendRendering((bool)params->bSuspend); } -EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +void cppIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetMirrorTextureD3D11((vr::EVREye)params->eEye, (void *)params->pD3D11DeviceOrResource, (void **)params->ppD3D11ShaderResourceView); } -void cppIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11(void *linux_side, void *pD3D11ShaderResourceView) +void cppIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11_params *params ) { - ((IVRCompositor*)linux_side)->ReleaseMirrorTextureD3D11((void *)pD3D11ShaderResourceView); + ((IVRCompositor*)params->linux_side)->ReleaseMirrorTextureD3D11((void *)params->pD3D11ShaderResourceView); } -EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_027_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_027_GetMirrorTextureGL_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetMirrorTextureGL((vr::EVREye)params->eEye, (vr::glUInt_t *)params->pglTextureId, (vr::glSharedTextureHandle_t *)params->pglSharedTextureHandle); } -bool cppIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)params->glTextureId, (vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -void cppIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess_params *params ) { - ((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); + ((IVRCompositor*)params->linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -void cppIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) +void cppIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess_params *params ) { - ((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); + ((IVRCompositor*)params->linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)params->glSharedTextureHandle); } -uint32_t cppIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired(void *linux_side, char *pchValue, uint32_t unBufferSize) +void cppIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetVulkanInstanceExtensionsRequired((char *)pchValue, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetVulkanInstanceExtensionsRequired((char *)params->pchValue, (uint32_t)params->unBufferSize); } -uint32_t cppIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired(void *linux_side, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) +void cppIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired_params *params ) { - uint32_t _ret; - _ret = ((IVRCompositor*)linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)pPhysicalDevice, (char *)pchValue, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)params->pPhysicalDevice, (char *)params->pchValue, (uint32_t)params->unBufferSize); } -void cppIVRCompositor_IVRCompositor_027_SetExplicitTimingMode(void *linux_side, EVRCompositorTimingMode eTimingMode) +void cppIVRCompositor_IVRCompositor_027_SetExplicitTimingMode( struct cppIVRCompositor_IVRCompositor_027_SetExplicitTimingMode_params *params ) { - ((IVRCompositor*)linux_side)->SetExplicitTimingMode((vr::EVRCompositorTimingMode)eTimingMode); + ((IVRCompositor*)params->linux_side)->SetExplicitTimingMode((vr::EVRCompositorTimingMode)params->eTimingMode); } -EVRCompositorError cppIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData( struct cppIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SubmitExplicitTimingData(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SubmitExplicitTimingData(); } -bool cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled( struct cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMotionSmoothingEnabled(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMotionSmoothingEnabled(); } -bool cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported( struct cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsMotionSmoothingSupported(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsMotionSmoothingSupported(); } -bool cppIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading( struct cppIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->IsCurrentSceneFocusAppLoading(); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->IsCurrentSceneFocusAppLoading(); } -EVRCompositorError cppIVRCompositor_IVRCompositor_027_SetStageOverride_Async(void *linux_side, const char *pchRenderModelPath, const HmdMatrix34_t *pTransform, const Compositor_StageRenderSettings *pRenderSettings, uint32_t nSizeOfRenderSettings) +void cppIVRCompositor_IVRCompositor_027_SetStageOverride_Async( struct cppIVRCompositor_IVRCompositor_027_SetStageOverride_Async_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->SetStageOverride_Async((const char *)pchRenderModelPath, (const vr::HmdMatrix34_t *)pTransform, (const vr::Compositor_StageRenderSettings *)pRenderSettings, (uint32_t)nSizeOfRenderSettings); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->SetStageOverride_Async((const char *)params->pchRenderModelPath, (const vr::HmdMatrix34_t *)params->pTransform, (const vr::Compositor_StageRenderSettings *)params->pRenderSettings, (uint32_t)params->nSizeOfRenderSettings); } -void cppIVRCompositor_IVRCompositor_027_ClearStageOverride(void *linux_side) +void cppIVRCompositor_IVRCompositor_027_ClearStageOverride( struct cppIVRCompositor_IVRCompositor_027_ClearStageOverride_params *params ) { - ((IVRCompositor*)linux_side)->ClearStageOverride(); + ((IVRCompositor*)params->linux_side)->ClearStageOverride(); } -bool cppIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults(void *linux_side, Compositor_BenchmarkResults *pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) +void cppIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults( struct cppIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults_params *params ) { - bool _ret; - _ret = ((IVRCompositor*)linux_side)->GetCompositorBenchmarkResults((vr::Compositor_BenchmarkResults *)pBenchmarkResults, (uint32_t)nSizeOfBenchmarkResults); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetCompositorBenchmarkResults((vr::Compositor_BenchmarkResults *)params->pBenchmarkResults, (uint32_t)params->nSizeOfBenchmarkResults); } -EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs(void *linux_side, uint32_t *pRenderPosePredictionID, uint32_t *pGamePosePredictionID) +void cppIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs( struct cppIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetLastPosePredictionIDs((uint32_t *)pRenderPosePredictionID, (uint32_t *)pGamePosePredictionID); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetLastPosePredictionIDs((uint32_t *)params->pRenderPosePredictionID, (uint32_t *)params->pGamePosePredictionID); } -EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetPosesForFrame(void *linux_side, uint32_t unPosePredictionID, TrackedDevicePose_t *pPoseArray, uint32_t unPoseArrayCount) +void cppIVRCompositor_IVRCompositor_027_GetPosesForFrame( struct cppIVRCompositor_IVRCompositor_027_GetPosesForFrame_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRCompositor*)linux_side)->GetPosesForFrame((uint32_t)unPosePredictionID, (vr::TrackedDevicePose_t *)pPoseArray, (uint32_t)unPoseArrayCount); - return _ret; + params->_ret = ((IVRCompositor*)params->linux_side)->GetPosesForFrame((uint32_t)params->unPosePredictionID, (vr::TrackedDevicePose_t *)params->pPoseArray, (uint32_t)params->unPoseArrayCount); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_027.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_027.h index 43aa0046..956e5a10 100644 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_027.h +++ b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_027.h @@ -1,57 +1,405 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRCompositor_IVRCompositor_027_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_027_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_027_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_027_Submit(void *, EVREye, const Texture_t *, const VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_027_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_027_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_027_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_027_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_027_FadeToColor(void *, float, float, float, float, float, bool); -extern HmdColor_t cppIVRCompositor_IVRCompositor_027_GetCurrentFadeColor(void *, bool); -extern void cppIVRCompositor_IVRCompositor_027_FadeGrid(void *, float, bool); -extern float cppIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride(void *, const Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_027_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_027_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_027_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_027_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_027_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_027_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_027_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_027_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_027_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_027_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_027_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_027_SuspendRendering(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11(void *, EVREye, void *, void **); -extern void cppIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11(void *, void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *); -extern bool cppIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern uint32_t cppIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired(void *, char *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired(void *, VkPhysicalDevice_T *, char *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_027_SetExplicitTimingMode(void *, EVRCompositorTimingMode); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData(void *); -extern bool cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled(void *); -extern bool cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported(void *); -extern bool cppIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_027_SetStageOverride_Async(void *, const char *, const HmdMatrix34_t *, const Compositor_StageRenderSettings *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_027_ClearStageOverride(void *); -extern bool cppIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults(void *, Compositor_BenchmarkResults *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs(void *, uint32_t *, uint32_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetPosesForFrame(void *, uint32_t, TrackedDevicePose_t *, uint32_t); +struct cppIVRCompositor_IVRCompositor_027_SetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; +}; +extern void cppIVRCompositor_IVRCompositor_027_SetTrackingSpace( struct cppIVRCompositor_IVRCompositor_027_SetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_GetTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin _ret; +}; +extern void cppIVRCompositor_IVRCompositor_027_GetTrackingSpace( struct cppIVRCompositor_IVRCompositor_027_GetTrackingSpace_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_WaitGetPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_027_WaitGetPoses( struct cppIVRCompositor_IVRCompositor_027_WaitGetPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_GetLastPoses_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_027_GetLastPoses( struct cppIVRCompositor_IVRCompositor_027_GetLastPoses_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + EVRCompositorError _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; +extern void cppIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex( struct cppIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_Submit_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + const Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + EVRSubmitFlags nSubmitFlags; +}; +extern void cppIVRCompositor_IVRCompositor_027_Submit( struct cppIVRCompositor_IVRCompositor_027_Submit_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame( struct cppIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_PostPresentHandoff_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_027_PostPresentHandoff( struct cppIVRCompositor_IVRCompositor_027_PostPresentHandoff_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_GetFrameTiming_params +{ + void *linux_side; + bool _ret; + Compositor_FrameTiming *pTiming; + uint32_t unFramesAgo; +}; +extern void cppIVRCompositor_IVRCompositor_027_GetFrameTiming( struct cppIVRCompositor_IVRCompositor_027_GetFrameTiming_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_GetFrameTimings_params +{ + void *linux_side; + uint32_t _ret; + Compositor_FrameTiming *pTiming; + uint32_t nFrames; +}; +extern void cppIVRCompositor_IVRCompositor_027_GetFrameTimings( struct cppIVRCompositor_IVRCompositor_027_GetFrameTimings_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining( struct cppIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_GetCumulativeStats_params +{ + void *linux_side; + Compositor_CumulativeStats *pStats; + uint32_t nStatsSizeInBytes; +}; +extern void cppIVRCompositor_IVRCompositor_027_GetCumulativeStats( struct cppIVRCompositor_IVRCompositor_027_GetCumulativeStats_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_027_FadeToColor( struct cppIVRCompositor_IVRCompositor_027_FadeToColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_GetCurrentFadeColor_params +{ + void *linux_side; + HmdColor_t *_ret; + bool bBackground; +}; +extern void cppIVRCompositor_IVRCompositor_027_GetCurrentFadeColor( struct cppIVRCompositor_IVRCompositor_027_GetCurrentFadeColor_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_FadeGrid_params +{ + void *linux_side; + float fSeconds; + bool bFadeGridIn; +}; +extern void cppIVRCompositor_IVRCompositor_027_FadeGrid( struct cppIVRCompositor_IVRCompositor_027_FadeGrid_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha( struct cppIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride_params +{ + void *linux_side; + EVRCompositorError _ret; + const Texture_t *pTextures; + uint32_t unTextureCount; +}; +extern void cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride( struct cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_ClearSkyboxOverride_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_027_ClearSkyboxOverride( struct cppIVRCompositor_IVRCompositor_027_ClearSkyboxOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_CompositorBringToFront_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_027_CompositorBringToFront( struct cppIVRCompositor_IVRCompositor_027_CompositorBringToFront_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_CompositorGoToBack_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_027_CompositorGoToBack( struct cppIVRCompositor_IVRCompositor_027_CompositorGoToBack_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_CompositorQuit_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_027_CompositorQuit( struct cppIVRCompositor_IVRCompositor_027_CompositorQuit_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_IsFullscreen_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_027_IsFullscreen( struct cppIVRCompositor_IVRCompositor_027_IsFullscreen_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess( struct cppIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRCompositor_IVRCompositor_027_GetLastFrameRenderer( struct cppIVRCompositor_IVRCompositor_027_GetLastFrameRenderer_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_CanRenderScene_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_027_CanRenderScene( struct cppIVRCompositor_IVRCompositor_027_CanRenderScene_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_ShowMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_027_ShowMirrorWindow( struct cppIVRCompositor_IVRCompositor_027_ShowMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_HideMirrorWindow_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_027_HideMirrorWindow( struct cppIVRCompositor_IVRCompositor_027_HideMirrorWindow_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible( struct cppIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_CompositorDumpImages_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_027_CompositorDumpImages( struct cppIVRCompositor_IVRCompositor_027_CompositorDumpImages_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources( struct cppIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + bool bOverride; +}; +extern void cppIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn( struct cppIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_ForceReconnectProcess_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_027_ForceReconnectProcess( struct cppIVRCompositor_IVRCompositor_027_ForceReconnectProcess_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_SuspendRendering_params +{ + void *linux_side; + bool bSuspend; +}; +extern void cppIVRCompositor_IVRCompositor_027_SuspendRendering( struct cppIVRCompositor_IVRCompositor_027_SuspendRendering_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; +}; +extern void cppIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11_params +{ + void *linux_side; + void *pD3D11ShaderResourceView; +}; +extern void cppIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11( struct cppIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_GetMirrorTextureGL_params +{ + void *linux_side; + EVRCompositorError _ret; + EVREye eEye; + glUInt_t *pglTextureId; + glSharedTextureHandle_t *pglSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_027_GetMirrorTextureGL( struct cppIVRCompositor_IVRCompositor_027_GetMirrorTextureGL_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture_params +{ + void *linux_side; + bool _ret; + glUInt_t glTextureId; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture( struct cppIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess_params +{ + void *linux_side; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess_params +{ + void *linux_side; + glSharedTextureHandle_t glSharedTextureHandle; +}; +extern void cppIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess( struct cppIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + char *pchValue; + uint32_t unBufferSize; +}; +extern void cppIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + VkPhysicalDevice_T *pPhysicalDevice; + char *pchValue; + uint32_t unBufferSize; +}; +extern void cppIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired( struct cppIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_SetExplicitTimingMode_params +{ + void *linux_side; + EVRCompositorTimingMode eTimingMode; +}; +extern void cppIVRCompositor_IVRCompositor_027_SetExplicitTimingMode( struct cppIVRCompositor_IVRCompositor_027_SetExplicitTimingMode_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData_params +{ + void *linux_side; + EVRCompositorError _ret; +}; +extern void cppIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData( struct cppIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled( struct cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported( struct cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading( struct cppIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_SetStageOverride_Async_params +{ + void *linux_side; + EVRCompositorError _ret; + const char *pchRenderModelPath; + const HmdMatrix34_t *pTransform; + const Compositor_StageRenderSettings *pRenderSettings; + uint32_t nSizeOfRenderSettings; +}; +extern void cppIVRCompositor_IVRCompositor_027_SetStageOverride_Async( struct cppIVRCompositor_IVRCompositor_027_SetStageOverride_Async_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_ClearStageOverride_params +{ + void *linux_side; +}; +extern void cppIVRCompositor_IVRCompositor_027_ClearStageOverride( struct cppIVRCompositor_IVRCompositor_027_ClearStageOverride_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults_params +{ + void *linux_side; + bool _ret; + Compositor_BenchmarkResults *pBenchmarkResults; + uint32_t nSizeOfBenchmarkResults; +}; +extern void cppIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults( struct cppIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs_params +{ + void *linux_side; + EVRCompositorError _ret; + uint32_t *pRenderPosePredictionID; + uint32_t *pGamePosePredictionID; +}; +extern void cppIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs( struct cppIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs_params *params ); + +struct cppIVRCompositor_IVRCompositor_027_GetPosesForFrame_params +{ + void *linux_side; + EVRCompositorError _ret; + uint32_t unPosePredictionID; + TrackedDevicePose_t *pPoseArray; + uint32_t unPoseArrayCount; +}; +extern void cppIVRCompositor_IVRCompositor_027_GetPosesForFrame( struct cppIVRCompositor_IVRCompositor_027_GetPosesForFrame_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.cpp b/vrclient_x64/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.cpp index a2eafee6..ae189284 100644 --- a/vrclient_x64/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.cpp @@ -9,182 +9,144 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc1(void *linux_side) +void cppIVRControlPanel_IVRControlPanel_006_undoc1( struct cppIVRControlPanel_IVRControlPanel_006_undoc1_params *params ) { - uint32_t _ret; - _ret = ((IVRControlPanel*)linux_side)->undoc1(); - return _ret; + params->_ret = ((IVRControlPanel*)params->linux_side)->undoc1(); } -uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc2(void *linux_side, uint32_t a, char *b, uint32_t c) +void cppIVRControlPanel_IVRControlPanel_006_undoc2( struct cppIVRControlPanel_IVRControlPanel_006_undoc2_params *params ) { - uint32_t _ret; - _ret = ((IVRControlPanel*)linux_side)->undoc2((uint32_t)a, (char *)b, (uint32_t)c); - return _ret; + params->_ret = ((IVRControlPanel*)params->linux_side)->undoc2((uint32_t)params->a, (char *)params->b, (uint32_t)params->c); } -EVRInitError cppIVRControlPanel_IVRControlPanel_006_undoc3(void *linux_side, const char *a) +void cppIVRControlPanel_IVRControlPanel_006_undoc3( struct cppIVRControlPanel_IVRControlPanel_006_undoc3_params *params ) { - EVRInitError _ret; - _ret = ((IVRControlPanel*)linux_side)->undoc3((const char *)a); - return _ret; + params->_ret = ((IVRControlPanel*)params->linux_side)->undoc3((const char *)params->a); } -uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc4(void *linux_side, const char *a) +void cppIVRControlPanel_IVRControlPanel_006_undoc4( struct cppIVRControlPanel_IVRControlPanel_006_undoc4_params *params ) { - uint32_t _ret; - _ret = ((IVRControlPanel*)linux_side)->undoc4((const char *)a); - return _ret; + params->_ret = ((IVRControlPanel*)params->linux_side)->undoc4((const char *)params->a); } -uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc5(void *linux_side, const char *a, uint32_t b, char *c, uint32_t d) +void cppIVRControlPanel_IVRControlPanel_006_undoc5( struct cppIVRControlPanel_IVRControlPanel_006_undoc5_params *params ) { - uint32_t _ret; - _ret = ((IVRControlPanel*)linux_side)->undoc5((const char *)a, (uint32_t)b, (char *)c, (uint32_t)d); - return _ret; + params->_ret = ((IVRControlPanel*)params->linux_side)->undoc5((const char *)params->a, (uint32_t)params->b, (char *)params->c, (uint32_t)params->d); } -uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc6(void *linux_side, const char *a, const char *b, char *c, uint32_t d) +void cppIVRControlPanel_IVRControlPanel_006_undoc6( struct cppIVRControlPanel_IVRControlPanel_006_undoc6_params *params ) { - uint32_t _ret; - _ret = ((IVRControlPanel*)linux_side)->undoc6((const char *)a, (const char *)b, (char *)c, (uint32_t)d); - return _ret; + params->_ret = ((IVRControlPanel*)params->linux_side)->undoc6((const char *)params->a, (const char *)params->b, (char *)params->c, (uint32_t)params->d); } -uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc7(void *linux_side, const char *a, const char *b, char *c, uint32_t d) +void cppIVRControlPanel_IVRControlPanel_006_undoc7( struct cppIVRControlPanel_IVRControlPanel_006_undoc7_params *params ) { - uint32_t _ret; - _ret = ((IVRControlPanel*)linux_side)->undoc7((const char *)a, (const char *)b, (char *)c, (uint32_t)d); - return _ret; + params->_ret = ((IVRControlPanel*)params->linux_side)->undoc7((const char *)params->a, (const char *)params->b, (char *)params->c, (uint32_t)params->d); } -bool cppIVRControlPanel_IVRControlPanel_006_undoc8(void *linux_side, uint32_t a) +void cppIVRControlPanel_IVRControlPanel_006_undoc8( struct cppIVRControlPanel_IVRControlPanel_006_undoc8_params *params ) { - bool _ret; - _ret = ((IVRControlPanel*)linux_side)->undoc8((uint32_t)a); - return _ret; + params->_ret = ((IVRControlPanel*)params->linux_side)->undoc8((uint32_t)params->a); } -void cppIVRControlPanel_IVRControlPanel_006_undoc9(void *linux_side) +void cppIVRControlPanel_IVRControlPanel_006_undoc9( struct cppIVRControlPanel_IVRControlPanel_006_undoc9_params *params ) { - ((IVRControlPanel*)linux_side)->undoc9(); + ((IVRControlPanel*)params->linux_side)->undoc9(); } -void cppIVRControlPanel_IVRControlPanel_006_undoc10(void *linux_side) +void cppIVRControlPanel_IVRControlPanel_006_undoc10( struct cppIVRControlPanel_IVRControlPanel_006_undoc10_params *params ) { - ((IVRControlPanel*)linux_side)->undoc10(); + ((IVRControlPanel*)params->linux_side)->undoc10(); } -bool cppIVRControlPanel_IVRControlPanel_006_undoc11(void *linux_side, uint32_t a) +void cppIVRControlPanel_IVRControlPanel_006_undoc11( struct cppIVRControlPanel_IVRControlPanel_006_undoc11_params *params ) { - bool _ret; - _ret = ((IVRControlPanel*)linux_side)->undoc11((uint32_t)a); - return _ret; + params->_ret = ((IVRControlPanel*)params->linux_side)->undoc11((uint32_t)params->a); } -void cppIVRControlPanel_IVRControlPanel_006_undoc12(void *linux_side) +void cppIVRControlPanel_IVRControlPanel_006_undoc12( struct cppIVRControlPanel_IVRControlPanel_006_undoc12_params *params ) { - ((IVRControlPanel*)linux_side)->undoc12(); + ((IVRControlPanel*)params->linux_side)->undoc12(); } -void cppIVRControlPanel_IVRControlPanel_006_undoc13(void *linux_side, TrackedDeviceIndex_t a) +void cppIVRControlPanel_IVRControlPanel_006_undoc13( struct cppIVRControlPanel_IVRControlPanel_006_undoc13_params *params ) { - ((IVRControlPanel*)linux_side)->undoc13((vr::TrackedDeviceIndex_t)a); + ((IVRControlPanel*)params->linux_side)->undoc13((vr::TrackedDeviceIndex_t)params->a); } -void cppIVRControlPanel_IVRControlPanel_006_undoc14(void *linux_side, EVRState a) +void cppIVRControlPanel_IVRControlPanel_006_undoc14( struct cppIVRControlPanel_IVRControlPanel_006_undoc14_params *params ) { - ((IVRControlPanel*)linux_side)->undoc14((vr::EVRState)a); + ((IVRControlPanel*)params->linux_side)->undoc14((vr::EVRState)params->a); } -EVRState cppIVRControlPanel_IVRControlPanel_006_undoc15(void *linux_side) +void cppIVRControlPanel_IVRControlPanel_006_undoc15( struct cppIVRControlPanel_IVRControlPanel_006_undoc15_params *params ) { - EVRState _ret; - _ret = ((IVRControlPanel*)linux_side)->undoc15(); - return _ret; + params->_ret = ((IVRControlPanel*)params->linux_side)->undoc15(); } -void cppIVRControlPanel_IVRControlPanel_006_undoc16(void *linux_side, bool a) +void cppIVRControlPanel_IVRControlPanel_006_undoc16( struct cppIVRControlPanel_IVRControlPanel_006_undoc16_params *params ) { - ((IVRControlPanel*)linux_side)->undoc16((bool)a); + ((IVRControlPanel*)params->linux_side)->undoc16((bool)params->a); } -bool cppIVRControlPanel_IVRControlPanel_006_undoc17(void *linux_side) +void cppIVRControlPanel_IVRControlPanel_006_undoc17( struct cppIVRControlPanel_IVRControlPanel_006_undoc17_params *params ) { - bool _ret; - _ret = ((IVRControlPanel*)linux_side)->undoc17(); - return _ret; + params->_ret = ((IVRControlPanel*)params->linux_side)->undoc17(); } -EVRApplicationError cppIVRControlPanel_IVRControlPanel_006_undoc18(void *linux_side) +void cppIVRControlPanel_IVRControlPanel_006_undoc18( struct cppIVRControlPanel_IVRControlPanel_006_undoc18_params *params ) { - EVRApplicationError _ret; - _ret = ((IVRControlPanel*)linux_side)->undoc18(); - return _ret; + params->_ret = ((IVRControlPanel*)params->linux_side)->undoc18(); } -void cppIVRControlPanel_IVRControlPanel_006_undoc19(void *linux_side, bool a) +void cppIVRControlPanel_IVRControlPanel_006_undoc19( struct cppIVRControlPanel_IVRControlPanel_006_undoc19_params *params ) { - ((IVRControlPanel*)linux_side)->undoc19((bool)a); + ((IVRControlPanel*)params->linux_side)->undoc19((bool)params->a); } -bool cppIVRControlPanel_IVRControlPanel_006_undoc20(void *linux_side) +void cppIVRControlPanel_IVRControlPanel_006_undoc20( struct cppIVRControlPanel_IVRControlPanel_006_undoc20_params *params ) { - bool _ret; - _ret = ((IVRControlPanel*)linux_side)->undoc20(); - return _ret; + params->_ret = ((IVRControlPanel*)params->linux_side)->undoc20(); } -EVRInitError cppIVRControlPanel_IVRControlPanel_006_undoc21(void *linux_side) +void cppIVRControlPanel_IVRControlPanel_006_undoc21( struct cppIVRControlPanel_IVRControlPanel_006_undoc21_params *params ) { - EVRInitError _ret; - _ret = ((IVRControlPanel*)linux_side)->undoc21(); - return _ret; + params->_ret = ((IVRControlPanel*)params->linux_side)->undoc21(); } -void cppIVRControlPanel_IVRControlPanel_006_undoc22(void *linux_side, WebConsoleHandle_t a, const char *b, uint32_t c, uint32_t d, const char *e) +void cppIVRControlPanel_IVRControlPanel_006_undoc22( struct cppIVRControlPanel_IVRControlPanel_006_undoc22_params *params ) { - ((IVRControlPanel*)linux_side)->undoc22((vr::WebConsoleHandle_t)a, (const char *)b, (uint32_t)c, (uint32_t)d, (const char *)e); + ((IVRControlPanel*)params->linux_side)->undoc22((vr::WebConsoleHandle_t)params->a, (const char *)params->b, (uint32_t)params->c, (uint32_t)params->d, (const char *)params->e); } -bool cppIVRControlPanel_IVRControlPanel_006_undoc23(void *linux_side, const char *a) +void cppIVRControlPanel_IVRControlPanel_006_undoc23( struct cppIVRControlPanel_IVRControlPanel_006_undoc23_params *params ) { - bool _ret; - _ret = ((IVRControlPanel*)linux_side)->undoc23((const char *)a); - return _ret; + params->_ret = ((IVRControlPanel*)params->linux_side)->undoc23((const char *)params->a); } -bool cppIVRControlPanel_IVRControlPanel_006_undoc24(void *linux_side) +void cppIVRControlPanel_IVRControlPanel_006_undoc24( struct cppIVRControlPanel_IVRControlPanel_006_undoc24_params *params ) { - bool _ret; - _ret = ((IVRControlPanel*)linux_side)->undoc24(); - return _ret; + params->_ret = ((IVRControlPanel*)params->linux_side)->undoc24(); } -bool cppIVRControlPanel_IVRControlPanel_006_undoc25(void *linux_side, bool a) +void cppIVRControlPanel_IVRControlPanel_006_undoc25( struct cppIVRControlPanel_IVRControlPanel_006_undoc25_params *params ) { - bool _ret; - _ret = ((IVRControlPanel*)linux_side)->undoc25((bool)a); - return _ret; + params->_ret = ((IVRControlPanel*)params->linux_side)->undoc25((bool)params->a); } -uint64_t cppIVRControlPanel_IVRControlPanel_006_undoc26(void *linux_side) +void cppIVRControlPanel_IVRControlPanel_006_undoc26( struct cppIVRControlPanel_IVRControlPanel_006_undoc26_params *params ) { - uint64_t _ret; - _ret = ((IVRControlPanel*)linux_side)->undoc26(); - return _ret; + params->_ret = ((IVRControlPanel*)params->linux_side)->undoc26(); } -EVRCompositorError cppIVRControlPanel_IVRControlPanel_006_undoc27(void *linux_side, const char *a) +void cppIVRControlPanel_IVRControlPanel_006_undoc27( struct cppIVRControlPanel_IVRControlPanel_006_undoc27_params *params ) { - EVRCompositorError _ret; - _ret = ((IVRControlPanel*)linux_side)->undoc27((const char *)a); - return _ret; + params->_ret = ((IVRControlPanel*)params->linux_side)->undoc27((const char *)params->a); } -void cppIVRControlPanel_IVRControlPanel_006_undoc28(void *linux_side, VROverlayHandle_t a) +void cppIVRControlPanel_IVRControlPanel_006_undoc28( struct cppIVRControlPanel_IVRControlPanel_006_undoc28_params *params ) { - ((IVRControlPanel*)linux_side)->undoc28((vr::VROverlayHandle_t)a); + ((IVRControlPanel*)params->linux_side)->undoc28((vr::VROverlayHandle_t)params->a); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.h b/vrclient_x64/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.h index f35c8b7e..57828529 100644 --- a/vrclient_x64/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.h +++ b/vrclient_x64/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.h @@ -1,34 +1,225 @@ #ifdef __cplusplus extern "C" { #endif -extern uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc1(void *); -extern uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc2(void *, uint32_t, char *, uint32_t); -extern EVRInitError cppIVRControlPanel_IVRControlPanel_006_undoc3(void *, const char *); -extern uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc4(void *, const char *); -extern uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc5(void *, const char *, uint32_t, char *, uint32_t); -extern uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc6(void *, const char *, const char *, char *, uint32_t); -extern uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc7(void *, const char *, const char *, char *, uint32_t); -extern bool cppIVRControlPanel_IVRControlPanel_006_undoc8(void *, uint32_t); -extern void cppIVRControlPanel_IVRControlPanel_006_undoc9(void *); -extern void cppIVRControlPanel_IVRControlPanel_006_undoc10(void *); -extern bool cppIVRControlPanel_IVRControlPanel_006_undoc11(void *, uint32_t); -extern void cppIVRControlPanel_IVRControlPanel_006_undoc12(void *); -extern void cppIVRControlPanel_IVRControlPanel_006_undoc13(void *, TrackedDeviceIndex_t); -extern void cppIVRControlPanel_IVRControlPanel_006_undoc14(void *, EVRState); -extern EVRState cppIVRControlPanel_IVRControlPanel_006_undoc15(void *); -extern void cppIVRControlPanel_IVRControlPanel_006_undoc16(void *, bool); -extern bool cppIVRControlPanel_IVRControlPanel_006_undoc17(void *); -extern EVRApplicationError cppIVRControlPanel_IVRControlPanel_006_undoc18(void *); -extern void cppIVRControlPanel_IVRControlPanel_006_undoc19(void *, bool); -extern bool cppIVRControlPanel_IVRControlPanel_006_undoc20(void *); -extern EVRInitError cppIVRControlPanel_IVRControlPanel_006_undoc21(void *); -extern void cppIVRControlPanel_IVRControlPanel_006_undoc22(void *, WebConsoleHandle_t, const char *, uint32_t, uint32_t, const char *); -extern bool cppIVRControlPanel_IVRControlPanel_006_undoc23(void *, const char *); -extern bool cppIVRControlPanel_IVRControlPanel_006_undoc24(void *); -extern bool cppIVRControlPanel_IVRControlPanel_006_undoc25(void *, bool); -extern uint64_t cppIVRControlPanel_IVRControlPanel_006_undoc26(void *); -extern EVRCompositorError cppIVRControlPanel_IVRControlPanel_006_undoc27(void *, const char *); -extern void cppIVRControlPanel_IVRControlPanel_006_undoc28(void *, VROverlayHandle_t); +struct cppIVRControlPanel_IVRControlPanel_006_undoc1_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc1( struct cppIVRControlPanel_IVRControlPanel_006_undoc1_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc2_params +{ + void *linux_side; + uint32_t _ret; + uint32_t a; + char *b; + uint32_t c; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc2( struct cppIVRControlPanel_IVRControlPanel_006_undoc2_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc3_params +{ + void *linux_side; + EVRInitError _ret; + const char *a; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc3( struct cppIVRControlPanel_IVRControlPanel_006_undoc3_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc4_params +{ + void *linux_side; + uint32_t _ret; + const char *a; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc4( struct cppIVRControlPanel_IVRControlPanel_006_undoc4_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc5_params +{ + void *linux_side; + uint32_t _ret; + const char *a; + uint32_t b; + char *c; + uint32_t d; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc5( struct cppIVRControlPanel_IVRControlPanel_006_undoc5_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc6_params +{ + void *linux_side; + uint32_t _ret; + const char *a; + const char *b; + char *c; + uint32_t d; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc6( struct cppIVRControlPanel_IVRControlPanel_006_undoc6_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc7_params +{ + void *linux_side; + uint32_t _ret; + const char *a; + const char *b; + char *c; + uint32_t d; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc7( struct cppIVRControlPanel_IVRControlPanel_006_undoc7_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc8_params +{ + void *linux_side; + bool _ret; + uint32_t a; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc8( struct cppIVRControlPanel_IVRControlPanel_006_undoc8_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc9_params +{ + void *linux_side; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc9( struct cppIVRControlPanel_IVRControlPanel_006_undoc9_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc10_params +{ + void *linux_side; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc10( struct cppIVRControlPanel_IVRControlPanel_006_undoc10_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc11_params +{ + void *linux_side; + bool _ret; + uint32_t a; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc11( struct cppIVRControlPanel_IVRControlPanel_006_undoc11_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc12_params +{ + void *linux_side; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc12( struct cppIVRControlPanel_IVRControlPanel_006_undoc12_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc13_params +{ + void *linux_side; + TrackedDeviceIndex_t a; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc13( struct cppIVRControlPanel_IVRControlPanel_006_undoc13_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc14_params +{ + void *linux_side; + EVRState a; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc14( struct cppIVRControlPanel_IVRControlPanel_006_undoc14_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc15_params +{ + void *linux_side; + EVRState _ret; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc15( struct cppIVRControlPanel_IVRControlPanel_006_undoc15_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc16_params +{ + void *linux_side; + bool a; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc16( struct cppIVRControlPanel_IVRControlPanel_006_undoc16_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc17_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc17( struct cppIVRControlPanel_IVRControlPanel_006_undoc17_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc18_params +{ + void *linux_side; + EVRApplicationError _ret; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc18( struct cppIVRControlPanel_IVRControlPanel_006_undoc18_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc19_params +{ + void *linux_side; + bool a; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc19( struct cppIVRControlPanel_IVRControlPanel_006_undoc19_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc20_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc20( struct cppIVRControlPanel_IVRControlPanel_006_undoc20_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc21_params +{ + void *linux_side; + EVRInitError _ret; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc21( struct cppIVRControlPanel_IVRControlPanel_006_undoc21_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc22_params +{ + void *linux_side; + WebConsoleHandle_t a; + const char *b; + uint32_t c; + uint32_t d; + const char *e; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc22( struct cppIVRControlPanel_IVRControlPanel_006_undoc22_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc23_params +{ + void *linux_side; + bool _ret; + const char *a; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc23( struct cppIVRControlPanel_IVRControlPanel_006_undoc23_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc24_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc24( struct cppIVRControlPanel_IVRControlPanel_006_undoc24_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc25_params +{ + void *linux_side; + bool _ret; + bool a; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc25( struct cppIVRControlPanel_IVRControlPanel_006_undoc25_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc26_params +{ + void *linux_side; + uint64_t _ret; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc26( struct cppIVRControlPanel_IVRControlPanel_006_undoc26_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc27_params +{ + void *linux_side; + EVRCompositorError _ret; + const char *a; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc27( struct cppIVRControlPanel_IVRControlPanel_006_undoc27_params *params ); + +struct cppIVRControlPanel_IVRControlPanel_006_undoc28_params +{ + void *linux_side; + VROverlayHandle_t a; +}; +extern void cppIVRControlPanel_IVRControlPanel_006_undoc28( struct cppIVRControlPanel_IVRControlPanel_006_undoc28_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.cpp b/vrclient_x64/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.cpp index 1a73e1bf..137dccdb 100644 --- a/vrclient_x64/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.cpp @@ -9,32 +9,24 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -uint32_t cppIVRDriverManager_IVRDriverManager_001_GetDriverCount(void *linux_side) +void cppIVRDriverManager_IVRDriverManager_001_GetDriverCount( struct cppIVRDriverManager_IVRDriverManager_001_GetDriverCount_params *params ) { - uint32_t _ret; - _ret = ((IVRDriverManager*)linux_side)->GetDriverCount(); - return _ret; + params->_ret = ((IVRDriverManager*)params->linux_side)->GetDriverCount(); } -uint32_t cppIVRDriverManager_IVRDriverManager_001_GetDriverName(void *linux_side, DriverId_t nDriver, char *pchValue, uint32_t unBufferSize) +void cppIVRDriverManager_IVRDriverManager_001_GetDriverName( struct cppIVRDriverManager_IVRDriverManager_001_GetDriverName_params *params ) { - uint32_t _ret; - _ret = ((IVRDriverManager*)linux_side)->GetDriverName((vr::DriverId_t)nDriver, (char *)pchValue, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRDriverManager*)params->linux_side)->GetDriverName((vr::DriverId_t)params->nDriver, (char *)params->pchValue, (uint32_t)params->unBufferSize); } -DriverHandle_t cppIVRDriverManager_IVRDriverManager_001_GetDriverHandle(void *linux_side, const char *pchDriverName) +void cppIVRDriverManager_IVRDriverManager_001_GetDriverHandle( struct cppIVRDriverManager_IVRDriverManager_001_GetDriverHandle_params *params ) { - DriverHandle_t _ret; - _ret = ((IVRDriverManager*)linux_side)->GetDriverHandle((const char *)pchDriverName); - return _ret; + params->_ret = ((IVRDriverManager*)params->linux_side)->GetDriverHandle((const char *)params->pchDriverName); } -bool cppIVRDriverManager_IVRDriverManager_001_IsEnabled(void *linux_side, DriverId_t nDriver) +void cppIVRDriverManager_IVRDriverManager_001_IsEnabled( struct cppIVRDriverManager_IVRDriverManager_001_IsEnabled_params *params ) { - bool _ret; - _ret = ((IVRDriverManager*)linux_side)->IsEnabled((vr::DriverId_t)nDriver); - return _ret; + params->_ret = ((IVRDriverManager*)params->linux_side)->IsEnabled((vr::DriverId_t)params->nDriver); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.h b/vrclient_x64/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.h index c6c22e57..ca8a6aca 100644 --- a/vrclient_x64/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.h @@ -1,10 +1,39 @@ #ifdef __cplusplus extern "C" { #endif -extern uint32_t cppIVRDriverManager_IVRDriverManager_001_GetDriverCount(void *); -extern uint32_t cppIVRDriverManager_IVRDriverManager_001_GetDriverName(void *, DriverId_t, char *, uint32_t); -extern DriverHandle_t cppIVRDriverManager_IVRDriverManager_001_GetDriverHandle(void *, const char *); -extern bool cppIVRDriverManager_IVRDriverManager_001_IsEnabled(void *, DriverId_t); +struct cppIVRDriverManager_IVRDriverManager_001_GetDriverCount_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRDriverManager_IVRDriverManager_001_GetDriverCount( struct cppIVRDriverManager_IVRDriverManager_001_GetDriverCount_params *params ); + +struct cppIVRDriverManager_IVRDriverManager_001_GetDriverName_params +{ + void *linux_side; + uint32_t _ret; + DriverId_t nDriver; + char *pchValue; + uint32_t unBufferSize; +}; +extern void cppIVRDriverManager_IVRDriverManager_001_GetDriverName( struct cppIVRDriverManager_IVRDriverManager_001_GetDriverName_params *params ); + +struct cppIVRDriverManager_IVRDriverManager_001_GetDriverHandle_params +{ + void *linux_side; + DriverHandle_t _ret; + const char *pchDriverName; +}; +extern void cppIVRDriverManager_IVRDriverManager_001_GetDriverHandle( struct cppIVRDriverManager_IVRDriverManager_001_GetDriverHandle_params *params ); + +struct cppIVRDriverManager_IVRDriverManager_001_IsEnabled_params +{ + void *linux_side; + bool _ret; + DriverId_t nDriver; +}; +extern void cppIVRDriverManager_IVRDriverManager_001_IsEnabled( struct cppIVRDriverManager_IVRDriverManager_001_IsEnabled_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.cpp b/vrclient_x64/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.cpp index 8146e9af..93e46fd3 100644 --- a/vrclient_x64/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.cpp @@ -9,19 +9,19 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds(void *linux_side, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds( struct cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds_params *params ) { - ((IVRExtendedDisplay*)linux_side)->GetWindowBounds((int32_t *)pnX, (int32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRExtendedDisplay*)params->linux_side)->GetWindowBounds((int32_t *)params->pnX, (int32_t *)params->pnY, (uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport(void *linux_side, EVREye eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport( struct cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport_params *params ) { - ((IVRExtendedDisplay*)linux_side)->GetEyeOutputViewport((vr::EVREye)eEye, (uint32_t *)pnX, (uint32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRExtendedDisplay*)params->linux_side)->GetEyeOutputViewport((vr::EVREye)params->eEye, (uint32_t *)params->pnX, (uint32_t *)params->pnY, (uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo(void *linux_side, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex) +void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo( struct cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo_params *params ) { - ((IVRExtendedDisplay*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex, (int32_t *)pnAdapterOutputIndex); + ((IVRExtendedDisplay*)params->linux_side)->GetDXGIOutputInfo((int32_t *)params->pnAdapterIndex, (int32_t *)params->pnAdapterOutputIndex); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.h b/vrclient_x64/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.h index fcd66fad..43f26385 100644 --- a/vrclient_x64/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.h @@ -1,9 +1,35 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds(void *, int32_t *, int32_t *, uint32_t *, uint32_t *); -extern void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport(void *, EVREye, uint32_t *, uint32_t *, uint32_t *, uint32_t *); -extern void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo(void *, int32_t *, int32_t *); +struct cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds_params +{ + void *linux_side; + int32_t *pnX; + int32_t *pnY; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds( struct cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds_params *params ); + +struct cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport_params +{ + void *linux_side; + EVREye eEye; + uint32_t *pnX; + uint32_t *pnY; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport( struct cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport_params *params ); + +struct cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; + int32_t *pnAdapterOutputIndex; +}; +extern void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo( struct cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.cpp b/vrclient_x64/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.cpp index cc63e627..63c9b05e 100644 --- a/vrclient_x64/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.cpp @@ -9,55 +9,49 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize(void *linux_side, uint32_t nWidth, uint32_t nHeight) +void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize( struct cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize_params *params ) { - ((IVRHeadsetView*)linux_side)->SetHeadsetViewSize((uint32_t)nWidth, (uint32_t)nHeight); + ((IVRHeadsetView*)params->linux_side)->SetHeadsetViewSize((uint32_t)params->nWidth, (uint32_t)params->nHeight); } -void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize(void *linux_side, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize( struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize_params *params ) { - ((IVRHeadsetView*)linux_side)->GetHeadsetViewSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRHeadsetView*)params->linux_side)->GetHeadsetViewSize((uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode(void *linux_side, HeadsetViewMode_t eHeadsetViewMode) +void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode( struct cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode_params *params ) { - ((IVRHeadsetView*)linux_side)->SetHeadsetViewMode((vr::HeadsetViewMode_t)eHeadsetViewMode); + ((IVRHeadsetView*)params->linux_side)->SetHeadsetViewMode((vr::HeadsetViewMode_t)params->eHeadsetViewMode); } -HeadsetViewMode_t cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode(void *linux_side) +void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode( struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode_params *params ) { - HeadsetViewMode_t _ret; - _ret = ((IVRHeadsetView*)linux_side)->GetHeadsetViewMode(); - return _ret; + params->_ret = ((IVRHeadsetView*)params->linux_side)->GetHeadsetViewMode(); } -void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped(void *linux_side, bool bCropped) +void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped( struct cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped_params *params ) { - ((IVRHeadsetView*)linux_side)->SetHeadsetViewCropped((bool)bCropped); + ((IVRHeadsetView*)params->linux_side)->SetHeadsetViewCropped((bool)params->bCropped); } -bool cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped(void *linux_side) +void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped( struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped_params *params ) { - bool _ret; - _ret = ((IVRHeadsetView*)linux_side)->GetHeadsetViewCropped(); - return _ret; + params->_ret = ((IVRHeadsetView*)params->linux_side)->GetHeadsetViewCropped(); } -float cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio(void *linux_side) +void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio( struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio_params *params ) { - float _ret; - _ret = ((IVRHeadsetView*)linux_side)->GetHeadsetViewAspectRatio(); - return _ret; + params->_ret = ((IVRHeadsetView*)params->linux_side)->GetHeadsetViewAspectRatio(); } -void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange(void *linux_side, float flStartPct, float flEndPct) +void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange( struct cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange_params *params ) { - ((IVRHeadsetView*)linux_side)->SetHeadsetViewBlendRange((float)flStartPct, (float)flEndPct); + ((IVRHeadsetView*)params->linux_side)->SetHeadsetViewBlendRange((float)params->flStartPct, (float)params->flEndPct); } -void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange(void *linux_side, float *pStartPct, float *pEndPct) +void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange( struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange_params *params ) { - ((IVRHeadsetView*)linux_side)->GetHeadsetViewBlendRange((float *)pStartPct, (float *)pEndPct); + ((IVRHeadsetView*)params->linux_side)->GetHeadsetViewBlendRange((float *)params->pStartPct, (float *)params->pEndPct); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.h b/vrclient_x64/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.h index 09aac9ca..ea448700 100644 --- a/vrclient_x64/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.h @@ -1,15 +1,73 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize(void *, uint32_t, uint32_t); -extern void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize(void *, uint32_t *, uint32_t *); -extern void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode(void *, HeadsetViewMode_t); -extern HeadsetViewMode_t cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode(void *); -extern void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped(void *, bool); -extern bool cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped(void *); -extern float cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio(void *); -extern void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange(void *, float, float); -extern void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange(void *, float *, float *); +struct cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize_params +{ + void *linux_side; + uint32_t nWidth; + uint32_t nHeight; +}; +extern void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize( struct cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize_params *params ); + +struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize( struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize_params *params ); + +struct cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode_params +{ + void *linux_side; + HeadsetViewMode_t eHeadsetViewMode; +}; +extern void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode( struct cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode_params *params ); + +struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode_params +{ + void *linux_side; + HeadsetViewMode_t _ret; +}; +extern void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode( struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode_params *params ); + +struct cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped_params +{ + void *linux_side; + bool bCropped; +}; +extern void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped( struct cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped_params *params ); + +struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped( struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped_params *params ); + +struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio_params +{ + void *linux_side; + float _ret; +}; +extern void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio( struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio_params *params ); + +struct cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange_params +{ + void *linux_side; + float flStartPct; + float flEndPct; +}; +extern void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange( struct cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange_params *params ); + +struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange_params +{ + void *linux_side; + float *pStartPct; + float *pEndPct; +}; +extern void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange( struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.cpp b/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.cpp index 804b1fc2..782475d1 100644 --- a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.cpp @@ -9,39 +9,29 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EIOBufferError cppIVRIOBuffer_IVRIOBuffer_001_Open(void *linux_side, const char *pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t *pulBuffer) +void cppIVRIOBuffer_IVRIOBuffer_001_Open( struct cppIVRIOBuffer_IVRIOBuffer_001_Open_params *params ) { - EIOBufferError _ret; - _ret = ((IVRIOBuffer*)linux_side)->Open((const char *)pchPath, (vr::EIOBufferMode)mode, (uint32_t)unElementSize, (uint32_t)unElements, (vr::IOBufferHandle_t *)pulBuffer); - return _ret; + params->_ret = ((IVRIOBuffer*)params->linux_side)->Open((const char *)params->pchPath, (vr::EIOBufferMode)params->mode, (uint32_t)params->unElementSize, (uint32_t)params->unElements, (vr::IOBufferHandle_t *)params->pulBuffer); } -EIOBufferError cppIVRIOBuffer_IVRIOBuffer_001_Close(void *linux_side, IOBufferHandle_t ulBuffer) +void cppIVRIOBuffer_IVRIOBuffer_001_Close( struct cppIVRIOBuffer_IVRIOBuffer_001_Close_params *params ) { - EIOBufferError _ret; - _ret = ((IVRIOBuffer*)linux_side)->Close((vr::IOBufferHandle_t)ulBuffer); - return _ret; + params->_ret = ((IVRIOBuffer*)params->linux_side)->Close((vr::IOBufferHandle_t)params->ulBuffer); } -EIOBufferError cppIVRIOBuffer_IVRIOBuffer_001_Read(void *linux_side, IOBufferHandle_t ulBuffer, void *pDst, uint32_t unBytes, uint32_t *punRead) +void cppIVRIOBuffer_IVRIOBuffer_001_Read( struct cppIVRIOBuffer_IVRIOBuffer_001_Read_params *params ) { - EIOBufferError _ret; - _ret = ((IVRIOBuffer*)linux_side)->Read((vr::IOBufferHandle_t)ulBuffer, (void *)pDst, (uint32_t)unBytes, (uint32_t *)punRead); - return _ret; + params->_ret = ((IVRIOBuffer*)params->linux_side)->Read((vr::IOBufferHandle_t)params->ulBuffer, (void *)params->pDst, (uint32_t)params->unBytes, (uint32_t *)params->punRead); } -EIOBufferError cppIVRIOBuffer_IVRIOBuffer_001_Write(void *linux_side, IOBufferHandle_t ulBuffer, void *pSrc, uint32_t unBytes) +void cppIVRIOBuffer_IVRIOBuffer_001_Write( struct cppIVRIOBuffer_IVRIOBuffer_001_Write_params *params ) { - EIOBufferError _ret; - _ret = ((IVRIOBuffer*)linux_side)->Write((vr::IOBufferHandle_t)ulBuffer, (void *)pSrc, (uint32_t)unBytes); - return _ret; + params->_ret = ((IVRIOBuffer*)params->linux_side)->Write((vr::IOBufferHandle_t)params->ulBuffer, (void *)params->pSrc, (uint32_t)params->unBytes); } -PropertyContainerHandle_t cppIVRIOBuffer_IVRIOBuffer_001_PropertyContainer(void *linux_side, IOBufferHandle_t ulBuffer) +void cppIVRIOBuffer_IVRIOBuffer_001_PropertyContainer( struct cppIVRIOBuffer_IVRIOBuffer_001_PropertyContainer_params *params ) { - PropertyContainerHandle_t _ret; - _ret = ((IVRIOBuffer*)linux_side)->PropertyContainer((vr::IOBufferHandle_t)ulBuffer); - return _ret; + params->_ret = ((IVRIOBuffer*)params->linux_side)->PropertyContainer((vr::IOBufferHandle_t)params->ulBuffer); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.h b/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.h index 6ff16ae3..15f968c2 100644 --- a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.h @@ -1,11 +1,55 @@ #ifdef __cplusplus extern "C" { #endif -extern EIOBufferError cppIVRIOBuffer_IVRIOBuffer_001_Open(void *, const char *, EIOBufferMode, uint32_t, uint32_t, IOBufferHandle_t *); -extern EIOBufferError cppIVRIOBuffer_IVRIOBuffer_001_Close(void *, IOBufferHandle_t); -extern EIOBufferError cppIVRIOBuffer_IVRIOBuffer_001_Read(void *, IOBufferHandle_t, void *, uint32_t, uint32_t *); -extern EIOBufferError cppIVRIOBuffer_IVRIOBuffer_001_Write(void *, IOBufferHandle_t, void *, uint32_t); -extern PropertyContainerHandle_t cppIVRIOBuffer_IVRIOBuffer_001_PropertyContainer(void *, IOBufferHandle_t); +struct cppIVRIOBuffer_IVRIOBuffer_001_Open_params +{ + void *linux_side; + EIOBufferError _ret; + const char *pchPath; + EIOBufferMode mode; + uint32_t unElementSize; + uint32_t unElements; + IOBufferHandle_t *pulBuffer; +}; +extern void cppIVRIOBuffer_IVRIOBuffer_001_Open( struct cppIVRIOBuffer_IVRIOBuffer_001_Open_params *params ); + +struct cppIVRIOBuffer_IVRIOBuffer_001_Close_params +{ + void *linux_side; + EIOBufferError _ret; + IOBufferHandle_t ulBuffer; +}; +extern void cppIVRIOBuffer_IVRIOBuffer_001_Close( struct cppIVRIOBuffer_IVRIOBuffer_001_Close_params *params ); + +struct cppIVRIOBuffer_IVRIOBuffer_001_Read_params +{ + void *linux_side; + EIOBufferError _ret; + IOBufferHandle_t ulBuffer; + void *pDst; + uint32_t unBytes; + uint32_t *punRead; +}; +extern void cppIVRIOBuffer_IVRIOBuffer_001_Read( struct cppIVRIOBuffer_IVRIOBuffer_001_Read_params *params ); + +struct cppIVRIOBuffer_IVRIOBuffer_001_Write_params +{ + void *linux_side; + EIOBufferError _ret; + IOBufferHandle_t ulBuffer; + void *pSrc; + uint32_t unBytes; +}; +extern void cppIVRIOBuffer_IVRIOBuffer_001_Write( struct cppIVRIOBuffer_IVRIOBuffer_001_Write_params *params ); + +struct cppIVRIOBuffer_IVRIOBuffer_001_PropertyContainer_params +{ + void *linux_side; + PropertyContainerHandle_t _ret; + IOBufferHandle_t ulBuffer; +}; +extern void cppIVRIOBuffer_IVRIOBuffer_001_PropertyContainer( struct cppIVRIOBuffer_IVRIOBuffer_001_PropertyContainer_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.cpp b/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.cpp index 7d2aebbf..fa134672 100644 --- a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.cpp @@ -9,46 +9,34 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EIOBufferError cppIVRIOBuffer_IVRIOBuffer_002_Open(void *linux_side, const char *pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t *pulBuffer) +void cppIVRIOBuffer_IVRIOBuffer_002_Open( struct cppIVRIOBuffer_IVRIOBuffer_002_Open_params *params ) { - EIOBufferError _ret; - _ret = ((IVRIOBuffer*)linux_side)->Open((const char *)pchPath, (vr::EIOBufferMode)mode, (uint32_t)unElementSize, (uint32_t)unElements, (vr::IOBufferHandle_t *)pulBuffer); - return _ret; + params->_ret = ((IVRIOBuffer*)params->linux_side)->Open((const char *)params->pchPath, (vr::EIOBufferMode)params->mode, (uint32_t)params->unElementSize, (uint32_t)params->unElements, (vr::IOBufferHandle_t *)params->pulBuffer); } -EIOBufferError cppIVRIOBuffer_IVRIOBuffer_002_Close(void *linux_side, IOBufferHandle_t ulBuffer) +void cppIVRIOBuffer_IVRIOBuffer_002_Close( struct cppIVRIOBuffer_IVRIOBuffer_002_Close_params *params ) { - EIOBufferError _ret; - _ret = ((IVRIOBuffer*)linux_side)->Close((vr::IOBufferHandle_t)ulBuffer); - return _ret; + params->_ret = ((IVRIOBuffer*)params->linux_side)->Close((vr::IOBufferHandle_t)params->ulBuffer); } -EIOBufferError cppIVRIOBuffer_IVRIOBuffer_002_Read(void *linux_side, IOBufferHandle_t ulBuffer, void *pDst, uint32_t unBytes, uint32_t *punRead) +void cppIVRIOBuffer_IVRIOBuffer_002_Read( struct cppIVRIOBuffer_IVRIOBuffer_002_Read_params *params ) { - EIOBufferError _ret; - _ret = ((IVRIOBuffer*)linux_side)->Read((vr::IOBufferHandle_t)ulBuffer, (void *)pDst, (uint32_t)unBytes, (uint32_t *)punRead); - return _ret; + params->_ret = ((IVRIOBuffer*)params->linux_side)->Read((vr::IOBufferHandle_t)params->ulBuffer, (void *)params->pDst, (uint32_t)params->unBytes, (uint32_t *)params->punRead); } -EIOBufferError cppIVRIOBuffer_IVRIOBuffer_002_Write(void *linux_side, IOBufferHandle_t ulBuffer, void *pSrc, uint32_t unBytes) +void cppIVRIOBuffer_IVRIOBuffer_002_Write( struct cppIVRIOBuffer_IVRIOBuffer_002_Write_params *params ) { - EIOBufferError _ret; - _ret = ((IVRIOBuffer*)linux_side)->Write((vr::IOBufferHandle_t)ulBuffer, (void *)pSrc, (uint32_t)unBytes); - return _ret; + params->_ret = ((IVRIOBuffer*)params->linux_side)->Write((vr::IOBufferHandle_t)params->ulBuffer, (void *)params->pSrc, (uint32_t)params->unBytes); } -PropertyContainerHandle_t cppIVRIOBuffer_IVRIOBuffer_002_PropertyContainer(void *linux_side, IOBufferHandle_t ulBuffer) +void cppIVRIOBuffer_IVRIOBuffer_002_PropertyContainer( struct cppIVRIOBuffer_IVRIOBuffer_002_PropertyContainer_params *params ) { - PropertyContainerHandle_t _ret; - _ret = ((IVRIOBuffer*)linux_side)->PropertyContainer((vr::IOBufferHandle_t)ulBuffer); - return _ret; + params->_ret = ((IVRIOBuffer*)params->linux_side)->PropertyContainer((vr::IOBufferHandle_t)params->ulBuffer); } -bool cppIVRIOBuffer_IVRIOBuffer_002_HasReaders(void *linux_side, IOBufferHandle_t ulBuffer) +void cppIVRIOBuffer_IVRIOBuffer_002_HasReaders( struct cppIVRIOBuffer_IVRIOBuffer_002_HasReaders_params *params ) { - bool _ret; - _ret = ((IVRIOBuffer*)linux_side)->HasReaders((vr::IOBufferHandle_t)ulBuffer); - return _ret; + params->_ret = ((IVRIOBuffer*)params->linux_side)->HasReaders((vr::IOBufferHandle_t)params->ulBuffer); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.h b/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.h index 96616bdb..4f8e442e 100644 --- a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.h +++ b/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.h @@ -1,12 +1,63 @@ #ifdef __cplusplus extern "C" { #endif -extern EIOBufferError cppIVRIOBuffer_IVRIOBuffer_002_Open(void *, const char *, EIOBufferMode, uint32_t, uint32_t, IOBufferHandle_t *); -extern EIOBufferError cppIVRIOBuffer_IVRIOBuffer_002_Close(void *, IOBufferHandle_t); -extern EIOBufferError cppIVRIOBuffer_IVRIOBuffer_002_Read(void *, IOBufferHandle_t, void *, uint32_t, uint32_t *); -extern EIOBufferError cppIVRIOBuffer_IVRIOBuffer_002_Write(void *, IOBufferHandle_t, void *, uint32_t); -extern PropertyContainerHandle_t cppIVRIOBuffer_IVRIOBuffer_002_PropertyContainer(void *, IOBufferHandle_t); -extern bool cppIVRIOBuffer_IVRIOBuffer_002_HasReaders(void *, IOBufferHandle_t); +struct cppIVRIOBuffer_IVRIOBuffer_002_Open_params +{ + void *linux_side; + EIOBufferError _ret; + const char *pchPath; + EIOBufferMode mode; + uint32_t unElementSize; + uint32_t unElements; + IOBufferHandle_t *pulBuffer; +}; +extern void cppIVRIOBuffer_IVRIOBuffer_002_Open( struct cppIVRIOBuffer_IVRIOBuffer_002_Open_params *params ); + +struct cppIVRIOBuffer_IVRIOBuffer_002_Close_params +{ + void *linux_side; + EIOBufferError _ret; + IOBufferHandle_t ulBuffer; +}; +extern void cppIVRIOBuffer_IVRIOBuffer_002_Close( struct cppIVRIOBuffer_IVRIOBuffer_002_Close_params *params ); + +struct cppIVRIOBuffer_IVRIOBuffer_002_Read_params +{ + void *linux_side; + EIOBufferError _ret; + IOBufferHandle_t ulBuffer; + void *pDst; + uint32_t unBytes; + uint32_t *punRead; +}; +extern void cppIVRIOBuffer_IVRIOBuffer_002_Read( struct cppIVRIOBuffer_IVRIOBuffer_002_Read_params *params ); + +struct cppIVRIOBuffer_IVRIOBuffer_002_Write_params +{ + void *linux_side; + EIOBufferError _ret; + IOBufferHandle_t ulBuffer; + void *pSrc; + uint32_t unBytes; +}; +extern void cppIVRIOBuffer_IVRIOBuffer_002_Write( struct cppIVRIOBuffer_IVRIOBuffer_002_Write_params *params ); + +struct cppIVRIOBuffer_IVRIOBuffer_002_PropertyContainer_params +{ + void *linux_side; + PropertyContainerHandle_t _ret; + IOBufferHandle_t ulBuffer; +}; +extern void cppIVRIOBuffer_IVRIOBuffer_002_PropertyContainer( struct cppIVRIOBuffer_IVRIOBuffer_002_PropertyContainer_params *params ); + +struct cppIVRIOBuffer_IVRIOBuffer_002_HasReaders_params +{ + void *linux_side; + bool _ret; + IOBufferHandle_t ulBuffer; +}; +extern void cppIVRIOBuffer_IVRIOBuffer_002_HasReaders( struct cppIVRIOBuffer_IVRIOBuffer_002_HasReaders_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.cpp index 517442e6..e273acb8 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.cpp @@ -9,147 +9,113 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVRInputError cppIVRInput_IVRInput_003_SetActionManifestPath(void *linux_side, const char *pchActionManifestPath) +void cppIVRInput_IVRInput_003_SetActionManifestPath( struct cppIVRInput_IVRInput_003_SetActionManifestPath_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->SetActionManifestPath((const char *)pchActionManifestPath); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->SetActionManifestPath((const char *)params->pchActionManifestPath); } -EVRInputError cppIVRInput_IVRInput_003_GetActionSetHandle(void *linux_side, const char *pchActionSetName, VRActionSetHandle_t *pHandle) +void cppIVRInput_IVRInput_003_GetActionSetHandle( struct cppIVRInput_IVRInput_003_GetActionSetHandle_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetActionSetHandle((const char *)pchActionSetName, (vr::VRActionSetHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetActionSetHandle((const char *)params->pchActionSetName, (vr::VRActionSetHandle_t *)params->pHandle); } -EVRInputError cppIVRInput_IVRInput_003_GetActionHandle(void *linux_side, const char *pchActionName, VRActionHandle_t *pHandle) +void cppIVRInput_IVRInput_003_GetActionHandle( struct cppIVRInput_IVRInput_003_GetActionHandle_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetActionHandle((const char *)pchActionName, (vr::VRActionHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetActionHandle((const char *)params->pchActionName, (vr::VRActionHandle_t *)params->pHandle); } -EVRInputError cppIVRInput_IVRInput_003_GetInputSourceHandle(void *linux_side, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) +void cppIVRInput_IVRInput_003_GetInputSourceHandle( struct cppIVRInput_IVRInput_003_GetInputSourceHandle_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetInputSourceHandle((const char *)pchInputSourcePath, (vr::VRInputValueHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetInputSourceHandle((const char *)params->pchInputSourcePath, (vr::VRInputValueHandle_t *)params->pHandle); } -EVRInputError cppIVRInput_IVRInput_003_UpdateActionState(void *linux_side, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +void cppIVRInput_IVRInput_003_UpdateActionState( struct cppIVRInput_IVRInput_003_UpdateActionState_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->UpdateActionState((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->UpdateActionState((vr::VRActiveActionSet_t *)params->pSets, (uint32_t)params->unSizeOfVRSelectedActionSet_t, (uint32_t)params->unSetCount); } -EVRInputError cppIVRInput_IVRInput_003_GetDigitalActionData(void *linux_side, VRActionHandle_t action, winInputDigitalActionData_t_1015 *pActionData, uint32_t unActionDataSize) +void cppIVRInput_IVRInput_003_GetDigitalActionData( struct cppIVRInput_IVRInput_003_GetDigitalActionData_params *params ) { - EVRInputError _ret; InputDigitalActionData_t lin_pActionData; - if (pActionData) - struct_InputDigitalActionData_t_1015_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetDigitalActionData((vr::VRActionHandle_t)action, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize); - if (pActionData) - struct_InputDigitalActionData_t_1015_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputDigitalActionData_t_1015_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetDigitalActionData((vr::VRActionHandle_t)params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize); + if (params->pActionData) + struct_InputDigitalActionData_t_1015_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_003_GetAnalogActionData(void *linux_side, VRActionHandle_t action, winInputAnalogActionData_t_1015 *pActionData, uint32_t unActionDataSize) +void cppIVRInput_IVRInput_003_GetAnalogActionData( struct cppIVRInput_IVRInput_003_GetAnalogActionData_params *params ) { - EVRInputError _ret; InputAnalogActionData_t lin_pActionData; - if (pActionData) - struct_InputAnalogActionData_t_1015_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetAnalogActionData((vr::VRActionHandle_t)action, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize); - if (pActionData) - struct_InputAnalogActionData_t_1015_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputAnalogActionData_t_1015_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetAnalogActionData((vr::VRActionHandle_t)params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize); + if (params->pActionData) + struct_InputAnalogActionData_t_1015_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_003_GetPoseActionData(void *linux_side, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1015 *pActionData, uint32_t unActionDataSize) +void cppIVRInput_IVRInput_003_GetPoseActionData( struct cppIVRInput_IVRInput_003_GetPoseActionData_params *params ) { - EVRInputError _ret; InputPoseActionData_t lin_pActionData; - if (pActionData) - struct_InputPoseActionData_t_1015_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetPoseActionData((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsFromNow, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize); - if (pActionData) - struct_InputPoseActionData_t_1015_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputPoseActionData_t_1015_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetPoseActionData((vr::VRActionHandle_t)params->action, (vr::ETrackingUniverseOrigin)params->eOrigin, (float)params->fPredictedSecondsFromNow, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize); + if (params->pActionData) + struct_InputPoseActionData_t_1015_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_003_GetSkeletalActionData(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, winInputSkeletonActionData_t_1015 *pActionData, uint32_t unActionDataSize, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +void cppIVRInput_IVRInput_003_GetSkeletalActionData( struct cppIVRInput_IVRInput_003_GetSkeletalActionData_params *params ) { - EVRInputError _ret; InputSkeletonActionData_t lin_pActionData; - if (pActionData) - struct_InputSkeletonActionData_t_1015_win_to_lin(pActionData, &lin_pActionData); - _ret = ((IVRInput*)linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eBoneParent, (float)fPredictedSecondsFromNow, pActionData ? &lin_pActionData : nullptr, (uint32_t)unActionDataSize, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); - if (pActionData) - struct_InputSkeletonActionData_t_1015_lin_to_win(&lin_pActionData, pActionData); - return _ret; + if (params->pActionData) + struct_InputSkeletonActionData_t_1015_win_to_lin( params->pActionData, &lin_pActionData ); + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)params->action, (vr::EVRSkeletalTransformSpace)params->eBoneParent, (float)params->fPredictedSecondsFromNow, params->pActionData ? &lin_pActionData : nullptr, (uint32_t)params->unActionDataSize, (vr::VRBoneTransform_t *)params->pTransformArray, (uint32_t)params->unTransformArrayCount); + if (params->pActionData) + struct_InputSkeletonActionData_t_1015_lin_to_win( &lin_pActionData, params->pActionData ); } -EVRInputError cppIVRInput_IVRInput_003_GetSkeletalActionDataCompressed(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize) +void cppIVRInput_IVRInput_003_GetSkeletalActionDataCompressed( struct cppIVRInput_IVRInput_003_GetSkeletalActionDataCompressed_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalActionDataCompressed((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eBoneParent, (float)fPredictedSecondsFromNow, (void *)pvCompressedData, (uint32_t)unCompressedSize, (uint32_t *)punRequiredCompressedSize); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalActionDataCompressed((vr::VRActionHandle_t)params->action, (vr::EVRSkeletalTransformSpace)params->eBoneParent, (float)params->fPredictedSecondsFromNow, (void *)params->pvCompressedData, (uint32_t)params->unCompressedSize, (uint32_t *)params->punRequiredCompressedSize); } -EVRInputError cppIVRInput_IVRInput_003_UncompressSkeletalActionData(void *linux_side, void *pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace *peBoneParent, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +void cppIVRInput_IVRInput_003_UncompressSkeletalActionData( struct cppIVRInput_IVRInput_003_UncompressSkeletalActionData_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->UncompressSkeletalActionData((void *)pvCompressedBuffer, (uint32_t)unCompressedBufferSize, (vr::EVRSkeletalTransformSpace *)peBoneParent, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->UncompressSkeletalActionData((void *)params->pvCompressedBuffer, (uint32_t)params->unCompressedBufferSize, (vr::EVRSkeletalTransformSpace *)params->peBoneParent, (vr::VRBoneTransform_t *)params->pTransformArray, (uint32_t)params->unTransformArrayCount); } -EVRInputError cppIVRInput_IVRInput_003_TriggerHapticVibrationAction(void *linux_side, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude) +void cppIVRInput_IVRInput_003_TriggerHapticVibrationAction( struct cppIVRInput_IVRInput_003_TriggerHapticVibrationAction_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->TriggerHapticVibrationAction((vr::VRActionHandle_t)action, (float)fStartSecondsFromNow, (float)fDurationSeconds, (float)fFrequency, (float)fAmplitude); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->TriggerHapticVibrationAction((vr::VRActionHandle_t)params->action, (float)params->fStartSecondsFromNow, (float)params->fDurationSeconds, (float)params->fFrequency, (float)params->fAmplitude); } -EVRInputError cppIVRInput_IVRInput_003_GetActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t *originsOut, uint32_t originOutCount) +void cppIVRInput_IVRInput_003_GetActionOrigins( struct cppIVRInput_IVRInput_003_GetActionOrigins_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)digitalActionHandle, (vr::VRInputValueHandle_t *)originsOut, (uint32_t)originOutCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetActionOrigins((vr::VRActionSetHandle_t)params->actionSetHandle, (vr::VRActionHandle_t)params->digitalActionHandle, (vr::VRInputValueHandle_t *)params->originsOut, (uint32_t)params->originOutCount); } -EVRInputError cppIVRInput_IVRInput_003_GetOriginLocalizedName(void *linux_side, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize) +void cppIVRInput_IVRInput_003_GetOriginLocalizedName( struct cppIVRInput_IVRInput_003_GetOriginLocalizedName_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetOriginLocalizedName((vr::VRInputValueHandle_t)origin, (char *)pchNameArray, (uint32_t)unNameArraySize); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetOriginLocalizedName((vr::VRInputValueHandle_t)params->origin, (char *)params->pchNameArray, (uint32_t)params->unNameArraySize); } -EVRInputError cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo(void *linux_side, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) +void cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo_params *params ) { - EVRInputError _ret; - uint32_t lin_unOriginInfoSize = std::min(unOriginInfoSize, (uint32_t)sizeof(vr::InputOriginInfo_t)); - _ret = ((IVRInput*)linux_side)->GetOriginTrackedDeviceInfo((vr::VRInputValueHandle_t)origin, (vr::InputOriginInfo_t *)pOriginInfo, lin_unOriginInfoSize); - return _ret; + uint32_t lin_unOriginInfoSize = std::min( params->unOriginInfoSize, (uint32_t)sizeof(vr::InputOriginInfo_t) ); + params->_ret = ((IVRInput*)params->linux_side)->GetOriginTrackedDeviceInfo((vr::VRInputValueHandle_t)params->origin, (vr::InputOriginInfo_t *)params->pOriginInfo, lin_unOriginInfoSize); } -EVRInputError cppIVRInput_IVRInput_003_ShowActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) +void cppIVRInput_IVRInput_003_ShowActionOrigins( struct cppIVRInput_IVRInput_003_ShowActionOrigins_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->ShowActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)ulActionHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->ShowActionOrigins((vr::VRActionSetHandle_t)params->actionSetHandle, (vr::VRActionHandle_t)params->ulActionHandle); } -EVRInputError cppIVRInput_IVRInput_003_ShowBindingsForActionSet(void *linux_side, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) +void cppIVRInput_IVRInput_003_ShowBindingsForActionSet( struct cppIVRInput_IVRInput_003_ShowBindingsForActionSet_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->ShowBindingsForActionSet((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount, (vr::VRInputValueHandle_t)originToHighlight); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->ShowBindingsForActionSet((vr::VRActiveActionSet_t *)params->pSets, (uint32_t)params->unSizeOfVRSelectedActionSet_t, (uint32_t)params->unSetCount, (vr::VRInputValueHandle_t)params->originToHighlight); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.h b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.h index a89723bf..5e08c1e4 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.h +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.h @@ -1,23 +1,185 @@ #ifdef __cplusplus extern "C" { #endif -extern EVRInputError cppIVRInput_IVRInput_003_SetActionManifestPath(void *, const char *); -extern EVRInputError cppIVRInput_IVRInput_003_GetActionSetHandle(void *, const char *, VRActionSetHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_003_GetActionHandle(void *, const char *, VRActionHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_003_GetInputSourceHandle(void *, const char *, VRInputValueHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_003_UpdateActionState(void *, VRActiveActionSet_t *, uint32_t, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_003_GetDigitalActionData(void *, VRActionHandle_t, winInputDigitalActionData_t_1015 *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_003_GetAnalogActionData(void *, VRActionHandle_t, winInputAnalogActionData_t_1015 *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_003_GetPoseActionData(void *, VRActionHandle_t, ETrackingUniverseOrigin, float, winInputPoseActionData_t_1015 *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_003_GetSkeletalActionData(void *, VRActionHandle_t, EVRSkeletalTransformSpace, float, winInputSkeletonActionData_t_1015 *, uint32_t, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_003_GetSkeletalActionDataCompressed(void *, VRActionHandle_t, EVRSkeletalTransformSpace, float, void *, uint32_t, uint32_t *); -extern EVRInputError cppIVRInput_IVRInput_003_UncompressSkeletalActionData(void *, void *, uint32_t, EVRSkeletalTransformSpace *, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_003_TriggerHapticVibrationAction(void *, VRActionHandle_t, float, float, float, float); -extern EVRInputError cppIVRInput_IVRInput_003_GetActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t, VRInputValueHandle_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_003_GetOriginLocalizedName(void *, VRInputValueHandle_t, char *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo(void *, VRInputValueHandle_t, InputOriginInfo_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_003_ShowActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t); -extern EVRInputError cppIVRInput_IVRInput_003_ShowBindingsForActionSet(void *, VRActiveActionSet_t *, uint32_t, uint32_t, VRInputValueHandle_t); +struct cppIVRInput_IVRInput_003_SetActionManifestPath_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchActionManifestPath; +}; +extern void cppIVRInput_IVRInput_003_SetActionManifestPath( struct cppIVRInput_IVRInput_003_SetActionManifestPath_params *params ); + +struct cppIVRInput_IVRInput_003_GetActionSetHandle_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchActionSetName; + VRActionSetHandle_t *pHandle; +}; +extern void cppIVRInput_IVRInput_003_GetActionSetHandle( struct cppIVRInput_IVRInput_003_GetActionSetHandle_params *params ); + +struct cppIVRInput_IVRInput_003_GetActionHandle_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchActionName; + VRActionHandle_t *pHandle; +}; +extern void cppIVRInput_IVRInput_003_GetActionHandle( struct cppIVRInput_IVRInput_003_GetActionHandle_params *params ); + +struct cppIVRInput_IVRInput_003_GetInputSourceHandle_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchInputSourcePath; + VRInputValueHandle_t *pHandle; +}; +extern void cppIVRInput_IVRInput_003_GetInputSourceHandle( struct cppIVRInput_IVRInput_003_GetInputSourceHandle_params *params ); + +struct cppIVRInput_IVRInput_003_UpdateActionState_params +{ + void *linux_side; + EVRInputError _ret; + VRActiveActionSet_t *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; +}; +extern void cppIVRInput_IVRInput_003_UpdateActionState( struct cppIVRInput_IVRInput_003_UpdateActionState_params *params ); + +struct cppIVRInput_IVRInput_003_GetDigitalActionData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + winInputDigitalActionData_t_1015 *pActionData; + uint32_t unActionDataSize; +}; +extern void cppIVRInput_IVRInput_003_GetDigitalActionData( struct cppIVRInput_IVRInput_003_GetDigitalActionData_params *params ); + +struct cppIVRInput_IVRInput_003_GetAnalogActionData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + winInputAnalogActionData_t_1015 *pActionData; + uint32_t unActionDataSize; +}; +extern void cppIVRInput_IVRInput_003_GetAnalogActionData( struct cppIVRInput_IVRInput_003_GetAnalogActionData_params *params ); + +struct cppIVRInput_IVRInput_003_GetPoseActionData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + ETrackingUniverseOrigin eOrigin; + float fPredictedSecondsFromNow; + winInputPoseActionData_t_1015 *pActionData; + uint32_t unActionDataSize; +}; +extern void cppIVRInput_IVRInput_003_GetPoseActionData( struct cppIVRInput_IVRInput_003_GetPoseActionData_params *params ); + +struct cppIVRInput_IVRInput_003_GetSkeletalActionData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSkeletalTransformSpace eBoneParent; + float fPredictedSecondsFromNow; + winInputSkeletonActionData_t_1015 *pActionData; + uint32_t unActionDataSize; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; +extern void cppIVRInput_IVRInput_003_GetSkeletalActionData( struct cppIVRInput_IVRInput_003_GetSkeletalActionData_params *params ); + +struct cppIVRInput_IVRInput_003_GetSkeletalActionDataCompressed_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSkeletalTransformSpace eBoneParent; + float fPredictedSecondsFromNow; + void *pvCompressedData; + uint32_t unCompressedSize; + uint32_t *punRequiredCompressedSize; +}; +extern void cppIVRInput_IVRInput_003_GetSkeletalActionDataCompressed( struct cppIVRInput_IVRInput_003_GetSkeletalActionDataCompressed_params *params ); + +struct cppIVRInput_IVRInput_003_UncompressSkeletalActionData_params +{ + void *linux_side; + EVRInputError _ret; + void *pvCompressedBuffer; + uint32_t unCompressedBufferSize; + EVRSkeletalTransformSpace *peBoneParent; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; +extern void cppIVRInput_IVRInput_003_UncompressSkeletalActionData( struct cppIVRInput_IVRInput_003_UncompressSkeletalActionData_params *params ); + +struct cppIVRInput_IVRInput_003_TriggerHapticVibrationAction_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + float fStartSecondsFromNow; + float fDurationSeconds; + float fFrequency; + float fAmplitude; +}; +extern void cppIVRInput_IVRInput_003_TriggerHapticVibrationAction( struct cppIVRInput_IVRInput_003_TriggerHapticVibrationAction_params *params ); + +struct cppIVRInput_IVRInput_003_GetActionOrigins_params +{ + void *linux_side; + EVRInputError _ret; + VRActionSetHandle_t actionSetHandle; + VRActionHandle_t digitalActionHandle; + VRInputValueHandle_t *originsOut; + uint32_t originOutCount; +}; +extern void cppIVRInput_IVRInput_003_GetActionOrigins( struct cppIVRInput_IVRInput_003_GetActionOrigins_params *params ); + +struct cppIVRInput_IVRInput_003_GetOriginLocalizedName_params +{ + void *linux_side; + EVRInputError _ret; + VRInputValueHandle_t origin; + char *pchNameArray; + uint32_t unNameArraySize; +}; +extern void cppIVRInput_IVRInput_003_GetOriginLocalizedName( struct cppIVRInput_IVRInput_003_GetOriginLocalizedName_params *params ); + +struct cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo_params +{ + void *linux_side; + EVRInputError _ret; + VRInputValueHandle_t origin; + InputOriginInfo_t *pOriginInfo; + uint32_t unOriginInfoSize; +}; +extern void cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo_params *params ); + +struct cppIVRInput_IVRInput_003_ShowActionOrigins_params +{ + void *linux_side; + EVRInputError _ret; + VRActionSetHandle_t actionSetHandle; + VRActionHandle_t ulActionHandle; +}; +extern void cppIVRInput_IVRInput_003_ShowActionOrigins( struct cppIVRInput_IVRInput_003_ShowActionOrigins_params *params ); + +struct cppIVRInput_IVRInput_003_ShowBindingsForActionSet_params +{ + void *linux_side; + EVRInputError _ret; + VRActiveActionSet_t *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; + VRInputValueHandle_t originToHighlight; +}; +extern void cppIVRInput_IVRInput_003_ShowBindingsForActionSet( struct cppIVRInput_IVRInput_003_ShowBindingsForActionSet_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.cpp index 3f0f6f8c..40e47d23 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.cpp @@ -9,155 +9,119 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVRInputError cppIVRInput_IVRInput_004_SetActionManifestPath(void *linux_side, const char *pchActionManifestPath) +void cppIVRInput_IVRInput_004_SetActionManifestPath( struct cppIVRInput_IVRInput_004_SetActionManifestPath_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->SetActionManifestPath((const char *)pchActionManifestPath); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->SetActionManifestPath((const char *)params->pchActionManifestPath); } -EVRInputError cppIVRInput_IVRInput_004_GetActionSetHandle(void *linux_side, const char *pchActionSetName, VRActionSetHandle_t *pHandle) +void cppIVRInput_IVRInput_004_GetActionSetHandle( struct cppIVRInput_IVRInput_004_GetActionSetHandle_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetActionSetHandle((const char *)pchActionSetName, (vr::VRActionSetHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetActionSetHandle((const char *)params->pchActionSetName, (vr::VRActionSetHandle_t *)params->pHandle); } -EVRInputError cppIVRInput_IVRInput_004_GetActionHandle(void *linux_side, const char *pchActionName, VRActionHandle_t *pHandle) +void cppIVRInput_IVRInput_004_GetActionHandle( struct cppIVRInput_IVRInput_004_GetActionHandle_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetActionHandle((const char *)pchActionName, (vr::VRActionHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetActionHandle((const char *)params->pchActionName, (vr::VRActionHandle_t *)params->pHandle); } -EVRInputError cppIVRInput_IVRInput_004_GetInputSourceHandle(void *linux_side, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) +void cppIVRInput_IVRInput_004_GetInputSourceHandle( struct cppIVRInput_IVRInput_004_GetInputSourceHandle_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetInputSourceHandle((const char *)pchInputSourcePath, (vr::VRInputValueHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetInputSourceHandle((const char *)params->pchInputSourcePath, (vr::VRInputValueHandle_t *)params->pHandle); } -EVRInputError cppIVRInput_IVRInput_004_UpdateActionState(void *linux_side, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +void cppIVRInput_IVRInput_004_UpdateActionState( struct cppIVRInput_IVRInput_004_UpdateActionState_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->UpdateActionState((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->UpdateActionState((vr::VRActiveActionSet_t *)params->pSets, (uint32_t)params->unSizeOfVRSelectedActionSet_t, (uint32_t)params->unSetCount); } -EVRInputError cppIVRInput_IVRInput_004_GetDigitalActionData(void *linux_side, VRActionHandle_t action, winInputDigitalActionData_t_1017 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_004_GetDigitalActionData( struct cppIVRInput_IVRInput_004_GetDigitalActionData_params *params ) { - EVRInputError _ret; InputDigitalActionData_t lin_pActionData; - if (pActionData) - struct_InputDigitalActionData_t_1017_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetDigitalActionData((vr::VRActionHandle_t)action, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if (pActionData) - struct_InputDigitalActionData_t_1017_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputDigitalActionData_t_1017_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetDigitalActionData((vr::VRActionHandle_t)params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); + if (params->pActionData) + struct_InputDigitalActionData_t_1017_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_004_GetAnalogActionData(void *linux_side, VRActionHandle_t action, winInputAnalogActionData_t_1017 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_004_GetAnalogActionData( struct cppIVRInput_IVRInput_004_GetAnalogActionData_params *params ) { - EVRInputError _ret; InputAnalogActionData_t lin_pActionData; - if (pActionData) - struct_InputAnalogActionData_t_1017_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetAnalogActionData((vr::VRActionHandle_t)action, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if (pActionData) - struct_InputAnalogActionData_t_1017_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputAnalogActionData_t_1017_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetAnalogActionData((vr::VRActionHandle_t)params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); + if (params->pActionData) + struct_InputAnalogActionData_t_1017_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_004_GetPoseActionData(void *linux_side, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1017 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_004_GetPoseActionData( struct cppIVRInput_IVRInput_004_GetPoseActionData_params *params ) { - EVRInputError _ret; InputPoseActionData_t lin_pActionData; - if (pActionData) - struct_InputPoseActionData_t_1017_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetPoseActionData((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsFromNow, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if (pActionData) - struct_InputPoseActionData_t_1017_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputPoseActionData_t_1017_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetPoseActionData((vr::VRActionHandle_t)params->action, (vr::ETrackingUniverseOrigin)params->eOrigin, (float)params->fPredictedSecondsFromNow, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); + if (params->pActionData) + struct_InputPoseActionData_t_1017_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_004_GetSkeletalActionData(void *linux_side, VRActionHandle_t action, winInputSkeletalActionData_t_1017 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_004_GetSkeletalActionData( struct cppIVRInput_IVRInput_004_GetSkeletalActionData_params *params ) { - EVRInputError _ret; InputSkeletalActionData_t lin_pActionData; - if (pActionData) - struct_InputSkeletalActionData_t_1017_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)action, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if (pActionData) - struct_InputSkeletalActionData_t_1017_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputSkeletalActionData_t_1017_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); + if (params->pActionData) + struct_InputSkeletalActionData_t_1017_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_004_GetSkeletalBoneData(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_004_GetSkeletalBoneData( struct cppIVRInput_IVRInput_004_GetSkeletalBoneData_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalBoneData((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::EVRSkeletalMotionRange)eMotionRange, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount, (vr::VRInputValueHandle_t)ulRestrictToDevice); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalBoneData((vr::VRActionHandle_t)params->action, (vr::EVRSkeletalTransformSpace)params->eTransformSpace, (vr::EVRSkeletalMotionRange)params->eMotionRange, (vr::VRBoneTransform_t *)params->pTransformArray, (uint32_t)params->unTransformArrayCount, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); } -EVRInputError cppIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed( struct cppIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalBoneDataCompressed((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::EVRSkeletalMotionRange)eMotionRange, (void *)pvCompressedData, (uint32_t)unCompressedSize, (uint32_t *)punRequiredCompressedSize, (vr::VRInputValueHandle_t)ulRestrictToDevice); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalBoneDataCompressed((vr::VRActionHandle_t)params->action, (vr::EVRSkeletalTransformSpace)params->eTransformSpace, (vr::EVRSkeletalMotionRange)params->eMotionRange, (void *)params->pvCompressedData, (uint32_t)params->unCompressedSize, (uint32_t *)params->punRequiredCompressedSize, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); } -EVRInputError cppIVRInput_IVRInput_004_DecompressSkeletalBoneData(void *linux_side, void *pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace *peTransformSpace, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +void cppIVRInput_IVRInput_004_DecompressSkeletalBoneData( struct cppIVRInput_IVRInput_004_DecompressSkeletalBoneData_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->DecompressSkeletalBoneData((void *)pvCompressedBuffer, (uint32_t)unCompressedBufferSize, (vr::EVRSkeletalTransformSpace *)peTransformSpace, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->DecompressSkeletalBoneData((void *)params->pvCompressedBuffer, (uint32_t)params->unCompressedBufferSize, (vr::EVRSkeletalTransformSpace *)params->peTransformSpace, (vr::VRBoneTransform_t *)params->pTransformArray, (uint32_t)params->unTransformArrayCount); } -EVRInputError cppIVRInput_IVRInput_004_TriggerHapticVibrationAction(void *linux_side, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_004_TriggerHapticVibrationAction( struct cppIVRInput_IVRInput_004_TriggerHapticVibrationAction_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->TriggerHapticVibrationAction((vr::VRActionHandle_t)action, (float)fStartSecondsFromNow, (float)fDurationSeconds, (float)fFrequency, (float)fAmplitude, (vr::VRInputValueHandle_t)ulRestrictToDevice); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->TriggerHapticVibrationAction((vr::VRActionHandle_t)params->action, (float)params->fStartSecondsFromNow, (float)params->fDurationSeconds, (float)params->fFrequency, (float)params->fAmplitude, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); } -EVRInputError cppIVRInput_IVRInput_004_GetActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t *originsOut, uint32_t originOutCount) +void cppIVRInput_IVRInput_004_GetActionOrigins( struct cppIVRInput_IVRInput_004_GetActionOrigins_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)digitalActionHandle, (vr::VRInputValueHandle_t *)originsOut, (uint32_t)originOutCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetActionOrigins((vr::VRActionSetHandle_t)params->actionSetHandle, (vr::VRActionHandle_t)params->digitalActionHandle, (vr::VRInputValueHandle_t *)params->originsOut, (uint32_t)params->originOutCount); } -EVRInputError cppIVRInput_IVRInput_004_GetOriginLocalizedName(void *linux_side, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize) +void cppIVRInput_IVRInput_004_GetOriginLocalizedName( struct cppIVRInput_IVRInput_004_GetOriginLocalizedName_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetOriginLocalizedName((vr::VRInputValueHandle_t)origin, (char *)pchNameArray, (uint32_t)unNameArraySize); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetOriginLocalizedName((vr::VRInputValueHandle_t)params->origin, (char *)params->pchNameArray, (uint32_t)params->unNameArraySize); } -EVRInputError cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo(void *linux_side, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) +void cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo_params *params ) { - EVRInputError _ret; - uint32_t lin_unOriginInfoSize = std::min(unOriginInfoSize, (uint32_t)sizeof(vr::InputOriginInfo_t)); - _ret = ((IVRInput*)linux_side)->GetOriginTrackedDeviceInfo((vr::VRInputValueHandle_t)origin, (vr::InputOriginInfo_t *)pOriginInfo, lin_unOriginInfoSize); - return _ret; + uint32_t lin_unOriginInfoSize = std::min( params->unOriginInfoSize, (uint32_t)sizeof(vr::InputOriginInfo_t) ); + params->_ret = ((IVRInput*)params->linux_side)->GetOriginTrackedDeviceInfo((vr::VRInputValueHandle_t)params->origin, (vr::InputOriginInfo_t *)params->pOriginInfo, lin_unOriginInfoSize); } -EVRInputError cppIVRInput_IVRInput_004_ShowActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) +void cppIVRInput_IVRInput_004_ShowActionOrigins( struct cppIVRInput_IVRInput_004_ShowActionOrigins_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->ShowActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)ulActionHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->ShowActionOrigins((vr::VRActionSetHandle_t)params->actionSetHandle, (vr::VRActionHandle_t)params->ulActionHandle); } -EVRInputError cppIVRInput_IVRInput_004_ShowBindingsForActionSet(void *linux_side, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) +void cppIVRInput_IVRInput_004_ShowBindingsForActionSet( struct cppIVRInput_IVRInput_004_ShowBindingsForActionSet_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->ShowBindingsForActionSet((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount, (vr::VRInputValueHandle_t)originToHighlight); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->ShowBindingsForActionSet((vr::VRActiveActionSet_t *)params->pSets, (uint32_t)params->unSizeOfVRSelectedActionSet_t, (uint32_t)params->unSetCount, (vr::VRInputValueHandle_t)params->originToHighlight); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.h b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.h index 6591085e..90f48c94 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.h +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.h @@ -1,24 +1,200 @@ #ifdef __cplusplus extern "C" { #endif -extern EVRInputError cppIVRInput_IVRInput_004_SetActionManifestPath(void *, const char *); -extern EVRInputError cppIVRInput_IVRInput_004_GetActionSetHandle(void *, const char *, VRActionSetHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_004_GetActionHandle(void *, const char *, VRActionHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_004_GetInputSourceHandle(void *, const char *, VRInputValueHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_004_UpdateActionState(void *, VRActiveActionSet_t *, uint32_t, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_004_GetDigitalActionData(void *, VRActionHandle_t, winInputDigitalActionData_t_1017 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_004_GetAnalogActionData(void *, VRActionHandle_t, winInputAnalogActionData_t_1017 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_004_GetPoseActionData(void *, VRActionHandle_t, ETrackingUniverseOrigin, float, winInputPoseActionData_t_1017 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_004_GetSkeletalActionData(void *, VRActionHandle_t, winInputSkeletalActionData_t_1017 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_004_GetSkeletalBoneData(void *, VRActionHandle_t, EVRSkeletalTransformSpace, EVRSkeletalMotionRange, VRBoneTransform_t *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed(void *, VRActionHandle_t, EVRSkeletalTransformSpace, EVRSkeletalMotionRange, void *, uint32_t, uint32_t *, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_004_DecompressSkeletalBoneData(void *, void *, uint32_t, EVRSkeletalTransformSpace *, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_004_TriggerHapticVibrationAction(void *, VRActionHandle_t, float, float, float, float, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_004_GetActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t, VRInputValueHandle_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_004_GetOriginLocalizedName(void *, VRInputValueHandle_t, char *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo(void *, VRInputValueHandle_t, InputOriginInfo_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_004_ShowActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t); -extern EVRInputError cppIVRInput_IVRInput_004_ShowBindingsForActionSet(void *, VRActiveActionSet_t *, uint32_t, uint32_t, VRInputValueHandle_t); +struct cppIVRInput_IVRInput_004_SetActionManifestPath_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchActionManifestPath; +}; +extern void cppIVRInput_IVRInput_004_SetActionManifestPath( struct cppIVRInput_IVRInput_004_SetActionManifestPath_params *params ); + +struct cppIVRInput_IVRInput_004_GetActionSetHandle_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchActionSetName; + VRActionSetHandle_t *pHandle; +}; +extern void cppIVRInput_IVRInput_004_GetActionSetHandle( struct cppIVRInput_IVRInput_004_GetActionSetHandle_params *params ); + +struct cppIVRInput_IVRInput_004_GetActionHandle_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchActionName; + VRActionHandle_t *pHandle; +}; +extern void cppIVRInput_IVRInput_004_GetActionHandle( struct cppIVRInput_IVRInput_004_GetActionHandle_params *params ); + +struct cppIVRInput_IVRInput_004_GetInputSourceHandle_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchInputSourcePath; + VRInputValueHandle_t *pHandle; +}; +extern void cppIVRInput_IVRInput_004_GetInputSourceHandle( struct cppIVRInput_IVRInput_004_GetInputSourceHandle_params *params ); + +struct cppIVRInput_IVRInput_004_UpdateActionState_params +{ + void *linux_side; + EVRInputError _ret; + VRActiveActionSet_t *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; +}; +extern void cppIVRInput_IVRInput_004_UpdateActionState( struct cppIVRInput_IVRInput_004_UpdateActionState_params *params ); + +struct cppIVRInput_IVRInput_004_GetDigitalActionData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + winInputDigitalActionData_t_1017 *pActionData; + uint32_t unActionDataSize; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_004_GetDigitalActionData( struct cppIVRInput_IVRInput_004_GetDigitalActionData_params *params ); + +struct cppIVRInput_IVRInput_004_GetAnalogActionData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + winInputAnalogActionData_t_1017 *pActionData; + uint32_t unActionDataSize; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_004_GetAnalogActionData( struct cppIVRInput_IVRInput_004_GetAnalogActionData_params *params ); + +struct cppIVRInput_IVRInput_004_GetPoseActionData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + ETrackingUniverseOrigin eOrigin; + float fPredictedSecondsFromNow; + winInputPoseActionData_t_1017 *pActionData; + uint32_t unActionDataSize; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_004_GetPoseActionData( struct cppIVRInput_IVRInput_004_GetPoseActionData_params *params ); + +struct cppIVRInput_IVRInput_004_GetSkeletalActionData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + winInputSkeletalActionData_t_1017 *pActionData; + uint32_t unActionDataSize; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_004_GetSkeletalActionData( struct cppIVRInput_IVRInput_004_GetSkeletalActionData_params *params ); + +struct cppIVRInput_IVRInput_004_GetSkeletalBoneData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSkeletalTransformSpace eTransformSpace; + EVRSkeletalMotionRange eMotionRange; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_004_GetSkeletalBoneData( struct cppIVRInput_IVRInput_004_GetSkeletalBoneData_params *params ); + +struct cppIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSkeletalTransformSpace eTransformSpace; + EVRSkeletalMotionRange eMotionRange; + void *pvCompressedData; + uint32_t unCompressedSize; + uint32_t *punRequiredCompressedSize; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed( struct cppIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed_params *params ); + +struct cppIVRInput_IVRInput_004_DecompressSkeletalBoneData_params +{ + void *linux_side; + EVRInputError _ret; + void *pvCompressedBuffer; + uint32_t unCompressedBufferSize; + EVRSkeletalTransformSpace *peTransformSpace; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; +extern void cppIVRInput_IVRInput_004_DecompressSkeletalBoneData( struct cppIVRInput_IVRInput_004_DecompressSkeletalBoneData_params *params ); + +struct cppIVRInput_IVRInput_004_TriggerHapticVibrationAction_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + float fStartSecondsFromNow; + float fDurationSeconds; + float fFrequency; + float fAmplitude; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_004_TriggerHapticVibrationAction( struct cppIVRInput_IVRInput_004_TriggerHapticVibrationAction_params *params ); + +struct cppIVRInput_IVRInput_004_GetActionOrigins_params +{ + void *linux_side; + EVRInputError _ret; + VRActionSetHandle_t actionSetHandle; + VRActionHandle_t digitalActionHandle; + VRInputValueHandle_t *originsOut; + uint32_t originOutCount; +}; +extern void cppIVRInput_IVRInput_004_GetActionOrigins( struct cppIVRInput_IVRInput_004_GetActionOrigins_params *params ); + +struct cppIVRInput_IVRInput_004_GetOriginLocalizedName_params +{ + void *linux_side; + EVRInputError _ret; + VRInputValueHandle_t origin; + char *pchNameArray; + uint32_t unNameArraySize; +}; +extern void cppIVRInput_IVRInput_004_GetOriginLocalizedName( struct cppIVRInput_IVRInput_004_GetOriginLocalizedName_params *params ); + +struct cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo_params +{ + void *linux_side; + EVRInputError _ret; + VRInputValueHandle_t origin; + InputOriginInfo_t *pOriginInfo; + uint32_t unOriginInfoSize; +}; +extern void cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo_params *params ); + +struct cppIVRInput_IVRInput_004_ShowActionOrigins_params +{ + void *linux_side; + EVRInputError _ret; + VRActionSetHandle_t actionSetHandle; + VRActionHandle_t ulActionHandle; +}; +extern void cppIVRInput_IVRInput_004_ShowActionOrigins( struct cppIVRInput_IVRInput_004_ShowActionOrigins_params *params ); + +struct cppIVRInput_IVRInput_004_ShowBindingsForActionSet_params +{ + void *linux_side; + EVRInputError _ret; + VRActiveActionSet_t *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; + VRInputValueHandle_t originToHighlight; +}; +extern void cppIVRInput_IVRInput_004_ShowBindingsForActionSet( struct cppIVRInput_IVRInput_004_ShowBindingsForActionSet_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.cpp index 21c3296d..33b5c7c5 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.cpp @@ -9,204 +9,154 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVRInputError cppIVRInput_IVRInput_005_SetActionManifestPath(void *linux_side, const char *pchActionManifestPath) +void cppIVRInput_IVRInput_005_SetActionManifestPath( struct cppIVRInput_IVRInput_005_SetActionManifestPath_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->SetActionManifestPath((const char *)pchActionManifestPath); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->SetActionManifestPath((const char *)params->pchActionManifestPath); } -EVRInputError cppIVRInput_IVRInput_005_GetActionSetHandle(void *linux_side, const char *pchActionSetName, VRActionSetHandle_t *pHandle) +void cppIVRInput_IVRInput_005_GetActionSetHandle( struct cppIVRInput_IVRInput_005_GetActionSetHandle_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetActionSetHandle((const char *)pchActionSetName, (vr::VRActionSetHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetActionSetHandle((const char *)params->pchActionSetName, (vr::VRActionSetHandle_t *)params->pHandle); } -EVRInputError cppIVRInput_IVRInput_005_GetActionHandle(void *linux_side, const char *pchActionName, VRActionHandle_t *pHandle) +void cppIVRInput_IVRInput_005_GetActionHandle( struct cppIVRInput_IVRInput_005_GetActionHandle_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetActionHandle((const char *)pchActionName, (vr::VRActionHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetActionHandle((const char *)params->pchActionName, (vr::VRActionHandle_t *)params->pHandle); } -EVRInputError cppIVRInput_IVRInput_005_GetInputSourceHandle(void *linux_side, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) +void cppIVRInput_IVRInput_005_GetInputSourceHandle( struct cppIVRInput_IVRInput_005_GetInputSourceHandle_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetInputSourceHandle((const char *)pchInputSourcePath, (vr::VRInputValueHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetInputSourceHandle((const char *)params->pchInputSourcePath, (vr::VRInputValueHandle_t *)params->pHandle); } -EVRInputError cppIVRInput_IVRInput_005_UpdateActionState(void *linux_side, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +void cppIVRInput_IVRInput_005_UpdateActionState( struct cppIVRInput_IVRInput_005_UpdateActionState_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->UpdateActionState((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->UpdateActionState((vr::VRActiveActionSet_t *)params->pSets, (uint32_t)params->unSizeOfVRSelectedActionSet_t, (uint32_t)params->unSetCount); } -EVRInputError cppIVRInput_IVRInput_005_GetDigitalActionData(void *linux_side, VRActionHandle_t action, winInputDigitalActionData_t_1322 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_005_GetDigitalActionData( struct cppIVRInput_IVRInput_005_GetDigitalActionData_params *params ) { - EVRInputError _ret; InputDigitalActionData_t lin_pActionData; - if (pActionData) - struct_InputDigitalActionData_t_1322_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetDigitalActionData((vr::VRActionHandle_t)action, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if (pActionData) - struct_InputDigitalActionData_t_1322_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputDigitalActionData_t_1322_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetDigitalActionData((vr::VRActionHandle_t)params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); + if (params->pActionData) + struct_InputDigitalActionData_t_1322_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_005_GetAnalogActionData(void *linux_side, VRActionHandle_t action, winInputAnalogActionData_t_1322 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_005_GetAnalogActionData( struct cppIVRInput_IVRInput_005_GetAnalogActionData_params *params ) { - EVRInputError _ret; InputAnalogActionData_t lin_pActionData; - if (pActionData) - struct_InputAnalogActionData_t_1322_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetAnalogActionData((vr::VRActionHandle_t)action, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if (pActionData) - struct_InputAnalogActionData_t_1322_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputAnalogActionData_t_1322_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetAnalogActionData((vr::VRActionHandle_t)params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); + if (params->pActionData) + struct_InputAnalogActionData_t_1322_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_005_GetPoseActionData(void *linux_side, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1322 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_005_GetPoseActionData( struct cppIVRInput_IVRInput_005_GetPoseActionData_params *params ) { - EVRInputError _ret; InputPoseActionData_t lin_pActionData; - if (pActionData) - struct_InputPoseActionData_t_1322_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetPoseActionData((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsFromNow, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if (pActionData) - struct_InputPoseActionData_t_1322_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputPoseActionData_t_1322_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetPoseActionData((vr::VRActionHandle_t)params->action, (vr::ETrackingUniverseOrigin)params->eOrigin, (float)params->fPredictedSecondsFromNow, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); + if (params->pActionData) + struct_InputPoseActionData_t_1322_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_005_GetSkeletalActionData(void *linux_side, VRActionHandle_t action, winInputSkeletalActionData_t_1322 *pActionData, uint32_t unActionDataSize) +void cppIVRInput_IVRInput_005_GetSkeletalActionData( struct cppIVRInput_IVRInput_005_GetSkeletalActionData_params *params ) { - EVRInputError _ret; InputSkeletalActionData_t lin_pActionData; - if (pActionData) - struct_InputSkeletalActionData_t_1322_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)action, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize); - if (pActionData) - struct_InputSkeletalActionData_t_1322_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputSkeletalActionData_t_1322_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize); + if (params->pActionData) + struct_InputSkeletalActionData_t_1322_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_005_GetBoneCount(void *linux_side, VRActionHandle_t action, uint32_t *pBoneCount) +void cppIVRInput_IVRInput_005_GetBoneCount( struct cppIVRInput_IVRInput_005_GetBoneCount_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetBoneCount((vr::VRActionHandle_t)action, (uint32_t *)pBoneCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetBoneCount((vr::VRActionHandle_t)params->action, (uint32_t *)params->pBoneCount); } -EVRInputError cppIVRInput_IVRInput_005_GetBoneHierarchy(void *linux_side, VRActionHandle_t action, BoneIndex_t *pParentIndices, uint32_t unIndexArayCount) +void cppIVRInput_IVRInput_005_GetBoneHierarchy( struct cppIVRInput_IVRInput_005_GetBoneHierarchy_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetBoneHierarchy((vr::VRActionHandle_t)action, (vr::BoneIndex_t *)pParentIndices, (uint32_t)unIndexArayCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetBoneHierarchy((vr::VRActionHandle_t)params->action, (vr::BoneIndex_t *)params->pParentIndices, (uint32_t)params->unIndexArayCount); } -EVRInputError cppIVRInput_IVRInput_005_GetBoneName(void *linux_side, VRActionHandle_t action, BoneIndex_t nBoneIndex, char *pchBoneName, uint32_t unNameBufferSize) +void cppIVRInput_IVRInput_005_GetBoneName( struct cppIVRInput_IVRInput_005_GetBoneName_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetBoneName((vr::VRActionHandle_t)action, (vr::BoneIndex_t)nBoneIndex, (char *)pchBoneName, (uint32_t)unNameBufferSize); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetBoneName((vr::VRActionHandle_t)params->action, (vr::BoneIndex_t)params->nBoneIndex, (char *)params->pchBoneName, (uint32_t)params->unNameBufferSize); } -EVRInputError cppIVRInput_IVRInput_005_GetSkeletalReferenceTransforms(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +void cppIVRInput_IVRInput_005_GetSkeletalReferenceTransforms( struct cppIVRInput_IVRInput_005_GetSkeletalReferenceTransforms_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalReferenceTransforms((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::EVRSkeletalReferencePose)eReferencePose, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalReferenceTransforms((vr::VRActionHandle_t)params->action, (vr::EVRSkeletalTransformSpace)params->eTransformSpace, (vr::EVRSkeletalReferencePose)params->eReferencePose, (vr::VRBoneTransform_t *)params->pTransformArray, (uint32_t)params->unTransformArrayCount); } -EVRInputError cppIVRInput_IVRInput_005_GetSkeletalTrackingLevel(void *linux_side, VRActionHandle_t action, EVRSkeletalTrackingLevel *pSkeletalTrackingLevel) +void cppIVRInput_IVRInput_005_GetSkeletalTrackingLevel( struct cppIVRInput_IVRInput_005_GetSkeletalTrackingLevel_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalTrackingLevel((vr::VRActionHandle_t)action, (vr::EVRSkeletalTrackingLevel *)pSkeletalTrackingLevel); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalTrackingLevel((vr::VRActionHandle_t)params->action, (vr::EVRSkeletalTrackingLevel *)params->pSkeletalTrackingLevel); } -EVRInputError cppIVRInput_IVRInput_005_GetSkeletalBoneData(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +void cppIVRInput_IVRInput_005_GetSkeletalBoneData( struct cppIVRInput_IVRInput_005_GetSkeletalBoneData_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalBoneData((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::EVRSkeletalMotionRange)eMotionRange, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalBoneData((vr::VRActionHandle_t)params->action, (vr::EVRSkeletalTransformSpace)params->eTransformSpace, (vr::EVRSkeletalMotionRange)params->eMotionRange, (vr::VRBoneTransform_t *)params->pTransformArray, (uint32_t)params->unTransformArrayCount); } -EVRInputError cppIVRInput_IVRInput_005_GetSkeletalSummaryData(void *linux_side, VRActionHandle_t action, VRSkeletalSummaryData_t *pSkeletalSummaryData) +void cppIVRInput_IVRInput_005_GetSkeletalSummaryData( struct cppIVRInput_IVRInput_005_GetSkeletalSummaryData_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalSummaryData((vr::VRActionHandle_t)action, (vr::VRSkeletalSummaryData_t *)pSkeletalSummaryData); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalSummaryData((vr::VRActionHandle_t)params->action, (vr::VRSkeletalSummaryData_t *)params->pSkeletalSummaryData); } -EVRInputError cppIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed(void *linux_side, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize) +void cppIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed( struct cppIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalBoneDataCompressed((vr::VRActionHandle_t)action, (vr::EVRSkeletalMotionRange)eMotionRange, (void *)pvCompressedData, (uint32_t)unCompressedSize, (uint32_t *)punRequiredCompressedSize); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalBoneDataCompressed((vr::VRActionHandle_t)params->action, (vr::EVRSkeletalMotionRange)params->eMotionRange, (void *)params->pvCompressedData, (uint32_t)params->unCompressedSize, (uint32_t *)params->punRequiredCompressedSize); } -EVRInputError cppIVRInput_IVRInput_005_DecompressSkeletalBoneData(void *linux_side, const void *pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +void cppIVRInput_IVRInput_005_DecompressSkeletalBoneData( struct cppIVRInput_IVRInput_005_DecompressSkeletalBoneData_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->DecompressSkeletalBoneData((const void *)pvCompressedBuffer, (uint32_t)unCompressedBufferSize, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->DecompressSkeletalBoneData((const void *)params->pvCompressedBuffer, (uint32_t)params->unCompressedBufferSize, (vr::EVRSkeletalTransformSpace)params->eTransformSpace, (vr::VRBoneTransform_t *)params->pTransformArray, (uint32_t)params->unTransformArrayCount); } -EVRInputError cppIVRInput_IVRInput_005_TriggerHapticVibrationAction(void *linux_side, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_005_TriggerHapticVibrationAction( struct cppIVRInput_IVRInput_005_TriggerHapticVibrationAction_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->TriggerHapticVibrationAction((vr::VRActionHandle_t)action, (float)fStartSecondsFromNow, (float)fDurationSeconds, (float)fFrequency, (float)fAmplitude, (vr::VRInputValueHandle_t)ulRestrictToDevice); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->TriggerHapticVibrationAction((vr::VRActionHandle_t)params->action, (float)params->fStartSecondsFromNow, (float)params->fDurationSeconds, (float)params->fFrequency, (float)params->fAmplitude, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); } -EVRInputError cppIVRInput_IVRInput_005_GetActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t *originsOut, uint32_t originOutCount) +void cppIVRInput_IVRInput_005_GetActionOrigins( struct cppIVRInput_IVRInput_005_GetActionOrigins_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)digitalActionHandle, (vr::VRInputValueHandle_t *)originsOut, (uint32_t)originOutCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetActionOrigins((vr::VRActionSetHandle_t)params->actionSetHandle, (vr::VRActionHandle_t)params->digitalActionHandle, (vr::VRInputValueHandle_t *)params->originsOut, (uint32_t)params->originOutCount); } -EVRInputError cppIVRInput_IVRInput_005_GetOriginLocalizedName(void *linux_side, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) +void cppIVRInput_IVRInput_005_GetOriginLocalizedName( struct cppIVRInput_IVRInput_005_GetOriginLocalizedName_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetOriginLocalizedName((vr::VRInputValueHandle_t)origin, (char *)pchNameArray, (uint32_t)unNameArraySize, (int32_t)unStringSectionsToInclude); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetOriginLocalizedName((vr::VRInputValueHandle_t)params->origin, (char *)params->pchNameArray, (uint32_t)params->unNameArraySize, (int32_t)params->unStringSectionsToInclude); } -EVRInputError cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo(void *linux_side, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) +void cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo_params *params ) { - EVRInputError _ret; - uint32_t lin_unOriginInfoSize = std::min(unOriginInfoSize, (uint32_t)sizeof(vr::InputOriginInfo_t)); - _ret = ((IVRInput*)linux_side)->GetOriginTrackedDeviceInfo((vr::VRInputValueHandle_t)origin, (vr::InputOriginInfo_t *)pOriginInfo, lin_unOriginInfoSize); - return _ret; + uint32_t lin_unOriginInfoSize = std::min( params->unOriginInfoSize, (uint32_t)sizeof(vr::InputOriginInfo_t) ); + params->_ret = ((IVRInput*)params->linux_side)->GetOriginTrackedDeviceInfo((vr::VRInputValueHandle_t)params->origin, (vr::InputOriginInfo_t *)params->pOriginInfo, lin_unOriginInfoSize); } -EVRInputError cppIVRInput_IVRInput_005_ShowActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) +void cppIVRInput_IVRInput_005_ShowActionOrigins( struct cppIVRInput_IVRInput_005_ShowActionOrigins_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->ShowActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)ulActionHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->ShowActionOrigins((vr::VRActionSetHandle_t)params->actionSetHandle, (vr::VRActionHandle_t)params->ulActionHandle); } -EVRInputError cppIVRInput_IVRInput_005_ShowBindingsForActionSet(void *linux_side, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) +void cppIVRInput_IVRInput_005_ShowBindingsForActionSet( struct cppIVRInput_IVRInput_005_ShowBindingsForActionSet_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->ShowBindingsForActionSet((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount, (vr::VRInputValueHandle_t)originToHighlight); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->ShowBindingsForActionSet((vr::VRActiveActionSet_t *)params->pSets, (uint32_t)params->unSizeOfVRSelectedActionSet_t, (uint32_t)params->unSetCount, (vr::VRInputValueHandle_t)params->originToHighlight); } -bool cppIVRInput_IVRInput_005_IsUsingLegacyInput(void *linux_side) +void cppIVRInput_IVRInput_005_IsUsingLegacyInput( struct cppIVRInput_IVRInput_005_IsUsingLegacyInput_params *params ) { - bool _ret; - _ret = ((IVRInput*)linux_side)->IsUsingLegacyInput(); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->IsUsingLegacyInput(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.h b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.h index c0293237..95f63510 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.h +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.h @@ -1,31 +1,264 @@ #ifdef __cplusplus extern "C" { #endif -extern EVRInputError cppIVRInput_IVRInput_005_SetActionManifestPath(void *, const char *); -extern EVRInputError cppIVRInput_IVRInput_005_GetActionSetHandle(void *, const char *, VRActionSetHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_005_GetActionHandle(void *, const char *, VRActionHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_005_GetInputSourceHandle(void *, const char *, VRInputValueHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_005_UpdateActionState(void *, VRActiveActionSet_t *, uint32_t, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetDigitalActionData(void *, VRActionHandle_t, winInputDigitalActionData_t_1322 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetAnalogActionData(void *, VRActionHandle_t, winInputAnalogActionData_t_1322 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetPoseActionData(void *, VRActionHandle_t, ETrackingUniverseOrigin, float, winInputPoseActionData_t_1322 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetSkeletalActionData(void *, VRActionHandle_t, winInputSkeletalActionData_t_1322 *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetBoneCount(void *, VRActionHandle_t, uint32_t *); -extern EVRInputError cppIVRInput_IVRInput_005_GetBoneHierarchy(void *, VRActionHandle_t, BoneIndex_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetBoneName(void *, VRActionHandle_t, BoneIndex_t, char *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetSkeletalReferenceTransforms(void *, VRActionHandle_t, EVRSkeletalTransformSpace, EVRSkeletalReferencePose, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetSkeletalTrackingLevel(void *, VRActionHandle_t, EVRSkeletalTrackingLevel *); -extern EVRInputError cppIVRInput_IVRInput_005_GetSkeletalBoneData(void *, VRActionHandle_t, EVRSkeletalTransformSpace, EVRSkeletalMotionRange, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetSkeletalSummaryData(void *, VRActionHandle_t, VRSkeletalSummaryData_t *); -extern EVRInputError cppIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed(void *, VRActionHandle_t, EVRSkeletalMotionRange, void *, uint32_t, uint32_t *); -extern EVRInputError cppIVRInput_IVRInput_005_DecompressSkeletalBoneData(void *, const void *, uint32_t, EVRSkeletalTransformSpace, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_005_TriggerHapticVibrationAction(void *, VRActionHandle_t, float, float, float, float, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t, VRInputValueHandle_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetOriginLocalizedName(void *, VRInputValueHandle_t, char *, uint32_t, int32_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo(void *, VRInputValueHandle_t, InputOriginInfo_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_005_ShowActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t); -extern EVRInputError cppIVRInput_IVRInput_005_ShowBindingsForActionSet(void *, VRActiveActionSet_t *, uint32_t, uint32_t, VRInputValueHandle_t); -extern bool cppIVRInput_IVRInput_005_IsUsingLegacyInput(void *); +struct cppIVRInput_IVRInput_005_SetActionManifestPath_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchActionManifestPath; +}; +extern void cppIVRInput_IVRInput_005_SetActionManifestPath( struct cppIVRInput_IVRInput_005_SetActionManifestPath_params *params ); + +struct cppIVRInput_IVRInput_005_GetActionSetHandle_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchActionSetName; + VRActionSetHandle_t *pHandle; +}; +extern void cppIVRInput_IVRInput_005_GetActionSetHandle( struct cppIVRInput_IVRInput_005_GetActionSetHandle_params *params ); + +struct cppIVRInput_IVRInput_005_GetActionHandle_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchActionName; + VRActionHandle_t *pHandle; +}; +extern void cppIVRInput_IVRInput_005_GetActionHandle( struct cppIVRInput_IVRInput_005_GetActionHandle_params *params ); + +struct cppIVRInput_IVRInput_005_GetInputSourceHandle_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchInputSourcePath; + VRInputValueHandle_t *pHandle; +}; +extern void cppIVRInput_IVRInput_005_GetInputSourceHandle( struct cppIVRInput_IVRInput_005_GetInputSourceHandle_params *params ); + +struct cppIVRInput_IVRInput_005_UpdateActionState_params +{ + void *linux_side; + EVRInputError _ret; + VRActiveActionSet_t *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; +}; +extern void cppIVRInput_IVRInput_005_UpdateActionState( struct cppIVRInput_IVRInput_005_UpdateActionState_params *params ); + +struct cppIVRInput_IVRInput_005_GetDigitalActionData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + winInputDigitalActionData_t_1322 *pActionData; + uint32_t unActionDataSize; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_005_GetDigitalActionData( struct cppIVRInput_IVRInput_005_GetDigitalActionData_params *params ); + +struct cppIVRInput_IVRInput_005_GetAnalogActionData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + winInputAnalogActionData_t_1322 *pActionData; + uint32_t unActionDataSize; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_005_GetAnalogActionData( struct cppIVRInput_IVRInput_005_GetAnalogActionData_params *params ); + +struct cppIVRInput_IVRInput_005_GetPoseActionData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + ETrackingUniverseOrigin eOrigin; + float fPredictedSecondsFromNow; + winInputPoseActionData_t_1322 *pActionData; + uint32_t unActionDataSize; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_005_GetPoseActionData( struct cppIVRInput_IVRInput_005_GetPoseActionData_params *params ); + +struct cppIVRInput_IVRInput_005_GetSkeletalActionData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + winInputSkeletalActionData_t_1322 *pActionData; + uint32_t unActionDataSize; +}; +extern void cppIVRInput_IVRInput_005_GetSkeletalActionData( struct cppIVRInput_IVRInput_005_GetSkeletalActionData_params *params ); + +struct cppIVRInput_IVRInput_005_GetBoneCount_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + uint32_t *pBoneCount; +}; +extern void cppIVRInput_IVRInput_005_GetBoneCount( struct cppIVRInput_IVRInput_005_GetBoneCount_params *params ); + +struct cppIVRInput_IVRInput_005_GetBoneHierarchy_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + BoneIndex_t *pParentIndices; + uint32_t unIndexArayCount; +}; +extern void cppIVRInput_IVRInput_005_GetBoneHierarchy( struct cppIVRInput_IVRInput_005_GetBoneHierarchy_params *params ); + +struct cppIVRInput_IVRInput_005_GetBoneName_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + BoneIndex_t nBoneIndex; + char *pchBoneName; + uint32_t unNameBufferSize; +}; +extern void cppIVRInput_IVRInput_005_GetBoneName( struct cppIVRInput_IVRInput_005_GetBoneName_params *params ); + +struct cppIVRInput_IVRInput_005_GetSkeletalReferenceTransforms_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSkeletalTransformSpace eTransformSpace; + EVRSkeletalReferencePose eReferencePose; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; +extern void cppIVRInput_IVRInput_005_GetSkeletalReferenceTransforms( struct cppIVRInput_IVRInput_005_GetSkeletalReferenceTransforms_params *params ); + +struct cppIVRInput_IVRInput_005_GetSkeletalTrackingLevel_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSkeletalTrackingLevel *pSkeletalTrackingLevel; +}; +extern void cppIVRInput_IVRInput_005_GetSkeletalTrackingLevel( struct cppIVRInput_IVRInput_005_GetSkeletalTrackingLevel_params *params ); + +struct cppIVRInput_IVRInput_005_GetSkeletalBoneData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSkeletalTransformSpace eTransformSpace; + EVRSkeletalMotionRange eMotionRange; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; +extern void cppIVRInput_IVRInput_005_GetSkeletalBoneData( struct cppIVRInput_IVRInput_005_GetSkeletalBoneData_params *params ); + +struct cppIVRInput_IVRInput_005_GetSkeletalSummaryData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + VRSkeletalSummaryData_t *pSkeletalSummaryData; +}; +extern void cppIVRInput_IVRInput_005_GetSkeletalSummaryData( struct cppIVRInput_IVRInput_005_GetSkeletalSummaryData_params *params ); + +struct cppIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSkeletalMotionRange eMotionRange; + void *pvCompressedData; + uint32_t unCompressedSize; + uint32_t *punRequiredCompressedSize; +}; +extern void cppIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed( struct cppIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed_params *params ); + +struct cppIVRInput_IVRInput_005_DecompressSkeletalBoneData_params +{ + void *linux_side; + EVRInputError _ret; + const void *pvCompressedBuffer; + uint32_t unCompressedBufferSize; + EVRSkeletalTransformSpace eTransformSpace; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; +extern void cppIVRInput_IVRInput_005_DecompressSkeletalBoneData( struct cppIVRInput_IVRInput_005_DecompressSkeletalBoneData_params *params ); + +struct cppIVRInput_IVRInput_005_TriggerHapticVibrationAction_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + float fStartSecondsFromNow; + float fDurationSeconds; + float fFrequency; + float fAmplitude; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_005_TriggerHapticVibrationAction( struct cppIVRInput_IVRInput_005_TriggerHapticVibrationAction_params *params ); + +struct cppIVRInput_IVRInput_005_GetActionOrigins_params +{ + void *linux_side; + EVRInputError _ret; + VRActionSetHandle_t actionSetHandle; + VRActionHandle_t digitalActionHandle; + VRInputValueHandle_t *originsOut; + uint32_t originOutCount; +}; +extern void cppIVRInput_IVRInput_005_GetActionOrigins( struct cppIVRInput_IVRInput_005_GetActionOrigins_params *params ); + +struct cppIVRInput_IVRInput_005_GetOriginLocalizedName_params +{ + void *linux_side; + EVRInputError _ret; + VRInputValueHandle_t origin; + char *pchNameArray; + uint32_t unNameArraySize; + int32_t unStringSectionsToInclude; +}; +extern void cppIVRInput_IVRInput_005_GetOriginLocalizedName( struct cppIVRInput_IVRInput_005_GetOriginLocalizedName_params *params ); + +struct cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo_params +{ + void *linux_side; + EVRInputError _ret; + VRInputValueHandle_t origin; + InputOriginInfo_t *pOriginInfo; + uint32_t unOriginInfoSize; +}; +extern void cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo_params *params ); + +struct cppIVRInput_IVRInput_005_ShowActionOrigins_params +{ + void *linux_side; + EVRInputError _ret; + VRActionSetHandle_t actionSetHandle; + VRActionHandle_t ulActionHandle; +}; +extern void cppIVRInput_IVRInput_005_ShowActionOrigins( struct cppIVRInput_IVRInput_005_ShowActionOrigins_params *params ); + +struct cppIVRInput_IVRInput_005_ShowBindingsForActionSet_params +{ + void *linux_side; + EVRInputError _ret; + VRActiveActionSet_t *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; + VRInputValueHandle_t originToHighlight; +}; +extern void cppIVRInput_IVRInput_005_ShowBindingsForActionSet( struct cppIVRInput_IVRInput_005_ShowBindingsForActionSet_params *params ); + +struct cppIVRInput_IVRInput_005_IsUsingLegacyInput_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRInput_IVRInput_005_IsUsingLegacyInput( struct cppIVRInput_IVRInput_005_IsUsingLegacyInput_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.cpp index 96b09147..44f161be 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.cpp @@ -9,217 +9,165 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVRInputError cppIVRInput_IVRInput_006_SetActionManifestPath(void *linux_side, const char *pchActionManifestPath) +void cppIVRInput_IVRInput_006_SetActionManifestPath( struct cppIVRInput_IVRInput_006_SetActionManifestPath_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->SetActionManifestPath((const char *)pchActionManifestPath); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->SetActionManifestPath((const char *)params->pchActionManifestPath); } -EVRInputError cppIVRInput_IVRInput_006_GetActionSetHandle(void *linux_side, const char *pchActionSetName, VRActionSetHandle_t *pHandle) +void cppIVRInput_IVRInput_006_GetActionSetHandle( struct cppIVRInput_IVRInput_006_GetActionSetHandle_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetActionSetHandle((const char *)pchActionSetName, (vr::VRActionSetHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetActionSetHandle((const char *)params->pchActionSetName, (vr::VRActionSetHandle_t *)params->pHandle); } -EVRInputError cppIVRInput_IVRInput_006_GetActionHandle(void *linux_side, const char *pchActionName, VRActionHandle_t *pHandle) +void cppIVRInput_IVRInput_006_GetActionHandle( struct cppIVRInput_IVRInput_006_GetActionHandle_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetActionHandle((const char *)pchActionName, (vr::VRActionHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetActionHandle((const char *)params->pchActionName, (vr::VRActionHandle_t *)params->pHandle); } -EVRInputError cppIVRInput_IVRInput_006_GetInputSourceHandle(void *linux_side, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) +void cppIVRInput_IVRInput_006_GetInputSourceHandle( struct cppIVRInput_IVRInput_006_GetInputSourceHandle_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetInputSourceHandle((const char *)pchInputSourcePath, (vr::VRInputValueHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetInputSourceHandle((const char *)params->pchInputSourcePath, (vr::VRInputValueHandle_t *)params->pHandle); } -EVRInputError cppIVRInput_IVRInput_006_UpdateActionState(void *linux_side, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +void cppIVRInput_IVRInput_006_UpdateActionState( struct cppIVRInput_IVRInput_006_UpdateActionState_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->UpdateActionState((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->UpdateActionState((vr::VRActiveActionSet_t *)params->pSets, (uint32_t)params->unSizeOfVRSelectedActionSet_t, (uint32_t)params->unSetCount); } -EVRInputError cppIVRInput_IVRInput_006_GetDigitalActionData(void *linux_side, VRActionHandle_t action, winInputDigitalActionData_t_1418 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_006_GetDigitalActionData( struct cppIVRInput_IVRInput_006_GetDigitalActionData_params *params ) { - EVRInputError _ret; InputDigitalActionData_t lin_pActionData; - if (pActionData) - struct_InputDigitalActionData_t_1418_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetDigitalActionData((vr::VRActionHandle_t)action, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if (pActionData) - struct_InputDigitalActionData_t_1418_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputDigitalActionData_t_1418_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetDigitalActionData((vr::VRActionHandle_t)params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); + if (params->pActionData) + struct_InputDigitalActionData_t_1418_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_006_GetAnalogActionData(void *linux_side, VRActionHandle_t action, winInputAnalogActionData_t_1418 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_006_GetAnalogActionData( struct cppIVRInput_IVRInput_006_GetAnalogActionData_params *params ) { - EVRInputError _ret; InputAnalogActionData_t lin_pActionData; - if (pActionData) - struct_InputAnalogActionData_t_1418_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetAnalogActionData((vr::VRActionHandle_t)action, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if (pActionData) - struct_InputAnalogActionData_t_1418_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputAnalogActionData_t_1418_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetAnalogActionData((vr::VRActionHandle_t)params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); + if (params->pActionData) + struct_InputAnalogActionData_t_1418_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow(void *linux_side, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1418 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow( struct cppIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow_params *params ) { - EVRInputError _ret; InputPoseActionData_t lin_pActionData; - if (pActionData) - struct_InputPoseActionData_t_1418_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetPoseActionDataRelativeToNow((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsFromNow, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if (pActionData) - struct_InputPoseActionData_t_1418_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputPoseActionData_t_1418_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetPoseActionDataRelativeToNow((vr::VRActionHandle_t)params->action, (vr::ETrackingUniverseOrigin)params->eOrigin, (float)params->fPredictedSecondsFromNow, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); + if (params->pActionData) + struct_InputPoseActionData_t_1418_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_006_GetPoseActionDataForNextFrame(void *linux_side, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, winInputPoseActionData_t_1418 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_006_GetPoseActionDataForNextFrame( struct cppIVRInput_IVRInput_006_GetPoseActionDataForNextFrame_params *params ) { - EVRInputError _ret; InputPoseActionData_t lin_pActionData; - if (pActionData) - struct_InputPoseActionData_t_1418_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetPoseActionDataForNextFrame((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if (pActionData) - struct_InputPoseActionData_t_1418_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputPoseActionData_t_1418_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetPoseActionDataForNextFrame((vr::VRActionHandle_t)params->action, (vr::ETrackingUniverseOrigin)params->eOrigin, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); + if (params->pActionData) + struct_InputPoseActionData_t_1418_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_006_GetSkeletalActionData(void *linux_side, VRActionHandle_t action, winInputSkeletalActionData_t_1418 *pActionData, uint32_t unActionDataSize) +void cppIVRInput_IVRInput_006_GetSkeletalActionData( struct cppIVRInput_IVRInput_006_GetSkeletalActionData_params *params ) { - EVRInputError _ret; InputSkeletalActionData_t lin_pActionData; - if (pActionData) - struct_InputSkeletalActionData_t_1418_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)action, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize); - if (pActionData) - struct_InputSkeletalActionData_t_1418_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputSkeletalActionData_t_1418_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize); + if (params->pActionData) + struct_InputSkeletalActionData_t_1418_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_006_GetBoneCount(void *linux_side, VRActionHandle_t action, uint32_t *pBoneCount) +void cppIVRInput_IVRInput_006_GetBoneCount( struct cppIVRInput_IVRInput_006_GetBoneCount_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetBoneCount((vr::VRActionHandle_t)action, (uint32_t *)pBoneCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetBoneCount((vr::VRActionHandle_t)params->action, (uint32_t *)params->pBoneCount); } -EVRInputError cppIVRInput_IVRInput_006_GetBoneHierarchy(void *linux_side, VRActionHandle_t action, BoneIndex_t *pParentIndices, uint32_t unIndexArayCount) +void cppIVRInput_IVRInput_006_GetBoneHierarchy( struct cppIVRInput_IVRInput_006_GetBoneHierarchy_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetBoneHierarchy((vr::VRActionHandle_t)action, (vr::BoneIndex_t *)pParentIndices, (uint32_t)unIndexArayCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetBoneHierarchy((vr::VRActionHandle_t)params->action, (vr::BoneIndex_t *)params->pParentIndices, (uint32_t)params->unIndexArayCount); } -EVRInputError cppIVRInput_IVRInput_006_GetBoneName(void *linux_side, VRActionHandle_t action, BoneIndex_t nBoneIndex, char *pchBoneName, uint32_t unNameBufferSize) +void cppIVRInput_IVRInput_006_GetBoneName( struct cppIVRInput_IVRInput_006_GetBoneName_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetBoneName((vr::VRActionHandle_t)action, (vr::BoneIndex_t)nBoneIndex, (char *)pchBoneName, (uint32_t)unNameBufferSize); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetBoneName((vr::VRActionHandle_t)params->action, (vr::BoneIndex_t)params->nBoneIndex, (char *)params->pchBoneName, (uint32_t)params->unNameBufferSize); } -EVRInputError cppIVRInput_IVRInput_006_GetSkeletalReferenceTransforms(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +void cppIVRInput_IVRInput_006_GetSkeletalReferenceTransforms( struct cppIVRInput_IVRInput_006_GetSkeletalReferenceTransforms_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalReferenceTransforms((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::EVRSkeletalReferencePose)eReferencePose, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalReferenceTransforms((vr::VRActionHandle_t)params->action, (vr::EVRSkeletalTransformSpace)params->eTransformSpace, (vr::EVRSkeletalReferencePose)params->eReferencePose, (vr::VRBoneTransform_t *)params->pTransformArray, (uint32_t)params->unTransformArrayCount); } -EVRInputError cppIVRInput_IVRInput_006_GetSkeletalTrackingLevel(void *linux_side, VRActionHandle_t action, EVRSkeletalTrackingLevel *pSkeletalTrackingLevel) +void cppIVRInput_IVRInput_006_GetSkeletalTrackingLevel( struct cppIVRInput_IVRInput_006_GetSkeletalTrackingLevel_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalTrackingLevel((vr::VRActionHandle_t)action, (vr::EVRSkeletalTrackingLevel *)pSkeletalTrackingLevel); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalTrackingLevel((vr::VRActionHandle_t)params->action, (vr::EVRSkeletalTrackingLevel *)params->pSkeletalTrackingLevel); } -EVRInputError cppIVRInput_IVRInput_006_GetSkeletalBoneData(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +void cppIVRInput_IVRInput_006_GetSkeletalBoneData( struct cppIVRInput_IVRInput_006_GetSkeletalBoneData_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalBoneData((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::EVRSkeletalMotionRange)eMotionRange, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalBoneData((vr::VRActionHandle_t)params->action, (vr::EVRSkeletalTransformSpace)params->eTransformSpace, (vr::EVRSkeletalMotionRange)params->eMotionRange, (vr::VRBoneTransform_t *)params->pTransformArray, (uint32_t)params->unTransformArrayCount); } -EVRInputError cppIVRInput_IVRInput_006_GetSkeletalSummaryData(void *linux_side, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t *pSkeletalSummaryData) +void cppIVRInput_IVRInput_006_GetSkeletalSummaryData( struct cppIVRInput_IVRInput_006_GetSkeletalSummaryData_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalSummaryData((vr::VRActionHandle_t)action, (vr::EVRSummaryType)eSummaryType, (vr::VRSkeletalSummaryData_t *)pSkeletalSummaryData); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalSummaryData((vr::VRActionHandle_t)params->action, (vr::EVRSummaryType)params->eSummaryType, (vr::VRSkeletalSummaryData_t *)params->pSkeletalSummaryData); } -EVRInputError cppIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed(void *linux_side, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize) +void cppIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed( struct cppIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalBoneDataCompressed((vr::VRActionHandle_t)action, (vr::EVRSkeletalMotionRange)eMotionRange, (void *)pvCompressedData, (uint32_t)unCompressedSize, (uint32_t *)punRequiredCompressedSize); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalBoneDataCompressed((vr::VRActionHandle_t)params->action, (vr::EVRSkeletalMotionRange)params->eMotionRange, (void *)params->pvCompressedData, (uint32_t)params->unCompressedSize, (uint32_t *)params->punRequiredCompressedSize); } -EVRInputError cppIVRInput_IVRInput_006_DecompressSkeletalBoneData(void *linux_side, const void *pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +void cppIVRInput_IVRInput_006_DecompressSkeletalBoneData( struct cppIVRInput_IVRInput_006_DecompressSkeletalBoneData_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->DecompressSkeletalBoneData((const void *)pvCompressedBuffer, (uint32_t)unCompressedBufferSize, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->DecompressSkeletalBoneData((const void *)params->pvCompressedBuffer, (uint32_t)params->unCompressedBufferSize, (vr::EVRSkeletalTransformSpace)params->eTransformSpace, (vr::VRBoneTransform_t *)params->pTransformArray, (uint32_t)params->unTransformArrayCount); } -EVRInputError cppIVRInput_IVRInput_006_TriggerHapticVibrationAction(void *linux_side, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_006_TriggerHapticVibrationAction( struct cppIVRInput_IVRInput_006_TriggerHapticVibrationAction_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->TriggerHapticVibrationAction((vr::VRActionHandle_t)action, (float)fStartSecondsFromNow, (float)fDurationSeconds, (float)fFrequency, (float)fAmplitude, (vr::VRInputValueHandle_t)ulRestrictToDevice); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->TriggerHapticVibrationAction((vr::VRActionHandle_t)params->action, (float)params->fStartSecondsFromNow, (float)params->fDurationSeconds, (float)params->fFrequency, (float)params->fAmplitude, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); } -EVRInputError cppIVRInput_IVRInput_006_GetActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t *originsOut, uint32_t originOutCount) +void cppIVRInput_IVRInput_006_GetActionOrigins( struct cppIVRInput_IVRInput_006_GetActionOrigins_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)digitalActionHandle, (vr::VRInputValueHandle_t *)originsOut, (uint32_t)originOutCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetActionOrigins((vr::VRActionSetHandle_t)params->actionSetHandle, (vr::VRActionHandle_t)params->digitalActionHandle, (vr::VRInputValueHandle_t *)params->originsOut, (uint32_t)params->originOutCount); } -EVRInputError cppIVRInput_IVRInput_006_GetOriginLocalizedName(void *linux_side, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) +void cppIVRInput_IVRInput_006_GetOriginLocalizedName( struct cppIVRInput_IVRInput_006_GetOriginLocalizedName_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetOriginLocalizedName((vr::VRInputValueHandle_t)origin, (char *)pchNameArray, (uint32_t)unNameArraySize, (int32_t)unStringSectionsToInclude); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetOriginLocalizedName((vr::VRInputValueHandle_t)params->origin, (char *)params->pchNameArray, (uint32_t)params->unNameArraySize, (int32_t)params->unStringSectionsToInclude); } -EVRInputError cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo(void *linux_side, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) +void cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo_params *params ) { - EVRInputError _ret; - uint32_t lin_unOriginInfoSize = std::min(unOriginInfoSize, (uint32_t)sizeof(vr::InputOriginInfo_t)); - _ret = ((IVRInput*)linux_side)->GetOriginTrackedDeviceInfo((vr::VRInputValueHandle_t)origin, (vr::InputOriginInfo_t *)pOriginInfo, lin_unOriginInfoSize); - return _ret; + uint32_t lin_unOriginInfoSize = std::min( params->unOriginInfoSize, (uint32_t)sizeof(vr::InputOriginInfo_t) ); + params->_ret = ((IVRInput*)params->linux_side)->GetOriginTrackedDeviceInfo((vr::VRInputValueHandle_t)params->origin, (vr::InputOriginInfo_t *)params->pOriginInfo, lin_unOriginInfoSize); } -EVRInputError cppIVRInput_IVRInput_006_ShowActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) +void cppIVRInput_IVRInput_006_ShowActionOrigins( struct cppIVRInput_IVRInput_006_ShowActionOrigins_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->ShowActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)ulActionHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->ShowActionOrigins((vr::VRActionSetHandle_t)params->actionSetHandle, (vr::VRActionHandle_t)params->ulActionHandle); } -EVRInputError cppIVRInput_IVRInput_006_ShowBindingsForActionSet(void *linux_side, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) +void cppIVRInput_IVRInput_006_ShowBindingsForActionSet( struct cppIVRInput_IVRInput_006_ShowBindingsForActionSet_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->ShowBindingsForActionSet((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount, (vr::VRInputValueHandle_t)originToHighlight); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->ShowBindingsForActionSet((vr::VRActiveActionSet_t *)params->pSets, (uint32_t)params->unSizeOfVRSelectedActionSet_t, (uint32_t)params->unSetCount, (vr::VRInputValueHandle_t)params->originToHighlight); } -bool cppIVRInput_IVRInput_006_IsUsingLegacyInput(void *linux_side) +void cppIVRInput_IVRInput_006_IsUsingLegacyInput( struct cppIVRInput_IVRInput_006_IsUsingLegacyInput_params *params ) { - bool _ret; - _ret = ((IVRInput*)linux_side)->IsUsingLegacyInput(); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->IsUsingLegacyInput(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.h b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.h index c1c4256c..40aba1c7 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.h +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.h @@ -1,32 +1,277 @@ #ifdef __cplusplus extern "C" { #endif -extern EVRInputError cppIVRInput_IVRInput_006_SetActionManifestPath(void *, const char *); -extern EVRInputError cppIVRInput_IVRInput_006_GetActionSetHandle(void *, const char *, VRActionSetHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_006_GetActionHandle(void *, const char *, VRActionHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_006_GetInputSourceHandle(void *, const char *, VRInputValueHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_006_UpdateActionState(void *, VRActiveActionSet_t *, uint32_t, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetDigitalActionData(void *, VRActionHandle_t, winInputDigitalActionData_t_1418 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetAnalogActionData(void *, VRActionHandle_t, winInputAnalogActionData_t_1418 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow(void *, VRActionHandle_t, ETrackingUniverseOrigin, float, winInputPoseActionData_t_1418 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetPoseActionDataForNextFrame(void *, VRActionHandle_t, ETrackingUniverseOrigin, winInputPoseActionData_t_1418 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetSkeletalActionData(void *, VRActionHandle_t, winInputSkeletalActionData_t_1418 *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetBoneCount(void *, VRActionHandle_t, uint32_t *); -extern EVRInputError cppIVRInput_IVRInput_006_GetBoneHierarchy(void *, VRActionHandle_t, BoneIndex_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetBoneName(void *, VRActionHandle_t, BoneIndex_t, char *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetSkeletalReferenceTransforms(void *, VRActionHandle_t, EVRSkeletalTransformSpace, EVRSkeletalReferencePose, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetSkeletalTrackingLevel(void *, VRActionHandle_t, EVRSkeletalTrackingLevel *); -extern EVRInputError cppIVRInput_IVRInput_006_GetSkeletalBoneData(void *, VRActionHandle_t, EVRSkeletalTransformSpace, EVRSkeletalMotionRange, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetSkeletalSummaryData(void *, VRActionHandle_t, EVRSummaryType, VRSkeletalSummaryData_t *); -extern EVRInputError cppIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed(void *, VRActionHandle_t, EVRSkeletalMotionRange, void *, uint32_t, uint32_t *); -extern EVRInputError cppIVRInput_IVRInput_006_DecompressSkeletalBoneData(void *, const void *, uint32_t, EVRSkeletalTransformSpace, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_006_TriggerHapticVibrationAction(void *, VRActionHandle_t, float, float, float, float, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t, VRInputValueHandle_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetOriginLocalizedName(void *, VRInputValueHandle_t, char *, uint32_t, int32_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo(void *, VRInputValueHandle_t, InputOriginInfo_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_006_ShowActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t); -extern EVRInputError cppIVRInput_IVRInput_006_ShowBindingsForActionSet(void *, VRActiveActionSet_t *, uint32_t, uint32_t, VRInputValueHandle_t); -extern bool cppIVRInput_IVRInput_006_IsUsingLegacyInput(void *); +struct cppIVRInput_IVRInput_006_SetActionManifestPath_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchActionManifestPath; +}; +extern void cppIVRInput_IVRInput_006_SetActionManifestPath( struct cppIVRInput_IVRInput_006_SetActionManifestPath_params *params ); + +struct cppIVRInput_IVRInput_006_GetActionSetHandle_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchActionSetName; + VRActionSetHandle_t *pHandle; +}; +extern void cppIVRInput_IVRInput_006_GetActionSetHandle( struct cppIVRInput_IVRInput_006_GetActionSetHandle_params *params ); + +struct cppIVRInput_IVRInput_006_GetActionHandle_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchActionName; + VRActionHandle_t *pHandle; +}; +extern void cppIVRInput_IVRInput_006_GetActionHandle( struct cppIVRInput_IVRInput_006_GetActionHandle_params *params ); + +struct cppIVRInput_IVRInput_006_GetInputSourceHandle_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchInputSourcePath; + VRInputValueHandle_t *pHandle; +}; +extern void cppIVRInput_IVRInput_006_GetInputSourceHandle( struct cppIVRInput_IVRInput_006_GetInputSourceHandle_params *params ); + +struct cppIVRInput_IVRInput_006_UpdateActionState_params +{ + void *linux_side; + EVRInputError _ret; + VRActiveActionSet_t *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; +}; +extern void cppIVRInput_IVRInput_006_UpdateActionState( struct cppIVRInput_IVRInput_006_UpdateActionState_params *params ); + +struct cppIVRInput_IVRInput_006_GetDigitalActionData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + winInputDigitalActionData_t_1418 *pActionData; + uint32_t unActionDataSize; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_006_GetDigitalActionData( struct cppIVRInput_IVRInput_006_GetDigitalActionData_params *params ); + +struct cppIVRInput_IVRInput_006_GetAnalogActionData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + winInputAnalogActionData_t_1418 *pActionData; + uint32_t unActionDataSize; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_006_GetAnalogActionData( struct cppIVRInput_IVRInput_006_GetAnalogActionData_params *params ); + +struct cppIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + ETrackingUniverseOrigin eOrigin; + float fPredictedSecondsFromNow; + winInputPoseActionData_t_1418 *pActionData; + uint32_t unActionDataSize; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow( struct cppIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow_params *params ); + +struct cppIVRInput_IVRInput_006_GetPoseActionDataForNextFrame_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + ETrackingUniverseOrigin eOrigin; + winInputPoseActionData_t_1418 *pActionData; + uint32_t unActionDataSize; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_006_GetPoseActionDataForNextFrame( struct cppIVRInput_IVRInput_006_GetPoseActionDataForNextFrame_params *params ); + +struct cppIVRInput_IVRInput_006_GetSkeletalActionData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + winInputSkeletalActionData_t_1418 *pActionData; + uint32_t unActionDataSize; +}; +extern void cppIVRInput_IVRInput_006_GetSkeletalActionData( struct cppIVRInput_IVRInput_006_GetSkeletalActionData_params *params ); + +struct cppIVRInput_IVRInput_006_GetBoneCount_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + uint32_t *pBoneCount; +}; +extern void cppIVRInput_IVRInput_006_GetBoneCount( struct cppIVRInput_IVRInput_006_GetBoneCount_params *params ); + +struct cppIVRInput_IVRInput_006_GetBoneHierarchy_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + BoneIndex_t *pParentIndices; + uint32_t unIndexArayCount; +}; +extern void cppIVRInput_IVRInput_006_GetBoneHierarchy( struct cppIVRInput_IVRInput_006_GetBoneHierarchy_params *params ); + +struct cppIVRInput_IVRInput_006_GetBoneName_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + BoneIndex_t nBoneIndex; + char *pchBoneName; + uint32_t unNameBufferSize; +}; +extern void cppIVRInput_IVRInput_006_GetBoneName( struct cppIVRInput_IVRInput_006_GetBoneName_params *params ); + +struct cppIVRInput_IVRInput_006_GetSkeletalReferenceTransforms_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSkeletalTransformSpace eTransformSpace; + EVRSkeletalReferencePose eReferencePose; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; +extern void cppIVRInput_IVRInput_006_GetSkeletalReferenceTransforms( struct cppIVRInput_IVRInput_006_GetSkeletalReferenceTransforms_params *params ); + +struct cppIVRInput_IVRInput_006_GetSkeletalTrackingLevel_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSkeletalTrackingLevel *pSkeletalTrackingLevel; +}; +extern void cppIVRInput_IVRInput_006_GetSkeletalTrackingLevel( struct cppIVRInput_IVRInput_006_GetSkeletalTrackingLevel_params *params ); + +struct cppIVRInput_IVRInput_006_GetSkeletalBoneData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSkeletalTransformSpace eTransformSpace; + EVRSkeletalMotionRange eMotionRange; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; +extern void cppIVRInput_IVRInput_006_GetSkeletalBoneData( struct cppIVRInput_IVRInput_006_GetSkeletalBoneData_params *params ); + +struct cppIVRInput_IVRInput_006_GetSkeletalSummaryData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSummaryType eSummaryType; + VRSkeletalSummaryData_t *pSkeletalSummaryData; +}; +extern void cppIVRInput_IVRInput_006_GetSkeletalSummaryData( struct cppIVRInput_IVRInput_006_GetSkeletalSummaryData_params *params ); + +struct cppIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSkeletalMotionRange eMotionRange; + void *pvCompressedData; + uint32_t unCompressedSize; + uint32_t *punRequiredCompressedSize; +}; +extern void cppIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed( struct cppIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed_params *params ); + +struct cppIVRInput_IVRInput_006_DecompressSkeletalBoneData_params +{ + void *linux_side; + EVRInputError _ret; + const void *pvCompressedBuffer; + uint32_t unCompressedBufferSize; + EVRSkeletalTransformSpace eTransformSpace; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; +extern void cppIVRInput_IVRInput_006_DecompressSkeletalBoneData( struct cppIVRInput_IVRInput_006_DecompressSkeletalBoneData_params *params ); + +struct cppIVRInput_IVRInput_006_TriggerHapticVibrationAction_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + float fStartSecondsFromNow; + float fDurationSeconds; + float fFrequency; + float fAmplitude; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_006_TriggerHapticVibrationAction( struct cppIVRInput_IVRInput_006_TriggerHapticVibrationAction_params *params ); + +struct cppIVRInput_IVRInput_006_GetActionOrigins_params +{ + void *linux_side; + EVRInputError _ret; + VRActionSetHandle_t actionSetHandle; + VRActionHandle_t digitalActionHandle; + VRInputValueHandle_t *originsOut; + uint32_t originOutCount; +}; +extern void cppIVRInput_IVRInput_006_GetActionOrigins( struct cppIVRInput_IVRInput_006_GetActionOrigins_params *params ); + +struct cppIVRInput_IVRInput_006_GetOriginLocalizedName_params +{ + void *linux_side; + EVRInputError _ret; + VRInputValueHandle_t origin; + char *pchNameArray; + uint32_t unNameArraySize; + int32_t unStringSectionsToInclude; +}; +extern void cppIVRInput_IVRInput_006_GetOriginLocalizedName( struct cppIVRInput_IVRInput_006_GetOriginLocalizedName_params *params ); + +struct cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo_params +{ + void *linux_side; + EVRInputError _ret; + VRInputValueHandle_t origin; + InputOriginInfo_t *pOriginInfo; + uint32_t unOriginInfoSize; +}; +extern void cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo_params *params ); + +struct cppIVRInput_IVRInput_006_ShowActionOrigins_params +{ + void *linux_side; + EVRInputError _ret; + VRActionSetHandle_t actionSetHandle; + VRActionHandle_t ulActionHandle; +}; +extern void cppIVRInput_IVRInput_006_ShowActionOrigins( struct cppIVRInput_IVRInput_006_ShowActionOrigins_params *params ); + +struct cppIVRInput_IVRInput_006_ShowBindingsForActionSet_params +{ + void *linux_side; + EVRInputError _ret; + VRActiveActionSet_t *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; + VRInputValueHandle_t originToHighlight; +}; +extern void cppIVRInput_IVRInput_006_ShowBindingsForActionSet( struct cppIVRInput_IVRInput_006_ShowBindingsForActionSet_params *params ); + +struct cppIVRInput_IVRInput_006_IsUsingLegacyInput_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRInput_IVRInput_006_IsUsingLegacyInput( struct cppIVRInput_IVRInput_006_IsUsingLegacyInput_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.cpp index 5d07ff4f..fb6959bf 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.cpp @@ -9,231 +9,175 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVRInputError cppIVRInput_IVRInput_007_SetActionManifestPath(void *linux_side, const char *pchActionManifestPath) +void cppIVRInput_IVRInput_007_SetActionManifestPath( struct cppIVRInput_IVRInput_007_SetActionManifestPath_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->SetActionManifestPath((const char *)pchActionManifestPath); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->SetActionManifestPath((const char *)params->pchActionManifestPath); } -EVRInputError cppIVRInput_IVRInput_007_GetActionSetHandle(void *linux_side, const char *pchActionSetName, VRActionSetHandle_t *pHandle) +void cppIVRInput_IVRInput_007_GetActionSetHandle( struct cppIVRInput_IVRInput_007_GetActionSetHandle_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetActionSetHandle((const char *)pchActionSetName, (vr::VRActionSetHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetActionSetHandle((const char *)params->pchActionSetName, (vr::VRActionSetHandle_t *)params->pHandle); } -EVRInputError cppIVRInput_IVRInput_007_GetActionHandle(void *linux_side, const char *pchActionName, VRActionHandle_t *pHandle) +void cppIVRInput_IVRInput_007_GetActionHandle( struct cppIVRInput_IVRInput_007_GetActionHandle_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetActionHandle((const char *)pchActionName, (vr::VRActionHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetActionHandle((const char *)params->pchActionName, (vr::VRActionHandle_t *)params->pHandle); } -EVRInputError cppIVRInput_IVRInput_007_GetInputSourceHandle(void *linux_side, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) +void cppIVRInput_IVRInput_007_GetInputSourceHandle( struct cppIVRInput_IVRInput_007_GetInputSourceHandle_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetInputSourceHandle((const char *)pchInputSourcePath, (vr::VRInputValueHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetInputSourceHandle((const char *)params->pchInputSourcePath, (vr::VRInputValueHandle_t *)params->pHandle); } -EVRInputError cppIVRInput_IVRInput_007_UpdateActionState(void *linux_side, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +void cppIVRInput_IVRInput_007_UpdateActionState( struct cppIVRInput_IVRInput_007_UpdateActionState_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->UpdateActionState((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->UpdateActionState((vr::VRActiveActionSet_t *)params->pSets, (uint32_t)params->unSizeOfVRSelectedActionSet_t, (uint32_t)params->unSetCount); } -EVRInputError cppIVRInput_IVRInput_007_GetDigitalActionData(void *linux_side, VRActionHandle_t action, winInputDigitalActionData_t_1916 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_007_GetDigitalActionData( struct cppIVRInput_IVRInput_007_GetDigitalActionData_params *params ) { - EVRInputError _ret; InputDigitalActionData_t lin_pActionData; - if (pActionData) - struct_InputDigitalActionData_t_1916_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetDigitalActionData((vr::VRActionHandle_t)action, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if (pActionData) - struct_InputDigitalActionData_t_1916_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputDigitalActionData_t_1916_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetDigitalActionData((vr::VRActionHandle_t)params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); + if (params->pActionData) + struct_InputDigitalActionData_t_1916_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_007_GetAnalogActionData(void *linux_side, VRActionHandle_t action, winInputAnalogActionData_t_1916 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_007_GetAnalogActionData( struct cppIVRInput_IVRInput_007_GetAnalogActionData_params *params ) { - EVRInputError _ret; InputAnalogActionData_t lin_pActionData; - if (pActionData) - struct_InputAnalogActionData_t_1916_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetAnalogActionData((vr::VRActionHandle_t)action, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if (pActionData) - struct_InputAnalogActionData_t_1916_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputAnalogActionData_t_1916_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetAnalogActionData((vr::VRActionHandle_t)params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); + if (params->pActionData) + struct_InputAnalogActionData_t_1916_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow(void *linux_side, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1916 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow( struct cppIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow_params *params ) { - EVRInputError _ret; InputPoseActionData_t lin_pActionData; - if (pActionData) - struct_InputPoseActionData_t_1916_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetPoseActionDataRelativeToNow((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsFromNow, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if (pActionData) - struct_InputPoseActionData_t_1916_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputPoseActionData_t_1916_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetPoseActionDataRelativeToNow((vr::VRActionHandle_t)params->action, (vr::ETrackingUniverseOrigin)params->eOrigin, (float)params->fPredictedSecondsFromNow, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); + if (params->pActionData) + struct_InputPoseActionData_t_1916_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_007_GetPoseActionDataForNextFrame(void *linux_side, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, winInputPoseActionData_t_1916 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_007_GetPoseActionDataForNextFrame( struct cppIVRInput_IVRInput_007_GetPoseActionDataForNextFrame_params *params ) { - EVRInputError _ret; InputPoseActionData_t lin_pActionData; - if (pActionData) - struct_InputPoseActionData_t_1916_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetPoseActionDataForNextFrame((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if (pActionData) - struct_InputPoseActionData_t_1916_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputPoseActionData_t_1916_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetPoseActionDataForNextFrame((vr::VRActionHandle_t)params->action, (vr::ETrackingUniverseOrigin)params->eOrigin, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); + if (params->pActionData) + struct_InputPoseActionData_t_1916_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_007_GetSkeletalActionData(void *linux_side, VRActionHandle_t action, winInputSkeletalActionData_t_1916 *pActionData, uint32_t unActionDataSize) +void cppIVRInput_IVRInput_007_GetSkeletalActionData( struct cppIVRInput_IVRInput_007_GetSkeletalActionData_params *params ) { - EVRInputError _ret; InputSkeletalActionData_t lin_pActionData; - if (pActionData) - struct_InputSkeletalActionData_t_1916_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)action, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize); - if (pActionData) - struct_InputSkeletalActionData_t_1916_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputSkeletalActionData_t_1916_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize); + if (params->pActionData) + struct_InputSkeletalActionData_t_1916_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_007_GetBoneCount(void *linux_side, VRActionHandle_t action, uint32_t *pBoneCount) +void cppIVRInput_IVRInput_007_GetBoneCount( struct cppIVRInput_IVRInput_007_GetBoneCount_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetBoneCount((vr::VRActionHandle_t)action, (uint32_t *)pBoneCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetBoneCount((vr::VRActionHandle_t)params->action, (uint32_t *)params->pBoneCount); } -EVRInputError cppIVRInput_IVRInput_007_GetBoneHierarchy(void *linux_side, VRActionHandle_t action, BoneIndex_t *pParentIndices, uint32_t unIndexArayCount) +void cppIVRInput_IVRInput_007_GetBoneHierarchy( struct cppIVRInput_IVRInput_007_GetBoneHierarchy_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetBoneHierarchy((vr::VRActionHandle_t)action, (vr::BoneIndex_t *)pParentIndices, (uint32_t)unIndexArayCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetBoneHierarchy((vr::VRActionHandle_t)params->action, (vr::BoneIndex_t *)params->pParentIndices, (uint32_t)params->unIndexArayCount); } -EVRInputError cppIVRInput_IVRInput_007_GetBoneName(void *linux_side, VRActionHandle_t action, BoneIndex_t nBoneIndex, char *pchBoneName, uint32_t unNameBufferSize) +void cppIVRInput_IVRInput_007_GetBoneName( struct cppIVRInput_IVRInput_007_GetBoneName_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetBoneName((vr::VRActionHandle_t)action, (vr::BoneIndex_t)nBoneIndex, (char *)pchBoneName, (uint32_t)unNameBufferSize); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetBoneName((vr::VRActionHandle_t)params->action, (vr::BoneIndex_t)params->nBoneIndex, (char *)params->pchBoneName, (uint32_t)params->unNameBufferSize); } -EVRInputError cppIVRInput_IVRInput_007_GetSkeletalReferenceTransforms(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +void cppIVRInput_IVRInput_007_GetSkeletalReferenceTransforms( struct cppIVRInput_IVRInput_007_GetSkeletalReferenceTransforms_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalReferenceTransforms((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::EVRSkeletalReferencePose)eReferencePose, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalReferenceTransforms((vr::VRActionHandle_t)params->action, (vr::EVRSkeletalTransformSpace)params->eTransformSpace, (vr::EVRSkeletalReferencePose)params->eReferencePose, (vr::VRBoneTransform_t *)params->pTransformArray, (uint32_t)params->unTransformArrayCount); } -EVRInputError cppIVRInput_IVRInput_007_GetSkeletalTrackingLevel(void *linux_side, VRActionHandle_t action, EVRSkeletalTrackingLevel *pSkeletalTrackingLevel) +void cppIVRInput_IVRInput_007_GetSkeletalTrackingLevel( struct cppIVRInput_IVRInput_007_GetSkeletalTrackingLevel_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalTrackingLevel((vr::VRActionHandle_t)action, (vr::EVRSkeletalTrackingLevel *)pSkeletalTrackingLevel); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalTrackingLevel((vr::VRActionHandle_t)params->action, (vr::EVRSkeletalTrackingLevel *)params->pSkeletalTrackingLevel); } -EVRInputError cppIVRInput_IVRInput_007_GetSkeletalBoneData(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +void cppIVRInput_IVRInput_007_GetSkeletalBoneData( struct cppIVRInput_IVRInput_007_GetSkeletalBoneData_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalBoneData((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::EVRSkeletalMotionRange)eMotionRange, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalBoneData((vr::VRActionHandle_t)params->action, (vr::EVRSkeletalTransformSpace)params->eTransformSpace, (vr::EVRSkeletalMotionRange)params->eMotionRange, (vr::VRBoneTransform_t *)params->pTransformArray, (uint32_t)params->unTransformArrayCount); } -EVRInputError cppIVRInput_IVRInput_007_GetSkeletalSummaryData(void *linux_side, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t *pSkeletalSummaryData) +void cppIVRInput_IVRInput_007_GetSkeletalSummaryData( struct cppIVRInput_IVRInput_007_GetSkeletalSummaryData_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalSummaryData((vr::VRActionHandle_t)action, (vr::EVRSummaryType)eSummaryType, (vr::VRSkeletalSummaryData_t *)pSkeletalSummaryData); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalSummaryData((vr::VRActionHandle_t)params->action, (vr::EVRSummaryType)params->eSummaryType, (vr::VRSkeletalSummaryData_t *)params->pSkeletalSummaryData); } -EVRInputError cppIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed(void *linux_side, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize) +void cppIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed( struct cppIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalBoneDataCompressed((vr::VRActionHandle_t)action, (vr::EVRSkeletalMotionRange)eMotionRange, (void *)pvCompressedData, (uint32_t)unCompressedSize, (uint32_t *)punRequiredCompressedSize); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalBoneDataCompressed((vr::VRActionHandle_t)params->action, (vr::EVRSkeletalMotionRange)params->eMotionRange, (void *)params->pvCompressedData, (uint32_t)params->unCompressedSize, (uint32_t *)params->punRequiredCompressedSize); } -EVRInputError cppIVRInput_IVRInput_007_DecompressSkeletalBoneData(void *linux_side, const void *pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +void cppIVRInput_IVRInput_007_DecompressSkeletalBoneData( struct cppIVRInput_IVRInput_007_DecompressSkeletalBoneData_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->DecompressSkeletalBoneData((const void *)pvCompressedBuffer, (uint32_t)unCompressedBufferSize, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->DecompressSkeletalBoneData((const void *)params->pvCompressedBuffer, (uint32_t)params->unCompressedBufferSize, (vr::EVRSkeletalTransformSpace)params->eTransformSpace, (vr::VRBoneTransform_t *)params->pTransformArray, (uint32_t)params->unTransformArrayCount); } -EVRInputError cppIVRInput_IVRInput_007_TriggerHapticVibrationAction(void *linux_side, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_007_TriggerHapticVibrationAction( struct cppIVRInput_IVRInput_007_TriggerHapticVibrationAction_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->TriggerHapticVibrationAction((vr::VRActionHandle_t)action, (float)fStartSecondsFromNow, (float)fDurationSeconds, (float)fFrequency, (float)fAmplitude, (vr::VRInputValueHandle_t)ulRestrictToDevice); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->TriggerHapticVibrationAction((vr::VRActionHandle_t)params->action, (float)params->fStartSecondsFromNow, (float)params->fDurationSeconds, (float)params->fFrequency, (float)params->fAmplitude, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); } -EVRInputError cppIVRInput_IVRInput_007_GetActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t *originsOut, uint32_t originOutCount) +void cppIVRInput_IVRInput_007_GetActionOrigins( struct cppIVRInput_IVRInput_007_GetActionOrigins_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)digitalActionHandle, (vr::VRInputValueHandle_t *)originsOut, (uint32_t)originOutCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetActionOrigins((vr::VRActionSetHandle_t)params->actionSetHandle, (vr::VRActionHandle_t)params->digitalActionHandle, (vr::VRInputValueHandle_t *)params->originsOut, (uint32_t)params->originOutCount); } -EVRInputError cppIVRInput_IVRInput_007_GetOriginLocalizedName(void *linux_side, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) +void cppIVRInput_IVRInput_007_GetOriginLocalizedName( struct cppIVRInput_IVRInput_007_GetOriginLocalizedName_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetOriginLocalizedName((vr::VRInputValueHandle_t)origin, (char *)pchNameArray, (uint32_t)unNameArraySize, (int32_t)unStringSectionsToInclude); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetOriginLocalizedName((vr::VRInputValueHandle_t)params->origin, (char *)params->pchNameArray, (uint32_t)params->unNameArraySize, (int32_t)params->unStringSectionsToInclude); } -EVRInputError cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo(void *linux_side, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) +void cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo_params *params ) { - EVRInputError _ret; - uint32_t lin_unOriginInfoSize = std::min(unOriginInfoSize, (uint32_t)sizeof(vr::InputOriginInfo_t)); - _ret = ((IVRInput*)linux_side)->GetOriginTrackedDeviceInfo((vr::VRInputValueHandle_t)origin, (vr::InputOriginInfo_t *)pOriginInfo, lin_unOriginInfoSize); - return _ret; + uint32_t lin_unOriginInfoSize = std::min( params->unOriginInfoSize, (uint32_t)sizeof(vr::InputOriginInfo_t) ); + params->_ret = ((IVRInput*)params->linux_side)->GetOriginTrackedDeviceInfo((vr::VRInputValueHandle_t)params->origin, (vr::InputOriginInfo_t *)params->pOriginInfo, lin_unOriginInfoSize); } -EVRInputError cppIVRInput_IVRInput_007_GetActionBindingInfo(void *linux_side, VRActionHandle_t action, InputBindingInfo_t *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t *punReturnedBindingInfoCount) +void cppIVRInput_IVRInput_007_GetActionBindingInfo( struct cppIVRInput_IVRInput_007_GetActionBindingInfo_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetActionBindingInfo((vr::VRActionHandle_t)action, (vr::InputBindingInfo_t *)pOriginInfo, (uint32_t)unBindingInfoSize, (uint32_t)unBindingInfoCount, (uint32_t *)punReturnedBindingInfoCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetActionBindingInfo((vr::VRActionHandle_t)params->action, (vr::InputBindingInfo_t *)params->pOriginInfo, (uint32_t)params->unBindingInfoSize, (uint32_t)params->unBindingInfoCount, (uint32_t *)params->punReturnedBindingInfoCount); } -EVRInputError cppIVRInput_IVRInput_007_ShowActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) +void cppIVRInput_IVRInput_007_ShowActionOrigins( struct cppIVRInput_IVRInput_007_ShowActionOrigins_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->ShowActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)ulActionHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->ShowActionOrigins((vr::VRActionSetHandle_t)params->actionSetHandle, (vr::VRActionHandle_t)params->ulActionHandle); } -EVRInputError cppIVRInput_IVRInput_007_ShowBindingsForActionSet(void *linux_side, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) +void cppIVRInput_IVRInput_007_ShowBindingsForActionSet( struct cppIVRInput_IVRInput_007_ShowBindingsForActionSet_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->ShowBindingsForActionSet((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount, (vr::VRInputValueHandle_t)originToHighlight); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->ShowBindingsForActionSet((vr::VRActiveActionSet_t *)params->pSets, (uint32_t)params->unSizeOfVRSelectedActionSet_t, (uint32_t)params->unSetCount, (vr::VRInputValueHandle_t)params->originToHighlight); } -bool cppIVRInput_IVRInput_007_IsUsingLegacyInput(void *linux_side) +void cppIVRInput_IVRInput_007_IsUsingLegacyInput( struct cppIVRInput_IVRInput_007_IsUsingLegacyInput_params *params ) { - bool _ret; - _ret = ((IVRInput*)linux_side)->IsUsingLegacyInput(); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->IsUsingLegacyInput(); } -EVRInputError cppIVRInput_IVRInput_007_OpenBindingUI(void *linux_side, const char *pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop) +void cppIVRInput_IVRInput_007_OpenBindingUI( struct cppIVRInput_IVRInput_007_OpenBindingUI_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->OpenBindingUI((const char *)pchAppKey, (vr::VRActionSetHandle_t)ulActionSetHandle, (vr::VRInputValueHandle_t)ulDeviceHandle, (bool)bShowOnDesktop); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->OpenBindingUI((const char *)params->pchAppKey, (vr::VRActionSetHandle_t)params->ulActionSetHandle, (vr::VRInputValueHandle_t)params->ulDeviceHandle, (bool)params->bShowOnDesktop); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.h b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.h index 79ba985d..b1870a46 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.h +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.h @@ -1,34 +1,300 @@ #ifdef __cplusplus extern "C" { #endif -extern EVRInputError cppIVRInput_IVRInput_007_SetActionManifestPath(void *, const char *); -extern EVRInputError cppIVRInput_IVRInput_007_GetActionSetHandle(void *, const char *, VRActionSetHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_007_GetActionHandle(void *, const char *, VRActionHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_007_GetInputSourceHandle(void *, const char *, VRInputValueHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_007_UpdateActionState(void *, VRActiveActionSet_t *, uint32_t, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetDigitalActionData(void *, VRActionHandle_t, winInputDigitalActionData_t_1916 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetAnalogActionData(void *, VRActionHandle_t, winInputAnalogActionData_t_1916 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow(void *, VRActionHandle_t, ETrackingUniverseOrigin, float, winInputPoseActionData_t_1916 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetPoseActionDataForNextFrame(void *, VRActionHandle_t, ETrackingUniverseOrigin, winInputPoseActionData_t_1916 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetSkeletalActionData(void *, VRActionHandle_t, winInputSkeletalActionData_t_1916 *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetBoneCount(void *, VRActionHandle_t, uint32_t *); -extern EVRInputError cppIVRInput_IVRInput_007_GetBoneHierarchy(void *, VRActionHandle_t, BoneIndex_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetBoneName(void *, VRActionHandle_t, BoneIndex_t, char *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetSkeletalReferenceTransforms(void *, VRActionHandle_t, EVRSkeletalTransformSpace, EVRSkeletalReferencePose, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetSkeletalTrackingLevel(void *, VRActionHandle_t, EVRSkeletalTrackingLevel *); -extern EVRInputError cppIVRInput_IVRInput_007_GetSkeletalBoneData(void *, VRActionHandle_t, EVRSkeletalTransformSpace, EVRSkeletalMotionRange, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetSkeletalSummaryData(void *, VRActionHandle_t, EVRSummaryType, VRSkeletalSummaryData_t *); -extern EVRInputError cppIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed(void *, VRActionHandle_t, EVRSkeletalMotionRange, void *, uint32_t, uint32_t *); -extern EVRInputError cppIVRInput_IVRInput_007_DecompressSkeletalBoneData(void *, const void *, uint32_t, EVRSkeletalTransformSpace, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_007_TriggerHapticVibrationAction(void *, VRActionHandle_t, float, float, float, float, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t, VRInputValueHandle_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetOriginLocalizedName(void *, VRInputValueHandle_t, char *, uint32_t, int32_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo(void *, VRInputValueHandle_t, InputOriginInfo_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetActionBindingInfo(void *, VRActionHandle_t, InputBindingInfo_t *, uint32_t, uint32_t, uint32_t *); -extern EVRInputError cppIVRInput_IVRInput_007_ShowActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t); -extern EVRInputError cppIVRInput_IVRInput_007_ShowBindingsForActionSet(void *, VRActiveActionSet_t *, uint32_t, uint32_t, VRInputValueHandle_t); -extern bool cppIVRInput_IVRInput_007_IsUsingLegacyInput(void *); -extern EVRInputError cppIVRInput_IVRInput_007_OpenBindingUI(void *, const char *, VRActionSetHandle_t, VRInputValueHandle_t, bool); +struct cppIVRInput_IVRInput_007_SetActionManifestPath_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchActionManifestPath; +}; +extern void cppIVRInput_IVRInput_007_SetActionManifestPath( struct cppIVRInput_IVRInput_007_SetActionManifestPath_params *params ); + +struct cppIVRInput_IVRInput_007_GetActionSetHandle_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchActionSetName; + VRActionSetHandle_t *pHandle; +}; +extern void cppIVRInput_IVRInput_007_GetActionSetHandle( struct cppIVRInput_IVRInput_007_GetActionSetHandle_params *params ); + +struct cppIVRInput_IVRInput_007_GetActionHandle_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchActionName; + VRActionHandle_t *pHandle; +}; +extern void cppIVRInput_IVRInput_007_GetActionHandle( struct cppIVRInput_IVRInput_007_GetActionHandle_params *params ); + +struct cppIVRInput_IVRInput_007_GetInputSourceHandle_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchInputSourcePath; + VRInputValueHandle_t *pHandle; +}; +extern void cppIVRInput_IVRInput_007_GetInputSourceHandle( struct cppIVRInput_IVRInput_007_GetInputSourceHandle_params *params ); + +struct cppIVRInput_IVRInput_007_UpdateActionState_params +{ + void *linux_side; + EVRInputError _ret; + VRActiveActionSet_t *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; +}; +extern void cppIVRInput_IVRInput_007_UpdateActionState( struct cppIVRInput_IVRInput_007_UpdateActionState_params *params ); + +struct cppIVRInput_IVRInput_007_GetDigitalActionData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + winInputDigitalActionData_t_1916 *pActionData; + uint32_t unActionDataSize; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_007_GetDigitalActionData( struct cppIVRInput_IVRInput_007_GetDigitalActionData_params *params ); + +struct cppIVRInput_IVRInput_007_GetAnalogActionData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + winInputAnalogActionData_t_1916 *pActionData; + uint32_t unActionDataSize; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_007_GetAnalogActionData( struct cppIVRInput_IVRInput_007_GetAnalogActionData_params *params ); + +struct cppIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + ETrackingUniverseOrigin eOrigin; + float fPredictedSecondsFromNow; + winInputPoseActionData_t_1916 *pActionData; + uint32_t unActionDataSize; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow( struct cppIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow_params *params ); + +struct cppIVRInput_IVRInput_007_GetPoseActionDataForNextFrame_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + ETrackingUniverseOrigin eOrigin; + winInputPoseActionData_t_1916 *pActionData; + uint32_t unActionDataSize; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_007_GetPoseActionDataForNextFrame( struct cppIVRInput_IVRInput_007_GetPoseActionDataForNextFrame_params *params ); + +struct cppIVRInput_IVRInput_007_GetSkeletalActionData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + winInputSkeletalActionData_t_1916 *pActionData; + uint32_t unActionDataSize; +}; +extern void cppIVRInput_IVRInput_007_GetSkeletalActionData( struct cppIVRInput_IVRInput_007_GetSkeletalActionData_params *params ); + +struct cppIVRInput_IVRInput_007_GetBoneCount_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + uint32_t *pBoneCount; +}; +extern void cppIVRInput_IVRInput_007_GetBoneCount( struct cppIVRInput_IVRInput_007_GetBoneCount_params *params ); + +struct cppIVRInput_IVRInput_007_GetBoneHierarchy_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + BoneIndex_t *pParentIndices; + uint32_t unIndexArayCount; +}; +extern void cppIVRInput_IVRInput_007_GetBoneHierarchy( struct cppIVRInput_IVRInput_007_GetBoneHierarchy_params *params ); + +struct cppIVRInput_IVRInput_007_GetBoneName_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + BoneIndex_t nBoneIndex; + char *pchBoneName; + uint32_t unNameBufferSize; +}; +extern void cppIVRInput_IVRInput_007_GetBoneName( struct cppIVRInput_IVRInput_007_GetBoneName_params *params ); + +struct cppIVRInput_IVRInput_007_GetSkeletalReferenceTransforms_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSkeletalTransformSpace eTransformSpace; + EVRSkeletalReferencePose eReferencePose; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; +extern void cppIVRInput_IVRInput_007_GetSkeletalReferenceTransforms( struct cppIVRInput_IVRInput_007_GetSkeletalReferenceTransforms_params *params ); + +struct cppIVRInput_IVRInput_007_GetSkeletalTrackingLevel_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSkeletalTrackingLevel *pSkeletalTrackingLevel; +}; +extern void cppIVRInput_IVRInput_007_GetSkeletalTrackingLevel( struct cppIVRInput_IVRInput_007_GetSkeletalTrackingLevel_params *params ); + +struct cppIVRInput_IVRInput_007_GetSkeletalBoneData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSkeletalTransformSpace eTransformSpace; + EVRSkeletalMotionRange eMotionRange; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; +extern void cppIVRInput_IVRInput_007_GetSkeletalBoneData( struct cppIVRInput_IVRInput_007_GetSkeletalBoneData_params *params ); + +struct cppIVRInput_IVRInput_007_GetSkeletalSummaryData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSummaryType eSummaryType; + VRSkeletalSummaryData_t *pSkeletalSummaryData; +}; +extern void cppIVRInput_IVRInput_007_GetSkeletalSummaryData( struct cppIVRInput_IVRInput_007_GetSkeletalSummaryData_params *params ); + +struct cppIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSkeletalMotionRange eMotionRange; + void *pvCompressedData; + uint32_t unCompressedSize; + uint32_t *punRequiredCompressedSize; +}; +extern void cppIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed( struct cppIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed_params *params ); + +struct cppIVRInput_IVRInput_007_DecompressSkeletalBoneData_params +{ + void *linux_side; + EVRInputError _ret; + const void *pvCompressedBuffer; + uint32_t unCompressedBufferSize; + EVRSkeletalTransformSpace eTransformSpace; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; +extern void cppIVRInput_IVRInput_007_DecompressSkeletalBoneData( struct cppIVRInput_IVRInput_007_DecompressSkeletalBoneData_params *params ); + +struct cppIVRInput_IVRInput_007_TriggerHapticVibrationAction_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + float fStartSecondsFromNow; + float fDurationSeconds; + float fFrequency; + float fAmplitude; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_007_TriggerHapticVibrationAction( struct cppIVRInput_IVRInput_007_TriggerHapticVibrationAction_params *params ); + +struct cppIVRInput_IVRInput_007_GetActionOrigins_params +{ + void *linux_side; + EVRInputError _ret; + VRActionSetHandle_t actionSetHandle; + VRActionHandle_t digitalActionHandle; + VRInputValueHandle_t *originsOut; + uint32_t originOutCount; +}; +extern void cppIVRInput_IVRInput_007_GetActionOrigins( struct cppIVRInput_IVRInput_007_GetActionOrigins_params *params ); + +struct cppIVRInput_IVRInput_007_GetOriginLocalizedName_params +{ + void *linux_side; + EVRInputError _ret; + VRInputValueHandle_t origin; + char *pchNameArray; + uint32_t unNameArraySize; + int32_t unStringSectionsToInclude; +}; +extern void cppIVRInput_IVRInput_007_GetOriginLocalizedName( struct cppIVRInput_IVRInput_007_GetOriginLocalizedName_params *params ); + +struct cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo_params +{ + void *linux_side; + EVRInputError _ret; + VRInputValueHandle_t origin; + InputOriginInfo_t *pOriginInfo; + uint32_t unOriginInfoSize; +}; +extern void cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo_params *params ); + +struct cppIVRInput_IVRInput_007_GetActionBindingInfo_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + InputBindingInfo_t *pOriginInfo; + uint32_t unBindingInfoSize; + uint32_t unBindingInfoCount; + uint32_t *punReturnedBindingInfoCount; +}; +extern void cppIVRInput_IVRInput_007_GetActionBindingInfo( struct cppIVRInput_IVRInput_007_GetActionBindingInfo_params *params ); + +struct cppIVRInput_IVRInput_007_ShowActionOrigins_params +{ + void *linux_side; + EVRInputError _ret; + VRActionSetHandle_t actionSetHandle; + VRActionHandle_t ulActionHandle; +}; +extern void cppIVRInput_IVRInput_007_ShowActionOrigins( struct cppIVRInput_IVRInput_007_ShowActionOrigins_params *params ); + +struct cppIVRInput_IVRInput_007_ShowBindingsForActionSet_params +{ + void *linux_side; + EVRInputError _ret; + VRActiveActionSet_t *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; + VRInputValueHandle_t originToHighlight; +}; +extern void cppIVRInput_IVRInput_007_ShowBindingsForActionSet( struct cppIVRInput_IVRInput_007_ShowBindingsForActionSet_params *params ); + +struct cppIVRInput_IVRInput_007_IsUsingLegacyInput_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRInput_IVRInput_007_IsUsingLegacyInput( struct cppIVRInput_IVRInput_007_IsUsingLegacyInput_params *params ); + +struct cppIVRInput_IVRInput_007_OpenBindingUI_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchAppKey; + VRActionSetHandle_t ulActionSetHandle; + VRInputValueHandle_t ulDeviceHandle; + bool bShowOnDesktop; +}; +extern void cppIVRInput_IVRInput_007_OpenBindingUI( struct cppIVRInput_IVRInput_007_OpenBindingUI_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_010.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_010.cpp index 5535ae9c..66b4272b 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_010.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_010.cpp @@ -9,259 +9,195 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVRInputError cppIVRInput_IVRInput_010_SetActionManifestPath(void *linux_side, const char *pchActionManifestPath) +void cppIVRInput_IVRInput_010_SetActionManifestPath( struct cppIVRInput_IVRInput_010_SetActionManifestPath_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->SetActionManifestPath((const char *)pchActionManifestPath); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->SetActionManifestPath((const char *)params->pchActionManifestPath); } -EVRInputError cppIVRInput_IVRInput_010_GetActionSetHandle(void *linux_side, const char *pchActionSetName, VRActionSetHandle_t *pHandle) +void cppIVRInput_IVRInput_010_GetActionSetHandle( struct cppIVRInput_IVRInput_010_GetActionSetHandle_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetActionSetHandle((const char *)pchActionSetName, (vr::VRActionSetHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetActionSetHandle((const char *)params->pchActionSetName, (vr::VRActionSetHandle_t *)params->pHandle); } -EVRInputError cppIVRInput_IVRInput_010_GetActionHandle(void *linux_side, const char *pchActionName, VRActionHandle_t *pHandle) +void cppIVRInput_IVRInput_010_GetActionHandle( struct cppIVRInput_IVRInput_010_GetActionHandle_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetActionHandle((const char *)pchActionName, (vr::VRActionHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetActionHandle((const char *)params->pchActionName, (vr::VRActionHandle_t *)params->pHandle); } -EVRInputError cppIVRInput_IVRInput_010_GetInputSourceHandle(void *linux_side, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) +void cppIVRInput_IVRInput_010_GetInputSourceHandle( struct cppIVRInput_IVRInput_010_GetInputSourceHandle_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetInputSourceHandle((const char *)pchInputSourcePath, (vr::VRInputValueHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetInputSourceHandle((const char *)params->pchInputSourcePath, (vr::VRInputValueHandle_t *)params->pHandle); } -EVRInputError cppIVRInput_IVRInput_010_UpdateActionState(void *linux_side, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +void cppIVRInput_IVRInput_010_UpdateActionState( struct cppIVRInput_IVRInput_010_UpdateActionState_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->UpdateActionState((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->UpdateActionState((vr::VRActiveActionSet_t *)params->pSets, (uint32_t)params->unSizeOfVRSelectedActionSet_t, (uint32_t)params->unSetCount); } -EVRInputError cppIVRInput_IVRInput_010_GetDigitalActionData(void *linux_side, VRActionHandle_t action, winInputDigitalActionData_t_1267 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_010_GetDigitalActionData( struct cppIVRInput_IVRInput_010_GetDigitalActionData_params *params ) { - EVRInputError _ret; InputDigitalActionData_t lin_pActionData; - if (pActionData) - struct_InputDigitalActionData_t_1267_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetDigitalActionData((vr::VRActionHandle_t)action, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if (pActionData) - struct_InputDigitalActionData_t_1267_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputDigitalActionData_t_1267_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetDigitalActionData((vr::VRActionHandle_t)params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); + if (params->pActionData) + struct_InputDigitalActionData_t_1267_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_010_GetAnalogActionData(void *linux_side, VRActionHandle_t action, winInputAnalogActionData_t_1267 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_010_GetAnalogActionData( struct cppIVRInput_IVRInput_010_GetAnalogActionData_params *params ) { - EVRInputError _ret; InputAnalogActionData_t lin_pActionData; - if (pActionData) - struct_InputAnalogActionData_t_1267_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetAnalogActionData((vr::VRActionHandle_t)action, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if (pActionData) - struct_InputAnalogActionData_t_1267_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputAnalogActionData_t_1267_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetAnalogActionData((vr::VRActionHandle_t)params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); + if (params->pActionData) + struct_InputAnalogActionData_t_1267_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow(void *linux_side, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1267 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow( struct cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow_params *params ) { - EVRInputError _ret; InputPoseActionData_t lin_pActionData; - if (pActionData) - struct_InputPoseActionData_t_1267_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetPoseActionDataRelativeToNow((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsFromNow, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if (pActionData) - struct_InputPoseActionData_t_1267_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputPoseActionData_t_1267_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetPoseActionDataRelativeToNow((vr::VRActionHandle_t)params->action, (vr::ETrackingUniverseOrigin)params->eOrigin, (float)params->fPredictedSecondsFromNow, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); + if (params->pActionData) + struct_InputPoseActionData_t_1267_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame(void *linux_side, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, winInputPoseActionData_t_1267 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame( struct cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame_params *params ) { - EVRInputError _ret; InputPoseActionData_t lin_pActionData; - if (pActionData) - struct_InputPoseActionData_t_1267_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetPoseActionDataForNextFrame((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if (pActionData) - struct_InputPoseActionData_t_1267_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputPoseActionData_t_1267_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetPoseActionDataForNextFrame((vr::VRActionHandle_t)params->action, (vr::ETrackingUniverseOrigin)params->eOrigin, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); + if (params->pActionData) + struct_InputPoseActionData_t_1267_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_010_GetSkeletalActionData(void *linux_side, VRActionHandle_t action, winInputSkeletalActionData_t_1267 *pActionData, uint32_t unActionDataSize) +void cppIVRInput_IVRInput_010_GetSkeletalActionData( struct cppIVRInput_IVRInput_010_GetSkeletalActionData_params *params ) { - EVRInputError _ret; InputSkeletalActionData_t lin_pActionData; - if (pActionData) - struct_InputSkeletalActionData_t_1267_win_to_lin(pActionData, &lin_pActionData); - uint32_t lin_unActionDataSize = unActionDataSize ? sizeof(lin_pActionData) : 0; - _ret = ((IVRInput*)linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)action, pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize); - if (pActionData) - struct_InputSkeletalActionData_t_1267_lin_to_win(&lin_pActionData, pActionData, unActionDataSize); - return _ret; + if (params->pActionData) + struct_InputSkeletalActionData_t_1267_win_to_lin( params->pActionData, &lin_pActionData ); + uint32_t lin_unActionDataSize = params->unActionDataSize ? sizeof(lin_pActionData) : 0; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)params->action, params->pActionData ? &lin_pActionData : nullptr, lin_unActionDataSize); + if (params->pActionData) + struct_InputSkeletalActionData_t_1267_lin_to_win( &lin_pActionData, params->pActionData, params->unActionDataSize ); } -EVRInputError cppIVRInput_IVRInput_010_GetDominantHand(void *linux_side, ETrackedControllerRole *peDominantHand) +void cppIVRInput_IVRInput_010_GetDominantHand( struct cppIVRInput_IVRInput_010_GetDominantHand_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetDominantHand((vr::ETrackedControllerRole *)peDominantHand); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetDominantHand((vr::ETrackedControllerRole *)params->peDominantHand); } -EVRInputError cppIVRInput_IVRInput_010_SetDominantHand(void *linux_side, ETrackedControllerRole eDominantHand) +void cppIVRInput_IVRInput_010_SetDominantHand( struct cppIVRInput_IVRInput_010_SetDominantHand_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->SetDominantHand((vr::ETrackedControllerRole)eDominantHand); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->SetDominantHand((vr::ETrackedControllerRole)params->eDominantHand); } -EVRInputError cppIVRInput_IVRInput_010_GetBoneCount(void *linux_side, VRActionHandle_t action, uint32_t *pBoneCount) +void cppIVRInput_IVRInput_010_GetBoneCount( struct cppIVRInput_IVRInput_010_GetBoneCount_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetBoneCount((vr::VRActionHandle_t)action, (uint32_t *)pBoneCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetBoneCount((vr::VRActionHandle_t)params->action, (uint32_t *)params->pBoneCount); } -EVRInputError cppIVRInput_IVRInput_010_GetBoneHierarchy(void *linux_side, VRActionHandle_t action, BoneIndex_t *pParentIndices, uint32_t unIndexArayCount) +void cppIVRInput_IVRInput_010_GetBoneHierarchy( struct cppIVRInput_IVRInput_010_GetBoneHierarchy_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetBoneHierarchy((vr::VRActionHandle_t)action, (vr::BoneIndex_t *)pParentIndices, (uint32_t)unIndexArayCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetBoneHierarchy((vr::VRActionHandle_t)params->action, (vr::BoneIndex_t *)params->pParentIndices, (uint32_t)params->unIndexArayCount); } -EVRInputError cppIVRInput_IVRInput_010_GetBoneName(void *linux_side, VRActionHandle_t action, BoneIndex_t nBoneIndex, char *pchBoneName, uint32_t unNameBufferSize) +void cppIVRInput_IVRInput_010_GetBoneName( struct cppIVRInput_IVRInput_010_GetBoneName_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetBoneName((vr::VRActionHandle_t)action, (vr::BoneIndex_t)nBoneIndex, (char *)pchBoneName, (uint32_t)unNameBufferSize); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetBoneName((vr::VRActionHandle_t)params->action, (vr::BoneIndex_t)params->nBoneIndex, (char *)params->pchBoneName, (uint32_t)params->unNameBufferSize); } -EVRInputError cppIVRInput_IVRInput_010_GetSkeletalReferenceTransforms(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +void cppIVRInput_IVRInput_010_GetSkeletalReferenceTransforms( struct cppIVRInput_IVRInput_010_GetSkeletalReferenceTransforms_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalReferenceTransforms((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::EVRSkeletalReferencePose)eReferencePose, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalReferenceTransforms((vr::VRActionHandle_t)params->action, (vr::EVRSkeletalTransformSpace)params->eTransformSpace, (vr::EVRSkeletalReferencePose)params->eReferencePose, (vr::VRBoneTransform_t *)params->pTransformArray, (uint32_t)params->unTransformArrayCount); } -EVRInputError cppIVRInput_IVRInput_010_GetSkeletalTrackingLevel(void *linux_side, VRActionHandle_t action, EVRSkeletalTrackingLevel *pSkeletalTrackingLevel) +void cppIVRInput_IVRInput_010_GetSkeletalTrackingLevel( struct cppIVRInput_IVRInput_010_GetSkeletalTrackingLevel_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalTrackingLevel((vr::VRActionHandle_t)action, (vr::EVRSkeletalTrackingLevel *)pSkeletalTrackingLevel); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalTrackingLevel((vr::VRActionHandle_t)params->action, (vr::EVRSkeletalTrackingLevel *)params->pSkeletalTrackingLevel); } -EVRInputError cppIVRInput_IVRInput_010_GetSkeletalBoneData(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +void cppIVRInput_IVRInput_010_GetSkeletalBoneData( struct cppIVRInput_IVRInput_010_GetSkeletalBoneData_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalBoneData((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::EVRSkeletalMotionRange)eMotionRange, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalBoneData((vr::VRActionHandle_t)params->action, (vr::EVRSkeletalTransformSpace)params->eTransformSpace, (vr::EVRSkeletalMotionRange)params->eMotionRange, (vr::VRBoneTransform_t *)params->pTransformArray, (uint32_t)params->unTransformArrayCount); } -EVRInputError cppIVRInput_IVRInput_010_GetSkeletalSummaryData(void *linux_side, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t *pSkeletalSummaryData) +void cppIVRInput_IVRInput_010_GetSkeletalSummaryData( struct cppIVRInput_IVRInput_010_GetSkeletalSummaryData_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalSummaryData((vr::VRActionHandle_t)action, (vr::EVRSummaryType)eSummaryType, (vr::VRSkeletalSummaryData_t *)pSkeletalSummaryData); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalSummaryData((vr::VRActionHandle_t)params->action, (vr::EVRSummaryType)params->eSummaryType, (vr::VRSkeletalSummaryData_t *)params->pSkeletalSummaryData); } -EVRInputError cppIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed(void *linux_side, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize) +void cppIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed( struct cppIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetSkeletalBoneDataCompressed((vr::VRActionHandle_t)action, (vr::EVRSkeletalMotionRange)eMotionRange, (void *)pvCompressedData, (uint32_t)unCompressedSize, (uint32_t *)punRequiredCompressedSize); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetSkeletalBoneDataCompressed((vr::VRActionHandle_t)params->action, (vr::EVRSkeletalMotionRange)params->eMotionRange, (void *)params->pvCompressedData, (uint32_t)params->unCompressedSize, (uint32_t *)params->punRequiredCompressedSize); } -EVRInputError cppIVRInput_IVRInput_010_DecompressSkeletalBoneData(void *linux_side, const void *pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +void cppIVRInput_IVRInput_010_DecompressSkeletalBoneData( struct cppIVRInput_IVRInput_010_DecompressSkeletalBoneData_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->DecompressSkeletalBoneData((const void *)pvCompressedBuffer, (uint32_t)unCompressedBufferSize, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->DecompressSkeletalBoneData((const void *)params->pvCompressedBuffer, (uint32_t)params->unCompressedBufferSize, (vr::EVRSkeletalTransformSpace)params->eTransformSpace, (vr::VRBoneTransform_t *)params->pTransformArray, (uint32_t)params->unTransformArrayCount); } -EVRInputError cppIVRInput_IVRInput_010_TriggerHapticVibrationAction(void *linux_side, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) +void cppIVRInput_IVRInput_010_TriggerHapticVibrationAction( struct cppIVRInput_IVRInput_010_TriggerHapticVibrationAction_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->TriggerHapticVibrationAction((vr::VRActionHandle_t)action, (float)fStartSecondsFromNow, (float)fDurationSeconds, (float)fFrequency, (float)fAmplitude, (vr::VRInputValueHandle_t)ulRestrictToDevice); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->TriggerHapticVibrationAction((vr::VRActionHandle_t)params->action, (float)params->fStartSecondsFromNow, (float)params->fDurationSeconds, (float)params->fFrequency, (float)params->fAmplitude, (vr::VRInputValueHandle_t)params->ulRestrictToDevice); } -EVRInputError cppIVRInput_IVRInput_010_GetActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t *originsOut, uint32_t originOutCount) +void cppIVRInput_IVRInput_010_GetActionOrigins( struct cppIVRInput_IVRInput_010_GetActionOrigins_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)digitalActionHandle, (vr::VRInputValueHandle_t *)originsOut, (uint32_t)originOutCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetActionOrigins((vr::VRActionSetHandle_t)params->actionSetHandle, (vr::VRActionHandle_t)params->digitalActionHandle, (vr::VRInputValueHandle_t *)params->originsOut, (uint32_t)params->originOutCount); } -EVRInputError cppIVRInput_IVRInput_010_GetOriginLocalizedName(void *linux_side, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) +void cppIVRInput_IVRInput_010_GetOriginLocalizedName( struct cppIVRInput_IVRInput_010_GetOriginLocalizedName_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetOriginLocalizedName((vr::VRInputValueHandle_t)origin, (char *)pchNameArray, (uint32_t)unNameArraySize, (int32_t)unStringSectionsToInclude); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetOriginLocalizedName((vr::VRInputValueHandle_t)params->origin, (char *)params->pchNameArray, (uint32_t)params->unNameArraySize, (int32_t)params->unStringSectionsToInclude); } -EVRInputError cppIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo(void *linux_side, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) +void cppIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo_params *params ) { - EVRInputError _ret; - uint32_t lin_unOriginInfoSize = std::min(unOriginInfoSize, (uint32_t)sizeof(vr::InputOriginInfo_t)); - _ret = ((IVRInput*)linux_side)->GetOriginTrackedDeviceInfo((vr::VRInputValueHandle_t)origin, (vr::InputOriginInfo_t *)pOriginInfo, lin_unOriginInfoSize); - return _ret; + uint32_t lin_unOriginInfoSize = std::min( params->unOriginInfoSize, (uint32_t)sizeof(vr::InputOriginInfo_t) ); + params->_ret = ((IVRInput*)params->linux_side)->GetOriginTrackedDeviceInfo((vr::VRInputValueHandle_t)params->origin, (vr::InputOriginInfo_t *)params->pOriginInfo, lin_unOriginInfoSize); } -EVRInputError cppIVRInput_IVRInput_010_GetActionBindingInfo(void *linux_side, VRActionHandle_t action, InputBindingInfo_t *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t *punReturnedBindingInfoCount) +void cppIVRInput_IVRInput_010_GetActionBindingInfo( struct cppIVRInput_IVRInput_010_GetActionBindingInfo_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetActionBindingInfo((vr::VRActionHandle_t)action, (vr::InputBindingInfo_t *)pOriginInfo, (uint32_t)unBindingInfoSize, (uint32_t)unBindingInfoCount, (uint32_t *)punReturnedBindingInfoCount); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetActionBindingInfo((vr::VRActionHandle_t)params->action, (vr::InputBindingInfo_t *)params->pOriginInfo, (uint32_t)params->unBindingInfoSize, (uint32_t)params->unBindingInfoCount, (uint32_t *)params->punReturnedBindingInfoCount); } -EVRInputError cppIVRInput_IVRInput_010_ShowActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) +void cppIVRInput_IVRInput_010_ShowActionOrigins( struct cppIVRInput_IVRInput_010_ShowActionOrigins_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->ShowActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)ulActionHandle); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->ShowActionOrigins((vr::VRActionSetHandle_t)params->actionSetHandle, (vr::VRActionHandle_t)params->ulActionHandle); } -EVRInputError cppIVRInput_IVRInput_010_ShowBindingsForActionSet(void *linux_side, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) +void cppIVRInput_IVRInput_010_ShowBindingsForActionSet( struct cppIVRInput_IVRInput_010_ShowBindingsForActionSet_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->ShowBindingsForActionSet((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount, (vr::VRInputValueHandle_t)originToHighlight); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->ShowBindingsForActionSet((vr::VRActiveActionSet_t *)params->pSets, (uint32_t)params->unSizeOfVRSelectedActionSet_t, (uint32_t)params->unSetCount, (vr::VRInputValueHandle_t)params->originToHighlight); } -EVRInputError cppIVRInput_IVRInput_010_GetComponentStateForBinding(void *linux_side, const char *pchRenderModelName, const char *pchComponentName, const InputBindingInfo_t *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, RenderModel_ComponentState_t *pComponentState) +void cppIVRInput_IVRInput_010_GetComponentStateForBinding( struct cppIVRInput_IVRInput_010_GetComponentStateForBinding_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetComponentStateForBinding((const char *)pchRenderModelName, (const char *)pchComponentName, (const vr::InputBindingInfo_t *)pOriginInfo, (uint32_t)unBindingInfoSize, (uint32_t)unBindingInfoCount, (vr::RenderModel_ComponentState_t *)pComponentState); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetComponentStateForBinding((const char *)params->pchRenderModelName, (const char *)params->pchComponentName, (const vr::InputBindingInfo_t *)params->pOriginInfo, (uint32_t)params->unBindingInfoSize, (uint32_t)params->unBindingInfoCount, (vr::RenderModel_ComponentState_t *)params->pComponentState); } -bool cppIVRInput_IVRInput_010_IsUsingLegacyInput(void *linux_side) +void cppIVRInput_IVRInput_010_IsUsingLegacyInput( struct cppIVRInput_IVRInput_010_IsUsingLegacyInput_params *params ) { - bool _ret; - _ret = ((IVRInput*)linux_side)->IsUsingLegacyInput(); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->IsUsingLegacyInput(); } -EVRInputError cppIVRInput_IVRInput_010_OpenBindingUI(void *linux_side, const char *pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop) +void cppIVRInput_IVRInput_010_OpenBindingUI( struct cppIVRInput_IVRInput_010_OpenBindingUI_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->OpenBindingUI((const char *)pchAppKey, (vr::VRActionSetHandle_t)ulActionSetHandle, (vr::VRInputValueHandle_t)ulDeviceHandle, (bool)bShowOnDesktop); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->OpenBindingUI((const char *)params->pchAppKey, (vr::VRActionSetHandle_t)params->ulActionSetHandle, (vr::VRInputValueHandle_t)params->ulDeviceHandle, (bool)params->bShowOnDesktop); } -EVRInputError cppIVRInput_IVRInput_010_GetBindingVariant(void *linux_side, VRInputValueHandle_t ulDevicePath, char *pchVariantArray, uint32_t unVariantArraySize) +void cppIVRInput_IVRInput_010_GetBindingVariant( struct cppIVRInput_IVRInput_010_GetBindingVariant_params *params ) { - EVRInputError _ret; - _ret = ((IVRInput*)linux_side)->GetBindingVariant((vr::VRInputValueHandle_t)ulDevicePath, (char *)pchVariantArray, (uint32_t)unVariantArraySize); - return _ret; + params->_ret = ((IVRInput*)params->linux_side)->GetBindingVariant((vr::VRInputValueHandle_t)params->ulDevicePath, (char *)params->pchVariantArray, (uint32_t)params->unVariantArraySize); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_010.h b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_010.h index d830260b..5d37ffbe 100644 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_010.h +++ b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_010.h @@ -1,38 +1,339 @@ #ifdef __cplusplus extern "C" { #endif -extern EVRInputError cppIVRInput_IVRInput_010_SetActionManifestPath(void *, const char *); -extern EVRInputError cppIVRInput_IVRInput_010_GetActionSetHandle(void *, const char *, VRActionSetHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_010_GetActionHandle(void *, const char *, VRActionHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_010_GetInputSourceHandle(void *, const char *, VRInputValueHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_010_UpdateActionState(void *, VRActiveActionSet_t *, uint32_t, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetDigitalActionData(void *, VRActionHandle_t, winInputDigitalActionData_t_1267 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetAnalogActionData(void *, VRActionHandle_t, winInputAnalogActionData_t_1267 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow(void *, VRActionHandle_t, ETrackingUniverseOrigin, float, winInputPoseActionData_t_1267 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame(void *, VRActionHandle_t, ETrackingUniverseOrigin, winInputPoseActionData_t_1267 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetSkeletalActionData(void *, VRActionHandle_t, winInputSkeletalActionData_t_1267 *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetDominantHand(void *, ETrackedControllerRole *); -extern EVRInputError cppIVRInput_IVRInput_010_SetDominantHand(void *, ETrackedControllerRole); -extern EVRInputError cppIVRInput_IVRInput_010_GetBoneCount(void *, VRActionHandle_t, uint32_t *); -extern EVRInputError cppIVRInput_IVRInput_010_GetBoneHierarchy(void *, VRActionHandle_t, BoneIndex_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetBoneName(void *, VRActionHandle_t, BoneIndex_t, char *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetSkeletalReferenceTransforms(void *, VRActionHandle_t, EVRSkeletalTransformSpace, EVRSkeletalReferencePose, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetSkeletalTrackingLevel(void *, VRActionHandle_t, EVRSkeletalTrackingLevel *); -extern EVRInputError cppIVRInput_IVRInput_010_GetSkeletalBoneData(void *, VRActionHandle_t, EVRSkeletalTransformSpace, EVRSkeletalMotionRange, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetSkeletalSummaryData(void *, VRActionHandle_t, EVRSummaryType, VRSkeletalSummaryData_t *); -extern EVRInputError cppIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed(void *, VRActionHandle_t, EVRSkeletalMotionRange, void *, uint32_t, uint32_t *); -extern EVRInputError cppIVRInput_IVRInput_010_DecompressSkeletalBoneData(void *, const void *, uint32_t, EVRSkeletalTransformSpace, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_010_TriggerHapticVibrationAction(void *, VRActionHandle_t, float, float, float, float, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t, VRInputValueHandle_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetOriginLocalizedName(void *, VRInputValueHandle_t, char *, uint32_t, int32_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo(void *, VRInputValueHandle_t, InputOriginInfo_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetActionBindingInfo(void *, VRActionHandle_t, InputBindingInfo_t *, uint32_t, uint32_t, uint32_t *); -extern EVRInputError cppIVRInput_IVRInput_010_ShowActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t); -extern EVRInputError cppIVRInput_IVRInput_010_ShowBindingsForActionSet(void *, VRActiveActionSet_t *, uint32_t, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetComponentStateForBinding(void *, const char *, const char *, const InputBindingInfo_t *, uint32_t, uint32_t, RenderModel_ComponentState_t *); -extern bool cppIVRInput_IVRInput_010_IsUsingLegacyInput(void *); -extern EVRInputError cppIVRInput_IVRInput_010_OpenBindingUI(void *, const char *, VRActionSetHandle_t, VRInputValueHandle_t, bool); -extern EVRInputError cppIVRInput_IVRInput_010_GetBindingVariant(void *, VRInputValueHandle_t, char *, uint32_t); +struct cppIVRInput_IVRInput_010_SetActionManifestPath_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchActionManifestPath; +}; +extern void cppIVRInput_IVRInput_010_SetActionManifestPath( struct cppIVRInput_IVRInput_010_SetActionManifestPath_params *params ); + +struct cppIVRInput_IVRInput_010_GetActionSetHandle_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchActionSetName; + VRActionSetHandle_t *pHandle; +}; +extern void cppIVRInput_IVRInput_010_GetActionSetHandle( struct cppIVRInput_IVRInput_010_GetActionSetHandle_params *params ); + +struct cppIVRInput_IVRInput_010_GetActionHandle_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchActionName; + VRActionHandle_t *pHandle; +}; +extern void cppIVRInput_IVRInput_010_GetActionHandle( struct cppIVRInput_IVRInput_010_GetActionHandle_params *params ); + +struct cppIVRInput_IVRInput_010_GetInputSourceHandle_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchInputSourcePath; + VRInputValueHandle_t *pHandle; +}; +extern void cppIVRInput_IVRInput_010_GetInputSourceHandle( struct cppIVRInput_IVRInput_010_GetInputSourceHandle_params *params ); + +struct cppIVRInput_IVRInput_010_UpdateActionState_params +{ + void *linux_side; + EVRInputError _ret; + VRActiveActionSet_t *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; +}; +extern void cppIVRInput_IVRInput_010_UpdateActionState( struct cppIVRInput_IVRInput_010_UpdateActionState_params *params ); + +struct cppIVRInput_IVRInput_010_GetDigitalActionData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + winInputDigitalActionData_t_1267 *pActionData; + uint32_t unActionDataSize; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_010_GetDigitalActionData( struct cppIVRInput_IVRInput_010_GetDigitalActionData_params *params ); + +struct cppIVRInput_IVRInput_010_GetAnalogActionData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + winInputAnalogActionData_t_1267 *pActionData; + uint32_t unActionDataSize; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_010_GetAnalogActionData( struct cppIVRInput_IVRInput_010_GetAnalogActionData_params *params ); + +struct cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + ETrackingUniverseOrigin eOrigin; + float fPredictedSecondsFromNow; + winInputPoseActionData_t_1267 *pActionData; + uint32_t unActionDataSize; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow( struct cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow_params *params ); + +struct cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + ETrackingUniverseOrigin eOrigin; + winInputPoseActionData_t_1267 *pActionData; + uint32_t unActionDataSize; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame( struct cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame_params *params ); + +struct cppIVRInput_IVRInput_010_GetSkeletalActionData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + winInputSkeletalActionData_t_1267 *pActionData; + uint32_t unActionDataSize; +}; +extern void cppIVRInput_IVRInput_010_GetSkeletalActionData( struct cppIVRInput_IVRInput_010_GetSkeletalActionData_params *params ); + +struct cppIVRInput_IVRInput_010_GetDominantHand_params +{ + void *linux_side; + EVRInputError _ret; + ETrackedControllerRole *peDominantHand; +}; +extern void cppIVRInput_IVRInput_010_GetDominantHand( struct cppIVRInput_IVRInput_010_GetDominantHand_params *params ); + +struct cppIVRInput_IVRInput_010_SetDominantHand_params +{ + void *linux_side; + EVRInputError _ret; + ETrackedControllerRole eDominantHand; +}; +extern void cppIVRInput_IVRInput_010_SetDominantHand( struct cppIVRInput_IVRInput_010_SetDominantHand_params *params ); + +struct cppIVRInput_IVRInput_010_GetBoneCount_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + uint32_t *pBoneCount; +}; +extern void cppIVRInput_IVRInput_010_GetBoneCount( struct cppIVRInput_IVRInput_010_GetBoneCount_params *params ); + +struct cppIVRInput_IVRInput_010_GetBoneHierarchy_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + BoneIndex_t *pParentIndices; + uint32_t unIndexArayCount; +}; +extern void cppIVRInput_IVRInput_010_GetBoneHierarchy( struct cppIVRInput_IVRInput_010_GetBoneHierarchy_params *params ); + +struct cppIVRInput_IVRInput_010_GetBoneName_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + BoneIndex_t nBoneIndex; + char *pchBoneName; + uint32_t unNameBufferSize; +}; +extern void cppIVRInput_IVRInput_010_GetBoneName( struct cppIVRInput_IVRInput_010_GetBoneName_params *params ); + +struct cppIVRInput_IVRInput_010_GetSkeletalReferenceTransforms_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSkeletalTransformSpace eTransformSpace; + EVRSkeletalReferencePose eReferencePose; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; +extern void cppIVRInput_IVRInput_010_GetSkeletalReferenceTransforms( struct cppIVRInput_IVRInput_010_GetSkeletalReferenceTransforms_params *params ); + +struct cppIVRInput_IVRInput_010_GetSkeletalTrackingLevel_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSkeletalTrackingLevel *pSkeletalTrackingLevel; +}; +extern void cppIVRInput_IVRInput_010_GetSkeletalTrackingLevel( struct cppIVRInput_IVRInput_010_GetSkeletalTrackingLevel_params *params ); + +struct cppIVRInput_IVRInput_010_GetSkeletalBoneData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSkeletalTransformSpace eTransformSpace; + EVRSkeletalMotionRange eMotionRange; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; +extern void cppIVRInput_IVRInput_010_GetSkeletalBoneData( struct cppIVRInput_IVRInput_010_GetSkeletalBoneData_params *params ); + +struct cppIVRInput_IVRInput_010_GetSkeletalSummaryData_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSummaryType eSummaryType; + VRSkeletalSummaryData_t *pSkeletalSummaryData; +}; +extern void cppIVRInput_IVRInput_010_GetSkeletalSummaryData( struct cppIVRInput_IVRInput_010_GetSkeletalSummaryData_params *params ); + +struct cppIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + EVRSkeletalMotionRange eMotionRange; + void *pvCompressedData; + uint32_t unCompressedSize; + uint32_t *punRequiredCompressedSize; +}; +extern void cppIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed( struct cppIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed_params *params ); + +struct cppIVRInput_IVRInput_010_DecompressSkeletalBoneData_params +{ + void *linux_side; + EVRInputError _ret; + const void *pvCompressedBuffer; + uint32_t unCompressedBufferSize; + EVRSkeletalTransformSpace eTransformSpace; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; +extern void cppIVRInput_IVRInput_010_DecompressSkeletalBoneData( struct cppIVRInput_IVRInput_010_DecompressSkeletalBoneData_params *params ); + +struct cppIVRInput_IVRInput_010_TriggerHapticVibrationAction_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + float fStartSecondsFromNow; + float fDurationSeconds; + float fFrequency; + float fAmplitude; + VRInputValueHandle_t ulRestrictToDevice; +}; +extern void cppIVRInput_IVRInput_010_TriggerHapticVibrationAction( struct cppIVRInput_IVRInput_010_TriggerHapticVibrationAction_params *params ); + +struct cppIVRInput_IVRInput_010_GetActionOrigins_params +{ + void *linux_side; + EVRInputError _ret; + VRActionSetHandle_t actionSetHandle; + VRActionHandle_t digitalActionHandle; + VRInputValueHandle_t *originsOut; + uint32_t originOutCount; +}; +extern void cppIVRInput_IVRInput_010_GetActionOrigins( struct cppIVRInput_IVRInput_010_GetActionOrigins_params *params ); + +struct cppIVRInput_IVRInput_010_GetOriginLocalizedName_params +{ + void *linux_side; + EVRInputError _ret; + VRInputValueHandle_t origin; + char *pchNameArray; + uint32_t unNameArraySize; + int32_t unStringSectionsToInclude; +}; +extern void cppIVRInput_IVRInput_010_GetOriginLocalizedName( struct cppIVRInput_IVRInput_010_GetOriginLocalizedName_params *params ); + +struct cppIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo_params +{ + void *linux_side; + EVRInputError _ret; + VRInputValueHandle_t origin; + InputOriginInfo_t *pOriginInfo; + uint32_t unOriginInfoSize; +}; +extern void cppIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo( struct cppIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo_params *params ); + +struct cppIVRInput_IVRInput_010_GetActionBindingInfo_params +{ + void *linux_side; + EVRInputError _ret; + VRActionHandle_t action; + InputBindingInfo_t *pOriginInfo; + uint32_t unBindingInfoSize; + uint32_t unBindingInfoCount; + uint32_t *punReturnedBindingInfoCount; +}; +extern void cppIVRInput_IVRInput_010_GetActionBindingInfo( struct cppIVRInput_IVRInput_010_GetActionBindingInfo_params *params ); + +struct cppIVRInput_IVRInput_010_ShowActionOrigins_params +{ + void *linux_side; + EVRInputError _ret; + VRActionSetHandle_t actionSetHandle; + VRActionHandle_t ulActionHandle; +}; +extern void cppIVRInput_IVRInput_010_ShowActionOrigins( struct cppIVRInput_IVRInput_010_ShowActionOrigins_params *params ); + +struct cppIVRInput_IVRInput_010_ShowBindingsForActionSet_params +{ + void *linux_side; + EVRInputError _ret; + VRActiveActionSet_t *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; + VRInputValueHandle_t originToHighlight; +}; +extern void cppIVRInput_IVRInput_010_ShowBindingsForActionSet( struct cppIVRInput_IVRInput_010_ShowBindingsForActionSet_params *params ); + +struct cppIVRInput_IVRInput_010_GetComponentStateForBinding_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchRenderModelName; + const char *pchComponentName; + const InputBindingInfo_t *pOriginInfo; + uint32_t unBindingInfoSize; + uint32_t unBindingInfoCount; + RenderModel_ComponentState_t *pComponentState; +}; +extern void cppIVRInput_IVRInput_010_GetComponentStateForBinding( struct cppIVRInput_IVRInput_010_GetComponentStateForBinding_params *params ); + +struct cppIVRInput_IVRInput_010_IsUsingLegacyInput_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRInput_IVRInput_010_IsUsingLegacyInput( struct cppIVRInput_IVRInput_010_IsUsingLegacyInput_params *params ); + +struct cppIVRInput_IVRInput_010_OpenBindingUI_params +{ + void *linux_side; + EVRInputError _ret; + const char *pchAppKey; + VRActionSetHandle_t ulActionSetHandle; + VRInputValueHandle_t ulDeviceHandle; + bool bShowOnDesktop; +}; +extern void cppIVRInput_IVRInput_010_OpenBindingUI( struct cppIVRInput_IVRInput_010_OpenBindingUI_params *params ); + +struct cppIVRInput_IVRInput_010_GetBindingVariant_params +{ + void *linux_side; + EVRInputError _ret; + VRInputValueHandle_t ulDevicePath; + char *pchVariantArray; + uint32_t unVariantArraySize; +}; +extern void cppIVRInput_IVRInput_010_GetBindingVariant( struct cppIVRInput_IVRInput_010_GetBindingVariant_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRMailbox_IVRMailbox_001.cpp b/vrclient_x64/vrclient_x64/cppIVRMailbox_IVRMailbox_001.cpp index 4ef394cf..6fdd396a 100644 --- a/vrclient_x64/vrclient_x64/cppIVRMailbox_IVRMailbox_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRMailbox_IVRMailbox_001.cpp @@ -9,32 +9,24 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -vrmb_typeb cppIVRMailbox_IVRMailbox_001_undoc1(void *linux_side, const char *a, vrmb_typea *b) +void cppIVRMailbox_IVRMailbox_001_undoc1( struct cppIVRMailbox_IVRMailbox_001_undoc1_params *params ) { - vrmb_typeb _ret; - _ret = ((IVRMailbox*)linux_side)->undoc1((const char *)a, (vr::vrmb_typea *)b); - return _ret; + params->_ret = ((IVRMailbox*)params->linux_side)->undoc1((const char *)params->a, (vr::vrmb_typea *)params->b); } -vrmb_typeb cppIVRMailbox_IVRMailbox_001_undoc2(void *linux_side, vrmb_typea a) +void cppIVRMailbox_IVRMailbox_001_undoc2( struct cppIVRMailbox_IVRMailbox_001_undoc2_params *params ) { - vrmb_typeb _ret; - _ret = ((IVRMailbox*)linux_side)->undoc2((vr::vrmb_typea)a); - return _ret; + params->_ret = ((IVRMailbox*)params->linux_side)->undoc2((vr::vrmb_typea)params->a); } -vrmb_typeb cppIVRMailbox_IVRMailbox_001_undoc3(void *linux_side, vrmb_typea a, const char *b, const char *c) +void cppIVRMailbox_IVRMailbox_001_undoc3( struct cppIVRMailbox_IVRMailbox_001_undoc3_params *params ) { - vrmb_typeb _ret; - _ret = ((IVRMailbox*)linux_side)->undoc3((vr::vrmb_typea)a, (const char *)b, (const char *)c); - return _ret; + params->_ret = ((IVRMailbox*)params->linux_side)->undoc3((vr::vrmb_typea)params->a, (const char *)params->b, (const char *)params->c); } -vrmb_typeb cppIVRMailbox_IVRMailbox_001_undoc4(void *linux_side, vrmb_typea a, char *b, uint32_t c, uint32_t *d) +void cppIVRMailbox_IVRMailbox_001_undoc4( struct cppIVRMailbox_IVRMailbox_001_undoc4_params *params ) { - vrmb_typeb _ret; - _ret = ((IVRMailbox*)linux_side)->undoc4((vr::vrmb_typea)a, (char *)b, (uint32_t)c, (uint32_t *)d); - return _ret; + params->_ret = ((IVRMailbox*)params->linux_side)->undoc4((vr::vrmb_typea)params->a, (char *)params->b, (uint32_t)params->c, (uint32_t *)params->d); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRMailbox_IVRMailbox_001.h b/vrclient_x64/vrclient_x64/cppIVRMailbox_IVRMailbox_001.h index fbed8240..f68d6c91 100644 --- a/vrclient_x64/vrclient_x64/cppIVRMailbox_IVRMailbox_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRMailbox_IVRMailbox_001.h @@ -1,10 +1,44 @@ #ifdef __cplusplus extern "C" { #endif -extern vrmb_typeb cppIVRMailbox_IVRMailbox_001_undoc1(void *, const char *, vrmb_typea *); -extern vrmb_typeb cppIVRMailbox_IVRMailbox_001_undoc2(void *, vrmb_typea); -extern vrmb_typeb cppIVRMailbox_IVRMailbox_001_undoc3(void *, vrmb_typea, const char *, const char *); -extern vrmb_typeb cppIVRMailbox_IVRMailbox_001_undoc4(void *, vrmb_typea, char *, uint32_t, uint32_t *); +struct cppIVRMailbox_IVRMailbox_001_undoc1_params +{ + void *linux_side; + vrmb_typeb _ret; + const char *a; + vrmb_typea *b; +}; +extern void cppIVRMailbox_IVRMailbox_001_undoc1( struct cppIVRMailbox_IVRMailbox_001_undoc1_params *params ); + +struct cppIVRMailbox_IVRMailbox_001_undoc2_params +{ + void *linux_side; + vrmb_typeb _ret; + vrmb_typea a; +}; +extern void cppIVRMailbox_IVRMailbox_001_undoc2( struct cppIVRMailbox_IVRMailbox_001_undoc2_params *params ); + +struct cppIVRMailbox_IVRMailbox_001_undoc3_params +{ + void *linux_side; + vrmb_typeb _ret; + vrmb_typea a; + const char *b; + const char *c; +}; +extern void cppIVRMailbox_IVRMailbox_001_undoc3( struct cppIVRMailbox_IVRMailbox_001_undoc3_params *params ); + +struct cppIVRMailbox_IVRMailbox_001_undoc4_params +{ + void *linux_side; + vrmb_typeb _ret; + vrmb_typea a; + char *b; + uint32_t c; + uint32_t *d; +}; +extern void cppIVRMailbox_IVRMailbox_001_undoc4( struct cppIVRMailbox_IVRMailbox_001_undoc4_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_001.cpp b/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_001.cpp index 287a4d7d..38c7a1f6 100644 --- a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_001.cpp @@ -9,25 +9,19 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -uint32_t cppIVRNotifications_IVRNotifications_001_GetErrorString(void *linux_side, NotificationError_t error, char *pchBuffer, uint32_t unBufferSize) +void cppIVRNotifications_IVRNotifications_001_GetErrorString( struct cppIVRNotifications_IVRNotifications_001_GetErrorString_params *params ) { - uint32_t _ret; - _ret = ((IVRNotifications*)linux_side)->GetErrorString((vr::NotificationError_t)error, (char *)pchBuffer, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRNotifications*)params->linux_side)->GetErrorString((vr::NotificationError_t)params->error, (char *)params->pchBuffer, (uint32_t)params->unBufferSize); } -NotificationError_t cppIVRNotifications_IVRNotifications_001_CreateNotification(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, const char *strType, const char *strText, const char *strCategory, const NotificationBitmap *photo, VRNotificationId *notificationId) +void cppIVRNotifications_IVRNotifications_001_CreateNotification( struct cppIVRNotifications_IVRNotifications_001_CreateNotification_params *params ) { - NotificationError_t _ret; - _ret = ((IVRNotifications*)linux_side)->CreateNotification((vr::VROverlayHandle_t)ulOverlayHandle, (uint64_t)ulUserValue, (const char *)strType, (const char *)strText, (const char *)strCategory, (const vr::NotificationBitmap *)photo, (vr::VRNotificationId *)notificationId); - return _ret; + params->_ret = ((IVRNotifications*)params->linux_side)->CreateNotification((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint64_t)params->ulUserValue, (const char *)params->strType, (const char *)params->strText, (const char *)params->strCategory, (const vr::NotificationBitmap *)params->photo, (vr::VRNotificationId *)params->notificationId); } -NotificationError_t cppIVRNotifications_IVRNotifications_001_DismissNotification(void *linux_side, VRNotificationId notificationId) +void cppIVRNotifications_IVRNotifications_001_DismissNotification( struct cppIVRNotifications_IVRNotifications_001_DismissNotification_params *params ) { - NotificationError_t _ret; - _ret = ((IVRNotifications*)linux_side)->DismissNotification((vr::VRNotificationId)notificationId); - return _ret; + params->_ret = ((IVRNotifications*)params->linux_side)->DismissNotification((vr::VRNotificationId)params->notificationId); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_001.h b/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_001.h index 5db7b4ba..af41cbad 100644 --- a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_001.h @@ -1,9 +1,38 @@ #ifdef __cplusplus extern "C" { #endif -extern uint32_t cppIVRNotifications_IVRNotifications_001_GetErrorString(void *, NotificationError_t, char *, uint32_t); -extern NotificationError_t cppIVRNotifications_IVRNotifications_001_CreateNotification(void *, VROverlayHandle_t, uint64_t, const char *, const char *, const char *, const NotificationBitmap *, VRNotificationId *); -extern NotificationError_t cppIVRNotifications_IVRNotifications_001_DismissNotification(void *, VRNotificationId); +struct cppIVRNotifications_IVRNotifications_001_GetErrorString_params +{ + void *linux_side; + uint32_t _ret; + NotificationError_t error; + char *pchBuffer; + uint32_t unBufferSize; +}; +extern void cppIVRNotifications_IVRNotifications_001_GetErrorString( struct cppIVRNotifications_IVRNotifications_001_GetErrorString_params *params ); + +struct cppIVRNotifications_IVRNotifications_001_CreateNotification_params +{ + void *linux_side; + NotificationError_t _ret; + VROverlayHandle_t ulOverlayHandle; + uint64_t ulUserValue; + const char *strType; + const char *strText; + const char *strCategory; + const NotificationBitmap *photo; + VRNotificationId *notificationId; +}; +extern void cppIVRNotifications_IVRNotifications_001_CreateNotification( struct cppIVRNotifications_IVRNotifications_001_CreateNotification_params *params ); + +struct cppIVRNotifications_IVRNotifications_001_DismissNotification_params +{ + void *linux_side; + NotificationError_t _ret; + VRNotificationId notificationId; +}; +extern void cppIVRNotifications_IVRNotifications_001_DismissNotification( struct cppIVRNotifications_IVRNotifications_001_DismissNotification_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_002.cpp b/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_002.cpp index 6748a139..6536c2de 100644 --- a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_002.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_002.cpp @@ -9,18 +9,14 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVRNotificationError cppIVRNotifications_IVRNotifications_002_CreateNotification(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, EVRNotificationType type, const char *pchText, EVRNotificationStyle style, const NotificationBitmap_t *pImage, VRNotificationId *pNotificationId) +void cppIVRNotifications_IVRNotifications_002_CreateNotification( struct cppIVRNotifications_IVRNotifications_002_CreateNotification_params *params ) { - EVRNotificationError _ret; - _ret = ((IVRNotifications*)linux_side)->CreateNotification((vr::VROverlayHandle_t)ulOverlayHandle, (uint64_t)ulUserValue, (vr::EVRNotificationType)type, (const char *)pchText, (vr::EVRNotificationStyle)style, (const vr::NotificationBitmap_t *)pImage, (vr::VRNotificationId *)pNotificationId); - return _ret; + params->_ret = ((IVRNotifications*)params->linux_side)->CreateNotification((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint64_t)params->ulUserValue, (vr::EVRNotificationType)params->type, (const char *)params->pchText, (vr::EVRNotificationStyle)params->style, (const vr::NotificationBitmap_t *)params->pImage, (vr::VRNotificationId *)params->pNotificationId); } -EVRNotificationError cppIVRNotifications_IVRNotifications_002_RemoveNotification(void *linux_side, VRNotificationId notificationId) +void cppIVRNotifications_IVRNotifications_002_RemoveNotification( struct cppIVRNotifications_IVRNotifications_002_RemoveNotification_params *params ) { - EVRNotificationError _ret; - _ret = ((IVRNotifications*)linux_side)->RemoveNotification((vr::VRNotificationId)notificationId); - return _ret; + params->_ret = ((IVRNotifications*)params->linux_side)->RemoveNotification((vr::VRNotificationId)params->notificationId); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_002.h b/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_002.h index b93424be..7ef6df2f 100644 --- a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_002.h +++ b/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_002.h @@ -1,8 +1,28 @@ #ifdef __cplusplus extern "C" { #endif -extern EVRNotificationError cppIVRNotifications_IVRNotifications_002_CreateNotification(void *, VROverlayHandle_t, uint64_t, EVRNotificationType, const char *, EVRNotificationStyle, const NotificationBitmap_t *, VRNotificationId *); -extern EVRNotificationError cppIVRNotifications_IVRNotifications_002_RemoveNotification(void *, VRNotificationId); +struct cppIVRNotifications_IVRNotifications_002_CreateNotification_params +{ + void *linux_side; + EVRNotificationError _ret; + VROverlayHandle_t ulOverlayHandle; + uint64_t ulUserValue; + EVRNotificationType type; + const char *pchText; + EVRNotificationStyle style; + const NotificationBitmap_t *pImage; + VRNotificationId *pNotificationId; +}; +extern void cppIVRNotifications_IVRNotifications_002_CreateNotification( struct cppIVRNotifications_IVRNotifications_002_CreateNotification_params *params ); + +struct cppIVRNotifications_IVRNotifications_002_RemoveNotification_params +{ + void *linux_side; + EVRNotificationError _ret; + VRNotificationId notificationId; +}; +extern void cppIVRNotifications_IVRNotifications_002_RemoveNotification( struct cppIVRNotifications_IVRNotifications_002_RemoveNotification_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlayView_IVROverlayView_003.cpp b/vrclient_x64/vrclient_x64/cppIVROverlayView_IVROverlayView_003.cpp index ee498bc0..5f934d47 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlayView_IVROverlayView_003.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlayView_IVROverlayView_003.cpp @@ -9,33 +9,27 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVROverlayError cppIVROverlayView_IVROverlayView_003_AcquireOverlayView(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRNativeDevice_t *pNativeDevice, VROverlayView_t *pOverlayView, uint32_t unOverlayViewSize) +void cppIVROverlayView_IVROverlayView_003_AcquireOverlayView( struct cppIVROverlayView_IVROverlayView_003_AcquireOverlayView_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlayView*)linux_side)->AcquireOverlayView((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRNativeDevice_t *)pNativeDevice, (vr::VROverlayView_t *)pOverlayView, (uint32_t)unOverlayViewSize); - return _ret; + params->_ret = ((IVROverlayView*)params->linux_side)->AcquireOverlayView((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRNativeDevice_t *)params->pNativeDevice, (vr::VROverlayView_t *)params->pOverlayView, (uint32_t)params->unOverlayViewSize); } -EVROverlayError cppIVROverlayView_IVROverlayView_003_ReleaseOverlayView(void *linux_side, VROverlayView_t *pOverlayView) +void cppIVROverlayView_IVROverlayView_003_ReleaseOverlayView( struct cppIVROverlayView_IVROverlayView_003_ReleaseOverlayView_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlayView*)linux_side)->ReleaseOverlayView((vr::VROverlayView_t *)pOverlayView); - return _ret; + params->_ret = ((IVROverlayView*)params->linux_side)->ReleaseOverlayView((vr::VROverlayView_t *)params->pOverlayView); } -void cppIVROverlayView_IVROverlayView_003_PostOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VREvent_t *pvrEvent) +void cppIVROverlayView_IVROverlayView_003_PostOverlayEvent( struct cppIVROverlayView_IVROverlayView_003_PostOverlayEvent_params *params ) { VREvent_t lin_pvrEvent; - if (pvrEvent) - struct_VREvent_t_1267_win_to_lin(pvrEvent, &lin_pvrEvent); - ((IVROverlayView*)linux_side)->PostOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pvrEvent ? &lin_pvrEvent : nullptr); + if (params->pvrEvent) + struct_VREvent_t_1267_win_to_lin( params->pvrEvent, &lin_pvrEvent ); + ((IVROverlayView*)params->linux_side)->PostOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, params->pvrEvent ? &lin_pvrEvent : nullptr); } -bool cppIVROverlayView_IVROverlayView_003_IsViewingPermitted(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlayView_IVROverlayView_003_IsViewingPermitted( struct cppIVROverlayView_IVROverlayView_003_IsViewingPermitted_params *params ) { - bool _ret; - _ret = ((IVROverlayView*)linux_side)->IsViewingPermitted((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlayView*)params->linux_side)->IsViewingPermitted((vr::VROverlayHandle_t)params->ulOverlayHandle); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlayView_IVROverlayView_003.h b/vrclient_x64/vrclient_x64/cppIVROverlayView_IVROverlayView_003.h index 2af04da7..beeb61bc 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlayView_IVROverlayView_003.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlayView_IVROverlayView_003.h @@ -1,10 +1,41 @@ #ifdef __cplusplus extern "C" { #endif -extern EVROverlayError cppIVROverlayView_IVROverlayView_003_AcquireOverlayView(void *, VROverlayHandle_t, VRNativeDevice_t *, VROverlayView_t *, uint32_t); -extern EVROverlayError cppIVROverlayView_IVROverlayView_003_ReleaseOverlayView(void *, VROverlayView_t *); -extern void cppIVROverlayView_IVROverlayView_003_PostOverlayEvent(void *, VROverlayHandle_t, const VREvent_t *); -extern bool cppIVROverlayView_IVROverlayView_003_IsViewingPermitted(void *, VROverlayHandle_t); +struct cppIVROverlayView_IVROverlayView_003_AcquireOverlayView_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRNativeDevice_t *pNativeDevice; + VROverlayView_t *pOverlayView; + uint32_t unOverlayViewSize; +}; +extern void cppIVROverlayView_IVROverlayView_003_AcquireOverlayView( struct cppIVROverlayView_IVROverlayView_003_AcquireOverlayView_params *params ); + +struct cppIVROverlayView_IVROverlayView_003_ReleaseOverlayView_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayView_t *pOverlayView; +}; +extern void cppIVROverlayView_IVROverlayView_003_ReleaseOverlayView( struct cppIVROverlayView_IVROverlayView_003_ReleaseOverlayView_params *params ); + +struct cppIVROverlayView_IVROverlayView_003_PostOverlayEvent_params +{ + void *linux_side; + VROverlayHandle_t ulOverlayHandle; + const VREvent_t *pvrEvent; +}; +extern void cppIVROverlayView_IVROverlayView_003_PostOverlayEvent( struct cppIVROverlayView_IVROverlayView_003_PostOverlayEvent_params *params ); + +struct cppIVROverlayView_IVROverlayView_003_IsViewingPermitted_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlayView_IVROverlayView_003_IsViewingPermitted( struct cppIVROverlayView_IVROverlayView_003_IsViewingPermitted_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_001.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_001.cpp index 4d6f4352..887e8683 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_001.cpp @@ -9,284 +9,204 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -VROverlayError cppIVROverlay_IVROverlay_001_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_001_FindOverlay( struct cppIVROverlay_IVROverlay_001_FindOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_001_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_001_CreateOverlay( struct cppIVROverlay_IVROverlay_001_CreateOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_001_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_001_DestroyOverlay( struct cppIVROverlay_IVROverlay_001_DestroyOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_001_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_001_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_001_SetHighQualityOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_001_GetHighQualityOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_001_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_001_GetHighQualityOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetHighQualityOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetHighQualityOverlay(); } -const char * cppIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum(void *linux_side, VROverlayError error) +void cppIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::VROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::VROverlayError)params->error); } -VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_001_SetOverlayFlag( struct cppIVROverlay_IVROverlay_001_SetOverlayFlag_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_001_GetOverlayFlag( struct cppIVROverlay_IVROverlay_001_GetOverlayFlag_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_001_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_001_SetOverlayAlpha_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_001_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_001_GetOverlayAlpha_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fGamma) +void cppIVROverlay_IVROverlay_001_SetOverlayGamma( struct cppIVROverlay_IVROverlay_001_SetOverlayGamma_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float)fGamma); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayGamma((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fGamma); } -VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfGamma) +void cppIVROverlay_IVROverlay_001_GetOverlayGamma( struct cppIVROverlay_IVROverlay_001_GetOverlayGamma_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfGamma); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayGamma((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfGamma); } -VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_001_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_001_SetOverlayWidthInMeters_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_001_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_001_GetOverlayWidthInMeters_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_001_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_001_SetOverlayTextureBounds_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_001_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_001_GetOverlayTextureBounds_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_001_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_001_GetOverlayTransformType_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayVisibility(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility *peOverlayVisibility) +void cppIVROverlay_IVROverlay_001_GetOverlayVisibility( struct cppIVROverlay_IVROverlay_001_GetOverlayVisibility_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayVisibility((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayVisibility *)peOverlayVisibility); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayVisibility((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayVisibility *)params->peOverlayVisibility); } -VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayVisibility(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility eOverlayVisibility) +void cppIVROverlay_IVROverlay_001_SetOverlayVisibility( struct cppIVROverlay_IVROverlay_001_SetOverlayVisibility_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayVisibility((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayVisibility)eOverlayVisibility); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayVisibility((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayVisibility)params->eOverlayVisibility); } -VROverlayError cppIVROverlay_IVROverlay_001_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_001_ShowOverlay( struct cppIVROverlay_IVROverlay_001_ShowOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_001_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_001_HideOverlay( struct cppIVROverlay_IVROverlay_001_HideOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_001_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_001_IsOverlayVisible( struct cppIVROverlay_IVROverlay_001_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_001_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) +void cppIVROverlay_IVROverlay_001_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_001_PollNextOverlayEvent_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VREvent_t *)pEvent); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VREvent_t *)params->pEvent); } -VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_001_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_001_GetOverlayInputMethod_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_001_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_001_SetOverlayInputMethod_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_001_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_001_GetOverlayMouseScale_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_001_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_001_SetOverlayMouseScale_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_001_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_001_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_001_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +void cppIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex); } -VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pTexture) +void cppIVROverlay_IVROverlay_001_SetOverlayTexture( struct cppIVROverlay_IVROverlay_001_SetOverlayTexture_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pTexture); } -VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +void cppIVROverlay_IVROverlay_001_SetOverlayRaw( struct cppIVROverlay_IVROverlay_001_SetOverlayRaw_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unDepth); } -VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_001_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_001_SetOverlayFromFile_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -bool cppIVROverlay_IVROverlay_001_IsSystemOverlayVisible(void *linux_side) +void cppIVROverlay_IVROverlay_001_IsSystemOverlayVisible( struct cppIVROverlay_IVROverlay_001_IsSystemOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsSystemOverlayVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsSystemOverlayVisible(); } -bool cppIVROverlay_IVROverlay_001_IsActiveSystemOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_001_IsActiveSystemOverlay( struct cppIVROverlay_IVROverlay_001_IsActiveSystemOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveSystemOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveSystemOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess( struct cppIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetSystemOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetSystemOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -VROverlayError cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess( struct cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetSystemOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetSystemOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_001.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_001.h index 2a1d866f..26cc08f0 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_001.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_001.h @@ -1,46 +1,366 @@ #ifdef __cplusplus extern "C" { #endif -extern VROverlayError cppIVROverlay_IVROverlay_001_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern VROverlayError cppIVROverlay_IVROverlay_001_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern VROverlayError cppIVROverlay_IVROverlay_001_DestroyOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_001_GetHighQualityOverlay(void *); -extern const char * cppIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum(void *, VROverlayError); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayGamma(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayGamma(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin, const HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin *, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayVisibility(void *, VROverlayHandle_t, VROverlayVisibility *); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayVisibility(void *, VROverlayHandle_t, VROverlayVisibility); -extern VROverlayError cppIVROverlay_IVROverlay_001_ShowOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_001_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_001_IsOverlayVisible(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_001_PollNextOverlayEvent(void *, VROverlayHandle_t, VREvent_t *); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_001_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTexture(void *, VROverlayHandle_t, void *); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern bool cppIVROverlay_IVROverlay_001_IsSystemOverlayVisible(void *); -extern bool cppIVROverlay_IVROverlay_001_IsActiveSystemOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); +struct cppIVROverlay_IVROverlay_001_FindOverlay_params +{ + void *linux_side; + VROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_001_FindOverlay( struct cppIVROverlay_IVROverlay_001_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_001_CreateOverlay_params +{ + void *linux_side; + VROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_001_CreateOverlay( struct cppIVROverlay_IVROverlay_001_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_001_DestroyOverlay_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_001_DestroyOverlay( struct cppIVROverlay_IVROverlay_001_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_001_SetHighQualityOverlay_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_001_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_001_SetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_001_GetHighQualityOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_001_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_001_GetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + VROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_001_SetOverlayFlag_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_001_SetOverlayFlag( struct cppIVROverlay_IVROverlay_001_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_001_GetOverlayFlag_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_001_GetOverlayFlag( struct cppIVROverlay_IVROverlay_001_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_001_SetOverlayAlpha_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_001_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_001_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_001_GetOverlayAlpha_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_001_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_001_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_001_SetOverlayGamma_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fGamma; +}; +extern void cppIVROverlay_IVROverlay_001_SetOverlayGamma( struct cppIVROverlay_IVROverlay_001_SetOverlayGamma_params *params ); + +struct cppIVROverlay_IVROverlay_001_GetOverlayGamma_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfGamma; +}; +extern void cppIVROverlay_IVROverlay_001_GetOverlayGamma( struct cppIVROverlay_IVROverlay_001_GetOverlayGamma_params *params ); + +struct cppIVROverlay_IVROverlay_001_SetOverlayWidthInMeters_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_001_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_001_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_001_GetOverlayWidthInMeters_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_001_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_001_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_001_SetOverlayTextureBounds_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_001_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_001_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_001_GetOverlayTextureBounds_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_001_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_001_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_001_GetOverlayTransformType_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_001_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_001_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_001_GetOverlayVisibility_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayVisibility *peOverlayVisibility; +}; +extern void cppIVROverlay_IVROverlay_001_GetOverlayVisibility( struct cppIVROverlay_IVROverlay_001_GetOverlayVisibility_params *params ); + +struct cppIVROverlay_IVROverlay_001_SetOverlayVisibility_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayVisibility eOverlayVisibility; +}; +extern void cppIVROverlay_IVROverlay_001_SetOverlayVisibility( struct cppIVROverlay_IVROverlay_001_SetOverlayVisibility_params *params ); + +struct cppIVROverlay_IVROverlay_001_ShowOverlay_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_001_ShowOverlay( struct cppIVROverlay_IVROverlay_001_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_001_HideOverlay_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_001_HideOverlay( struct cppIVROverlay_IVROverlay_001_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_001_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_001_IsOverlayVisible( struct cppIVROverlay_IVROverlay_001_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_001_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + VREvent_t *pEvent; +}; +extern void cppIVROverlay_IVROverlay_001_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_001_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_001_GetOverlayInputMethod_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_001_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_001_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_001_SetOverlayInputMethod_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_001_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_001_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_001_GetOverlayMouseScale_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_001_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_001_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_001_SetOverlayMouseScale_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_001_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_001_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_001_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_001_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_001_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unControllerDeviceIndex; +}; +extern void cppIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse_params *params ); + +struct cppIVROverlay_IVROverlay_001_SetOverlayTexture_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pTexture; +}; +extern void cppIVROverlay_IVROverlay_001_SetOverlayTexture( struct cppIVROverlay_IVROverlay_001_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_001_SetOverlayRaw_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; +extern void cppIVROverlay_IVROverlay_001_SetOverlayRaw( struct cppIVROverlay_IVROverlay_001_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_001_SetOverlayFromFile_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_001_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_001_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_001_IsSystemOverlayVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_001_IsSystemOverlayVisible( struct cppIVROverlay_IVROverlay_001_IsSystemOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_001_IsActiveSystemOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_001_IsActiveSystemOverlay( struct cppIVROverlay_IVROverlay_001_IsActiveSystemOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess( struct cppIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess( struct cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_002.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_002.cpp index 677eca60..a0d4fbc2 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_002.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_002.cpp @@ -9,298 +9,214 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -VROverlayError cppIVROverlay_IVROverlay_002_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_002_FindOverlay( struct cppIVROverlay_IVROverlay_002_FindOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_002_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_002_CreateOverlay( struct cppIVROverlay_IVROverlay_002_CreateOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_002_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_002_DestroyOverlay( struct cppIVROverlay_IVROverlay_002_DestroyOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_002_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_002_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_002_SetHighQualityOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_002_GetHighQualityOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_002_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_002_GetHighQualityOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetHighQualityOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetHighQualityOverlay(); } -const char * cppIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum(void *linux_side, VROverlayError error) +void cppIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::VROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::VROverlayError)params->error); } -VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_002_SetOverlayFlag( struct cppIVROverlay_IVROverlay_002_SetOverlayFlag_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_002_GetOverlayFlag( struct cppIVROverlay_IVROverlay_002_GetOverlayFlag_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void cppIVROverlay_IVROverlay_002_SetOverlayColor( struct cppIVROverlay_IVROverlay_002_SetOverlayColor_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRed, (float)params->fGreen, (float)params->fBlue); } -VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +void cppIVROverlay_IVROverlay_002_GetOverlayColor( struct cppIVROverlay_IVROverlay_002_GetOverlayColor_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRed, (float *)params->pfGreen, (float *)params->pfBlue); } -VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_002_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_002_SetOverlayAlpha_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_002_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_002_GetOverlayAlpha_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fGamma) +void cppIVROverlay_IVROverlay_002_SetOverlayGamma( struct cppIVROverlay_IVROverlay_002_SetOverlayGamma_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float)fGamma); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayGamma((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fGamma); } -VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfGamma) +void cppIVROverlay_IVROverlay_002_GetOverlayGamma( struct cppIVROverlay_IVROverlay_002_GetOverlayGamma_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfGamma); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayGamma((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfGamma); } -VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_002_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_002_SetOverlayWidthInMeters_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_002_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_002_GetOverlayWidthInMeters_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_002_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_002_SetOverlayTextureBounds_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_002_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_002_GetOverlayTextureBounds_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_002_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_002_GetOverlayTransformType_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -VROverlayError cppIVROverlay_IVROverlay_002_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_002_ShowOverlay( struct cppIVROverlay_IVROverlay_002_ShowOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_002_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_002_HideOverlay( struct cppIVROverlay_IVROverlay_002_HideOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_002_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_002_IsOverlayVisible( struct cppIVROverlay_IVROverlay_002_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_002_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) +void cppIVROverlay_IVROverlay_002_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_002_PollNextOverlayEvent_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VREvent_t *)pEvent); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VREvent_t *)params->pEvent); } -VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_002_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_002_GetOverlayInputMethod_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_002_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_002_SetOverlayInputMethod_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_002_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_002_GetOverlayMouseScale_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_002_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_002_SetOverlayMouseScale_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_002_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_002_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_002_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +void cppIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex); } -VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void *pTexture) +void cppIVROverlay_IVROverlay_002_SetOverlayTexture( struct cppIVROverlay_IVROverlay_002_SetOverlayTexture_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (vr::GraphicsAPIConvention)eTextureType, (void *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::GraphicsAPIConvention)params->eTextureType, (void *)params->pTexture); } -VROverlayError cppIVROverlay_IVROverlay_002_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_002_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_002_ClearOverlayTexture_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +void cppIVROverlay_IVROverlay_002_SetOverlayRaw( struct cppIVROverlay_IVROverlay_002_SetOverlayRaw_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unDepth); } -VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_002_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_002_SetOverlayFromFile_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -VROverlayError cppIVROverlay_IVROverlay_002_CreateDashboardOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +void cppIVROverlay_IVROverlay_002_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_002_CreateDashboardOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateDashboardOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pMainHandle, (vr::VROverlayHandle_t *)params->pThumbnailHandle); } -bool cppIVROverlay_IVROverlay_002_IsDashboardVisible(void *linux_side) +void cppIVROverlay_IVROverlay_002_IsDashboardVisible( struct cppIVROverlay_IVROverlay_002_IsDashboardVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsDashboardVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsDashboardVisible(); } -bool cppIVROverlay_IVROverlay_002_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_002_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_002_IsActiveDashboardOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -VROverlayError cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_002.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_002.h index 410a1a41..fc7bc11e 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_002.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_002.h @@ -1,48 +1,390 @@ #ifdef __cplusplus extern "C" { #endif -extern VROverlayError cppIVROverlay_IVROverlay_002_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern VROverlayError cppIVROverlay_IVROverlay_002_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern VROverlayError cppIVROverlay_IVROverlay_002_DestroyOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_002_GetHighQualityOverlay(void *); -extern const char * cppIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum(void *, VROverlayError); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayGamma(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayGamma(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin, const HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin *, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_002_ShowOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_002_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_002_IsOverlayVisible(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_002_PollNextOverlayEvent(void *, VROverlayHandle_t, VREvent_t *); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_002_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTexture(void *, VROverlayHandle_t, GraphicsAPIConvention, void *); -extern VROverlayError cppIVROverlay_IVROverlay_002_ClearOverlayTexture(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern VROverlayError cppIVROverlay_IVROverlay_002_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_002_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_002_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); +struct cppIVROverlay_IVROverlay_002_FindOverlay_params +{ + void *linux_side; + VROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_002_FindOverlay( struct cppIVROverlay_IVROverlay_002_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_002_CreateOverlay_params +{ + void *linux_side; + VROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_002_CreateOverlay( struct cppIVROverlay_IVROverlay_002_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_002_DestroyOverlay_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_002_DestroyOverlay( struct cppIVROverlay_IVROverlay_002_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_002_SetHighQualityOverlay_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_002_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_002_SetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_002_GetHighQualityOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_002_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_002_GetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + VROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_002_SetOverlayFlag_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_002_SetOverlayFlag( struct cppIVROverlay_IVROverlay_002_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_002_GetOverlayFlag_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_002_GetOverlayFlag( struct cppIVROverlay_IVROverlay_002_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_002_SetOverlayColor_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; +extern void cppIVROverlay_IVROverlay_002_SetOverlayColor( struct cppIVROverlay_IVROverlay_002_SetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_002_GetOverlayColor_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; +extern void cppIVROverlay_IVROverlay_002_GetOverlayColor( struct cppIVROverlay_IVROverlay_002_GetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_002_SetOverlayAlpha_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_002_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_002_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_002_GetOverlayAlpha_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_002_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_002_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_002_SetOverlayGamma_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fGamma; +}; +extern void cppIVROverlay_IVROverlay_002_SetOverlayGamma( struct cppIVROverlay_IVROverlay_002_SetOverlayGamma_params *params ); + +struct cppIVROverlay_IVROverlay_002_GetOverlayGamma_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfGamma; +}; +extern void cppIVROverlay_IVROverlay_002_GetOverlayGamma( struct cppIVROverlay_IVROverlay_002_GetOverlayGamma_params *params ); + +struct cppIVROverlay_IVROverlay_002_SetOverlayWidthInMeters_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_002_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_002_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_002_GetOverlayWidthInMeters_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_002_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_002_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_002_SetOverlayTextureBounds_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_002_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_002_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_002_GetOverlayTextureBounds_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_002_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_002_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_002_GetOverlayTransformType_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_002_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_002_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_002_ShowOverlay_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_002_ShowOverlay( struct cppIVROverlay_IVROverlay_002_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_002_HideOverlay_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_002_HideOverlay( struct cppIVROverlay_IVROverlay_002_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_002_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_002_IsOverlayVisible( struct cppIVROverlay_IVROverlay_002_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_002_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + VREvent_t *pEvent; +}; +extern void cppIVROverlay_IVROverlay_002_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_002_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_002_GetOverlayInputMethod_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_002_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_002_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_002_SetOverlayInputMethod_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_002_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_002_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_002_GetOverlayMouseScale_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_002_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_002_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_002_SetOverlayMouseScale_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_002_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_002_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_002_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_002_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_002_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unControllerDeviceIndex; +}; +extern void cppIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse_params *params ); + +struct cppIVROverlay_IVROverlay_002_SetOverlayTexture_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + GraphicsAPIConvention eTextureType; + void *pTexture; +}; +extern void cppIVROverlay_IVROverlay_002_SetOverlayTexture( struct cppIVROverlay_IVROverlay_002_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_002_ClearOverlayTexture_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_002_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_002_ClearOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_002_SetOverlayRaw_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; +extern void cppIVROverlay_IVROverlay_002_SetOverlayRaw( struct cppIVROverlay_IVROverlay_002_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_002_SetOverlayFromFile_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_002_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_002_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_002_CreateDashboardOverlay_params +{ + void *linux_side; + VROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pMainHandle; + VROverlayHandle_t *pThumbnailHandle; +}; +extern void cppIVROverlay_IVROverlay_002_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_002_CreateDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_002_IsDashboardVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_002_IsDashboardVisible( struct cppIVROverlay_IVROverlay_002_IsDashboardVisible_params *params ); + +struct cppIVROverlay_IVROverlay_002_IsActiveDashboardOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_002_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_002_IsActiveDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_003.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_003.cpp index 4ee4dcae..19fe27d4 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_003.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_003.cpp @@ -9,324 +9,234 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -VROverlayError cppIVROverlay_IVROverlay_003_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_003_FindOverlay( struct cppIVROverlay_IVROverlay_003_FindOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_003_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_003_CreateOverlay( struct cppIVROverlay_IVROverlay_003_CreateOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_003_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_003_DestroyOverlay( struct cppIVROverlay_IVROverlay_003_DestroyOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_003_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_003_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_003_SetHighQualityOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_003_GetHighQualityOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_003_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_003_GetHighQualityOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetHighQualityOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetHighQualityOverlay(); } -uint32_t cppIVROverlay_IVROverlay_003_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, VROverlayError *pError) +void cppIVROverlay_IVROverlay_003_GetOverlayKey( struct cppIVROverlay_IVROverlay_003_GetOverlayKey_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::VROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayKey((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::VROverlayError *)params->pError); } -uint32_t cppIVROverlay_IVROverlay_003_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, VROverlayError *pError) +void cppIVROverlay_IVROverlay_003_GetOverlayName( struct cppIVROverlay_IVROverlay_003_GetOverlayName_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::VROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::VROverlayError *)params->pError); } -VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +void cppIVROverlay_IVROverlay_003_GetOverlayImageData( struct cppIVROverlay_IVROverlay_003_GetOverlayImageData_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unBufferSize, (uint32_t *)params->punWidth, (uint32_t *)params->punHeight); } -const char * cppIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum(void *linux_side, VROverlayError error) +void cppIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::VROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::VROverlayError)params->error); } -VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_003_SetOverlayFlag( struct cppIVROverlay_IVROverlay_003_SetOverlayFlag_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_003_GetOverlayFlag( struct cppIVROverlay_IVROverlay_003_GetOverlayFlag_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void cppIVROverlay_IVROverlay_003_SetOverlayColor( struct cppIVROverlay_IVROverlay_003_SetOverlayColor_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRed, (float)params->fGreen, (float)params->fBlue); } -VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +void cppIVROverlay_IVROverlay_003_GetOverlayColor( struct cppIVROverlay_IVROverlay_003_GetOverlayColor_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRed, (float *)params->pfGreen, (float *)params->pfBlue); } -VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_003_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_003_SetOverlayAlpha_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_003_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_003_GetOverlayAlpha_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fGamma) +void cppIVROverlay_IVROverlay_003_SetOverlayGamma( struct cppIVROverlay_IVROverlay_003_SetOverlayGamma_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float)fGamma); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayGamma((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fGamma); } -VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfGamma) +void cppIVROverlay_IVROverlay_003_GetOverlayGamma( struct cppIVROverlay_IVROverlay_003_GetOverlayGamma_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfGamma); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayGamma((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfGamma); } -VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_003_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_003_SetOverlayWidthInMeters_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_003_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_003_GetOverlayWidthInMeters_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_003_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_003_SetOverlayTextureBounds_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_003_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_003_GetOverlayTextureBounds_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_003_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_003_GetOverlayTransformType_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -VROverlayError cppIVROverlay_IVROverlay_003_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_003_ShowOverlay( struct cppIVROverlay_IVROverlay_003_ShowOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_003_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_003_HideOverlay( struct cppIVROverlay_IVROverlay_003_HideOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_003_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_003_IsOverlayVisible( struct cppIVROverlay_IVROverlay_003_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_003_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) +void cppIVROverlay_IVROverlay_003_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_003_PollNextOverlayEvent_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VREvent_t *)pEvent); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VREvent_t *)params->pEvent); } -VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_003_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_003_GetOverlayInputMethod_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_003_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_003_SetOverlayInputMethod_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_003_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_003_GetOverlayMouseScale_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_003_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_003_SetOverlayMouseScale_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_003_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_003_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_003_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +void cppIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex); } -VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void *pTexture) +void cppIVROverlay_IVROverlay_003_SetOverlayTexture( struct cppIVROverlay_IVROverlay_003_SetOverlayTexture_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (vr::GraphicsAPIConvention)eTextureType, (void *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::GraphicsAPIConvention)params->eTextureType, (void *)params->pTexture); } -VROverlayError cppIVROverlay_IVROverlay_003_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_003_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_003_ClearOverlayTexture_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +void cppIVROverlay_IVROverlay_003_SetOverlayRaw( struct cppIVROverlay_IVROverlay_003_SetOverlayRaw_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unDepth); } -VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_003_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_003_SetOverlayFromFile_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -VROverlayError cppIVROverlay_IVROverlay_003_CreateDashboardOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +void cppIVROverlay_IVROverlay_003_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_003_CreateDashboardOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateDashboardOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pMainHandle, (vr::VROverlayHandle_t *)params->pThumbnailHandle); } -bool cppIVROverlay_IVROverlay_003_IsDashboardVisible(void *linux_side) +void cppIVROverlay_IVROverlay_003_IsDashboardVisible( struct cppIVROverlay_IVROverlay_003_IsDashboardVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsDashboardVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsDashboardVisible(); } -bool cppIVROverlay_IVROverlay_003_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_003_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_003_IsActiveDashboardOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -VROverlayError cppIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } -void cppIVROverlay_IVROverlay_003_ShowDashboard(void *linux_side, const char *pchOverlayToShow) +void cppIVROverlay_IVROverlay_003_ShowDashboard( struct cppIVROverlay_IVROverlay_003_ShowDashboard_params *params ) { - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); + ((IVROverlay*)params->linux_side)->ShowDashboard((const char *)params->pchOverlayToShow); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_003.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_003.h index 25189f53..beacf4c6 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_003.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_003.h @@ -1,52 +1,431 @@ #ifdef __cplusplus extern "C" { #endif -extern VROverlayError cppIVROverlay_IVROverlay_003_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern VROverlayError cppIVROverlay_IVROverlay_003_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern VROverlayError cppIVROverlay_IVROverlay_003_DestroyOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_003_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_003_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, VROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_003_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, VROverlayError *); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum(void *, VROverlayError); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayGamma(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayGamma(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin, const HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin *, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_003_ShowOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_003_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_003_IsOverlayVisible(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_003_PollNextOverlayEvent(void *, VROverlayHandle_t, VREvent_t *); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_003_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTexture(void *, VROverlayHandle_t, GraphicsAPIConvention, void *); -extern VROverlayError cppIVROverlay_IVROverlay_003_ClearOverlayTexture(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern VROverlayError cppIVROverlay_IVROverlay_003_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_003_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_003_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_003_ShowDashboard(void *, const char *); +struct cppIVROverlay_IVROverlay_003_FindOverlay_params +{ + void *linux_side; + VROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_003_FindOverlay( struct cppIVROverlay_IVROverlay_003_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_003_CreateOverlay_params +{ + void *linux_side; + VROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_003_CreateOverlay( struct cppIVROverlay_IVROverlay_003_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_003_DestroyOverlay_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_003_DestroyOverlay( struct cppIVROverlay_IVROverlay_003_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_003_SetHighQualityOverlay_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_003_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_003_SetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_003_GetHighQualityOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_003_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_003_GetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_003_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + VROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_003_GetOverlayKey( struct cppIVROverlay_IVROverlay_003_GetOverlayKey_params *params ); + +struct cppIVROverlay_IVROverlay_003_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + VROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_003_GetOverlayName( struct cppIVROverlay_IVROverlay_003_GetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_003_GetOverlayImageData_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; +extern void cppIVROverlay_IVROverlay_003_GetOverlayImageData( struct cppIVROverlay_IVROverlay_003_GetOverlayImageData_params *params ); + +struct cppIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + VROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_003_SetOverlayFlag_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_003_SetOverlayFlag( struct cppIVROverlay_IVROverlay_003_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_003_GetOverlayFlag_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_003_GetOverlayFlag( struct cppIVROverlay_IVROverlay_003_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_003_SetOverlayColor_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; +extern void cppIVROverlay_IVROverlay_003_SetOverlayColor( struct cppIVROverlay_IVROverlay_003_SetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_003_GetOverlayColor_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; +extern void cppIVROverlay_IVROverlay_003_GetOverlayColor( struct cppIVROverlay_IVROverlay_003_GetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_003_SetOverlayAlpha_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_003_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_003_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_003_GetOverlayAlpha_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_003_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_003_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_003_SetOverlayGamma_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fGamma; +}; +extern void cppIVROverlay_IVROverlay_003_SetOverlayGamma( struct cppIVROverlay_IVROverlay_003_SetOverlayGamma_params *params ); + +struct cppIVROverlay_IVROverlay_003_GetOverlayGamma_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfGamma; +}; +extern void cppIVROverlay_IVROverlay_003_GetOverlayGamma( struct cppIVROverlay_IVROverlay_003_GetOverlayGamma_params *params ); + +struct cppIVROverlay_IVROverlay_003_SetOverlayWidthInMeters_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_003_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_003_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_003_GetOverlayWidthInMeters_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_003_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_003_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_003_SetOverlayTextureBounds_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_003_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_003_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_003_GetOverlayTextureBounds_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_003_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_003_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_003_GetOverlayTransformType_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_003_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_003_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_003_ShowOverlay_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_003_ShowOverlay( struct cppIVROverlay_IVROverlay_003_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_003_HideOverlay_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_003_HideOverlay( struct cppIVROverlay_IVROverlay_003_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_003_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_003_IsOverlayVisible( struct cppIVROverlay_IVROverlay_003_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_003_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + VREvent_t *pEvent; +}; +extern void cppIVROverlay_IVROverlay_003_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_003_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_003_GetOverlayInputMethod_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_003_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_003_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_003_SetOverlayInputMethod_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_003_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_003_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_003_GetOverlayMouseScale_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_003_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_003_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_003_SetOverlayMouseScale_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_003_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_003_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_003_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_003_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_003_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unControllerDeviceIndex; +}; +extern void cppIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse_params *params ); + +struct cppIVROverlay_IVROverlay_003_SetOverlayTexture_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + GraphicsAPIConvention eTextureType; + void *pTexture; +}; +extern void cppIVROverlay_IVROverlay_003_SetOverlayTexture( struct cppIVROverlay_IVROverlay_003_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_003_ClearOverlayTexture_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_003_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_003_ClearOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_003_SetOverlayRaw_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; +extern void cppIVROverlay_IVROverlay_003_SetOverlayRaw( struct cppIVROverlay_IVROverlay_003_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_003_SetOverlayFromFile_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_003_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_003_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_003_CreateDashboardOverlay_params +{ + void *linux_side; + VROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pMainHandle; + VROverlayHandle_t *pThumbnailHandle; +}; +extern void cppIVROverlay_IVROverlay_003_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_003_CreateDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_003_IsDashboardVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_003_IsDashboardVisible( struct cppIVROverlay_IVROverlay_003_IsDashboardVisible_params *params ); + +struct cppIVROverlay_IVROverlay_003_IsActiveDashboardOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_003_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_003_IsActiveDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_003_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; +extern void cppIVROverlay_IVROverlay_003_ShowDashboard( struct cppIVROverlay_IVROverlay_003_ShowDashboard_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_004.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_004.cpp index e36a0f15..ad5b1e95 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_004.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_004.cpp @@ -9,338 +9,244 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -VROverlayError cppIVROverlay_IVROverlay_004_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_004_FindOverlay( struct cppIVROverlay_IVROverlay_004_FindOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_004_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_004_CreateOverlay( struct cppIVROverlay_IVROverlay_004_CreateOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_004_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_004_DestroyOverlay( struct cppIVROverlay_IVROverlay_004_DestroyOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_004_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_004_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_004_SetHighQualityOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_004_GetHighQualityOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_004_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_004_GetHighQualityOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetHighQualityOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetHighQualityOverlay(); } -uint32_t cppIVROverlay_IVROverlay_004_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, VROverlayError *pError) +void cppIVROverlay_IVROverlay_004_GetOverlayKey( struct cppIVROverlay_IVROverlay_004_GetOverlayKey_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::VROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayKey((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::VROverlayError *)params->pError); } -uint32_t cppIVROverlay_IVROverlay_004_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, VROverlayError *pError) +void cppIVROverlay_IVROverlay_004_GetOverlayName( struct cppIVROverlay_IVROverlay_004_GetOverlayName_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::VROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::VROverlayError *)params->pError); } -VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +void cppIVROverlay_IVROverlay_004_GetOverlayImageData( struct cppIVROverlay_IVROverlay_004_GetOverlayImageData_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unBufferSize, (uint32_t *)params->punWidth, (uint32_t *)params->punHeight); } -const char * cppIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum(void *linux_side, VROverlayError error) +void cppIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::VROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::VROverlayError)params->error); } -VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_004_SetOverlayFlag( struct cppIVROverlay_IVROverlay_004_SetOverlayFlag_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_004_GetOverlayFlag( struct cppIVROverlay_IVROverlay_004_GetOverlayFlag_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void cppIVROverlay_IVROverlay_004_SetOverlayColor( struct cppIVROverlay_IVROverlay_004_SetOverlayColor_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRed, (float)params->fGreen, (float)params->fBlue); } -VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +void cppIVROverlay_IVROverlay_004_GetOverlayColor( struct cppIVROverlay_IVROverlay_004_GetOverlayColor_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRed, (float *)params->pfGreen, (float *)params->pfBlue); } -VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_004_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_004_SetOverlayAlpha_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_004_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_004_GetOverlayAlpha_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fGamma) +void cppIVROverlay_IVROverlay_004_SetOverlayGamma( struct cppIVROverlay_IVROverlay_004_SetOverlayGamma_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float)fGamma); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayGamma((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fGamma); } -VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfGamma) +void cppIVROverlay_IVROverlay_004_GetOverlayGamma( struct cppIVROverlay_IVROverlay_004_GetOverlayGamma_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfGamma); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayGamma((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfGamma); } -VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_004_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_004_SetOverlayWidthInMeters_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_004_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_004_GetOverlayWidthInMeters_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fMinDistanceInMeters, (float)params->fMaxDistanceInMeters); } -VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfMinDistanceInMeters, (float *)params->pfMaxDistanceInMeters); } -VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_004_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_004_SetOverlayTextureBounds_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_004_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_004_GetOverlayTextureBounds_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_004_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_004_GetOverlayTransformType_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -VROverlayError cppIVROverlay_IVROverlay_004_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_004_ShowOverlay( struct cppIVROverlay_IVROverlay_004_ShowOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_004_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_004_HideOverlay( struct cppIVROverlay_IVROverlay_004_HideOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_004_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_004_IsOverlayVisible( struct cppIVROverlay_IVROverlay_004_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_004_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) +void cppIVROverlay_IVROverlay_004_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_004_PollNextOverlayEvent_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VREvent_t *)pEvent); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VREvent_t *)params->pEvent); } -VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_004_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_004_GetOverlayInputMethod_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_004_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_004_SetOverlayInputMethod_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_004_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_004_GetOverlayMouseScale_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_004_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_004_SetOverlayMouseScale_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_004_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_004_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_004_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +void cppIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex); } -VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void *pTexture) +void cppIVROverlay_IVROverlay_004_SetOverlayTexture( struct cppIVROverlay_IVROverlay_004_SetOverlayTexture_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (vr::GraphicsAPIConvention)eTextureType, (void *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::GraphicsAPIConvention)params->eTextureType, (void *)params->pTexture); } -VROverlayError cppIVROverlay_IVROverlay_004_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_004_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_004_ClearOverlayTexture_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +void cppIVROverlay_IVROverlay_004_SetOverlayRaw( struct cppIVROverlay_IVROverlay_004_SetOverlayRaw_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unDepth); } -VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_004_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_004_SetOverlayFromFile_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -VROverlayError cppIVROverlay_IVROverlay_004_CreateDashboardOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +void cppIVROverlay_IVROverlay_004_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_004_CreateDashboardOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateDashboardOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pMainHandle, (vr::VROverlayHandle_t *)params->pThumbnailHandle); } -bool cppIVROverlay_IVROverlay_004_IsDashboardVisible(void *linux_side) +void cppIVROverlay_IVROverlay_004_IsDashboardVisible( struct cppIVROverlay_IVROverlay_004_IsDashboardVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsDashboardVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsDashboardVisible(); } -bool cppIVROverlay_IVROverlay_004_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_004_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_004_IsActiveDashboardOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -VROverlayError cppIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } -void cppIVROverlay_IVROverlay_004_ShowDashboard(void *linux_side, const char *pchOverlayToShow) +void cppIVROverlay_IVROverlay_004_ShowDashboard( struct cppIVROverlay_IVROverlay_004_ShowDashboard_params *params ) { - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); + ((IVROverlay*)params->linux_side)->ShowDashboard((const char *)params->pchOverlayToShow); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_004.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_004.h index 2ed73dc6..f8870265 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_004.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_004.h @@ -1,54 +1,451 @@ #ifdef __cplusplus extern "C" { #endif -extern VROverlayError cppIVROverlay_IVROverlay_004_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern VROverlayError cppIVROverlay_IVROverlay_004_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern VROverlayError cppIVROverlay_IVROverlay_004_DestroyOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_004_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_004_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, VROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_004_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, VROverlayError *); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum(void *, VROverlayError); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayGamma(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayGamma(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin, const HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin *, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_004_ShowOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_004_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_004_IsOverlayVisible(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_004_PollNextOverlayEvent(void *, VROverlayHandle_t, VREvent_t *); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_004_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTexture(void *, VROverlayHandle_t, GraphicsAPIConvention, void *); -extern VROverlayError cppIVROverlay_IVROverlay_004_ClearOverlayTexture(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern VROverlayError cppIVROverlay_IVROverlay_004_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_004_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_004_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_004_ShowDashboard(void *, const char *); +struct cppIVROverlay_IVROverlay_004_FindOverlay_params +{ + void *linux_side; + VROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_004_FindOverlay( struct cppIVROverlay_IVROverlay_004_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_004_CreateOverlay_params +{ + void *linux_side; + VROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_004_CreateOverlay( struct cppIVROverlay_IVROverlay_004_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_004_DestroyOverlay_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_004_DestroyOverlay( struct cppIVROverlay_IVROverlay_004_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_004_SetHighQualityOverlay_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_004_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_004_SetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_004_GetHighQualityOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_004_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_004_GetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_004_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + VROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_004_GetOverlayKey( struct cppIVROverlay_IVROverlay_004_GetOverlayKey_params *params ); + +struct cppIVROverlay_IVROverlay_004_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + VROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_004_GetOverlayName( struct cppIVROverlay_IVROverlay_004_GetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_004_GetOverlayImageData_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; +extern void cppIVROverlay_IVROverlay_004_GetOverlayImageData( struct cppIVROverlay_IVROverlay_004_GetOverlayImageData_params *params ); + +struct cppIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + VROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_004_SetOverlayFlag_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_004_SetOverlayFlag( struct cppIVROverlay_IVROverlay_004_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_004_GetOverlayFlag_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_004_GetOverlayFlag( struct cppIVROverlay_IVROverlay_004_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_004_SetOverlayColor_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; +extern void cppIVROverlay_IVROverlay_004_SetOverlayColor( struct cppIVROverlay_IVROverlay_004_SetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_004_GetOverlayColor_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; +extern void cppIVROverlay_IVROverlay_004_GetOverlayColor( struct cppIVROverlay_IVROverlay_004_GetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_004_SetOverlayAlpha_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_004_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_004_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_004_GetOverlayAlpha_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_004_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_004_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_004_SetOverlayGamma_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fGamma; +}; +extern void cppIVROverlay_IVROverlay_004_SetOverlayGamma( struct cppIVROverlay_IVROverlay_004_SetOverlayGamma_params *params ); + +struct cppIVROverlay_IVROverlay_004_GetOverlayGamma_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfGamma; +}; +extern void cppIVROverlay_IVROverlay_004_GetOverlayGamma( struct cppIVROverlay_IVROverlay_004_GetOverlayGamma_params *params ); + +struct cppIVROverlay_IVROverlay_004_SetOverlayWidthInMeters_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_004_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_004_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_004_GetOverlayWidthInMeters_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_004_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_004_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_004_SetOverlayTextureBounds_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_004_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_004_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_004_GetOverlayTextureBounds_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_004_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_004_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_004_GetOverlayTransformType_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_004_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_004_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_004_ShowOverlay_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_004_ShowOverlay( struct cppIVROverlay_IVROverlay_004_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_004_HideOverlay_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_004_HideOverlay( struct cppIVROverlay_IVROverlay_004_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_004_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_004_IsOverlayVisible( struct cppIVROverlay_IVROverlay_004_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_004_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + VREvent_t *pEvent; +}; +extern void cppIVROverlay_IVROverlay_004_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_004_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_004_GetOverlayInputMethod_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_004_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_004_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_004_SetOverlayInputMethod_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_004_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_004_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_004_GetOverlayMouseScale_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_004_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_004_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_004_SetOverlayMouseScale_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_004_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_004_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_004_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_004_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_004_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unControllerDeviceIndex; +}; +extern void cppIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse_params *params ); + +struct cppIVROverlay_IVROverlay_004_SetOverlayTexture_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + GraphicsAPIConvention eTextureType; + void *pTexture; +}; +extern void cppIVROverlay_IVROverlay_004_SetOverlayTexture( struct cppIVROverlay_IVROverlay_004_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_004_ClearOverlayTexture_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_004_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_004_ClearOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_004_SetOverlayRaw_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; +extern void cppIVROverlay_IVROverlay_004_SetOverlayRaw( struct cppIVROverlay_IVROverlay_004_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_004_SetOverlayFromFile_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_004_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_004_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_004_CreateDashboardOverlay_params +{ + void *linux_side; + VROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pMainHandle; + VROverlayHandle_t *pThumbnailHandle; +}; +extern void cppIVROverlay_IVROverlay_004_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_004_CreateDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_004_IsDashboardVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_004_IsDashboardVisible( struct cppIVROverlay_IVROverlay_004_IsDashboardVisible_params *params ); + +struct cppIVROverlay_IVROverlay_004_IsActiveDashboardOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_004_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_004_IsActiveDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_004_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; +extern void cppIVROverlay_IVROverlay_004_ShowDashboard( struct cppIVROverlay_IVROverlay_004_ShowDashboard_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_005.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_005.cpp index a378f379..0fa6d0db 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_005.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_005.cpp @@ -9,364 +9,264 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -VROverlayError cppIVROverlay_IVROverlay_005_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_005_FindOverlay( struct cppIVROverlay_IVROverlay_005_FindOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_005_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_005_CreateOverlay( struct cppIVROverlay_IVROverlay_005_CreateOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_005_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_005_DestroyOverlay( struct cppIVROverlay_IVROverlay_005_DestroyOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_005_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_005_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_005_SetHighQualityOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_005_GetHighQualityOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_005_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_005_GetHighQualityOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetHighQualityOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetHighQualityOverlay(); } -uint32_t cppIVROverlay_IVROverlay_005_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, VROverlayError *pError) +void cppIVROverlay_IVROverlay_005_GetOverlayKey( struct cppIVROverlay_IVROverlay_005_GetOverlayKey_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::VROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayKey((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::VROverlayError *)params->pError); } -uint32_t cppIVROverlay_IVROverlay_005_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, VROverlayError *pError) +void cppIVROverlay_IVROverlay_005_GetOverlayName( struct cppIVROverlay_IVROverlay_005_GetOverlayName_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::VROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::VROverlayError *)params->pError); } -VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +void cppIVROverlay_IVROverlay_005_GetOverlayImageData( struct cppIVROverlay_IVROverlay_005_GetOverlayImageData_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unBufferSize, (uint32_t *)params->punWidth, (uint32_t *)params->punHeight); } -const char * cppIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum(void *linux_side, VROverlayError error) +void cppIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::VROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::VROverlayError)params->error); } -VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_005_SetOverlayFlag( struct cppIVROverlay_IVROverlay_005_SetOverlayFlag_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_005_GetOverlayFlag( struct cppIVROverlay_IVROverlay_005_GetOverlayFlag_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void cppIVROverlay_IVROverlay_005_SetOverlayColor( struct cppIVROverlay_IVROverlay_005_SetOverlayColor_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRed, (float)params->fGreen, (float)params->fBlue); } -VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +void cppIVROverlay_IVROverlay_005_GetOverlayColor( struct cppIVROverlay_IVROverlay_005_GetOverlayColor_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRed, (float *)params->pfGreen, (float *)params->pfBlue); } -VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_005_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_005_SetOverlayAlpha_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_005_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_005_GetOverlayAlpha_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fGamma) +void cppIVROverlay_IVROverlay_005_SetOverlayGamma( struct cppIVROverlay_IVROverlay_005_SetOverlayGamma_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float)fGamma); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayGamma((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fGamma); } -VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfGamma) +void cppIVROverlay_IVROverlay_005_GetOverlayGamma( struct cppIVROverlay_IVROverlay_005_GetOverlayGamma_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfGamma); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayGamma((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfGamma); } -VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_005_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_005_SetOverlayWidthInMeters_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_005_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_005_GetOverlayWidthInMeters_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fMinDistanceInMeters, (float)params->fMaxDistanceInMeters); } -VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfMinDistanceInMeters, (float *)params->pfMaxDistanceInMeters); } -VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_005_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_005_SetOverlayTextureBounds_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_005_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_005_GetOverlayTextureBounds_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_005_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_005_GetOverlayTransformType_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -VROverlayError cppIVROverlay_IVROverlay_005_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_005_ShowOverlay( struct cppIVROverlay_IVROverlay_005_ShowOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_005_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_005_HideOverlay( struct cppIVROverlay_IVROverlay_005_HideOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_005_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_005_IsOverlayVisible( struct cppIVROverlay_IVROverlay_005_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_005_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) +void cppIVROverlay_IVROverlay_005_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_005_PollNextOverlayEvent_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VREvent_t *)pEvent); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VREvent_t *)params->pEvent); } -VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_005_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_005_GetOverlayInputMethod_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_005_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_005_SetOverlayInputMethod_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_005_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_005_GetOverlayMouseScale_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_005_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_005_SetOverlayMouseScale_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_005_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_005_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_005_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +void cppIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex); } -bool cppIVROverlay_IVROverlay_005_IsFocusOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_005_IsFocusOverlay( struct cppIVROverlay_IVROverlay_005_IsFocusOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsFocusOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsFocusOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void *pTexture) +void cppIVROverlay_IVROverlay_005_SetOverlayTexture( struct cppIVROverlay_IVROverlay_005_SetOverlayTexture_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (vr::GraphicsAPIConvention)eTextureType, (void *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::GraphicsAPIConvention)params->eTextureType, (void *)params->pTexture); } -VROverlayError cppIVROverlay_IVROverlay_005_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_005_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_005_ClearOverlayTexture_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +void cppIVROverlay_IVROverlay_005_SetOverlayRaw( struct cppIVROverlay_IVROverlay_005_SetOverlayRaw_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unDepth); } -VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_005_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_005_SetOverlayFromFile_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -VROverlayError cppIVROverlay_IVROverlay_005_CreateDashboardOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +void cppIVROverlay_IVROverlay_005_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_005_CreateDashboardOverlay_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateDashboardOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pMainHandle, (vr::VROverlayHandle_t *)params->pThumbnailHandle); } -bool cppIVROverlay_IVROverlay_005_IsDashboardVisible(void *linux_side) +void cppIVROverlay_IVROverlay_005_IsDashboardVisible( struct cppIVROverlay_IVROverlay_005_IsDashboardVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsDashboardVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsDashboardVisible(); } -bool cppIVROverlay_IVROverlay_005_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_005_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_005_IsActiveDashboardOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayError cppIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -VROverlayError cppIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } -void cppIVROverlay_IVROverlay_005_ShowDashboard(void *linux_side, const char *pchOverlayToShow) +void cppIVROverlay_IVROverlay_005_ShowDashboard( struct cppIVROverlay_IVROverlay_005_ShowDashboard_params *params ) { - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); + ((IVROverlay*)params->linux_side)->ShowDashboard((const char *)params->pchOverlayToShow); } -VROverlayError cppIVROverlay_IVROverlay_005_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode) +void cppIVROverlay_IVROverlay_005_ShowKeyboard( struct cppIVROverlay_IVROverlay_005_ShowKeyboard_params *params ) { - VROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode); } -uint32_t cppIVROverlay_IVROverlay_005_GetKeyboardText(void *linux_side, char *pchText, uint32_t cchText) +void cppIVROverlay_IVROverlay_005_GetKeyboardText( struct cppIVROverlay_IVROverlay_005_GetKeyboardText_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetKeyboardText((char *)params->pchText, (uint32_t)params->cchText); } -void cppIVROverlay_IVROverlay_005_HideKeyboard(void *linux_side) +void cppIVROverlay_IVROverlay_005_HideKeyboard( struct cppIVROverlay_IVROverlay_005_HideKeyboard_params *params ) { - ((IVROverlay*)linux_side)->HideKeyboard(); + ((IVROverlay*)params->linux_side)->HideKeyboard(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_005.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_005.h index 5291bd9e..a27c2c1d 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_005.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_005.h @@ -1,58 +1,487 @@ #ifdef __cplusplus extern "C" { #endif -extern VROverlayError cppIVROverlay_IVROverlay_005_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern VROverlayError cppIVROverlay_IVROverlay_005_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern VROverlayError cppIVROverlay_IVROverlay_005_DestroyOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_005_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_005_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, VROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_005_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, VROverlayError *); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum(void *, VROverlayError); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayGamma(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayGamma(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin, const HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin *, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_005_ShowOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_005_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_005_IsOverlayVisible(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_005_PollNextOverlayEvent(void *, VROverlayHandle_t, VREvent_t *); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_005_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern bool cppIVROverlay_IVROverlay_005_IsFocusOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTexture(void *, VROverlayHandle_t, GraphicsAPIConvention, void *); -extern VROverlayError cppIVROverlay_IVROverlay_005_ClearOverlayTexture(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern VROverlayError cppIVROverlay_IVROverlay_005_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_005_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_005_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_005_ShowDashboard(void *, const char *); -extern VROverlayError cppIVROverlay_IVROverlay_005_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool); -extern uint32_t cppIVROverlay_IVROverlay_005_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_005_HideKeyboard(void *); +struct cppIVROverlay_IVROverlay_005_FindOverlay_params +{ + void *linux_side; + VROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_005_FindOverlay( struct cppIVROverlay_IVROverlay_005_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_005_CreateOverlay_params +{ + void *linux_side; + VROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_005_CreateOverlay( struct cppIVROverlay_IVROverlay_005_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_005_DestroyOverlay_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_005_DestroyOverlay( struct cppIVROverlay_IVROverlay_005_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_005_SetHighQualityOverlay_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_005_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_005_SetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_005_GetHighQualityOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_005_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_005_GetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_005_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + VROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_005_GetOverlayKey( struct cppIVROverlay_IVROverlay_005_GetOverlayKey_params *params ); + +struct cppIVROverlay_IVROverlay_005_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + VROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_005_GetOverlayName( struct cppIVROverlay_IVROverlay_005_GetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_005_GetOverlayImageData_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; +extern void cppIVROverlay_IVROverlay_005_GetOverlayImageData( struct cppIVROverlay_IVROverlay_005_GetOverlayImageData_params *params ); + +struct cppIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + VROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_005_SetOverlayFlag_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_005_SetOverlayFlag( struct cppIVROverlay_IVROverlay_005_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_005_GetOverlayFlag_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_005_GetOverlayFlag( struct cppIVROverlay_IVROverlay_005_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_005_SetOverlayColor_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; +extern void cppIVROverlay_IVROverlay_005_SetOverlayColor( struct cppIVROverlay_IVROverlay_005_SetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_005_GetOverlayColor_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; +extern void cppIVROverlay_IVROverlay_005_GetOverlayColor( struct cppIVROverlay_IVROverlay_005_GetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_005_SetOverlayAlpha_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_005_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_005_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_005_GetOverlayAlpha_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_005_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_005_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_005_SetOverlayGamma_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fGamma; +}; +extern void cppIVROverlay_IVROverlay_005_SetOverlayGamma( struct cppIVROverlay_IVROverlay_005_SetOverlayGamma_params *params ); + +struct cppIVROverlay_IVROverlay_005_GetOverlayGamma_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfGamma; +}; +extern void cppIVROverlay_IVROverlay_005_GetOverlayGamma( struct cppIVROverlay_IVROverlay_005_GetOverlayGamma_params *params ); + +struct cppIVROverlay_IVROverlay_005_SetOverlayWidthInMeters_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_005_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_005_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_005_GetOverlayWidthInMeters_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_005_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_005_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_005_SetOverlayTextureBounds_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_005_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_005_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_005_GetOverlayTextureBounds_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_005_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_005_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_005_GetOverlayTransformType_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_005_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_005_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_005_ShowOverlay_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_005_ShowOverlay( struct cppIVROverlay_IVROverlay_005_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_005_HideOverlay_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_005_HideOverlay( struct cppIVROverlay_IVROverlay_005_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_005_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_005_IsOverlayVisible( struct cppIVROverlay_IVROverlay_005_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_005_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + VREvent_t *pEvent; +}; +extern void cppIVROverlay_IVROverlay_005_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_005_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_005_GetOverlayInputMethod_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_005_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_005_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_005_SetOverlayInputMethod_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_005_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_005_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_005_GetOverlayMouseScale_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_005_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_005_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_005_SetOverlayMouseScale_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_005_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_005_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_005_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_005_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_005_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unControllerDeviceIndex; +}; +extern void cppIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse_params *params ); + +struct cppIVROverlay_IVROverlay_005_IsFocusOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_005_IsFocusOverlay( struct cppIVROverlay_IVROverlay_005_IsFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_005_SetOverlayTexture_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + GraphicsAPIConvention eTextureType; + void *pTexture; +}; +extern void cppIVROverlay_IVROverlay_005_SetOverlayTexture( struct cppIVROverlay_IVROverlay_005_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_005_ClearOverlayTexture_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_005_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_005_ClearOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_005_SetOverlayRaw_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; +extern void cppIVROverlay_IVROverlay_005_SetOverlayRaw( struct cppIVROverlay_IVROverlay_005_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_005_SetOverlayFromFile_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_005_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_005_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_005_CreateDashboardOverlay_params +{ + void *linux_side; + VROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pMainHandle; + VROverlayHandle_t *pThumbnailHandle; +}; +extern void cppIVROverlay_IVROverlay_005_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_005_CreateDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_005_IsDashboardVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_005_IsDashboardVisible( struct cppIVROverlay_IVROverlay_005_IsDashboardVisible_params *params ); + +struct cppIVROverlay_IVROverlay_005_IsActiveDashboardOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_005_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_005_IsActiveDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + VROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_005_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; +extern void cppIVROverlay_IVROverlay_005_ShowDashboard( struct cppIVROverlay_IVROverlay_005_ShowDashboard_params *params ); + +struct cppIVROverlay_IVROverlay_005_ShowKeyboard_params +{ + void *linux_side; + VROverlayError _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; +}; +extern void cppIVROverlay_IVROverlay_005_ShowKeyboard( struct cppIVROverlay_IVROverlay_005_ShowKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_005_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; +extern void cppIVROverlay_IVROverlay_005_GetKeyboardText( struct cppIVROverlay_IVROverlay_005_GetKeyboardText_params *params ); + +struct cppIVROverlay_IVROverlay_005_HideKeyboard_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_005_HideKeyboard( struct cppIVROverlay_IVROverlay_005_HideKeyboard_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_007.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_007.cpp index cbfeb4c8..2c611d2c 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_007.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_007.cpp @@ -9,399 +9,289 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVROverlayError cppIVROverlay_IVROverlay_007_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_007_FindOverlay( struct cppIVROverlay_IVROverlay_007_FindOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_007_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_007_CreateOverlay( struct cppIVROverlay_IVROverlay_007_CreateOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_007_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_007_DestroyOverlay( struct cppIVROverlay_IVROverlay_007_DestroyOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_007_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_007_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_007_SetHighQualityOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_007_GetHighQualityOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_007_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_007_GetHighQualityOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetHighQualityOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetHighQualityOverlay(); } -uint32_t cppIVROverlay_IVROverlay_007_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_007_GetOverlayKey( struct cppIVROverlay_IVROverlay_007_GetOverlayKey_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayKey((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -uint32_t cppIVROverlay_IVROverlay_007_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_007_GetOverlayName( struct cppIVROverlay_IVROverlay_007_GetOverlayName_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +void cppIVROverlay_IVROverlay_007_GetOverlayImageData( struct cppIVROverlay_IVROverlay_007_GetOverlayImageData_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unBufferSize, (uint32_t *)params->punWidth, (uint32_t *)params->punHeight); } -const char * cppIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) +void cppIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)params->error); } -EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_007_SetOverlayFlag( struct cppIVROverlay_IVROverlay_007_SetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_007_GetOverlayFlag( struct cppIVROverlay_IVROverlay_007_GetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void cppIVROverlay_IVROverlay_007_SetOverlayColor( struct cppIVROverlay_IVROverlay_007_SetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRed, (float)params->fGreen, (float)params->fBlue); } -EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +void cppIVROverlay_IVROverlay_007_GetOverlayColor( struct cppIVROverlay_IVROverlay_007_GetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRed, (float *)params->pfGreen, (float *)params->pfBlue); } -EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_007_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_007_SetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_007_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_007_GetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_007_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_007_SetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_007_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_007_GetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fMinDistanceInMeters, (float)params->fMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfMinDistanceInMeters, (float *)params->pfMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +void cppIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace)params->eTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +void cppIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace *)params->peTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_007_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_007_SetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_007_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_007_GetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_007_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_007_GetOverlayTransformType_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_007_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_007_ShowOverlay( struct cppIVROverlay_IVROverlay_007_ShowOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_007_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_007_HideOverlay( struct cppIVROverlay_IVROverlay_007_HideOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_007_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_007_IsOverlayVisible( struct cppIVROverlay_IVROverlay_007_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_007_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) +void cppIVROverlay_IVROverlay_007_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_007_PollNextOverlayEvent_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VREvent_t *)pEvent); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VREvent_t *)params->pEvent); } -EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_007_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_007_GetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_007_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_007_SetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_007_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_007_GetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_007_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_007_SetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_007_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_007_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_007_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +void cppIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex); } -bool cppIVROverlay_IVROverlay_007_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_007_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_007_IsHoverTargetOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_007_GetGamepadFocusOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_007_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_007_GetGamepadFocusOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetGamepadFocusOverlay(); } -EVROverlayError cppIVROverlay_IVROverlay_007_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) +void cppIVROverlay_IVROverlay_007_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_007_SetGamepadFocusOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)params->ulNewFocusOverlay); } -EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +void cppIVROverlay_IVROverlay_007_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_007_SetOverlayNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom, (vr::VROverlayHandle_t)params->ulTo); } -EVROverlayError cppIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +void cppIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom); } -EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +void cppIVROverlay_IVROverlay_007_SetOverlayTexture( struct cppIVROverlay_IVROverlay_007_SetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::Texture_t *)params->pTexture); } -EVROverlayError cppIVROverlay_IVROverlay_007_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_007_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_007_ClearOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +void cppIVROverlay_IVROverlay_007_SetOverlayRaw( struct cppIVROverlay_IVROverlay_007_SetOverlayRaw_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unDepth); } -EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_007_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_007_SetOverlayFromFile_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -EVROverlayError cppIVROverlay_IVROverlay_007_CreateDashboardOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +void cppIVROverlay_IVROverlay_007_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_007_CreateDashboardOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateDashboardOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pMainHandle, (vr::VROverlayHandle_t *)params->pThumbnailHandle); } -bool cppIVROverlay_IVROverlay_007_IsDashboardVisible(void *linux_side) +void cppIVROverlay_IVROverlay_007_IsDashboardVisible( struct cppIVROverlay_IVROverlay_007_IsDashboardVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsDashboardVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsDashboardVisible(); } -bool cppIVROverlay_IVROverlay_007_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_007_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_007_IsActiveDashboardOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -EVROverlayError cppIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } -void cppIVROverlay_IVROverlay_007_ShowDashboard(void *linux_side, const char *pchOverlayToShow) +void cppIVROverlay_IVROverlay_007_ShowDashboard( struct cppIVROverlay_IVROverlay_007_ShowDashboard_params *params ) { - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); + ((IVROverlay*)params->linux_side)->ShowDashboard((const char *)params->pchOverlayToShow); } -EVROverlayError cppIVROverlay_IVROverlay_007_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_007_ShowKeyboard( struct cppIVROverlay_IVROverlay_007_ShowKeyboard_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -EVROverlayError cppIVROverlay_IVROverlay_007_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_007_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_007_ShowKeyboardForOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -uint32_t cppIVROverlay_IVROverlay_007_GetKeyboardText(void *linux_side, char *pchText, uint32_t cchText) +void cppIVROverlay_IVROverlay_007_GetKeyboardText( struct cppIVROverlay_IVROverlay_007_GetKeyboardText_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetKeyboardText((char *)params->pchText, (uint32_t)params->cchText); } -void cppIVROverlay_IVROverlay_007_HideKeyboard(void *linux_side) +void cppIVROverlay_IVROverlay_007_HideKeyboard( struct cppIVROverlay_IVROverlay_007_HideKeyboard_params *params ) { - ((IVROverlay*)linux_side)->HideKeyboard(); + ((IVROverlay*)params->linux_side)->HideKeyboard(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_007.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_007.h index 40e82874..404b9cba 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_007.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_007.h @@ -1,63 +1,536 @@ #ifdef __cplusplus extern "C" { #endif -extern EVROverlayError cppIVROverlay_IVROverlay_007_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_DestroyOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_007_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_007_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_007_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_007_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_007_IsOverlayVisible(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_007_PollNextOverlayEvent(void *, VROverlayHandle_t, VREvent_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_007_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern bool cppIVROverlay_IVROverlay_007_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_007_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTexture(void *, VROverlayHandle_t, const Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_007_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_007_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_007_ShowDashboard(void *, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_007_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_007_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_007_HideKeyboard(void *); +struct cppIVROverlay_IVROverlay_007_FindOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_007_FindOverlay( struct cppIVROverlay_IVROverlay_007_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_007_CreateOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_007_CreateOverlay( struct cppIVROverlay_IVROverlay_007_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_007_DestroyOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_007_DestroyOverlay( struct cppIVROverlay_IVROverlay_007_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_007_SetHighQualityOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_007_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_007_SetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_007_GetHighQualityOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_007_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_007_GetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_007_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_007_GetOverlayKey( struct cppIVROverlay_IVROverlay_007_GetOverlayKey_params *params ); + +struct cppIVROverlay_IVROverlay_007_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_007_GetOverlayName( struct cppIVROverlay_IVROverlay_007_GetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_007_GetOverlayImageData_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; +extern void cppIVROverlay_IVROverlay_007_GetOverlayImageData( struct cppIVROverlay_IVROverlay_007_GetOverlayImageData_params *params ); + +struct cppIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_007_SetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_007_SetOverlayFlag( struct cppIVROverlay_IVROverlay_007_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_007_GetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_007_GetOverlayFlag( struct cppIVROverlay_IVROverlay_007_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_007_SetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; +extern void cppIVROverlay_IVROverlay_007_SetOverlayColor( struct cppIVROverlay_IVROverlay_007_SetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_007_GetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; +extern void cppIVROverlay_IVROverlay_007_GetOverlayColor( struct cppIVROverlay_IVROverlay_007_GetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_007_SetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_007_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_007_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_007_GetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_007_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_007_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_007_SetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_007_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_007_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_007_GetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_007_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_007_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace eTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace *peTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_007_SetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_007_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_007_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_007_GetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_007_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_007_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_007_GetOverlayTransformType_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_007_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_007_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_007_ShowOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_007_ShowOverlay( struct cppIVROverlay_IVROverlay_007_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_007_HideOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_007_HideOverlay( struct cppIVROverlay_IVROverlay_007_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_007_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_007_IsOverlayVisible( struct cppIVROverlay_IVROverlay_007_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_007_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + VREvent_t *pEvent; +}; +extern void cppIVROverlay_IVROverlay_007_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_007_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_007_GetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_007_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_007_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_007_SetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_007_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_007_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_007_GetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_007_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_007_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_007_SetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_007_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_007_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_007_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_007_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_007_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unControllerDeviceIndex; +}; +extern void cppIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse_params *params ); + +struct cppIVROverlay_IVROverlay_007_IsHoverTargetOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_007_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_007_IsHoverTargetOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_007_GetGamepadFocusOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_007_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_007_GetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_007_SetGamepadFocusOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulNewFocusOverlay; +}; +extern void cppIVROverlay_IVROverlay_007_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_007_SetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_007_SetOverlayNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; + VROverlayHandle_t ulTo; +}; +extern void cppIVROverlay_IVROverlay_007_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_007_SetOverlayNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; +}; +extern void cppIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_007_SetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const Texture_t *pTexture; +}; +extern void cppIVROverlay_IVROverlay_007_SetOverlayTexture( struct cppIVROverlay_IVROverlay_007_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_007_ClearOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_007_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_007_ClearOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_007_SetOverlayRaw_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; +extern void cppIVROverlay_IVROverlay_007_SetOverlayRaw( struct cppIVROverlay_IVROverlay_007_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_007_SetOverlayFromFile_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_007_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_007_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_007_CreateDashboardOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pMainHandle; + VROverlayHandle_t *pThumbnailHandle; +}; +extern void cppIVROverlay_IVROverlay_007_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_007_CreateDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_007_IsDashboardVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_007_IsDashboardVisible( struct cppIVROverlay_IVROverlay_007_IsDashboardVisible_params *params ); + +struct cppIVROverlay_IVROverlay_007_IsActiveDashboardOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_007_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_007_IsActiveDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_007_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; +extern void cppIVROverlay_IVROverlay_007_ShowDashboard( struct cppIVROverlay_IVROverlay_007_ShowDashboard_params *params ); + +struct cppIVROverlay_IVROverlay_007_ShowKeyboard_params +{ + void *linux_side; + EVROverlayError _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_007_ShowKeyboard( struct cppIVROverlay_IVROverlay_007_ShowKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_007_ShowKeyboardForOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_007_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_007_ShowKeyboardForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_007_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; +extern void cppIVROverlay_IVROverlay_007_GetKeyboardText( struct cppIVROverlay_IVROverlay_007_GetKeyboardText_params *params ); + +struct cppIVROverlay_IVROverlay_007_HideKeyboard_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_007_HideKeyboard( struct cppIVROverlay_IVROverlay_007_HideKeyboard_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_008.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_008.cpp index 8365a1bf..02992200 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_008.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_008.cpp @@ -9,416 +9,304 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVROverlayError cppIVROverlay_IVROverlay_008_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_008_FindOverlay( struct cppIVROverlay_IVROverlay_008_FindOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_008_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_008_CreateOverlay( struct cppIVROverlay_IVROverlay_008_CreateOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_008_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_008_DestroyOverlay( struct cppIVROverlay_IVROverlay_008_DestroyOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_008_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_008_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_008_SetHighQualityOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_008_GetHighQualityOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_008_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_008_GetHighQualityOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetHighQualityOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetHighQualityOverlay(); } -uint32_t cppIVROverlay_IVROverlay_008_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_008_GetOverlayKey( struct cppIVROverlay_IVROverlay_008_GetOverlayKey_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayKey((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -uint32_t cppIVROverlay_IVROverlay_008_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_008_GetOverlayName( struct cppIVROverlay_IVROverlay_008_GetOverlayName_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +void cppIVROverlay_IVROverlay_008_GetOverlayImageData( struct cppIVROverlay_IVROverlay_008_GetOverlayImageData_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unBufferSize, (uint32_t *)params->punWidth, (uint32_t *)params->punHeight); } -const char * cppIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) +void cppIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)params->error); } -EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_008_SetOverlayFlag( struct cppIVROverlay_IVROverlay_008_SetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_008_GetOverlayFlag( struct cppIVROverlay_IVROverlay_008_GetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void cppIVROverlay_IVROverlay_008_SetOverlayColor( struct cppIVROverlay_IVROverlay_008_SetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRed, (float)params->fGreen, (float)params->fBlue); } -EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +void cppIVROverlay_IVROverlay_008_GetOverlayColor( struct cppIVROverlay_IVROverlay_008_GetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRed, (float *)params->pfGreen, (float *)params->pfBlue); } -EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_008_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_008_SetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_008_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_008_GetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_008_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_008_SetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_008_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_008_GetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fMinDistanceInMeters, (float)params->fMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfMinDistanceInMeters, (float *)params->pfMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +void cppIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace)params->eTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +void cppIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace *)params->peTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_008_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_008_SetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_008_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_008_GetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_008_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_008_GetOverlayTransformType_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_008_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_008_ShowOverlay( struct cppIVROverlay_IVROverlay_008_ShowOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_008_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_008_HideOverlay( struct cppIVROverlay_IVROverlay_008_HideOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_008_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_008_IsOverlayVisible( struct cppIVROverlay_IVROverlay_008_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +void cppIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (vr::HmdVector2_t)params->coordinatesInOverlay, (vr::HmdMatrix34_t *)params->pmatTransform); } -bool cppIVROverlay_IVROverlay_008_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) +void cppIVROverlay_IVROverlay_008_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_008_PollNextOverlayEvent_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VREvent_t *)pEvent); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VREvent_t *)params->pEvent); } -EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_008_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_008_GetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_008_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_008_SetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_008_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_008_GetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_008_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_008_SetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_008_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_008_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_008_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +void cppIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex); } -bool cppIVROverlay_IVROverlay_008_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_008_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_008_IsHoverTargetOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_008_GetGamepadFocusOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_008_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_008_GetGamepadFocusOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetGamepadFocusOverlay(); } -EVROverlayError cppIVROverlay_IVROverlay_008_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) +void cppIVROverlay_IVROverlay_008_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_008_SetGamepadFocusOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)params->ulNewFocusOverlay); } -EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +void cppIVROverlay_IVROverlay_008_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_008_SetOverlayNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom, (vr::VROverlayHandle_t)params->ulTo); } -EVROverlayError cppIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +void cppIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom); } -EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +void cppIVROverlay_IVROverlay_008_SetOverlayTexture( struct cppIVROverlay_IVROverlay_008_SetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::Texture_t *)params->pTexture); } -EVROverlayError cppIVROverlay_IVROverlay_008_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_008_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_008_ClearOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +void cppIVROverlay_IVROverlay_008_SetOverlayRaw( struct cppIVROverlay_IVROverlay_008_SetOverlayRaw_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unDepth); } -EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_008_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_008_SetOverlayFromFile_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -EVROverlayError cppIVROverlay_IVROverlay_008_CreateDashboardOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +void cppIVROverlay_IVROverlay_008_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_008_CreateDashboardOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateDashboardOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pMainHandle, (vr::VROverlayHandle_t *)params->pThumbnailHandle); } -bool cppIVROverlay_IVROverlay_008_IsDashboardVisible(void *linux_side) +void cppIVROverlay_IVROverlay_008_IsDashboardVisible( struct cppIVROverlay_IVROverlay_008_IsDashboardVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsDashboardVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsDashboardVisible(); } -bool cppIVROverlay_IVROverlay_008_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_008_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_008_IsActiveDashboardOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -EVROverlayError cppIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } -void cppIVROverlay_IVROverlay_008_ShowDashboard(void *linux_side, const char *pchOverlayToShow) +void cppIVROverlay_IVROverlay_008_ShowDashboard( struct cppIVROverlay_IVROverlay_008_ShowDashboard_params *params ) { - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); + ((IVROverlay*)params->linux_side)->ShowDashboard((const char *)params->pchOverlayToShow); } -EVROverlayError cppIVROverlay_IVROverlay_008_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_008_ShowKeyboard( struct cppIVROverlay_IVROverlay_008_ShowKeyboard_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -EVROverlayError cppIVROverlay_IVROverlay_008_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_008_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_008_ShowKeyboardForOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -uint32_t cppIVROverlay_IVROverlay_008_GetKeyboardText(void *linux_side, char *pchText, uint32_t cchText) +void cppIVROverlay_IVROverlay_008_GetKeyboardText( struct cppIVROverlay_IVROverlay_008_GetKeyboardText_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetKeyboardText((char *)params->pchText, (uint32_t)params->cchText); } -void cppIVROverlay_IVROverlay_008_HideKeyboard(void *linux_side) +void cppIVROverlay_IVROverlay_008_HideKeyboard( struct cppIVROverlay_IVROverlay_008_HideKeyboard_params *params ) { - ((IVROverlay*)linux_side)->HideKeyboard(); + ((IVROverlay*)params->linux_side)->HideKeyboard(); } -void cppIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void cppIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); + ((IVROverlay*)params->linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToKeyboardTransform); } -void cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); + ((IVROverlay*)params->linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdRect2_t)params->avoidRect); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_008.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_008.h index a6e9fbd5..066259cc 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_008.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_008.h @@ -1,66 +1,563 @@ #ifdef __cplusplus extern "C" { #endif -extern EVROverlayError cppIVROverlay_IVROverlay_008_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_DestroyOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_008_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_008_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_008_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_008_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_008_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_008_PollNextOverlayEvent(void *, VROverlayHandle_t, VREvent_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_008_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern bool cppIVROverlay_IVROverlay_008_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_008_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTexture(void *, VROverlayHandle_t, const Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_008_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_008_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_008_ShowDashboard(void *, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_008_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_008_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_008_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); +struct cppIVROverlay_IVROverlay_008_FindOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_008_FindOverlay( struct cppIVROverlay_IVROverlay_008_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_008_CreateOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_008_CreateOverlay( struct cppIVROverlay_IVROverlay_008_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_008_DestroyOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_008_DestroyOverlay( struct cppIVROverlay_IVROverlay_008_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_008_SetHighQualityOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_008_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_008_SetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_008_GetHighQualityOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_008_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_008_GetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_008_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_008_GetOverlayKey( struct cppIVROverlay_IVROverlay_008_GetOverlayKey_params *params ); + +struct cppIVROverlay_IVROverlay_008_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_008_GetOverlayName( struct cppIVROverlay_IVROverlay_008_GetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_008_GetOverlayImageData_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; +extern void cppIVROverlay_IVROverlay_008_GetOverlayImageData( struct cppIVROverlay_IVROverlay_008_GetOverlayImageData_params *params ); + +struct cppIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_008_SetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_008_SetOverlayFlag( struct cppIVROverlay_IVROverlay_008_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_008_GetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_008_GetOverlayFlag( struct cppIVROverlay_IVROverlay_008_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_008_SetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; +extern void cppIVROverlay_IVROverlay_008_SetOverlayColor( struct cppIVROverlay_IVROverlay_008_SetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_008_GetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; +extern void cppIVROverlay_IVROverlay_008_GetOverlayColor( struct cppIVROverlay_IVROverlay_008_GetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_008_SetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_008_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_008_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_008_GetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_008_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_008_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_008_SetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_008_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_008_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_008_GetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_008_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_008_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace eTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace *peTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_008_SetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_008_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_008_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_008_GetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_008_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_008_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_008_GetOverlayTransformType_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_008_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_008_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_008_ShowOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_008_ShowOverlay( struct cppIVROverlay_IVROverlay_008_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_008_HideOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_008_HideOverlay( struct cppIVROverlay_IVROverlay_008_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_008_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_008_IsOverlayVisible( struct cppIVROverlay_IVROverlay_008_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; +extern void cppIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates_params *params ); + +struct cppIVROverlay_IVROverlay_008_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + VREvent_t *pEvent; +}; +extern void cppIVROverlay_IVROverlay_008_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_008_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_008_GetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_008_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_008_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_008_SetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_008_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_008_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_008_GetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_008_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_008_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_008_SetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_008_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_008_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_008_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_008_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_008_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unControllerDeviceIndex; +}; +extern void cppIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse_params *params ); + +struct cppIVROverlay_IVROverlay_008_IsHoverTargetOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_008_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_008_IsHoverTargetOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_008_GetGamepadFocusOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_008_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_008_GetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_008_SetGamepadFocusOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulNewFocusOverlay; +}; +extern void cppIVROverlay_IVROverlay_008_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_008_SetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_008_SetOverlayNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; + VROverlayHandle_t ulTo; +}; +extern void cppIVROverlay_IVROverlay_008_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_008_SetOverlayNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; +}; +extern void cppIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_008_SetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const Texture_t *pTexture; +}; +extern void cppIVROverlay_IVROverlay_008_SetOverlayTexture( struct cppIVROverlay_IVROverlay_008_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_008_ClearOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_008_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_008_ClearOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_008_SetOverlayRaw_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; +extern void cppIVROverlay_IVROverlay_008_SetOverlayRaw( struct cppIVROverlay_IVROverlay_008_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_008_SetOverlayFromFile_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_008_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_008_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_008_CreateDashboardOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pMainHandle; + VROverlayHandle_t *pThumbnailHandle; +}; +extern void cppIVROverlay_IVROverlay_008_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_008_CreateDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_008_IsDashboardVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_008_IsDashboardVisible( struct cppIVROverlay_IVROverlay_008_IsDashboardVisible_params *params ); + +struct cppIVROverlay_IVROverlay_008_IsActiveDashboardOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_008_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_008_IsActiveDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_008_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; +extern void cppIVROverlay_IVROverlay_008_ShowDashboard( struct cppIVROverlay_IVROverlay_008_ShowDashboard_params *params ); + +struct cppIVROverlay_IVROverlay_008_ShowKeyboard_params +{ + void *linux_side; + EVROverlayError _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_008_ShowKeyboard( struct cppIVROverlay_IVROverlay_008_ShowKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_008_ShowKeyboardForOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_008_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_008_ShowKeyboardForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_008_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; +extern void cppIVROverlay_IVROverlay_008_GetKeyboardText( struct cppIVROverlay_IVROverlay_008_GetKeyboardText_params *params ); + +struct cppIVROverlay_IVROverlay_008_HideKeyboard_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_008_HideKeyboard( struct cppIVROverlay_IVROverlay_008_HideKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; +extern void cppIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + VROverlayHandle_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; +extern void cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.cpp index 3d86d6ed..de291a3a 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.cpp @@ -9,443 +9,325 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVROverlayError cppIVROverlay_IVROverlay_010_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_010_FindOverlay( struct cppIVROverlay_IVROverlay_010_FindOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_010_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_010_CreateOverlay( struct cppIVROverlay_IVROverlay_010_CreateOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_010_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_010_DestroyOverlay( struct cppIVROverlay_IVROverlay_010_DestroyOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_010_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_010_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_010_SetHighQualityOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_010_GetHighQualityOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_010_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_010_GetHighQualityOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetHighQualityOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetHighQualityOverlay(); } -uint32_t cppIVROverlay_IVROverlay_010_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_010_GetOverlayKey( struct cppIVROverlay_IVROverlay_010_GetOverlayKey_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayKey((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -uint32_t cppIVROverlay_IVROverlay_010_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_010_GetOverlayName( struct cppIVROverlay_IVROverlay_010_GetOverlayName_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +void cppIVROverlay_IVROverlay_010_GetOverlayImageData( struct cppIVROverlay_IVROverlay_010_GetOverlayImageData_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unBufferSize, (uint32_t *)params->punWidth, (uint32_t *)params->punHeight); } -const char * cppIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) +void cppIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)params->error); } -EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_010_SetOverlayFlag( struct cppIVROverlay_IVROverlay_010_SetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_010_GetOverlayFlag( struct cppIVROverlay_IVROverlay_010_GetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void cppIVROverlay_IVROverlay_010_SetOverlayColor( struct cppIVROverlay_IVROverlay_010_SetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRed, (float)params->fGreen, (float)params->fBlue); } -EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +void cppIVROverlay_IVROverlay_010_GetOverlayColor( struct cppIVROverlay_IVROverlay_010_GetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRed, (float *)params->pfGreen, (float *)params->pfBlue); } -EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_010_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_010_SetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_010_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_010_GetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_010_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_010_SetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_010_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_010_GetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fMinDistanceInMeters, (float)params->fMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfMinDistanceInMeters, (float *)params->pfMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +void cppIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace)params->eTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +void cppIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace *)params->peTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_010_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_010_SetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_010_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_010_GetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_010_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_010_GetOverlayTransformType_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +void cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchComponentName); } -EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +void cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punDeviceIndex, (char *)params->pchComponentName, (uint32_t)params->unComponentNameSize); } -EVROverlayError cppIVROverlay_IVROverlay_010_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_010_ShowOverlay( struct cppIVROverlay_IVROverlay_010_ShowOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_010_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_010_HideOverlay( struct cppIVROverlay_IVROverlay_010_HideOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_010_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_010_IsOverlayVisible( struct cppIVROverlay_IVROverlay_010_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +void cppIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (vr::HmdVector2_t)params->coordinatesInOverlay, (vr::HmdMatrix34_t *)params->pmatTransform); } -bool cppIVROverlay_IVROverlay_010_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_0918 *pEvent, uint32_t uncbVREvent) +void cppIVROverlay_IVROverlay_010_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_010_PollNextOverlayEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_0918_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_0918_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_0918_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_0918_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_010_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_010_GetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_010_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_010_SetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_010_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_010_GetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_010_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_010_SetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_010_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_010_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_010_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +void cppIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex); } -bool cppIVROverlay_IVROverlay_010_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_010_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_010_IsHoverTargetOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_010_GetGamepadFocusOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_010_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_010_GetGamepadFocusOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetGamepadFocusOverlay(); } -EVROverlayError cppIVROverlay_IVROverlay_010_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) +void cppIVROverlay_IVROverlay_010_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_010_SetGamepadFocusOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)params->ulNewFocusOverlay); } -EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +void cppIVROverlay_IVROverlay_010_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_010_SetOverlayNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom, (vr::VROverlayHandle_t)params->ulTo); } -EVROverlayError cppIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +void cppIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom); } -EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +void cppIVROverlay_IVROverlay_010_SetOverlayTexture( struct cppIVROverlay_IVROverlay_010_SetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::Texture_t *)params->pTexture); } -EVROverlayError cppIVROverlay_IVROverlay_010_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_010_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_010_ClearOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +void cppIVROverlay_IVROverlay_010_SetOverlayRaw( struct cppIVROverlay_IVROverlay_010_SetOverlayRaw_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unDepth); } -EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_010_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_010_SetOverlayFromFile_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -EVROverlayError cppIVROverlay_IVROverlay_010_CreateDashboardOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +void cppIVROverlay_IVROverlay_010_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_010_CreateDashboardOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateDashboardOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pMainHandle, (vr::VROverlayHandle_t *)params->pThumbnailHandle); } -bool cppIVROverlay_IVROverlay_010_IsDashboardVisible(void *linux_side) +void cppIVROverlay_IVROverlay_010_IsDashboardVisible( struct cppIVROverlay_IVROverlay_010_IsDashboardVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsDashboardVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsDashboardVisible(); } -bool cppIVROverlay_IVROverlay_010_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_010_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_010_IsActiveDashboardOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -EVROverlayError cppIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } -void cppIVROverlay_IVROverlay_010_ShowDashboard(void *linux_side, const char *pchOverlayToShow) +void cppIVROverlay_IVROverlay_010_ShowDashboard( struct cppIVROverlay_IVROverlay_010_ShowDashboard_params *params ) { - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); + ((IVROverlay*)params->linux_side)->ShowDashboard((const char *)params->pchOverlayToShow); } -TrackedDeviceIndex_t cppIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice(void *linux_side) +void cppIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetPrimaryDashboardDevice(); } -EVROverlayError cppIVROverlay_IVROverlay_010_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_010_ShowKeyboard( struct cppIVROverlay_IVROverlay_010_ShowKeyboard_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -EVROverlayError cppIVROverlay_IVROverlay_010_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_010_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_010_ShowKeyboardForOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -uint32_t cppIVROverlay_IVROverlay_010_GetKeyboardText(void *linux_side, char *pchText, uint32_t cchText) +void cppIVROverlay_IVROverlay_010_GetKeyboardText( struct cppIVROverlay_IVROverlay_010_GetKeyboardText_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetKeyboardText((char *)params->pchText, (uint32_t)params->cchText); } -void cppIVROverlay_IVROverlay_010_HideKeyboard(void *linux_side) +void cppIVROverlay_IVROverlay_010_HideKeyboard( struct cppIVROverlay_IVROverlay_010_HideKeyboard_params *params ) { - ((IVROverlay*)linux_side)->HideKeyboard(); + ((IVROverlay*)params->linux_side)->HideKeyboard(); } -void cppIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void cppIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); + ((IVROverlay*)params->linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToKeyboardTransform); } -void cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); + ((IVROverlay*)params->linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdRect2_t)params->avoidRect); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.h index 584146e2..780e754e 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.h @@ -1,69 +1,592 @@ #ifdef __cplusplus extern "C" { #endif -extern EVROverlayError cppIVROverlay_IVROverlay_010_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_DestroyOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_010_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_010_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_010_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_010_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_010_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_0918 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_010_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern bool cppIVROverlay_IVROverlay_010_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_010_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTexture(void *, VROverlayHandle_t, const Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_010_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_010_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_010_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_010_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_010_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); +struct cppIVROverlay_IVROverlay_010_FindOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_010_FindOverlay( struct cppIVROverlay_IVROverlay_010_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_010_CreateOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_010_CreateOverlay( struct cppIVROverlay_IVROverlay_010_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_010_DestroyOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_010_DestroyOverlay( struct cppIVROverlay_IVROverlay_010_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_010_SetHighQualityOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_010_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_010_SetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetHighQualityOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_010_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_010_GetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_010_GetOverlayKey( struct cppIVROverlay_IVROverlay_010_GetOverlayKey_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_010_GetOverlayName( struct cppIVROverlay_IVROverlay_010_GetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetOverlayImageData_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; +extern void cppIVROverlay_IVROverlay_010_GetOverlayImageData( struct cppIVROverlay_IVROverlay_010_GetOverlayImageData_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_010_SetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_010_SetOverlayFlag( struct cppIVROverlay_IVROverlay_010_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_010_GetOverlayFlag( struct cppIVROverlay_IVROverlay_010_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_010_SetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; +extern void cppIVROverlay_IVROverlay_010_SetOverlayColor( struct cppIVROverlay_IVROverlay_010_SetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; +extern void cppIVROverlay_IVROverlay_010_GetOverlayColor( struct cppIVROverlay_IVROverlay_010_GetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_010_SetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_010_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_010_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_010_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_010_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_010_SetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_010_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_010_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_010_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_010_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace eTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace *peTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_010_SetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_010_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_010_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_010_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_010_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetOverlayTransformType_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_010_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_010_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchComponentName; +}; +extern void cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; +extern void cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_010_ShowOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_010_ShowOverlay( struct cppIVROverlay_IVROverlay_010_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_010_HideOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_010_HideOverlay( struct cppIVROverlay_IVROverlay_010_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_010_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_010_IsOverlayVisible( struct cppIVROverlay_IVROverlay_010_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; +extern void cppIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates_params *params ); + +struct cppIVROverlay_IVROverlay_010_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + winVREvent_t_0918 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVROverlay_IVROverlay_010_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_010_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_010_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_010_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_010_SetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_010_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_010_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_010_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_010_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_010_SetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_010_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_010_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_010_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_010_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_010_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unControllerDeviceIndex; +}; +extern void cppIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse_params *params ); + +struct cppIVROverlay_IVROverlay_010_IsHoverTargetOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_010_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_010_IsHoverTargetOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetGamepadFocusOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_010_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_010_GetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_010_SetGamepadFocusOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulNewFocusOverlay; +}; +extern void cppIVROverlay_IVROverlay_010_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_010_SetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_010_SetOverlayNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; + VROverlayHandle_t ulTo; +}; +extern void cppIVROverlay_IVROverlay_010_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_010_SetOverlayNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; +}; +extern void cppIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_010_SetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const Texture_t *pTexture; +}; +extern void cppIVROverlay_IVROverlay_010_SetOverlayTexture( struct cppIVROverlay_IVROverlay_010_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_010_ClearOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_010_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_010_ClearOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_010_SetOverlayRaw_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; +extern void cppIVROverlay_IVROverlay_010_SetOverlayRaw( struct cppIVROverlay_IVROverlay_010_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_010_SetOverlayFromFile_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_010_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_010_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_010_CreateDashboardOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pMainHandle; + VROverlayHandle_t *pThumbnailHandle; +}; +extern void cppIVROverlay_IVROverlay_010_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_010_CreateDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_010_IsDashboardVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_010_IsDashboardVisible( struct cppIVROverlay_IVROverlay_010_IsDashboardVisible_params *params ); + +struct cppIVROverlay_IVROverlay_010_IsActiveDashboardOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_010_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_010_IsActiveDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_010_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; +extern void cppIVROverlay_IVROverlay_010_ShowDashboard( struct cppIVROverlay_IVROverlay_010_ShowDashboard_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; +}; +extern void cppIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice_params *params ); + +struct cppIVROverlay_IVROverlay_010_ShowKeyboard_params +{ + void *linux_side; + EVROverlayError _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_010_ShowKeyboard( struct cppIVROverlay_IVROverlay_010_ShowKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_010_ShowKeyboardForOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_010_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_010_ShowKeyboardForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_010_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; +extern void cppIVROverlay_IVROverlay_010_GetKeyboardText( struct cppIVROverlay_IVROverlay_010_GetKeyboardText_params *params ); + +struct cppIVROverlay_IVROverlay_010_HideKeyboard_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_010_HideKeyboard( struct cppIVROverlay_IVROverlay_010_HideKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; +extern void cppIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + VROverlayHandle_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; +extern void cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.cpp index 83bdc55e..086e9038 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.cpp @@ -9,471 +9,345 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVROverlayError cppIVROverlay_IVROverlay_011_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_011_FindOverlay( struct cppIVROverlay_IVROverlay_011_FindOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_011_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_011_CreateOverlay( struct cppIVROverlay_IVROverlay_011_CreateOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_011_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_011_DestroyOverlay( struct cppIVROverlay_IVROverlay_011_DestroyOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_011_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_011_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_011_SetHighQualityOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_011_GetHighQualityOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_011_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_011_GetHighQualityOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetHighQualityOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetHighQualityOverlay(); } -uint32_t cppIVROverlay_IVROverlay_011_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_011_GetOverlayKey( struct cppIVROverlay_IVROverlay_011_GetOverlayKey_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayKey((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -uint32_t cppIVROverlay_IVROverlay_011_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_011_GetOverlayName( struct cppIVROverlay_IVROverlay_011_GetOverlayName_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +void cppIVROverlay_IVROverlay_011_GetOverlayImageData( struct cppIVROverlay_IVROverlay_011_GetOverlayImageData_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unBufferSize, (uint32_t *)params->punWidth, (uint32_t *)params->punHeight); } -const char * cppIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) +void cppIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)params->error); } -EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +void cppIVROverlay_IVROverlay_011_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_011_SetOverlayRenderingPid_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unPID); } -uint32_t cppIVROverlay_IVROverlay_011_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_011_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_011_GetOverlayRenderingPid_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_011_SetOverlayFlag( struct cppIVROverlay_IVROverlay_011_SetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_011_GetOverlayFlag( struct cppIVROverlay_IVROverlay_011_GetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void cppIVROverlay_IVROverlay_011_SetOverlayColor( struct cppIVROverlay_IVROverlay_011_SetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRed, (float)params->fGreen, (float)params->fBlue); } -EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +void cppIVROverlay_IVROverlay_011_GetOverlayColor( struct cppIVROverlay_IVROverlay_011_GetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRed, (float *)params->pfGreen, (float *)params->pfBlue); } -EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_011_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_011_SetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_011_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_011_GetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_011_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_011_SetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_011_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_011_GetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fMinDistanceInMeters, (float)params->fMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfMinDistanceInMeters, (float *)params->pfMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +void cppIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace)params->eTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +void cppIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace *)params->peTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_011_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_011_SetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_011_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_011_GetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_011_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_011_GetOverlayTransformType_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +void cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchComponentName); } -EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +void cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punDeviceIndex, (char *)params->pchComponentName, (uint32_t)params->unComponentNameSize); } -EVROverlayError cppIVROverlay_IVROverlay_011_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_011_ShowOverlay( struct cppIVROverlay_IVROverlay_011_ShowOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_011_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_011_HideOverlay( struct cppIVROverlay_IVROverlay_011_HideOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_011_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_011_IsOverlayVisible( struct cppIVROverlay_IVROverlay_011_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +void cppIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (vr::HmdVector2_t)params->coordinatesInOverlay, (vr::HmdMatrix34_t *)params->pmatTransform); } -bool cppIVROverlay_IVROverlay_011_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_0920 *pEvent, uint32_t uncbVREvent) +void cppIVROverlay_IVROverlay_011_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_011_PollNextOverlayEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_0920_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_0920_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_0920_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_0920_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_011_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_011_GetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_011_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_011_SetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_011_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_011_GetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_011_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_011_SetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_011_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_011_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_011_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +void cppIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex); } -bool cppIVROverlay_IVROverlay_011_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_011_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_011_IsHoverTargetOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_011_GetGamepadFocusOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_011_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_011_GetGamepadFocusOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetGamepadFocusOverlay(); } -EVROverlayError cppIVROverlay_IVROverlay_011_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) +void cppIVROverlay_IVROverlay_011_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_011_SetGamepadFocusOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)params->ulNewFocusOverlay); } -EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +void cppIVROverlay_IVROverlay_011_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_011_SetOverlayNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom, (vr::VROverlayHandle_t)params->ulTo); } -EVROverlayError cppIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +void cppIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom); } -EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +void cppIVROverlay_IVROverlay_011_SetOverlayTexture( struct cppIVROverlay_IVROverlay_011_SetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::Texture_t *)params->pTexture); } -EVROverlayError cppIVROverlay_IVROverlay_011_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_011_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_011_ClearOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +void cppIVROverlay_IVROverlay_011_SetOverlayRaw( struct cppIVROverlay_IVROverlay_011_SetOverlayRaw_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unDepth); } -EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_011_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_011_SetOverlayFromFile_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, EGraphicsAPIConvention *pAPI, EColorSpace *pColorSpace) +void cppIVROverlay_IVROverlay_011_GetOverlayTexture( struct cppIVROverlay_IVROverlay_011_GetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::EGraphicsAPIConvention *)pAPI, (vr::EColorSpace *)pColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (void **)params->pNativeTextureHandle, (void *)params->pNativeTextureRef, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight, (uint32_t *)params->pNativeFormat, (vr::EGraphicsAPIConvention *)params->pAPI, (vr::EColorSpace *)params->pColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +void cppIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pNativeTextureHandle); } -EVROverlayError cppIVROverlay_IVROverlay_011_CreateDashboardOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +void cppIVROverlay_IVROverlay_011_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_011_CreateDashboardOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateDashboardOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pMainHandle, (vr::VROverlayHandle_t *)params->pThumbnailHandle); } -bool cppIVROverlay_IVROverlay_011_IsDashboardVisible(void *linux_side) +void cppIVROverlay_IVROverlay_011_IsDashboardVisible( struct cppIVROverlay_IVROverlay_011_IsDashboardVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsDashboardVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsDashboardVisible(); } -bool cppIVROverlay_IVROverlay_011_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_011_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_011_IsActiveDashboardOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -EVROverlayError cppIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } -void cppIVROverlay_IVROverlay_011_ShowDashboard(void *linux_side, const char *pchOverlayToShow) +void cppIVROverlay_IVROverlay_011_ShowDashboard( struct cppIVROverlay_IVROverlay_011_ShowDashboard_params *params ) { - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); + ((IVROverlay*)params->linux_side)->ShowDashboard((const char *)params->pchOverlayToShow); } -TrackedDeviceIndex_t cppIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice(void *linux_side) +void cppIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetPrimaryDashboardDevice(); } -EVROverlayError cppIVROverlay_IVROverlay_011_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_011_ShowKeyboard( struct cppIVROverlay_IVROverlay_011_ShowKeyboard_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -EVROverlayError cppIVROverlay_IVROverlay_011_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_011_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_011_ShowKeyboardForOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -uint32_t cppIVROverlay_IVROverlay_011_GetKeyboardText(void *linux_side, char *pchText, uint32_t cchText) +void cppIVROverlay_IVROverlay_011_GetKeyboardText( struct cppIVROverlay_IVROverlay_011_GetKeyboardText_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetKeyboardText((char *)params->pchText, (uint32_t)params->cchText); } -void cppIVROverlay_IVROverlay_011_HideKeyboard(void *linux_side) +void cppIVROverlay_IVROverlay_011_HideKeyboard( struct cppIVROverlay_IVROverlay_011_HideKeyboard_params *params ) { - ((IVROverlay*)linux_side)->HideKeyboard(); + ((IVROverlay*)params->linux_side)->HideKeyboard(); } -void cppIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void cppIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); + ((IVROverlay*)params->linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToKeyboardTransform); } -void cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); + ((IVROverlay*)params->linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdRect2_t)params->avoidRect); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.h index 78f43915..a566d418 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.h @@ -1,73 +1,633 @@ #ifdef __cplusplus extern "C" { #endif -extern EVROverlayError cppIVROverlay_IVROverlay_011_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_DestroyOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_011_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_011_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_011_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_011_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_011_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_011_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_0920 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_011_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern bool cppIVROverlay_IVROverlay_011_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_011_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTexture(void *, VROverlayHandle_t, const Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, EGraphicsAPIConvention *, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_011_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_011_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_011_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_011_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_011_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); +struct cppIVROverlay_IVROverlay_011_FindOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_011_FindOverlay( struct cppIVROverlay_IVROverlay_011_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_011_CreateOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_011_CreateOverlay( struct cppIVROverlay_IVROverlay_011_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_011_DestroyOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_011_DestroyOverlay( struct cppIVROverlay_IVROverlay_011_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_011_SetHighQualityOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_011_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_011_SetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetHighQualityOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_011_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_011_GetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_011_GetOverlayKey( struct cppIVROverlay_IVROverlay_011_GetOverlayKey_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_011_GetOverlayName( struct cppIVROverlay_IVROverlay_011_GetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetOverlayImageData_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; +extern void cppIVROverlay_IVROverlay_011_GetOverlayImageData( struct cppIVROverlay_IVROverlay_011_GetOverlayImageData_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_011_SetOverlayRenderingPid_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unPID; +}; +extern void cppIVROverlay_IVROverlay_011_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_011_SetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_011_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_011_GetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_011_SetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_011_SetOverlayFlag( struct cppIVROverlay_IVROverlay_011_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_011_GetOverlayFlag( struct cppIVROverlay_IVROverlay_011_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_011_SetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; +extern void cppIVROverlay_IVROverlay_011_SetOverlayColor( struct cppIVROverlay_IVROverlay_011_SetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; +extern void cppIVROverlay_IVROverlay_011_GetOverlayColor( struct cppIVROverlay_IVROverlay_011_GetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_011_SetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_011_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_011_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_011_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_011_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_011_SetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_011_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_011_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_011_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_011_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace eTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace *peTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_011_SetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_011_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_011_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_011_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_011_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetOverlayTransformType_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_011_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_011_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchComponentName; +}; +extern void cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; +extern void cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_011_ShowOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_011_ShowOverlay( struct cppIVROverlay_IVROverlay_011_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_011_HideOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_011_HideOverlay( struct cppIVROverlay_IVROverlay_011_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_011_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_011_IsOverlayVisible( struct cppIVROverlay_IVROverlay_011_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; +extern void cppIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates_params *params ); + +struct cppIVROverlay_IVROverlay_011_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + winVREvent_t_0920 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVROverlay_IVROverlay_011_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_011_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_011_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_011_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_011_SetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_011_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_011_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_011_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_011_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_011_SetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_011_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_011_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_011_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_011_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_011_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unControllerDeviceIndex; +}; +extern void cppIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse_params *params ); + +struct cppIVROverlay_IVROverlay_011_IsHoverTargetOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_011_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_011_IsHoverTargetOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetGamepadFocusOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_011_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_011_GetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_011_SetGamepadFocusOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulNewFocusOverlay; +}; +extern void cppIVROverlay_IVROverlay_011_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_011_SetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_011_SetOverlayNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; + VROverlayHandle_t ulTo; +}; +extern void cppIVROverlay_IVROverlay_011_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_011_SetOverlayNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; +}; +extern void cppIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_011_SetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const Texture_t *pTexture; +}; +extern void cppIVROverlay_IVROverlay_011_SetOverlayTexture( struct cppIVROverlay_IVROverlay_011_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_011_ClearOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_011_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_011_ClearOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_011_SetOverlayRaw_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; +extern void cppIVROverlay_IVROverlay_011_SetOverlayRaw( struct cppIVROverlay_IVROverlay_011_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_011_SetOverlayFromFile_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_011_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_011_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + EGraphicsAPIConvention *pAPI; + EColorSpace *pColorSpace; +}; +extern void cppIVROverlay_IVROverlay_011_GetOverlayTexture( struct cppIVROverlay_IVROverlay_011_GetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pNativeTextureHandle; +}; +extern void cppIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle_params *params ); + +struct cppIVROverlay_IVROverlay_011_CreateDashboardOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pMainHandle; + VROverlayHandle_t *pThumbnailHandle; +}; +extern void cppIVROverlay_IVROverlay_011_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_011_CreateDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_011_IsDashboardVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_011_IsDashboardVisible( struct cppIVROverlay_IVROverlay_011_IsDashboardVisible_params *params ); + +struct cppIVROverlay_IVROverlay_011_IsActiveDashboardOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_011_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_011_IsActiveDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_011_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; +extern void cppIVROverlay_IVROverlay_011_ShowDashboard( struct cppIVROverlay_IVROverlay_011_ShowDashboard_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; +}; +extern void cppIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice_params *params ); + +struct cppIVROverlay_IVROverlay_011_ShowKeyboard_params +{ + void *linux_side; + EVROverlayError _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_011_ShowKeyboard( struct cppIVROverlay_IVROverlay_011_ShowKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_011_ShowKeyboardForOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_011_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_011_ShowKeyboardForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_011_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; +extern void cppIVROverlay_IVROverlay_011_GetKeyboardText( struct cppIVROverlay_IVROverlay_011_GetKeyboardText_params *params ); + +struct cppIVROverlay_IVROverlay_011_HideKeyboard_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_011_HideKeyboard( struct cppIVROverlay_IVROverlay_011_HideKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; +extern void cppIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + VROverlayHandle_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; +extern void cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.cpp index 399bb6b1..351a0900 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.cpp @@ -9,478 +9,350 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVROverlayError cppIVROverlay_IVROverlay_012_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_012_FindOverlay( struct cppIVROverlay_IVROverlay_012_FindOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_012_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_012_CreateOverlay( struct cppIVROverlay_IVROverlay_012_CreateOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_012_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_012_DestroyOverlay( struct cppIVROverlay_IVROverlay_012_DestroyOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_012_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_012_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_012_SetHighQualityOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_012_GetHighQualityOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_012_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_012_GetHighQualityOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetHighQualityOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetHighQualityOverlay(); } -uint32_t cppIVROverlay_IVROverlay_012_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_012_GetOverlayKey( struct cppIVROverlay_IVROverlay_012_GetOverlayKey_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayKey((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -uint32_t cppIVROverlay_IVROverlay_012_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_012_GetOverlayName( struct cppIVROverlay_IVROverlay_012_GetOverlayName_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +void cppIVROverlay_IVROverlay_012_GetOverlayImageData( struct cppIVROverlay_IVROverlay_012_GetOverlayImageData_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unBufferSize, (uint32_t *)params->punWidth, (uint32_t *)params->punHeight); } -const char * cppIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) +void cppIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)params->error); } -EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +void cppIVROverlay_IVROverlay_012_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_012_SetOverlayRenderingPid_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unPID); } -uint32_t cppIVROverlay_IVROverlay_012_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_012_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_012_GetOverlayRenderingPid_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_012_SetOverlayFlag( struct cppIVROverlay_IVROverlay_012_SetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_012_GetOverlayFlag( struct cppIVROverlay_IVROverlay_012_GetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void cppIVROverlay_IVROverlay_012_SetOverlayColor( struct cppIVROverlay_IVROverlay_012_SetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRed, (float)params->fGreen, (float)params->fBlue); } -EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +void cppIVROverlay_IVROverlay_012_GetOverlayColor( struct cppIVROverlay_IVROverlay_012_GetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRed, (float *)params->pfGreen, (float *)params->pfBlue); } -EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_012_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_012_SetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_012_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_012_GetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_012_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_012_SetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_012_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_012_GetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fMinDistanceInMeters, (float)params->fMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfMinDistanceInMeters, (float *)params->pfMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +void cppIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace)params->eTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +void cppIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace *)params->peTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_012_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_012_SetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_012_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_012_GetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_012_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_012_GetOverlayTransformType_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +void cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchComponentName); } -EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +void cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punDeviceIndex, (char *)params->pchComponentName, (uint32_t)params->unComponentNameSize); } -EVROverlayError cppIVROverlay_IVROverlay_012_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_012_ShowOverlay( struct cppIVROverlay_IVROverlay_012_ShowOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_012_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_012_HideOverlay( struct cppIVROverlay_IVROverlay_012_HideOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_012_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_012_IsOverlayVisible( struct cppIVROverlay_IVROverlay_012_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +void cppIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (vr::HmdVector2_t)params->coordinatesInOverlay, (vr::HmdMatrix34_t *)params->pmatTransform); } -bool cppIVROverlay_IVROverlay_012_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_101 *pEvent, uint32_t uncbVREvent) +void cppIVROverlay_IVROverlay_012_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_012_PollNextOverlayEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_101_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_101_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_101_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_101_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_012_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_012_GetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_012_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_012_SetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_012_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_012_GetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_012_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_012_SetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_012_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_012_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_012_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +void cppIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex); } -bool cppIVROverlay_IVROverlay_012_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_012_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_012_IsHoverTargetOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_012_GetGamepadFocusOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_012_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_012_GetGamepadFocusOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetGamepadFocusOverlay(); } -EVROverlayError cppIVROverlay_IVROverlay_012_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) +void cppIVROverlay_IVROverlay_012_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_012_SetGamepadFocusOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)params->ulNewFocusOverlay); } -EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +void cppIVROverlay_IVROverlay_012_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_012_SetOverlayNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom, (vr::VROverlayHandle_t)params->ulTo); } -EVROverlayError cppIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +void cppIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom); } -EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +void cppIVROverlay_IVROverlay_012_SetOverlayTexture( struct cppIVROverlay_IVROverlay_012_SetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::Texture_t *)params->pTexture); } -EVROverlayError cppIVROverlay_IVROverlay_012_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_012_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_012_ClearOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +void cppIVROverlay_IVROverlay_012_SetOverlayRaw( struct cppIVROverlay_IVROverlay_012_SetOverlayRaw_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unDepth); } -EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_012_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_012_SetOverlayFromFile_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, EGraphicsAPIConvention *pAPI, EColorSpace *pColorSpace) +void cppIVROverlay_IVROverlay_012_GetOverlayTexture( struct cppIVROverlay_IVROverlay_012_GetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::EGraphicsAPIConvention *)pAPI, (vr::EColorSpace *)pColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (void **)params->pNativeTextureHandle, (void *)params->pNativeTextureRef, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight, (uint32_t *)params->pNativeFormat, (vr::EGraphicsAPIConvention *)params->pAPI, (vr::EColorSpace *)params->pColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +void cppIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pNativeTextureHandle); } -EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +void cppIVROverlay_IVROverlay_012_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_012_GetOverlayTextureSize_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight); } -EVROverlayError cppIVROverlay_IVROverlay_012_CreateDashboardOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +void cppIVROverlay_IVROverlay_012_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_012_CreateDashboardOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateDashboardOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pMainHandle, (vr::VROverlayHandle_t *)params->pThumbnailHandle); } -bool cppIVROverlay_IVROverlay_012_IsDashboardVisible(void *linux_side) +void cppIVROverlay_IVROverlay_012_IsDashboardVisible( struct cppIVROverlay_IVROverlay_012_IsDashboardVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsDashboardVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsDashboardVisible(); } -bool cppIVROverlay_IVROverlay_012_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_012_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_012_IsActiveDashboardOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -EVROverlayError cppIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } -void cppIVROverlay_IVROverlay_012_ShowDashboard(void *linux_side, const char *pchOverlayToShow) +void cppIVROverlay_IVROverlay_012_ShowDashboard( struct cppIVROverlay_IVROverlay_012_ShowDashboard_params *params ) { - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); + ((IVROverlay*)params->linux_side)->ShowDashboard((const char *)params->pchOverlayToShow); } -TrackedDeviceIndex_t cppIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice(void *linux_side) +void cppIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetPrimaryDashboardDevice(); } -EVROverlayError cppIVROverlay_IVROverlay_012_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_012_ShowKeyboard( struct cppIVROverlay_IVROverlay_012_ShowKeyboard_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -EVROverlayError cppIVROverlay_IVROverlay_012_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_012_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_012_ShowKeyboardForOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -uint32_t cppIVROverlay_IVROverlay_012_GetKeyboardText(void *linux_side, char *pchText, uint32_t cchText) +void cppIVROverlay_IVROverlay_012_GetKeyboardText( struct cppIVROverlay_IVROverlay_012_GetKeyboardText_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetKeyboardText((char *)params->pchText, (uint32_t)params->cchText); } -void cppIVROverlay_IVROverlay_012_HideKeyboard(void *linux_side) +void cppIVROverlay_IVROverlay_012_HideKeyboard( struct cppIVROverlay_IVROverlay_012_HideKeyboard_params *params ) { - ((IVROverlay*)linux_side)->HideKeyboard(); + ((IVROverlay*)params->linux_side)->HideKeyboard(); } -void cppIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void cppIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); + ((IVROverlay*)params->linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToKeyboardTransform); } -void cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); + ((IVROverlay*)params->linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdRect2_t)params->avoidRect); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.h index 2a4fdc81..c15c9ad1 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.h @@ -1,74 +1,643 @@ #ifdef __cplusplus extern "C" { #endif -extern EVROverlayError cppIVROverlay_IVROverlay_012_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_DestroyOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_012_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_012_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_012_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_012_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_012_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_012_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_101 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_012_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern bool cppIVROverlay_IVROverlay_012_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_012_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTexture(void *, VROverlayHandle_t, const Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, EGraphicsAPIConvention *, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_012_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_012_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_012_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_012_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_012_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); +struct cppIVROverlay_IVROverlay_012_FindOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_012_FindOverlay( struct cppIVROverlay_IVROverlay_012_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_012_CreateOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_012_CreateOverlay( struct cppIVROverlay_IVROverlay_012_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_012_DestroyOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_012_DestroyOverlay( struct cppIVROverlay_IVROverlay_012_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_012_SetHighQualityOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_012_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_012_SetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetHighQualityOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_012_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_012_GetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_012_GetOverlayKey( struct cppIVROverlay_IVROverlay_012_GetOverlayKey_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_012_GetOverlayName( struct cppIVROverlay_IVROverlay_012_GetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetOverlayImageData_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; +extern void cppIVROverlay_IVROverlay_012_GetOverlayImageData( struct cppIVROverlay_IVROverlay_012_GetOverlayImageData_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_012_SetOverlayRenderingPid_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unPID; +}; +extern void cppIVROverlay_IVROverlay_012_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_012_SetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_012_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_012_GetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_012_SetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_012_SetOverlayFlag( struct cppIVROverlay_IVROverlay_012_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_012_GetOverlayFlag( struct cppIVROverlay_IVROverlay_012_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_012_SetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; +extern void cppIVROverlay_IVROverlay_012_SetOverlayColor( struct cppIVROverlay_IVROverlay_012_SetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; +extern void cppIVROverlay_IVROverlay_012_GetOverlayColor( struct cppIVROverlay_IVROverlay_012_GetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_012_SetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_012_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_012_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_012_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_012_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_012_SetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_012_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_012_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_012_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_012_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace eTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace *peTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_012_SetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_012_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_012_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_012_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_012_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetOverlayTransformType_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_012_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_012_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchComponentName; +}; +extern void cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; +extern void cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_012_ShowOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_012_ShowOverlay( struct cppIVROverlay_IVROverlay_012_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_012_HideOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_012_HideOverlay( struct cppIVROverlay_IVROverlay_012_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_012_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_012_IsOverlayVisible( struct cppIVROverlay_IVROverlay_012_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; +extern void cppIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates_params *params ); + +struct cppIVROverlay_IVROverlay_012_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + winVREvent_t_101 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVROverlay_IVROverlay_012_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_012_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_012_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_012_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_012_SetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_012_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_012_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_012_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_012_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_012_SetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_012_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_012_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_012_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_012_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_012_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unControllerDeviceIndex; +}; +extern void cppIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse_params *params ); + +struct cppIVROverlay_IVROverlay_012_IsHoverTargetOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_012_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_012_IsHoverTargetOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetGamepadFocusOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_012_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_012_GetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_012_SetGamepadFocusOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulNewFocusOverlay; +}; +extern void cppIVROverlay_IVROverlay_012_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_012_SetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_012_SetOverlayNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; + VROverlayHandle_t ulTo; +}; +extern void cppIVROverlay_IVROverlay_012_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_012_SetOverlayNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; +}; +extern void cppIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_012_SetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const Texture_t *pTexture; +}; +extern void cppIVROverlay_IVROverlay_012_SetOverlayTexture( struct cppIVROverlay_IVROverlay_012_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_012_ClearOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_012_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_012_ClearOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_012_SetOverlayRaw_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; +extern void cppIVROverlay_IVROverlay_012_SetOverlayRaw( struct cppIVROverlay_IVROverlay_012_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_012_SetOverlayFromFile_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_012_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_012_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + EGraphicsAPIConvention *pAPI; + EColorSpace *pColorSpace; +}; +extern void cppIVROverlay_IVROverlay_012_GetOverlayTexture( struct cppIVROverlay_IVROverlay_012_GetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pNativeTextureHandle; +}; +extern void cppIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetOverlayTextureSize_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; +extern void cppIVROverlay_IVROverlay_012_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_012_GetOverlayTextureSize_params *params ); + +struct cppIVROverlay_IVROverlay_012_CreateDashboardOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pMainHandle; + VROverlayHandle_t *pThumbnailHandle; +}; +extern void cppIVROverlay_IVROverlay_012_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_012_CreateDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_012_IsDashboardVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_012_IsDashboardVisible( struct cppIVROverlay_IVROverlay_012_IsDashboardVisible_params *params ); + +struct cppIVROverlay_IVROverlay_012_IsActiveDashboardOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_012_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_012_IsActiveDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_012_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; +extern void cppIVROverlay_IVROverlay_012_ShowDashboard( struct cppIVROverlay_IVROverlay_012_ShowDashboard_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; +}; +extern void cppIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice_params *params ); + +struct cppIVROverlay_IVROverlay_012_ShowKeyboard_params +{ + void *linux_side; + EVROverlayError _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_012_ShowKeyboard( struct cppIVROverlay_IVROverlay_012_ShowKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_012_ShowKeyboardForOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_012_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_012_ShowKeyboardForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_012_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; +extern void cppIVROverlay_IVROverlay_012_GetKeyboardText( struct cppIVROverlay_IVROverlay_012_GetKeyboardText_params *params ); + +struct cppIVROverlay_IVROverlay_012_HideKeyboard_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_012_HideKeyboard( struct cppIVROverlay_IVROverlay_012_HideKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; +extern void cppIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + VROverlayHandle_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; +extern void cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.cpp index 0246b1a1..8ff25b4f 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.cpp @@ -9,513 +9,375 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVROverlayError cppIVROverlay_IVROverlay_013_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_013_FindOverlay( struct cppIVROverlay_IVROverlay_013_FindOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_013_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_013_CreateOverlay( struct cppIVROverlay_IVROverlay_013_CreateOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_013_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_013_DestroyOverlay( struct cppIVROverlay_IVROverlay_013_DestroyOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_013_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_013_SetHighQualityOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_013_GetHighQualityOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_013_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_013_GetHighQualityOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetHighQualityOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetHighQualityOverlay(); } -uint32_t cppIVROverlay_IVROverlay_013_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_013_GetOverlayKey( struct cppIVROverlay_IVROverlay_013_GetOverlayKey_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayKey((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -uint32_t cppIVROverlay_IVROverlay_013_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_013_GetOverlayName( struct cppIVROverlay_IVROverlay_013_GetOverlayName_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +void cppIVROverlay_IVROverlay_013_GetOverlayImageData( struct cppIVROverlay_IVROverlay_013_GetOverlayImageData_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unBufferSize, (uint32_t *)params->punWidth, (uint32_t *)params->punHeight); } -const char * cppIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) +void cppIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)params->error); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +void cppIVROverlay_IVROverlay_013_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_013_SetOverlayRenderingPid_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unPID); } -uint32_t cppIVROverlay_IVROverlay_013_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_013_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_013_GetOverlayRenderingPid_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_013_SetOverlayFlag( struct cppIVROverlay_IVROverlay_013_SetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_013_GetOverlayFlag( struct cppIVROverlay_IVROverlay_013_GetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void cppIVROverlay_IVROverlay_013_SetOverlayColor( struct cppIVROverlay_IVROverlay_013_SetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRed, (float)params->fGreen, (float)params->fBlue); } -EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +void cppIVROverlay_IVROverlay_013_GetOverlayColor( struct cppIVROverlay_IVROverlay_013_GetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRed, (float *)params->pfGreen, (float *)params->pfBlue); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_013_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_013_SetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_013_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_013_GetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +void cppIVROverlay_IVROverlay_013_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_013_SetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +void cppIVROverlay_IVROverlay_013_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_013_GetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +void cppIVROverlay_IVROverlay_013_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_013_SetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +void cppIVROverlay_IVROverlay_013_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_013_GetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_013_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_013_SetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_013_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_013_GetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fMinDistanceInMeters, (float)params->fMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfMinDistanceInMeters, (float *)params->pfMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +void cppIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace)params->eTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +void cppIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace *)params->peTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_013_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_013_SetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_013_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_013_GetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_013_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_013_GetOverlayTransformType_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +void cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchComponentName); } -EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +void cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punDeviceIndex, (char *)params->pchComponentName, (uint32_t)params->unComponentNameSize); } -EVROverlayError cppIVROverlay_IVROverlay_013_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_013_ShowOverlay( struct cppIVROverlay_IVROverlay_013_ShowOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_013_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_013_HideOverlay( struct cppIVROverlay_IVROverlay_013_HideOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_013_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_013_IsOverlayVisible( struct cppIVROverlay_IVROverlay_013_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +void cppIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (vr::HmdVector2_t)params->coordinatesInOverlay, (vr::HmdMatrix34_t *)params->pmatTransform); } -bool cppIVROverlay_IVROverlay_013_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_104 *pEvent, uint32_t uncbVREvent) +void cppIVROverlay_IVROverlay_013_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_013_PollNextOverlayEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_104_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_104_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_104_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_104_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_013_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_013_GetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_013_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_013_SetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_013_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_013_GetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_013_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_013_SetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_013_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_013_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_013_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +void cppIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex); } -bool cppIVROverlay_IVROverlay_013_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_013_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_013_IsHoverTargetOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_013_GetGamepadFocusOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_013_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_013_GetGamepadFocusOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetGamepadFocusOverlay(); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) +void cppIVROverlay_IVROverlay_013_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_013_SetGamepadFocusOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)params->ulNewFocusOverlay); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +void cppIVROverlay_IVROverlay_013_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_013_SetOverlayNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom, (vr::VROverlayHandle_t)params->ulTo); } -EVROverlayError cppIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +void cppIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +void cppIVROverlay_IVROverlay_013_SetOverlayTexture( struct cppIVROverlay_IVROverlay_013_SetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::Texture_t *)params->pTexture); } -EVROverlayError cppIVROverlay_IVROverlay_013_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_013_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_013_ClearOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +void cppIVROverlay_IVROverlay_013_SetOverlayRaw( struct cppIVROverlay_IVROverlay_013_SetOverlayRaw_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unDepth); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_013_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_013_SetOverlayFromFile_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, EGraphicsAPIConvention *pAPI, EColorSpace *pColorSpace) +void cppIVROverlay_IVROverlay_013_GetOverlayTexture( struct cppIVROverlay_IVROverlay_013_GetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::EGraphicsAPIConvention *)pAPI, (vr::EColorSpace *)pColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (void **)params->pNativeTextureHandle, (void *)params->pNativeTextureRef, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight, (uint32_t *)params->pNativeFormat, (vr::EGraphicsAPIConvention *)params->pAPI, (vr::EColorSpace *)params->pColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +void cppIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pNativeTextureHandle); } -EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +void cppIVROverlay_IVROverlay_013_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_013_GetOverlayTextureSize_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight); } -EVROverlayError cppIVROverlay_IVROverlay_013_CreateDashboardOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +void cppIVROverlay_IVROverlay_013_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_013_CreateDashboardOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateDashboardOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pMainHandle, (vr::VROverlayHandle_t *)params->pThumbnailHandle); } -bool cppIVROverlay_IVROverlay_013_IsDashboardVisible(void *linux_side) +void cppIVROverlay_IVROverlay_013_IsDashboardVisible( struct cppIVROverlay_IVROverlay_013_IsDashboardVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsDashboardVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsDashboardVisible(); } -bool cppIVROverlay_IVROverlay_013_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_013_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_013_IsActiveDashboardOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -EVROverlayError cppIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } -void cppIVROverlay_IVROverlay_013_ShowDashboard(void *linux_side, const char *pchOverlayToShow) +void cppIVROverlay_IVROverlay_013_ShowDashboard( struct cppIVROverlay_IVROverlay_013_ShowDashboard_params *params ) { - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); + ((IVROverlay*)params->linux_side)->ShowDashboard((const char *)params->pchOverlayToShow); } -TrackedDeviceIndex_t cppIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice(void *linux_side) +void cppIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetPrimaryDashboardDevice(); } -EVROverlayError cppIVROverlay_IVROverlay_013_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_013_ShowKeyboard( struct cppIVROverlay_IVROverlay_013_ShowKeyboard_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -EVROverlayError cppIVROverlay_IVROverlay_013_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_013_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_013_ShowKeyboardForOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -uint32_t cppIVROverlay_IVROverlay_013_GetKeyboardText(void *linux_side, char *pchText, uint32_t cchText) +void cppIVROverlay_IVROverlay_013_GetKeyboardText( struct cppIVROverlay_IVROverlay_013_GetKeyboardText_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetKeyboardText((char *)params->pchText, (uint32_t)params->cchText); } -void cppIVROverlay_IVROverlay_013_HideKeyboard(void *linux_side) +void cppIVROverlay_IVROverlay_013_HideKeyboard( struct cppIVROverlay_IVROverlay_013_HideKeyboard_params *params ) { - ((IVROverlay*)linux_side)->HideKeyboard(); + ((IVROverlay*)params->linux_side)->HideKeyboard(); } -void cppIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void cppIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); + ((IVROverlay*)params->linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToKeyboardTransform); } -void cppIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void cppIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); + ((IVROverlay*)params->linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdRect2_t)params->avoidRect); } -EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +void cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)params->pMaskPrimitives, (uint32_t)params->unNumMaskPrimitives, (uint32_t)params->unPrimitiveSize); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.h index 580938be..8e96598f 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.h @@ -1,79 +1,690 @@ #ifdef __cplusplus extern "C" { #endif -extern EVROverlayError cppIVROverlay_IVROverlay_013_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_DestroyOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_013_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_013_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_013_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_013_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_013_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_013_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_104 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_013_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern bool cppIVROverlay_IVROverlay_013_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_013_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTexture(void *, VROverlayHandle_t, const Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, EGraphicsAPIConvention *, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_013_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_013_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_013_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_013_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_013_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); +struct cppIVROverlay_IVROverlay_013_FindOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_013_FindOverlay( struct cppIVROverlay_IVROverlay_013_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_013_CreateOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_013_CreateOverlay( struct cppIVROverlay_IVROverlay_013_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_013_DestroyOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_013_DestroyOverlay( struct cppIVROverlay_IVROverlay_013_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetHighQualityOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_013_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_013_SetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetHighQualityOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_013_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_013_GetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_013_GetOverlayKey( struct cppIVROverlay_IVROverlay_013_GetOverlayKey_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_013_GetOverlayName( struct cppIVROverlay_IVROverlay_013_GetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetOverlayImageData_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; +extern void cppIVROverlay_IVROverlay_013_GetOverlayImageData( struct cppIVROverlay_IVROverlay_013_GetOverlayImageData_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetOverlayRenderingPid_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unPID; +}; +extern void cppIVROverlay_IVROverlay_013_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_013_SetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_013_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_013_GetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_013_SetOverlayFlag( struct cppIVROverlay_IVROverlay_013_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_013_GetOverlayFlag( struct cppIVROverlay_IVROverlay_013_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; +extern void cppIVROverlay_IVROverlay_013_SetOverlayColor( struct cppIVROverlay_IVROverlay_013_SetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; +extern void cppIVROverlay_IVROverlay_013_GetOverlayColor( struct cppIVROverlay_IVROverlay_013_GetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_013_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_013_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_013_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_013_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_013_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_013_SetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_013_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_013_GetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unSortOrder; +}; +extern void cppIVROverlay_IVROverlay_013_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_013_SetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punSortOrder; +}; +extern void cppIVROverlay_IVROverlay_013_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_013_GetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_013_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_013_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_013_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_013_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace eTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace *peTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_013_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_013_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_013_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_013_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetOverlayTransformType_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_013_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_013_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchComponentName; +}; +extern void cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; +extern void cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_013_ShowOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_013_ShowOverlay( struct cppIVROverlay_IVROverlay_013_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_013_HideOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_013_HideOverlay( struct cppIVROverlay_IVROverlay_013_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_013_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_013_IsOverlayVisible( struct cppIVROverlay_IVROverlay_013_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; +extern void cppIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates_params *params ); + +struct cppIVROverlay_IVROverlay_013_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + winVREvent_t_104 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVROverlay_IVROverlay_013_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_013_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_013_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_013_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_013_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_013_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_013_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_013_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_013_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_013_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_013_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_013_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_013_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unControllerDeviceIndex; +}; +extern void cppIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse_params *params ); + +struct cppIVROverlay_IVROverlay_013_IsHoverTargetOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_013_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_013_IsHoverTargetOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetGamepadFocusOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_013_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_013_GetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetGamepadFocusOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulNewFocusOverlay; +}; +extern void cppIVROverlay_IVROverlay_013_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_013_SetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetOverlayNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; + VROverlayHandle_t ulTo; +}; +extern void cppIVROverlay_IVROverlay_013_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_013_SetOverlayNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; +}; +extern void cppIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const Texture_t *pTexture; +}; +extern void cppIVROverlay_IVROverlay_013_SetOverlayTexture( struct cppIVROverlay_IVROverlay_013_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_013_ClearOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_013_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_013_ClearOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetOverlayRaw_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; +extern void cppIVROverlay_IVROverlay_013_SetOverlayRaw( struct cppIVROverlay_IVROverlay_013_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetOverlayFromFile_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_013_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_013_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + EGraphicsAPIConvention *pAPI; + EColorSpace *pColorSpace; +}; +extern void cppIVROverlay_IVROverlay_013_GetOverlayTexture( struct cppIVROverlay_IVROverlay_013_GetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pNativeTextureHandle; +}; +extern void cppIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetOverlayTextureSize_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; +extern void cppIVROverlay_IVROverlay_013_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_013_GetOverlayTextureSize_params *params ); + +struct cppIVROverlay_IVROverlay_013_CreateDashboardOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pMainHandle; + VROverlayHandle_t *pThumbnailHandle; +}; +extern void cppIVROverlay_IVROverlay_013_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_013_CreateDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_013_IsDashboardVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_013_IsDashboardVisible( struct cppIVROverlay_IVROverlay_013_IsDashboardVisible_params *params ); + +struct cppIVROverlay_IVROverlay_013_IsActiveDashboardOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_013_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_013_IsActiveDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_013_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; +extern void cppIVROverlay_IVROverlay_013_ShowDashboard( struct cppIVROverlay_IVROverlay_013_ShowDashboard_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; +}; +extern void cppIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice_params *params ); + +struct cppIVROverlay_IVROverlay_013_ShowKeyboard_params +{ + void *linux_side; + EVROverlayError _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_013_ShowKeyboard( struct cppIVROverlay_IVROverlay_013_ShowKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_013_ShowKeyboardForOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_013_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_013_ShowKeyboardForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_013_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; +extern void cppIVROverlay_IVROverlay_013_GetKeyboardText( struct cppIVROverlay_IVROverlay_013_GetKeyboardText_params *params ); + +struct cppIVROverlay_IVROverlay_013_HideKeyboard_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_013_HideKeyboard( struct cppIVROverlay_IVROverlay_013_HideKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; +extern void cppIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + VROverlayHandle_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; +extern void cppIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; +extern void cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.cpp index 9b0f3c54..f485cd11 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.cpp @@ -9,527 +9,385 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVROverlayError cppIVROverlay_IVROverlay_014_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_014_FindOverlay( struct cppIVROverlay_IVROverlay_014_FindOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_014_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_014_CreateOverlay( struct cppIVROverlay_IVROverlay_014_CreateOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_014_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_014_DestroyOverlay( struct cppIVROverlay_IVROverlay_014_DestroyOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_014_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_014_SetHighQualityOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_014_GetHighQualityOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_014_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_014_GetHighQualityOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetHighQualityOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetHighQualityOverlay(); } -uint32_t cppIVROverlay_IVROverlay_014_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_014_GetOverlayKey( struct cppIVROverlay_IVROverlay_014_GetOverlayKey_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayKey((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -uint32_t cppIVROverlay_IVROverlay_014_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_014_GetOverlayName( struct cppIVROverlay_IVROverlay_014_GetOverlayName_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +void cppIVROverlay_IVROverlay_014_GetOverlayImageData( struct cppIVROverlay_IVROverlay_014_GetOverlayImageData_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unBufferSize, (uint32_t *)params->punWidth, (uint32_t *)params->punHeight); } -const char * cppIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) +void cppIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)params->error); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +void cppIVROverlay_IVROverlay_014_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_014_SetOverlayRenderingPid_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unPID); } -uint32_t cppIVROverlay_IVROverlay_014_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_014_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_014_GetOverlayRenderingPid_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_014_SetOverlayFlag( struct cppIVROverlay_IVROverlay_014_SetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_014_GetOverlayFlag( struct cppIVROverlay_IVROverlay_014_GetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void cppIVROverlay_IVROverlay_014_SetOverlayColor( struct cppIVROverlay_IVROverlay_014_SetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRed, (float)params->fGreen, (float)params->fBlue); } -EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +void cppIVROverlay_IVROverlay_014_GetOverlayColor( struct cppIVROverlay_IVROverlay_014_GetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRed, (float *)params->pfGreen, (float *)params->pfBlue); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_014_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_014_SetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_014_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_014_GetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +void cppIVROverlay_IVROverlay_014_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_014_SetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +void cppIVROverlay_IVROverlay_014_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_014_GetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +void cppIVROverlay_IVROverlay_014_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_014_SetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +void cppIVROverlay_IVROverlay_014_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_014_GetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_014_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_014_SetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_014_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_014_GetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fMinDistanceInMeters, (float)params->fMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfMinDistanceInMeters, (float *)params->pfMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +void cppIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace)params->eTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +void cppIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace *)params->peTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_014_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_014_SetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_014_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_014_GetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_014_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_014_GetOverlayTransformType_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +void cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchComponentName); } -EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +void cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punDeviceIndex, (char *)params->pchComponentName, (uint32_t)params->unComponentNameSize); } -EVROverlayError cppIVROverlay_IVROverlay_014_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_014_ShowOverlay( struct cppIVROverlay_IVROverlay_014_ShowOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_014_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_014_HideOverlay( struct cppIVROverlay_IVROverlay_014_HideOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_014_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_014_IsOverlayVisible( struct cppIVROverlay_IVROverlay_014_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +void cppIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (vr::HmdVector2_t)params->coordinatesInOverlay, (vr::HmdMatrix34_t *)params->pmatTransform); } -bool cppIVROverlay_IVROverlay_014_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_106 *pEvent, uint32_t uncbVREvent) +void cppIVROverlay_IVROverlay_014_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_014_PollNextOverlayEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_106_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_106_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_106_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_106_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_014_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_014_GetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_014_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_014_SetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_014_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_014_GetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_014_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_014_SetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_014_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_014_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_014_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +void cppIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex); } -bool cppIVROverlay_IVROverlay_014_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_014_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_014_IsHoverTargetOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_014_GetGamepadFocusOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_014_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_014_GetGamepadFocusOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetGamepadFocusOverlay(); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) +void cppIVROverlay_IVROverlay_014_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_014_SetGamepadFocusOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)params->ulNewFocusOverlay); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +void cppIVROverlay_IVROverlay_014_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_014_SetOverlayNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom, (vr::VROverlayHandle_t)params->ulTo); } -EVROverlayError cppIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +void cppIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +void cppIVROverlay_IVROverlay_014_SetOverlayTexture( struct cppIVROverlay_IVROverlay_014_SetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::Texture_t *)params->pTexture); } -EVROverlayError cppIVROverlay_IVROverlay_014_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_014_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_014_ClearOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +void cppIVROverlay_IVROverlay_014_SetOverlayRaw( struct cppIVROverlay_IVROverlay_014_SetOverlayRaw_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unDepth); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_014_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_014_SetOverlayFromFile_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +void cppIVROverlay_IVROverlay_014_GetOverlayTexture( struct cppIVROverlay_IVROverlay_014_GetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (void **)params->pNativeTextureHandle, (void *)params->pNativeTextureRef, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight, (uint32_t *)params->pNativeFormat, (vr::ETextureType *)params->pAPIType, (vr::EColorSpace *)params->pColorSpace, (vr::VRTextureBounds_t *)params->pTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +void cppIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pNativeTextureHandle); } -EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +void cppIVROverlay_IVROverlay_014_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_014_GetOverlayTextureSize_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight); } -EVROverlayError cppIVROverlay_IVROverlay_014_CreateDashboardOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +void cppIVROverlay_IVROverlay_014_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_014_CreateDashboardOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateDashboardOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pMainHandle, (vr::VROverlayHandle_t *)params->pThumbnailHandle); } -bool cppIVROverlay_IVROverlay_014_IsDashboardVisible(void *linux_side) +void cppIVROverlay_IVROverlay_014_IsDashboardVisible( struct cppIVROverlay_IVROverlay_014_IsDashboardVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsDashboardVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsDashboardVisible(); } -bool cppIVROverlay_IVROverlay_014_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_014_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_014_IsActiveDashboardOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -EVROverlayError cppIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } -void cppIVROverlay_IVROverlay_014_ShowDashboard(void *linux_side, const char *pchOverlayToShow) +void cppIVROverlay_IVROverlay_014_ShowDashboard( struct cppIVROverlay_IVROverlay_014_ShowDashboard_params *params ) { - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); + ((IVROverlay*)params->linux_side)->ShowDashboard((const char *)params->pchOverlayToShow); } -TrackedDeviceIndex_t cppIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice(void *linux_side) +void cppIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetPrimaryDashboardDevice(); } -EVROverlayError cppIVROverlay_IVROverlay_014_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_014_ShowKeyboard( struct cppIVROverlay_IVROverlay_014_ShowKeyboard_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -EVROverlayError cppIVROverlay_IVROverlay_014_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_014_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_014_ShowKeyboardForOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -uint32_t cppIVROverlay_IVROverlay_014_GetKeyboardText(void *linux_side, char *pchText, uint32_t cchText) +void cppIVROverlay_IVROverlay_014_GetKeyboardText( struct cppIVROverlay_IVROverlay_014_GetKeyboardText_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetKeyboardText((char *)params->pchText, (uint32_t)params->cchText); } -void cppIVROverlay_IVROverlay_014_HideKeyboard(void *linux_side) +void cppIVROverlay_IVROverlay_014_HideKeyboard( struct cppIVROverlay_IVROverlay_014_HideKeyboard_params *params ) { - ((IVROverlay*)linux_side)->HideKeyboard(); + ((IVROverlay*)params->linux_side)->HideKeyboard(); } -void cppIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void cppIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); + ((IVROverlay*)params->linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToKeyboardTransform); } -void cppIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void cppIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); + ((IVROverlay*)params->linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdRect2_t)params->avoidRect); } -EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +void cppIVROverlay_IVROverlay_014_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_014_SetOverlayIntersectionMask_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)params->pMaskPrimitives, (uint32_t)params->unNumMaskPrimitives, (uint32_t)params->unPrimitiveSize); } -EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +void cppIVROverlay_IVROverlay_014_GetOverlayFlags( struct cppIVROverlay_IVROverlay_014_GetOverlayFlags_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pFlags); } -VRMessageOverlayResponse cppIVROverlay_IVROverlay_014_ShowMessageOverlay(void *linux_side, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +void cppIVROverlay_IVROverlay_014_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_014_ShowMessageOverlay_params *params ) { - VRMessageOverlayResponse _ret; - _ret = ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowMessageOverlay((const char *)params->pchText, (const char *)params->pchCaption, (const char *)params->pchButton0Text, (const char *)params->pchButton1Text, (const char *)params->pchButton2Text, (const char *)params->pchButton3Text); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.h index bbcca012..6a88c253 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.h @@ -1,81 +1,713 @@ #ifdef __cplusplus extern "C" { #endif -extern EVROverlayError cppIVROverlay_IVROverlay_014_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_DestroyOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_014_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_014_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_014_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_014_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_014_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_014_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_106 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_014_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern bool cppIVROverlay_IVROverlay_014_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_014_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTexture(void *, VROverlayHandle_t, const Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_014_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_014_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_014_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_014_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_014_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_014_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); +struct cppIVROverlay_IVROverlay_014_FindOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_014_FindOverlay( struct cppIVROverlay_IVROverlay_014_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_014_CreateOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_014_CreateOverlay( struct cppIVROverlay_IVROverlay_014_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_014_DestroyOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_014_DestroyOverlay( struct cppIVROverlay_IVROverlay_014_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetHighQualityOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_014_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_014_SetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetHighQualityOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_014_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_014_GetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlayKey( struct cppIVROverlay_IVROverlay_014_GetOverlayKey_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlayName( struct cppIVROverlay_IVROverlay_014_GetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlayImageData_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlayImageData( struct cppIVROverlay_IVROverlay_014_GetOverlayImageData_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetOverlayRenderingPid_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unPID; +}; +extern void cppIVROverlay_IVROverlay_014_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_014_SetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_014_GetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_014_SetOverlayFlag( struct cppIVROverlay_IVROverlay_014_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlayFlag( struct cppIVROverlay_IVROverlay_014_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; +extern void cppIVROverlay_IVROverlay_014_SetOverlayColor( struct cppIVROverlay_IVROverlay_014_SetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlayColor( struct cppIVROverlay_IVROverlay_014_GetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_014_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_014_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_014_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_014_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_014_SetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_014_GetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unSortOrder; +}; +extern void cppIVROverlay_IVROverlay_014_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_014_SetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punSortOrder; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_014_GetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_014_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_014_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_014_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace eTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace *peTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_014_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_014_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_014_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlayTransformType_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_014_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchComponentName; +}; +extern void cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_014_ShowOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_014_ShowOverlay( struct cppIVROverlay_IVROverlay_014_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_014_HideOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_014_HideOverlay( struct cppIVROverlay_IVROverlay_014_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_014_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_014_IsOverlayVisible( struct cppIVROverlay_IVROverlay_014_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; +extern void cppIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates_params *params ); + +struct cppIVROverlay_IVROverlay_014_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + winVREvent_t_106 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVROverlay_IVROverlay_014_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_014_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_014_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_014_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_014_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_014_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_014_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_014_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_014_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_014_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_014_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unControllerDeviceIndex; +}; +extern void cppIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse_params *params ); + +struct cppIVROverlay_IVROverlay_014_IsHoverTargetOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_014_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_014_IsHoverTargetOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetGamepadFocusOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_014_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_014_GetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetGamepadFocusOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulNewFocusOverlay; +}; +extern void cppIVROverlay_IVROverlay_014_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_014_SetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetOverlayNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; + VROverlayHandle_t ulTo; +}; +extern void cppIVROverlay_IVROverlay_014_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_014_SetOverlayNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; +}; +extern void cppIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const Texture_t *pTexture; +}; +extern void cppIVROverlay_IVROverlay_014_SetOverlayTexture( struct cppIVROverlay_IVROverlay_014_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_014_ClearOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_014_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_014_ClearOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetOverlayRaw_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; +extern void cppIVROverlay_IVROverlay_014_SetOverlayRaw( struct cppIVROverlay_IVROverlay_014_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetOverlayFromFile_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_014_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_014_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + ETextureType *pAPIType; + EColorSpace *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlayTexture( struct cppIVROverlay_IVROverlay_014_GetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pNativeTextureHandle; +}; +extern void cppIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlayTextureSize_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_014_GetOverlayTextureSize_params *params ); + +struct cppIVROverlay_IVROverlay_014_CreateDashboardOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pMainHandle; + VROverlayHandle_t *pThumbnailHandle; +}; +extern void cppIVROverlay_IVROverlay_014_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_014_CreateDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_014_IsDashboardVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_014_IsDashboardVisible( struct cppIVROverlay_IVROverlay_014_IsDashboardVisible_params *params ); + +struct cppIVROverlay_IVROverlay_014_IsActiveDashboardOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_014_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_014_IsActiveDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_014_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; +extern void cppIVROverlay_IVROverlay_014_ShowDashboard( struct cppIVROverlay_IVROverlay_014_ShowDashboard_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; +}; +extern void cppIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice_params *params ); + +struct cppIVROverlay_IVROverlay_014_ShowKeyboard_params +{ + void *linux_side; + EVROverlayError _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_014_ShowKeyboard( struct cppIVROverlay_IVROverlay_014_ShowKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_014_ShowKeyboardForOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_014_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_014_ShowKeyboardForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; +extern void cppIVROverlay_IVROverlay_014_GetKeyboardText( struct cppIVROverlay_IVROverlay_014_GetKeyboardText_params *params ); + +struct cppIVROverlay_IVROverlay_014_HideKeyboard_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_014_HideKeyboard( struct cppIVROverlay_IVROverlay_014_HideKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; +extern void cppIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + VROverlayHandle_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; +extern void cppIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_014_SetOverlayIntersectionMask_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; +extern void cppIVROverlay_IVROverlay_014_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_014_SetOverlayIntersectionMask_params *params ); + +struct cppIVROverlay_IVROverlay_014_GetOverlayFlags_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pFlags; +}; +extern void cppIVROverlay_IVROverlay_014_GetOverlayFlags( struct cppIVROverlay_IVROverlay_014_GetOverlayFlags_params *params ); + +struct cppIVROverlay_IVROverlay_014_ShowMessageOverlay_params +{ + void *linux_side; + VRMessageOverlayResponse _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; +extern void cppIVROverlay_IVROverlay_014_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_014_ShowMessageOverlay_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.cpp index e8d4b371..e5c0b965 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.cpp @@ -9,567 +9,415 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVROverlayError cppIVROverlay_IVROverlay_016_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_016_FindOverlay( struct cppIVROverlay_IVROverlay_016_FindOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_016_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_016_CreateOverlay( struct cppIVROverlay_IVROverlay_016_CreateOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_016_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_016_DestroyOverlay( struct cppIVROverlay_IVROverlay_016_DestroyOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_016_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_016_SetHighQualityOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_016_GetHighQualityOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_016_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_016_GetHighQualityOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetHighQualityOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetHighQualityOverlay(); } -uint32_t cppIVROverlay_IVROverlay_016_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_016_GetOverlayKey( struct cppIVROverlay_IVROverlay_016_GetOverlayKey_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayKey((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -uint32_t cppIVROverlay_IVROverlay_016_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_016_GetOverlayName( struct cppIVROverlay_IVROverlay_016_GetOverlayName_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchName) +void cppIVROverlay_IVROverlay_016_SetOverlayName( struct cppIVROverlay_IVROverlay_016_SetOverlayName_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchName); } -EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +void cppIVROverlay_IVROverlay_016_GetOverlayImageData( struct cppIVROverlay_IVROverlay_016_GetOverlayImageData_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unBufferSize, (uint32_t *)params->punWidth, (uint32_t *)params->punHeight); } -const char * cppIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) +void cppIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)params->error); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +void cppIVROverlay_IVROverlay_016_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_016_SetOverlayRenderingPid_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unPID); } -uint32_t cppIVROverlay_IVROverlay_016_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_016_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_016_GetOverlayRenderingPid_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_016_SetOverlayFlag( struct cppIVROverlay_IVROverlay_016_SetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_016_GetOverlayFlag( struct cppIVROverlay_IVROverlay_016_GetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void cppIVROverlay_IVROverlay_016_SetOverlayColor( struct cppIVROverlay_IVROverlay_016_SetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRed, (float)params->fGreen, (float)params->fBlue); } -EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +void cppIVROverlay_IVROverlay_016_GetOverlayColor( struct cppIVROverlay_IVROverlay_016_GetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRed, (float *)params->pfGreen, (float *)params->pfBlue); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_016_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_016_SetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_016_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_016_GetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +void cppIVROverlay_IVROverlay_016_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_016_SetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +void cppIVROverlay_IVROverlay_016_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_016_GetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +void cppIVROverlay_IVROverlay_016_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_016_SetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +void cppIVROverlay_IVROverlay_016_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_016_GetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_016_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_016_SetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_016_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_016_GetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fMinDistanceInMeters, (float)params->fMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfMinDistanceInMeters, (float *)params->pfMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +void cppIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace)params->eTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +void cppIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace *)params->peTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_016_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_016_SetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_016_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_016_GetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -uint32_t cppIVROverlay_IVROverlay_016_GetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_016_GetOverlayRenderModel( struct cppIVROverlay_IVROverlay_016_GetOverlayRenderModel_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::HmdColor_t *)pColor, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::HmdColor_t *)params->pColor, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) +void cppIVROverlay_IVROverlay_016_SetOverlayRenderModel( struct cppIVROverlay_IVROverlay_016_SetOverlayRenderModel_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchRenderModel, (const vr::HmdColor_t *)pColor); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchRenderModel, (const vr::HmdColor_t *)params->pColor); } -EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_016_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_016_GetOverlayTransformType_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +void cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchComponentName); } -EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +void cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punDeviceIndex, (char *)params->pchComponentName, (uint32_t)params->unComponentNameSize); } -EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +void cppIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t *)ulOverlayHandleParent, (vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t *)params->ulOverlayHandleParent, (vr::HmdMatrix34_t *)params->pmatParentOverlayToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +void cppIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulOverlayHandleParent, (const vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t)params->ulOverlayHandleParent, (const vr::HmdMatrix34_t *)params->pmatParentOverlayToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_016_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_016_ShowOverlay( struct cppIVROverlay_IVROverlay_016_ShowOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_016_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_016_HideOverlay( struct cppIVROverlay_IVROverlay_016_HideOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_016_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_016_IsOverlayVisible( struct cppIVROverlay_IVROverlay_016_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +void cppIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (vr::HmdVector2_t)params->coordinatesInOverlay, (vr::HmdMatrix34_t *)params->pmatTransform); } -bool cppIVROverlay_IVROverlay_016_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1010 *pEvent, uint32_t uncbVREvent) +void cppIVROverlay_IVROverlay_016_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_016_PollNextOverlayEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_1010_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_1010_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_1010_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_1010_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_016_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_016_GetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_016_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_016_SetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_016_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_016_GetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_016_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_016_SetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_016_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_016_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_016_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +void cppIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex); } -bool cppIVROverlay_IVROverlay_016_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_016_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_016_IsHoverTargetOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_016_GetGamepadFocusOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_016_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_016_GetGamepadFocusOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetGamepadFocusOverlay(); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) +void cppIVROverlay_IVROverlay_016_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_016_SetGamepadFocusOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)params->ulNewFocusOverlay); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +void cppIVROverlay_IVROverlay_016_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_016_SetOverlayNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom, (vr::VROverlayHandle_t)params->ulTo); } -EVROverlayError cppIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +void cppIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +void cppIVROverlay_IVROverlay_016_SetOverlayTexture( struct cppIVROverlay_IVROverlay_016_SetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::Texture_t *)params->pTexture); } -EVROverlayError cppIVROverlay_IVROverlay_016_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_016_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_016_ClearOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +void cppIVROverlay_IVROverlay_016_SetOverlayRaw( struct cppIVROverlay_IVROverlay_016_SetOverlayRaw_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unDepth); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_016_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_016_SetOverlayFromFile_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +void cppIVROverlay_IVROverlay_016_GetOverlayTexture( struct cppIVROverlay_IVROverlay_016_GetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (void **)params->pNativeTextureHandle, (void *)params->pNativeTextureRef, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight, (uint32_t *)params->pNativeFormat, (vr::ETextureType *)params->pAPIType, (vr::EColorSpace *)params->pColorSpace, (vr::VRTextureBounds_t *)params->pTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +void cppIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pNativeTextureHandle); } -EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +void cppIVROverlay_IVROverlay_016_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_016_GetOverlayTextureSize_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight); } -EVROverlayError cppIVROverlay_IVROverlay_016_CreateDashboardOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +void cppIVROverlay_IVROverlay_016_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_016_CreateDashboardOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateDashboardOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pMainHandle, (vr::VROverlayHandle_t *)params->pThumbnailHandle); } -bool cppIVROverlay_IVROverlay_016_IsDashboardVisible(void *linux_side) +void cppIVROverlay_IVROverlay_016_IsDashboardVisible( struct cppIVROverlay_IVROverlay_016_IsDashboardVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsDashboardVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsDashboardVisible(); } -bool cppIVROverlay_IVROverlay_016_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_016_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_016_IsActiveDashboardOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -EVROverlayError cppIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } -void cppIVROverlay_IVROverlay_016_ShowDashboard(void *linux_side, const char *pchOverlayToShow) +void cppIVROverlay_IVROverlay_016_ShowDashboard( struct cppIVROverlay_IVROverlay_016_ShowDashboard_params *params ) { - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); + ((IVROverlay*)params->linux_side)->ShowDashboard((const char *)params->pchOverlayToShow); } -TrackedDeviceIndex_t cppIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice(void *linux_side) +void cppIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetPrimaryDashboardDevice(); } -EVROverlayError cppIVROverlay_IVROverlay_016_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_016_ShowKeyboard( struct cppIVROverlay_IVROverlay_016_ShowKeyboard_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -EVROverlayError cppIVROverlay_IVROverlay_016_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_016_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_016_ShowKeyboardForOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -uint32_t cppIVROverlay_IVROverlay_016_GetKeyboardText(void *linux_side, char *pchText, uint32_t cchText) +void cppIVROverlay_IVROverlay_016_GetKeyboardText( struct cppIVROverlay_IVROverlay_016_GetKeyboardText_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetKeyboardText((char *)params->pchText, (uint32_t)params->cchText); } -void cppIVROverlay_IVROverlay_016_HideKeyboard(void *linux_side) +void cppIVROverlay_IVROverlay_016_HideKeyboard( struct cppIVROverlay_IVROverlay_016_HideKeyboard_params *params ) { - ((IVROverlay*)linux_side)->HideKeyboard(); + ((IVROverlay*)params->linux_side)->HideKeyboard(); } -void cppIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void cppIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); + ((IVROverlay*)params->linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToKeyboardTransform); } -void cppIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void cppIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); + ((IVROverlay*)params->linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdRect2_t)params->avoidRect); } -EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +void cppIVROverlay_IVROverlay_016_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_016_SetOverlayIntersectionMask_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)params->pMaskPrimitives, (uint32_t)params->unNumMaskPrimitives, (uint32_t)params->unPrimitiveSize); } -EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +void cppIVROverlay_IVROverlay_016_GetOverlayFlags( struct cppIVROverlay_IVROverlay_016_GetOverlayFlags_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pFlags); } -VRMessageOverlayResponse cppIVROverlay_IVROverlay_016_ShowMessageOverlay(void *linux_side, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +void cppIVROverlay_IVROverlay_016_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_016_ShowMessageOverlay_params *params ) { - VRMessageOverlayResponse _ret; - _ret = ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowMessageOverlay((const char *)params->pchText, (const char *)params->pchCaption, (const char *)params->pchButton0Text, (const char *)params->pchButton1Text, (const char *)params->pchButton2Text, (const char *)params->pchButton3Text); } -void cppIVROverlay_IVROverlay_016_CloseMessageOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_016_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_016_CloseMessageOverlay_params *params ) { - ((IVROverlay*)linux_side)->CloseMessageOverlay(); + ((IVROverlay*)params->linux_side)->CloseMessageOverlay(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.h index b9c636aa..9b32e798 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.h @@ -1,87 +1,770 @@ #ifdef __cplusplus extern "C" { #endif -extern EVROverlayError cppIVROverlay_IVROverlay_016_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_DestroyOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_016_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_016_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_016_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayName(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_016_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern uint32_t cppIVROverlay_IVROverlay_016_GetOverlayRenderModel(void *, VROverlayHandle_t, char *, uint32_t, HmdColor_t *, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayRenderModel(void *, VROverlayHandle_t, const char *, const HmdColor_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_016_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_016_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_1010 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_016_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern bool cppIVROverlay_IVROverlay_016_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_016_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTexture(void *, VROverlayHandle_t, const Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_016_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_016_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_016_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_016_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_016_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_016_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); -extern void cppIVROverlay_IVROverlay_016_CloseMessageOverlay(void *); +struct cppIVROverlay_IVROverlay_016_FindOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_016_FindOverlay( struct cppIVROverlay_IVROverlay_016_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_016_CreateOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_016_CreateOverlay( struct cppIVROverlay_IVROverlay_016_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_016_DestroyOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_016_DestroyOverlay( struct cppIVROverlay_IVROverlay_016_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetHighQualityOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_016_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_016_SetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetHighQualityOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_016_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_016_GetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayKey( struct cppIVROverlay_IVROverlay_016_GetOverlayKey_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayName( struct cppIVROverlay_IVROverlay_016_GetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlayName_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchName; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlayName( struct cppIVROverlay_IVROverlay_016_SetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayImageData_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayImageData( struct cppIVROverlay_IVROverlay_016_GetOverlayImageData_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlayRenderingPid_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unPID; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_016_SetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_016_GetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlayFlag( struct cppIVROverlay_IVROverlay_016_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayFlag( struct cppIVROverlay_IVROverlay_016_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlayColor( struct cppIVROverlay_IVROverlay_016_SetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayColor( struct cppIVROverlay_IVROverlay_016_GetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_016_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_016_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_016_SetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_016_GetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unSortOrder; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_016_SetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punSortOrder; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_016_GetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_016_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_016_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace eTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace *peTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_016_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_016_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayRenderModel_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + HmdColor_t *pColor; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayRenderModel( struct cppIVROverlay_IVROverlay_016_GetOverlayRenderModel_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlayRenderModel_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchRenderModel; + const HmdColor_t *pColor; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlayRenderModel( struct cppIVROverlay_IVROverlay_016_SetOverlayRenderModel_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayTransformType_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_016_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchComponentName; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t *ulOverlayHandleParent; + HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t ulOverlayHandleParent; + const HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative_params *params ); + +struct cppIVROverlay_IVROverlay_016_ShowOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_016_ShowOverlay( struct cppIVROverlay_IVROverlay_016_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_016_HideOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_016_HideOverlay( struct cppIVROverlay_IVROverlay_016_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_016_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_016_IsOverlayVisible( struct cppIVROverlay_IVROverlay_016_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; +extern void cppIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates_params *params ); + +struct cppIVROverlay_IVROverlay_016_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + winVREvent_t_1010 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVROverlay_IVROverlay_016_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_016_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_016_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_016_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_016_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_016_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_016_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_016_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_016_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unControllerDeviceIndex; +}; +extern void cppIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse_params *params ); + +struct cppIVROverlay_IVROverlay_016_IsHoverTargetOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_016_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_016_IsHoverTargetOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetGamepadFocusOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_016_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_016_GetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetGamepadFocusOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulNewFocusOverlay; +}; +extern void cppIVROverlay_IVROverlay_016_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_016_SetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlayNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; + VROverlayHandle_t ulTo; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_016_SetOverlayNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; +}; +extern void cppIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const Texture_t *pTexture; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlayTexture( struct cppIVROverlay_IVROverlay_016_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_016_ClearOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_016_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_016_ClearOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlayRaw_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlayRaw( struct cppIVROverlay_IVROverlay_016_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlayFromFile_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_016_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + ETextureType *pAPIType; + EColorSpace *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayTexture( struct cppIVROverlay_IVROverlay_016_GetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pNativeTextureHandle; +}; +extern void cppIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayTextureSize_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_016_GetOverlayTextureSize_params *params ); + +struct cppIVROverlay_IVROverlay_016_CreateDashboardOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pMainHandle; + VROverlayHandle_t *pThumbnailHandle; +}; +extern void cppIVROverlay_IVROverlay_016_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_016_CreateDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_016_IsDashboardVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_016_IsDashboardVisible( struct cppIVROverlay_IVROverlay_016_IsDashboardVisible_params *params ); + +struct cppIVROverlay_IVROverlay_016_IsActiveDashboardOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_016_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_016_IsActiveDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_016_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; +extern void cppIVROverlay_IVROverlay_016_ShowDashboard( struct cppIVROverlay_IVROverlay_016_ShowDashboard_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; +}; +extern void cppIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice_params *params ); + +struct cppIVROverlay_IVROverlay_016_ShowKeyboard_params +{ + void *linux_side; + EVROverlayError _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_016_ShowKeyboard( struct cppIVROverlay_IVROverlay_016_ShowKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_016_ShowKeyboardForOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_016_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_016_ShowKeyboardForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; +extern void cppIVROverlay_IVROverlay_016_GetKeyboardText( struct cppIVROverlay_IVROverlay_016_GetKeyboardText_params *params ); + +struct cppIVROverlay_IVROverlay_016_HideKeyboard_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_016_HideKeyboard( struct cppIVROverlay_IVROverlay_016_HideKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; +extern void cppIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + VROverlayHandle_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; +extern void cppIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_016_SetOverlayIntersectionMask_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; +extern void cppIVROverlay_IVROverlay_016_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_016_SetOverlayIntersectionMask_params *params ); + +struct cppIVROverlay_IVROverlay_016_GetOverlayFlags_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pFlags; +}; +extern void cppIVROverlay_IVROverlay_016_GetOverlayFlags( struct cppIVROverlay_IVROverlay_016_GetOverlayFlags_params *params ); + +struct cppIVROverlay_IVROverlay_016_ShowMessageOverlay_params +{ + void *linux_side; + VRMessageOverlayResponse _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; +extern void cppIVROverlay_IVROverlay_016_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_016_ShowMessageOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_016_CloseMessageOverlay_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_016_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_016_CloseMessageOverlay_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.cpp index 3071633b..d9a488e0 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.cpp @@ -9,581 +9,425 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVROverlayError cppIVROverlay_IVROverlay_017_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_017_FindOverlay( struct cppIVROverlay_IVROverlay_017_FindOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_017_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_017_CreateOverlay( struct cppIVROverlay_IVROverlay_017_CreateOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_017_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_017_DestroyOverlay( struct cppIVROverlay_IVROverlay_017_DestroyOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_017_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_017_SetHighQualityOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_017_GetHighQualityOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_017_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_017_GetHighQualityOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetHighQualityOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetHighQualityOverlay(); } -uint32_t cppIVROverlay_IVROverlay_017_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_017_GetOverlayKey( struct cppIVROverlay_IVROverlay_017_GetOverlayKey_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayKey((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -uint32_t cppIVROverlay_IVROverlay_017_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_017_GetOverlayName( struct cppIVROverlay_IVROverlay_017_GetOverlayName_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchName) +void cppIVROverlay_IVROverlay_017_SetOverlayName( struct cppIVROverlay_IVROverlay_017_SetOverlayName_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchName); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +void cppIVROverlay_IVROverlay_017_GetOverlayImageData( struct cppIVROverlay_IVROverlay_017_GetOverlayImageData_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unBufferSize, (uint32_t *)params->punWidth, (uint32_t *)params->punHeight); } -const char * cppIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) +void cppIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)params->error); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +void cppIVROverlay_IVROverlay_017_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_017_SetOverlayRenderingPid_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unPID); } -uint32_t cppIVROverlay_IVROverlay_017_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_017_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_017_GetOverlayRenderingPid_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_017_SetOverlayFlag( struct cppIVROverlay_IVROverlay_017_SetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_017_GetOverlayFlag( struct cppIVROverlay_IVROverlay_017_GetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void cppIVROverlay_IVROverlay_017_SetOverlayColor( struct cppIVROverlay_IVROverlay_017_SetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRed, (float)params->fGreen, (float)params->fBlue); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +void cppIVROverlay_IVROverlay_017_GetOverlayColor( struct cppIVROverlay_IVROverlay_017_GetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRed, (float *)params->pfGreen, (float *)params->pfBlue); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_017_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_017_SetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_017_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_017_GetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +void cppIVROverlay_IVROverlay_017_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_017_SetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +void cppIVROverlay_IVROverlay_017_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_017_GetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +void cppIVROverlay_IVROverlay_017_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_017_SetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +void cppIVROverlay_IVROverlay_017_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_017_GetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_017_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_017_SetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_017_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_017_GetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fMinDistanceInMeters, (float)params->fMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfMinDistanceInMeters, (float *)params->pfMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +void cppIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace)params->eTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +void cppIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace *)params->peTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_017_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_017_SetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_017_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_017_GetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -uint32_t cppIVROverlay_IVROverlay_017_GetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_017_GetOverlayRenderModel( struct cppIVROverlay_IVROverlay_017_GetOverlayRenderModel_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::HmdColor_t *)pColor, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::HmdColor_t *)params->pColor, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) +void cppIVROverlay_IVROverlay_017_SetOverlayRenderModel( struct cppIVROverlay_IVROverlay_017_SetOverlayRenderModel_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchRenderModel, (const vr::HmdColor_t *)pColor); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchRenderModel, (const vr::HmdColor_t *)params->pColor); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_017_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_017_GetOverlayTransformType_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +void cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchComponentName); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +void cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punDeviceIndex, (char *)params->pchComponentName, (uint32_t)params->unComponentNameSize); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +void cppIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t *)ulOverlayHandleParent, (vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t *)params->ulOverlayHandleParent, (vr::HmdMatrix34_t *)params->pmatParentOverlayToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +void cppIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulOverlayHandleParent, (const vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t)params->ulOverlayHandleParent, (const vr::HmdMatrix34_t *)params->pmatParentOverlayToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_017_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_017_ShowOverlay( struct cppIVROverlay_IVROverlay_017_ShowOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_017_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_017_HideOverlay( struct cppIVROverlay_IVROverlay_017_HideOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_017_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_017_IsOverlayVisible( struct cppIVROverlay_IVROverlay_017_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +void cppIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (vr::HmdVector2_t)params->coordinatesInOverlay, (vr::HmdMatrix34_t *)params->pmatTransform); } -bool cppIVROverlay_IVROverlay_017_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1011 *pEvent, uint32_t uncbVREvent) +void cppIVROverlay_IVROverlay_017_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_017_PollNextOverlayEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_1011_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_1011_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_1011_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_1011_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_017_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_017_GetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_017_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_017_SetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_017_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_017_GetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_017_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_017_SetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_017_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_017_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_017_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +void cppIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex); } -bool cppIVROverlay_IVROverlay_017_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_017_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_017_IsHoverTargetOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_017_GetGamepadFocusOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_017_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_017_GetGamepadFocusOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetGamepadFocusOverlay(); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) +void cppIVROverlay_IVROverlay_017_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_017_SetGamepadFocusOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)params->ulNewFocusOverlay); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +void cppIVROverlay_IVROverlay_017_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_017_SetOverlayNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom, (vr::VROverlayHandle_t)params->ulTo); } -EVROverlayError cppIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +void cppIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *vCenter, float fRadius) +void cppIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, *vCenter, (float)fRadius); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayDualAnalogTransform((vr::VROverlayHandle_t)params->ulOverlay, (vr::EDualAnalogWhich)params->eWhich, *params->vCenter, (float)params->fRadius); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) +void cppIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, (vr::HmdVector2_t *)pvCenter, (float *)pfRadius); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayDualAnalogTransform((vr::VROverlayHandle_t)params->ulOverlay, (vr::EDualAnalogWhich)params->eWhich, (vr::HmdVector2_t *)params->pvCenter, (float *)params->pfRadius); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +void cppIVROverlay_IVROverlay_017_SetOverlayTexture( struct cppIVROverlay_IVROverlay_017_SetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::Texture_t *)params->pTexture); } -EVROverlayError cppIVROverlay_IVROverlay_017_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_017_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_017_ClearOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +void cppIVROverlay_IVROverlay_017_SetOverlayRaw( struct cppIVROverlay_IVROverlay_017_SetOverlayRaw_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unDepth); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_017_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_017_SetOverlayFromFile_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +void cppIVROverlay_IVROverlay_017_GetOverlayTexture( struct cppIVROverlay_IVROverlay_017_GetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (void **)params->pNativeTextureHandle, (void *)params->pNativeTextureRef, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight, (uint32_t *)params->pNativeFormat, (vr::ETextureType *)params->pAPIType, (vr::EColorSpace *)params->pColorSpace, (vr::VRTextureBounds_t *)params->pTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +void cppIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pNativeTextureHandle); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +void cppIVROverlay_IVROverlay_017_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_017_GetOverlayTextureSize_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight); } -EVROverlayError cppIVROverlay_IVROverlay_017_CreateDashboardOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +void cppIVROverlay_IVROverlay_017_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_017_CreateDashboardOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateDashboardOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pMainHandle, (vr::VROverlayHandle_t *)params->pThumbnailHandle); } -bool cppIVROverlay_IVROverlay_017_IsDashboardVisible(void *linux_side) +void cppIVROverlay_IVROverlay_017_IsDashboardVisible( struct cppIVROverlay_IVROverlay_017_IsDashboardVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsDashboardVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsDashboardVisible(); } -bool cppIVROverlay_IVROverlay_017_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_017_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_017_IsActiveDashboardOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } -void cppIVROverlay_IVROverlay_017_ShowDashboard(void *linux_side, const char *pchOverlayToShow) +void cppIVROverlay_IVROverlay_017_ShowDashboard( struct cppIVROverlay_IVROverlay_017_ShowDashboard_params *params ) { - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); + ((IVROverlay*)params->linux_side)->ShowDashboard((const char *)params->pchOverlayToShow); } -TrackedDeviceIndex_t cppIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice(void *linux_side) +void cppIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetPrimaryDashboardDevice(); } -EVROverlayError cppIVROverlay_IVROverlay_017_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_017_ShowKeyboard( struct cppIVROverlay_IVROverlay_017_ShowKeyboard_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -EVROverlayError cppIVROverlay_IVROverlay_017_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_017_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_017_ShowKeyboardForOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -uint32_t cppIVROverlay_IVROverlay_017_GetKeyboardText(void *linux_side, char *pchText, uint32_t cchText) +void cppIVROverlay_IVROverlay_017_GetKeyboardText( struct cppIVROverlay_IVROverlay_017_GetKeyboardText_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetKeyboardText((char *)params->pchText, (uint32_t)params->cchText); } -void cppIVROverlay_IVROverlay_017_HideKeyboard(void *linux_side) +void cppIVROverlay_IVROverlay_017_HideKeyboard( struct cppIVROverlay_IVROverlay_017_HideKeyboard_params *params ) { - ((IVROverlay*)linux_side)->HideKeyboard(); + ((IVROverlay*)params->linux_side)->HideKeyboard(); } -void cppIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void cppIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); + ((IVROverlay*)params->linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToKeyboardTransform); } -void cppIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void cppIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); + ((IVROverlay*)params->linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdRect2_t)params->avoidRect); } -EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +void cppIVROverlay_IVROverlay_017_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_017_SetOverlayIntersectionMask_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)params->pMaskPrimitives, (uint32_t)params->unNumMaskPrimitives, (uint32_t)params->unPrimitiveSize); } -EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +void cppIVROverlay_IVROverlay_017_GetOverlayFlags( struct cppIVROverlay_IVROverlay_017_GetOverlayFlags_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pFlags); } -VRMessageOverlayResponse cppIVROverlay_IVROverlay_017_ShowMessageOverlay(void *linux_side, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +void cppIVROverlay_IVROverlay_017_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_017_ShowMessageOverlay_params *params ) { - VRMessageOverlayResponse _ret; - _ret = ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowMessageOverlay((const char *)params->pchText, (const char *)params->pchCaption, (const char *)params->pchButton0Text, (const char *)params->pchButton1Text, (const char *)params->pchButton2Text, (const char *)params->pchButton3Text); } -void cppIVROverlay_IVROverlay_017_CloseMessageOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_017_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_017_CloseMessageOverlay_params *params ) { - ((IVROverlay*)linux_side)->CloseMessageOverlay(); + ((IVROverlay*)params->linux_side)->CloseMessageOverlay(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.h index d3651d26..b1455885 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.h @@ -1,89 +1,792 @@ #ifdef __cplusplus extern "C" { #endif -extern EVROverlayError cppIVROverlay_IVROverlay_017_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_DestroyOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_017_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_017_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_017_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayName(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_017_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern uint32_t cppIVROverlay_IVROverlay_017_GetOverlayRenderModel(void *, VROverlayHandle_t, char *, uint32_t, HmdColor_t *, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayRenderModel(void *, VROverlayHandle_t, const char *, const HmdColor_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_017_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_017_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_1011 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_017_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern bool cppIVROverlay_IVROverlay_017_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_017_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, const HmdVector2_t *, float); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, HmdVector2_t *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTexture(void *, VROverlayHandle_t, const Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_017_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_017_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_017_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_017_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_017_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_017_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); -extern void cppIVROverlay_IVROverlay_017_CloseMessageOverlay(void *); +struct cppIVROverlay_IVROverlay_017_FindOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_017_FindOverlay( struct cppIVROverlay_IVROverlay_017_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_017_CreateOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_017_CreateOverlay( struct cppIVROverlay_IVROverlay_017_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_017_DestroyOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_017_DestroyOverlay( struct cppIVROverlay_IVROverlay_017_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetHighQualityOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_017_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_017_SetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetHighQualityOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_017_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_017_GetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayKey( struct cppIVROverlay_IVROverlay_017_GetOverlayKey_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayName( struct cppIVROverlay_IVROverlay_017_GetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayName_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchName; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayName( struct cppIVROverlay_IVROverlay_017_SetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayImageData_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayImageData( struct cppIVROverlay_IVROverlay_017_GetOverlayImageData_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayRenderingPid_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unPID; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_017_SetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_017_GetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayFlag( struct cppIVROverlay_IVROverlay_017_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayFlag( struct cppIVROverlay_IVROverlay_017_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayColor( struct cppIVROverlay_IVROverlay_017_SetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayColor( struct cppIVROverlay_IVROverlay_017_GetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_017_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_017_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_017_SetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_017_GetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unSortOrder; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_017_SetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punSortOrder; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_017_GetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_017_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_017_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace eTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace *peTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_017_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_017_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayRenderModel_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + HmdColor_t *pColor; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayRenderModel( struct cppIVROverlay_IVROverlay_017_GetOverlayRenderModel_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayRenderModel_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchRenderModel; + const HmdColor_t *pColor; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayRenderModel( struct cppIVROverlay_IVROverlay_017_SetOverlayRenderModel_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayTransformType_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_017_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchComponentName; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t *ulOverlayHandleParent; + HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t ulOverlayHandleParent; + const HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative_params *params ); + +struct cppIVROverlay_IVROverlay_017_ShowOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_017_ShowOverlay( struct cppIVROverlay_IVROverlay_017_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_017_HideOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_017_HideOverlay( struct cppIVROverlay_IVROverlay_017_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_017_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_017_IsOverlayVisible( struct cppIVROverlay_IVROverlay_017_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; +extern void cppIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates_params *params ); + +struct cppIVROverlay_IVROverlay_017_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + winVREvent_t_1011 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVROverlay_IVROverlay_017_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_017_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_017_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_017_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_017_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_017_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_017_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_017_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_017_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unControllerDeviceIndex; +}; +extern void cppIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse( struct cppIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse_params *params ); + +struct cppIVROverlay_IVROverlay_017_IsHoverTargetOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_017_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_017_IsHoverTargetOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetGamepadFocusOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_017_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_017_GetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetGamepadFocusOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulNewFocusOverlay; +}; +extern void cppIVROverlay_IVROverlay_017_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_017_SetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; + VROverlayHandle_t ulTo; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_017_SetOverlayNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; +}; +extern void cppIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlay; + EDualAnalogWhich eWhich; + const HmdVector2_t *vCenter; + float fRadius; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlay; + EDualAnalogWhich eWhich; + HmdVector2_t *pvCenter; + float *pfRadius; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const Texture_t *pTexture; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayTexture( struct cppIVROverlay_IVROverlay_017_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_017_ClearOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_017_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_017_ClearOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayRaw_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayRaw( struct cppIVROverlay_IVROverlay_017_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayFromFile_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_017_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + ETextureType *pAPIType; + EColorSpace *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayTexture( struct cppIVROverlay_IVROverlay_017_GetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pNativeTextureHandle; +}; +extern void cppIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayTextureSize_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_017_GetOverlayTextureSize_params *params ); + +struct cppIVROverlay_IVROverlay_017_CreateDashboardOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pMainHandle; + VROverlayHandle_t *pThumbnailHandle; +}; +extern void cppIVROverlay_IVROverlay_017_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_017_CreateDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_017_IsDashboardVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_017_IsDashboardVisible( struct cppIVROverlay_IVROverlay_017_IsDashboardVisible_params *params ); + +struct cppIVROverlay_IVROverlay_017_IsActiveDashboardOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_017_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_017_IsActiveDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_017_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; +extern void cppIVROverlay_IVROverlay_017_ShowDashboard( struct cppIVROverlay_IVROverlay_017_ShowDashboard_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; +}; +extern void cppIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice_params *params ); + +struct cppIVROverlay_IVROverlay_017_ShowKeyboard_params +{ + void *linux_side; + EVROverlayError _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_017_ShowKeyboard( struct cppIVROverlay_IVROverlay_017_ShowKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_017_ShowKeyboardForOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_017_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_017_ShowKeyboardForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; +extern void cppIVROverlay_IVROverlay_017_GetKeyboardText( struct cppIVROverlay_IVROverlay_017_GetKeyboardText_params *params ); + +struct cppIVROverlay_IVROverlay_017_HideKeyboard_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_017_HideKeyboard( struct cppIVROverlay_IVROverlay_017_HideKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; +extern void cppIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + VROverlayHandle_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; +extern void cppIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_017_SetOverlayIntersectionMask_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; +extern void cppIVROverlay_IVROverlay_017_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_017_SetOverlayIntersectionMask_params *params ); + +struct cppIVROverlay_IVROverlay_017_GetOverlayFlags_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pFlags; +}; +extern void cppIVROverlay_IVROverlay_017_GetOverlayFlags( struct cppIVROverlay_IVROverlay_017_GetOverlayFlags_params *params ); + +struct cppIVROverlay_IVROverlay_017_ShowMessageOverlay_params +{ + void *linux_side; + VRMessageOverlayResponse _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; +extern void cppIVROverlay_IVROverlay_017_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_017_ShowMessageOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_017_CloseMessageOverlay_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_017_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_017_CloseMessageOverlay_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.cpp index 6f45c502..13c3fd22 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.cpp @@ -9,574 +9,420 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVROverlayError cppIVROverlay_IVROverlay_018_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_018_FindOverlay( struct cppIVROverlay_IVROverlay_018_FindOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_018_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_018_CreateOverlay( struct cppIVROverlay_IVROverlay_018_CreateOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_018_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_018_DestroyOverlay( struct cppIVROverlay_IVROverlay_018_DestroyOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_018_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_018_SetHighQualityOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_018_GetHighQualityOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_018_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_018_GetHighQualityOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetHighQualityOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetHighQualityOverlay(); } -uint32_t cppIVROverlay_IVROverlay_018_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_018_GetOverlayKey( struct cppIVROverlay_IVROverlay_018_GetOverlayKey_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayKey((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -uint32_t cppIVROverlay_IVROverlay_018_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_018_GetOverlayName( struct cppIVROverlay_IVROverlay_018_GetOverlayName_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchName) +void cppIVROverlay_IVROverlay_018_SetOverlayName( struct cppIVROverlay_IVROverlay_018_SetOverlayName_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchName); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +void cppIVROverlay_IVROverlay_018_GetOverlayImageData( struct cppIVROverlay_IVROverlay_018_GetOverlayImageData_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unBufferSize, (uint32_t *)params->punWidth, (uint32_t *)params->punHeight); } -const char * cppIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) +void cppIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)params->error); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +void cppIVROverlay_IVROverlay_018_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_018_SetOverlayRenderingPid_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unPID); } -uint32_t cppIVROverlay_IVROverlay_018_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_018_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_018_GetOverlayRenderingPid_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_018_SetOverlayFlag( struct cppIVROverlay_IVROverlay_018_SetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_018_GetOverlayFlag( struct cppIVROverlay_IVROverlay_018_GetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void cppIVROverlay_IVROverlay_018_SetOverlayColor( struct cppIVROverlay_IVROverlay_018_SetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRed, (float)params->fGreen, (float)params->fBlue); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +void cppIVROverlay_IVROverlay_018_GetOverlayColor( struct cppIVROverlay_IVROverlay_018_GetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRed, (float *)params->pfGreen, (float *)params->pfBlue); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_018_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_018_SetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_018_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_018_GetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +void cppIVROverlay_IVROverlay_018_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_018_SetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +void cppIVROverlay_IVROverlay_018_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_018_GetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +void cppIVROverlay_IVROverlay_018_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_018_SetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +void cppIVROverlay_IVROverlay_018_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_018_GetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_018_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_018_SetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_018_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_018_GetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fMinDistanceInMeters, (float)params->fMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfMinDistanceInMeters, (float *)params->pfMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +void cppIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace)params->eTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +void cppIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace *)params->peTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_018_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_018_SetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_018_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_018_GetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -uint32_t cppIVROverlay_IVROverlay_018_GetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_018_GetOverlayRenderModel( struct cppIVROverlay_IVROverlay_018_GetOverlayRenderModel_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::HmdColor_t *)pColor, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::HmdColor_t *)params->pColor, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) +void cppIVROverlay_IVROverlay_018_SetOverlayRenderModel( struct cppIVROverlay_IVROverlay_018_SetOverlayRenderModel_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchRenderModel, (const vr::HmdColor_t *)pColor); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchRenderModel, (const vr::HmdColor_t *)params->pColor); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_018_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_018_GetOverlayTransformType_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +void cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchComponentName); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +void cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punDeviceIndex, (char *)params->pchComponentName, (uint32_t)params->unComponentNameSize); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +void cppIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t *)ulOverlayHandleParent, (vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t *)params->ulOverlayHandleParent, (vr::HmdMatrix34_t *)params->pmatParentOverlayToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +void cppIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulOverlayHandleParent, (const vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t)params->ulOverlayHandleParent, (const vr::HmdMatrix34_t *)params->pmatParentOverlayToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_018_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_018_ShowOverlay( struct cppIVROverlay_IVROverlay_018_ShowOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_018_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_018_HideOverlay( struct cppIVROverlay_IVROverlay_018_HideOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_018_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_018_IsOverlayVisible( struct cppIVROverlay_IVROverlay_018_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +void cppIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (vr::HmdVector2_t)params->coordinatesInOverlay, (vr::HmdMatrix34_t *)params->pmatTransform); } -bool cppIVROverlay_IVROverlay_018_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1017 *pEvent, uint32_t uncbVREvent) +void cppIVROverlay_IVROverlay_018_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_018_PollNextOverlayEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_1017_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_1017_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_1017_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_1017_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_018_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_018_GetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_018_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_018_SetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_018_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_018_GetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_018_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_018_SetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_018_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_018_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_018_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_018_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_018_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_018_IsHoverTargetOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_018_GetGamepadFocusOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_018_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_018_GetGamepadFocusOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetGamepadFocusOverlay(); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) +void cppIVROverlay_IVROverlay_018_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_018_SetGamepadFocusOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)params->ulNewFocusOverlay); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +void cppIVROverlay_IVROverlay_018_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_018_SetOverlayNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom, (vr::VROverlayHandle_t)params->ulTo); } -EVROverlayError cppIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +void cppIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *vCenter, float fRadius) +void cppIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, *vCenter, (float)fRadius); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayDualAnalogTransform((vr::VROverlayHandle_t)params->ulOverlay, (vr::EDualAnalogWhich)params->eWhich, *params->vCenter, (float)params->fRadius); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) +void cppIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, (vr::HmdVector2_t *)pvCenter, (float *)pfRadius); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayDualAnalogTransform((vr::VROverlayHandle_t)params->ulOverlay, (vr::EDualAnalogWhich)params->eWhich, (vr::HmdVector2_t *)params->pvCenter, (float *)params->pfRadius); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +void cppIVROverlay_IVROverlay_018_SetOverlayTexture( struct cppIVROverlay_IVROverlay_018_SetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::Texture_t *)params->pTexture); } -EVROverlayError cppIVROverlay_IVROverlay_018_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_018_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_018_ClearOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +void cppIVROverlay_IVROverlay_018_SetOverlayRaw( struct cppIVROverlay_IVROverlay_018_SetOverlayRaw_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unDepth); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_018_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_018_SetOverlayFromFile_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +void cppIVROverlay_IVROverlay_018_GetOverlayTexture( struct cppIVROverlay_IVROverlay_018_GetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (void **)params->pNativeTextureHandle, (void *)params->pNativeTextureRef, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight, (uint32_t *)params->pNativeFormat, (vr::ETextureType *)params->pAPIType, (vr::EColorSpace *)params->pColorSpace, (vr::VRTextureBounds_t *)params->pTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +void cppIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pNativeTextureHandle); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +void cppIVROverlay_IVROverlay_018_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_018_GetOverlayTextureSize_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight); } -EVROverlayError cppIVROverlay_IVROverlay_018_CreateDashboardOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +void cppIVROverlay_IVROverlay_018_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_018_CreateDashboardOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateDashboardOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pMainHandle, (vr::VROverlayHandle_t *)params->pThumbnailHandle); } -bool cppIVROverlay_IVROverlay_018_IsDashboardVisible(void *linux_side) +void cppIVROverlay_IVROverlay_018_IsDashboardVisible( struct cppIVROverlay_IVROverlay_018_IsDashboardVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsDashboardVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsDashboardVisible(); } -bool cppIVROverlay_IVROverlay_018_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_018_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_018_IsActiveDashboardOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } -void cppIVROverlay_IVROverlay_018_ShowDashboard(void *linux_side, const char *pchOverlayToShow) +void cppIVROverlay_IVROverlay_018_ShowDashboard( struct cppIVROverlay_IVROverlay_018_ShowDashboard_params *params ) { - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); + ((IVROverlay*)params->linux_side)->ShowDashboard((const char *)params->pchOverlayToShow); } -TrackedDeviceIndex_t cppIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice(void *linux_side) +void cppIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetPrimaryDashboardDevice(); } -EVROverlayError cppIVROverlay_IVROverlay_018_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_018_ShowKeyboard( struct cppIVROverlay_IVROverlay_018_ShowKeyboard_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -EVROverlayError cppIVROverlay_IVROverlay_018_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_018_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_018_ShowKeyboardForOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -uint32_t cppIVROverlay_IVROverlay_018_GetKeyboardText(void *linux_side, char *pchText, uint32_t cchText) +void cppIVROverlay_IVROverlay_018_GetKeyboardText( struct cppIVROverlay_IVROverlay_018_GetKeyboardText_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetKeyboardText((char *)params->pchText, (uint32_t)params->cchText); } -void cppIVROverlay_IVROverlay_018_HideKeyboard(void *linux_side) +void cppIVROverlay_IVROverlay_018_HideKeyboard( struct cppIVROverlay_IVROverlay_018_HideKeyboard_params *params ) { - ((IVROverlay*)linux_side)->HideKeyboard(); + ((IVROverlay*)params->linux_side)->HideKeyboard(); } -void cppIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void cppIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); + ((IVROverlay*)params->linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToKeyboardTransform); } -void cppIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void cppIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); + ((IVROverlay*)params->linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdRect2_t)params->avoidRect); } -EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +void cppIVROverlay_IVROverlay_018_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_018_SetOverlayIntersectionMask_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)params->pMaskPrimitives, (uint32_t)params->unNumMaskPrimitives, (uint32_t)params->unPrimitiveSize); } -EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +void cppIVROverlay_IVROverlay_018_GetOverlayFlags( struct cppIVROverlay_IVROverlay_018_GetOverlayFlags_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pFlags); } -VRMessageOverlayResponse cppIVROverlay_IVROverlay_018_ShowMessageOverlay(void *linux_side, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +void cppIVROverlay_IVROverlay_018_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_018_ShowMessageOverlay_params *params ) { - VRMessageOverlayResponse _ret; - _ret = ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowMessageOverlay((const char *)params->pchText, (const char *)params->pchCaption, (const char *)params->pchButton0Text, (const char *)params->pchButton1Text, (const char *)params->pchButton2Text, (const char *)params->pchButton3Text); } -void cppIVROverlay_IVROverlay_018_CloseMessageOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_018_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_018_CloseMessageOverlay_params *params ) { - ((IVROverlay*)linux_side)->CloseMessageOverlay(); + ((IVROverlay*)params->linux_side)->CloseMessageOverlay(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.h index e9b9f29e..fb706a47 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.h @@ -1,88 +1,783 @@ #ifdef __cplusplus extern "C" { #endif -extern EVROverlayError cppIVROverlay_IVROverlay_018_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_DestroyOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_018_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_018_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_018_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayName(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_018_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern uint32_t cppIVROverlay_IVROverlay_018_GetOverlayRenderModel(void *, VROverlayHandle_t, char *, uint32_t, HmdColor_t *, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayRenderModel(void *, VROverlayHandle_t, const char *, const HmdColor_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_018_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_018_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_1017 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_018_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_018_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_018_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, const HmdVector2_t *, float); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, HmdVector2_t *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTexture(void *, VROverlayHandle_t, const Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_018_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_018_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_018_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_018_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_018_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_018_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); -extern void cppIVROverlay_IVROverlay_018_CloseMessageOverlay(void *); +struct cppIVROverlay_IVROverlay_018_FindOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_018_FindOverlay( struct cppIVROverlay_IVROverlay_018_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_018_CreateOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_018_CreateOverlay( struct cppIVROverlay_IVROverlay_018_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_018_DestroyOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_018_DestroyOverlay( struct cppIVROverlay_IVROverlay_018_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetHighQualityOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_018_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_018_SetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetHighQualityOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_018_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_018_GetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayKey( struct cppIVROverlay_IVROverlay_018_GetOverlayKey_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayName( struct cppIVROverlay_IVROverlay_018_GetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayName_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchName; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayName( struct cppIVROverlay_IVROverlay_018_SetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayImageData_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayImageData( struct cppIVROverlay_IVROverlay_018_GetOverlayImageData_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayRenderingPid_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unPID; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_018_SetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_018_GetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayFlag( struct cppIVROverlay_IVROverlay_018_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayFlag( struct cppIVROverlay_IVROverlay_018_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayColor( struct cppIVROverlay_IVROverlay_018_SetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayColor( struct cppIVROverlay_IVROverlay_018_GetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_018_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_018_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_018_SetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_018_GetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unSortOrder; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_018_SetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punSortOrder; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_018_GetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_018_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_018_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace eTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace *peTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_018_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_018_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayRenderModel_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + HmdColor_t *pColor; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayRenderModel( struct cppIVROverlay_IVROverlay_018_GetOverlayRenderModel_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayRenderModel_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchRenderModel; + const HmdColor_t *pColor; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayRenderModel( struct cppIVROverlay_IVROverlay_018_SetOverlayRenderModel_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayTransformType_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_018_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchComponentName; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t *ulOverlayHandleParent; + HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t ulOverlayHandleParent; + const HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative_params *params ); + +struct cppIVROverlay_IVROverlay_018_ShowOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_018_ShowOverlay( struct cppIVROverlay_IVROverlay_018_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_018_HideOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_018_HideOverlay( struct cppIVROverlay_IVROverlay_018_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_018_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_018_IsOverlayVisible( struct cppIVROverlay_IVROverlay_018_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; +extern void cppIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates_params *params ); + +struct cppIVROverlay_IVROverlay_018_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + winVREvent_t_1017 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVROverlay_IVROverlay_018_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_018_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_018_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_018_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_018_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_018_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_018_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_018_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_018_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_018_IsHoverTargetOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_018_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_018_IsHoverTargetOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetGamepadFocusOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_018_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_018_GetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetGamepadFocusOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulNewFocusOverlay; +}; +extern void cppIVROverlay_IVROverlay_018_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_018_SetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; + VROverlayHandle_t ulTo; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_018_SetOverlayNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; +}; +extern void cppIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlay; + EDualAnalogWhich eWhich; + const HmdVector2_t *vCenter; + float fRadius; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlay; + EDualAnalogWhich eWhich; + HmdVector2_t *pvCenter; + float *pfRadius; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const Texture_t *pTexture; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayTexture( struct cppIVROverlay_IVROverlay_018_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_018_ClearOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_018_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_018_ClearOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayRaw_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayRaw( struct cppIVROverlay_IVROverlay_018_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayFromFile_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_018_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + ETextureType *pAPIType; + EColorSpace *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayTexture( struct cppIVROverlay_IVROverlay_018_GetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pNativeTextureHandle; +}; +extern void cppIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayTextureSize_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_018_GetOverlayTextureSize_params *params ); + +struct cppIVROverlay_IVROverlay_018_CreateDashboardOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pMainHandle; + VROverlayHandle_t *pThumbnailHandle; +}; +extern void cppIVROverlay_IVROverlay_018_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_018_CreateDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_018_IsDashboardVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_018_IsDashboardVisible( struct cppIVROverlay_IVROverlay_018_IsDashboardVisible_params *params ); + +struct cppIVROverlay_IVROverlay_018_IsActiveDashboardOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_018_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_018_IsActiveDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_018_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; +extern void cppIVROverlay_IVROverlay_018_ShowDashboard( struct cppIVROverlay_IVROverlay_018_ShowDashboard_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; +}; +extern void cppIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice_params *params ); + +struct cppIVROverlay_IVROverlay_018_ShowKeyboard_params +{ + void *linux_side; + EVROverlayError _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_018_ShowKeyboard( struct cppIVROverlay_IVROverlay_018_ShowKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_018_ShowKeyboardForOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_018_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_018_ShowKeyboardForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; +extern void cppIVROverlay_IVROverlay_018_GetKeyboardText( struct cppIVROverlay_IVROverlay_018_GetKeyboardText_params *params ); + +struct cppIVROverlay_IVROverlay_018_HideKeyboard_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_018_HideKeyboard( struct cppIVROverlay_IVROverlay_018_HideKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; +extern void cppIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + VROverlayHandle_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; +extern void cppIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_018_SetOverlayIntersectionMask_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; +extern void cppIVROverlay_IVROverlay_018_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_018_SetOverlayIntersectionMask_params *params ); + +struct cppIVROverlay_IVROverlay_018_GetOverlayFlags_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pFlags; +}; +extern void cppIVROverlay_IVROverlay_018_GetOverlayFlags( struct cppIVROverlay_IVROverlay_018_GetOverlayFlags_params *params ); + +struct cppIVROverlay_IVROverlay_018_ShowMessageOverlay_params +{ + void *linux_side; + VRMessageOverlayResponse _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; +extern void cppIVROverlay_IVROverlay_018_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_018_ShowMessageOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_018_CloseMessageOverlay_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_018_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_018_CloseMessageOverlay_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.cpp index 01199c07..8aabcdb3 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.cpp @@ -9,574 +9,420 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVROverlayError cppIVROverlay_IVROverlay_019_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_019_FindOverlay( struct cppIVROverlay_IVROverlay_019_FindOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_019_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_019_CreateOverlay( struct cppIVROverlay_IVROverlay_019_CreateOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_019_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_019_DestroyOverlay( struct cppIVROverlay_IVROverlay_019_DestroyOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_019_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_019_SetHighQualityOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_019_GetHighQualityOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_019_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_019_GetHighQualityOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetHighQualityOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetHighQualityOverlay(); } -uint32_t cppIVROverlay_IVROverlay_019_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_019_GetOverlayKey( struct cppIVROverlay_IVROverlay_019_GetOverlayKey_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayKey((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -uint32_t cppIVROverlay_IVROverlay_019_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_019_GetOverlayName( struct cppIVROverlay_IVROverlay_019_GetOverlayName_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchName) +void cppIVROverlay_IVROverlay_019_SetOverlayName( struct cppIVROverlay_IVROverlay_019_SetOverlayName_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchName); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +void cppIVROverlay_IVROverlay_019_GetOverlayImageData( struct cppIVROverlay_IVROverlay_019_GetOverlayImageData_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unBufferSize, (uint32_t *)params->punWidth, (uint32_t *)params->punHeight); } -const char * cppIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) +void cppIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)params->error); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +void cppIVROverlay_IVROverlay_019_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_019_SetOverlayRenderingPid_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unPID); } -uint32_t cppIVROverlay_IVROverlay_019_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_019_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_019_GetOverlayRenderingPid_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_019_SetOverlayFlag( struct cppIVROverlay_IVROverlay_019_SetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_019_GetOverlayFlag( struct cppIVROverlay_IVROverlay_019_GetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void cppIVROverlay_IVROverlay_019_SetOverlayColor( struct cppIVROverlay_IVROverlay_019_SetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRed, (float)params->fGreen, (float)params->fBlue); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +void cppIVROverlay_IVROverlay_019_GetOverlayColor( struct cppIVROverlay_IVROverlay_019_GetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRed, (float *)params->pfGreen, (float *)params->pfBlue); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_019_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_019_SetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_019_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_019_GetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +void cppIVROverlay_IVROverlay_019_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_019_SetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +void cppIVROverlay_IVROverlay_019_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_019_GetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +void cppIVROverlay_IVROverlay_019_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_019_SetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +void cppIVROverlay_IVROverlay_019_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_019_GetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_019_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_019_SetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_019_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_019_GetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fMinDistanceInMeters, (float)params->fMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfMinDistanceInMeters, (float *)params->pfMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +void cppIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace)params->eTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +void cppIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace *)params->peTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_019_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_019_SetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_019_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_019_GetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -uint32_t cppIVROverlay_IVROverlay_019_GetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_019_GetOverlayRenderModel( struct cppIVROverlay_IVROverlay_019_GetOverlayRenderModel_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::HmdColor_t *)pColor, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::HmdColor_t *)params->pColor, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) +void cppIVROverlay_IVROverlay_019_SetOverlayRenderModel( struct cppIVROverlay_IVROverlay_019_SetOverlayRenderModel_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchRenderModel, (const vr::HmdColor_t *)pColor); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchRenderModel, (const vr::HmdColor_t *)params->pColor); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_019_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_019_GetOverlayTransformType_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +void cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchComponentName); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +void cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punDeviceIndex, (char *)params->pchComponentName, (uint32_t)params->unComponentNameSize); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +void cppIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t *)ulOverlayHandleParent, (vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t *)params->ulOverlayHandleParent, (vr::HmdMatrix34_t *)params->pmatParentOverlayToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +void cppIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulOverlayHandleParent, (const vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t)params->ulOverlayHandleParent, (const vr::HmdMatrix34_t *)params->pmatParentOverlayToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_019_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_019_ShowOverlay( struct cppIVROverlay_IVROverlay_019_ShowOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_019_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_019_HideOverlay( struct cppIVROverlay_IVROverlay_019_HideOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_019_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_019_IsOverlayVisible( struct cppIVROverlay_IVROverlay_019_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +void cppIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (vr::HmdVector2_t)params->coordinatesInOverlay, (vr::HmdMatrix34_t *)params->pmatTransform); } -bool cppIVROverlay_IVROverlay_019_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1610 *pEvent, uint32_t uncbVREvent) +void cppIVROverlay_IVROverlay_019_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_019_PollNextOverlayEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_1610_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_1610_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_1610_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_1610_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_019_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_019_GetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_019_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_019_SetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_019_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_019_GetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_019_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_019_SetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_019_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_019_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_019_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_019_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_019_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_019_IsHoverTargetOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_019_GetGamepadFocusOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_019_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_019_GetGamepadFocusOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetGamepadFocusOverlay(); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) +void cppIVROverlay_IVROverlay_019_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_019_SetGamepadFocusOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)params->ulNewFocusOverlay); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +void cppIVROverlay_IVROverlay_019_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_019_SetOverlayNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom, (vr::VROverlayHandle_t)params->ulTo); } -EVROverlayError cppIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +void cppIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *pvCenter, float fRadius) +void cppIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, (const vr::HmdVector2_t *)pvCenter, (float)fRadius); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayDualAnalogTransform((vr::VROverlayHandle_t)params->ulOverlay, (vr::EDualAnalogWhich)params->eWhich, (const vr::HmdVector2_t *)params->pvCenter, (float)params->fRadius); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) +void cppIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, (vr::HmdVector2_t *)pvCenter, (float *)pfRadius); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayDualAnalogTransform((vr::VROverlayHandle_t)params->ulOverlay, (vr::EDualAnalogWhich)params->eWhich, (vr::HmdVector2_t *)params->pvCenter, (float *)params->pfRadius); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +void cppIVROverlay_IVROverlay_019_SetOverlayTexture( struct cppIVROverlay_IVROverlay_019_SetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::Texture_t *)params->pTexture); } -EVROverlayError cppIVROverlay_IVROverlay_019_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_019_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_019_ClearOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +void cppIVROverlay_IVROverlay_019_SetOverlayRaw( struct cppIVROverlay_IVROverlay_019_SetOverlayRaw_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unDepth); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_019_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_019_SetOverlayFromFile_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +void cppIVROverlay_IVROverlay_019_GetOverlayTexture( struct cppIVROverlay_IVROverlay_019_GetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (void **)params->pNativeTextureHandle, (void *)params->pNativeTextureRef, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight, (uint32_t *)params->pNativeFormat, (vr::ETextureType *)params->pAPIType, (vr::EColorSpace *)params->pColorSpace, (vr::VRTextureBounds_t *)params->pTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +void cppIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pNativeTextureHandle); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +void cppIVROverlay_IVROverlay_019_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_019_GetOverlayTextureSize_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight); } -EVROverlayError cppIVROverlay_IVROverlay_019_CreateDashboardOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +void cppIVROverlay_IVROverlay_019_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_019_CreateDashboardOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateDashboardOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pMainHandle, (vr::VROverlayHandle_t *)params->pThumbnailHandle); } -bool cppIVROverlay_IVROverlay_019_IsDashboardVisible(void *linux_side) +void cppIVROverlay_IVROverlay_019_IsDashboardVisible( struct cppIVROverlay_IVROverlay_019_IsDashboardVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsDashboardVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsDashboardVisible(); } -bool cppIVROverlay_IVROverlay_019_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_019_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_019_IsActiveDashboardOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } -void cppIVROverlay_IVROverlay_019_ShowDashboard(void *linux_side, const char *pchOverlayToShow) +void cppIVROverlay_IVROverlay_019_ShowDashboard( struct cppIVROverlay_IVROverlay_019_ShowDashboard_params *params ) { - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); + ((IVROverlay*)params->linux_side)->ShowDashboard((const char *)params->pchOverlayToShow); } -TrackedDeviceIndex_t cppIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice(void *linux_side) +void cppIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetPrimaryDashboardDevice(); } -EVROverlayError cppIVROverlay_IVROverlay_019_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_019_ShowKeyboard( struct cppIVROverlay_IVROverlay_019_ShowKeyboard_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -EVROverlayError cppIVROverlay_IVROverlay_019_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_019_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_019_ShowKeyboardForOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -uint32_t cppIVROverlay_IVROverlay_019_GetKeyboardText(void *linux_side, char *pchText, uint32_t cchText) +void cppIVROverlay_IVROverlay_019_GetKeyboardText( struct cppIVROverlay_IVROverlay_019_GetKeyboardText_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetKeyboardText((char *)params->pchText, (uint32_t)params->cchText); } -void cppIVROverlay_IVROverlay_019_HideKeyboard(void *linux_side) +void cppIVROverlay_IVROverlay_019_HideKeyboard( struct cppIVROverlay_IVROverlay_019_HideKeyboard_params *params ) { - ((IVROverlay*)linux_side)->HideKeyboard(); + ((IVROverlay*)params->linux_side)->HideKeyboard(); } -void cppIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void cppIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); + ((IVROverlay*)params->linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToKeyboardTransform); } -void cppIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void cppIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); + ((IVROverlay*)params->linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdRect2_t)params->avoidRect); } -EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +void cppIVROverlay_IVROverlay_019_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_019_SetOverlayIntersectionMask_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)params->pMaskPrimitives, (uint32_t)params->unNumMaskPrimitives, (uint32_t)params->unPrimitiveSize); } -EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +void cppIVROverlay_IVROverlay_019_GetOverlayFlags( struct cppIVROverlay_IVROverlay_019_GetOverlayFlags_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pFlags); } -VRMessageOverlayResponse cppIVROverlay_IVROverlay_019_ShowMessageOverlay(void *linux_side, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +void cppIVROverlay_IVROverlay_019_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_019_ShowMessageOverlay_params *params ) { - VRMessageOverlayResponse _ret; - _ret = ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowMessageOverlay((const char *)params->pchText, (const char *)params->pchCaption, (const char *)params->pchButton0Text, (const char *)params->pchButton1Text, (const char *)params->pchButton2Text, (const char *)params->pchButton3Text); } -void cppIVROverlay_IVROverlay_019_CloseMessageOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_019_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_019_CloseMessageOverlay_params *params ) { - ((IVROverlay*)linux_side)->CloseMessageOverlay(); + ((IVROverlay*)params->linux_side)->CloseMessageOverlay(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.h index f69874b1..b3831de7 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.h @@ -1,88 +1,783 @@ #ifdef __cplusplus extern "C" { #endif -extern EVROverlayError cppIVROverlay_IVROverlay_019_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_DestroyOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_019_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_019_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_019_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayName(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_019_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern uint32_t cppIVROverlay_IVROverlay_019_GetOverlayRenderModel(void *, VROverlayHandle_t, char *, uint32_t, HmdColor_t *, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayRenderModel(void *, VROverlayHandle_t, const char *, const HmdColor_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_019_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_019_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_1610 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_019_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_019_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_019_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, const HmdVector2_t *, float); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, HmdVector2_t *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTexture(void *, VROverlayHandle_t, const Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_019_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_019_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_019_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_019_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_019_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_019_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); -extern void cppIVROverlay_IVROverlay_019_CloseMessageOverlay(void *); +struct cppIVROverlay_IVROverlay_019_FindOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_019_FindOverlay( struct cppIVROverlay_IVROverlay_019_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_019_CreateOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_019_CreateOverlay( struct cppIVROverlay_IVROverlay_019_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_019_DestroyOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_019_DestroyOverlay( struct cppIVROverlay_IVROverlay_019_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetHighQualityOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_019_SetHighQualityOverlay( struct cppIVROverlay_IVROverlay_019_SetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetHighQualityOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_019_GetHighQualityOverlay( struct cppIVROverlay_IVROverlay_019_GetHighQualityOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayKey( struct cppIVROverlay_IVROverlay_019_GetOverlayKey_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayName( struct cppIVROverlay_IVROverlay_019_GetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayName_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchName; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayName( struct cppIVROverlay_IVROverlay_019_SetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayImageData_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayImageData( struct cppIVROverlay_IVROverlay_019_GetOverlayImageData_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayRenderingPid_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unPID; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_019_SetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_019_GetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayFlag( struct cppIVROverlay_IVROverlay_019_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayFlag( struct cppIVROverlay_IVROverlay_019_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayColor( struct cppIVROverlay_IVROverlay_019_SetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayColor( struct cppIVROverlay_IVROverlay_019_GetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_019_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_019_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_019_SetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_019_GetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unSortOrder; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_019_SetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punSortOrder; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_019_GetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_019_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_019_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace eTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace *peTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_019_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_019_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayRenderModel_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + HmdColor_t *pColor; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayRenderModel( struct cppIVROverlay_IVROverlay_019_GetOverlayRenderModel_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayRenderModel_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchRenderModel; + const HmdColor_t *pColor; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayRenderModel( struct cppIVROverlay_IVROverlay_019_SetOverlayRenderModel_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayTransformType_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_019_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchComponentName; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t *ulOverlayHandleParent; + HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t ulOverlayHandleParent; + const HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative_params *params ); + +struct cppIVROverlay_IVROverlay_019_ShowOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_019_ShowOverlay( struct cppIVROverlay_IVROverlay_019_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_019_HideOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_019_HideOverlay( struct cppIVROverlay_IVROverlay_019_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_019_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_019_IsOverlayVisible( struct cppIVROverlay_IVROverlay_019_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; +extern void cppIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates_params *params ); + +struct cppIVROverlay_IVROverlay_019_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + winVREvent_t_1610 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVROverlay_IVROverlay_019_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_019_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_019_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_019_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_019_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_019_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_019_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_019_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_019_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_019_IsHoverTargetOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_019_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_019_IsHoverTargetOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetGamepadFocusOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_019_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_019_GetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetGamepadFocusOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulNewFocusOverlay; +}; +extern void cppIVROverlay_IVROverlay_019_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_019_SetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; + VROverlayHandle_t ulTo; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_019_SetOverlayNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; +}; +extern void cppIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlay; + EDualAnalogWhich eWhich; + const HmdVector2_t *pvCenter; + float fRadius; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlay; + EDualAnalogWhich eWhich; + HmdVector2_t *pvCenter; + float *pfRadius; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const Texture_t *pTexture; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayTexture( struct cppIVROverlay_IVROverlay_019_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_019_ClearOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_019_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_019_ClearOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayRaw_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayRaw( struct cppIVROverlay_IVROverlay_019_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayFromFile_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_019_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + ETextureType *pAPIType; + EColorSpace *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayTexture( struct cppIVROverlay_IVROverlay_019_GetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pNativeTextureHandle; +}; +extern void cppIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayTextureSize_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_019_GetOverlayTextureSize_params *params ); + +struct cppIVROverlay_IVROverlay_019_CreateDashboardOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pMainHandle; + VROverlayHandle_t *pThumbnailHandle; +}; +extern void cppIVROverlay_IVROverlay_019_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_019_CreateDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_019_IsDashboardVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_019_IsDashboardVisible( struct cppIVROverlay_IVROverlay_019_IsDashboardVisible_params *params ); + +struct cppIVROverlay_IVROverlay_019_IsActiveDashboardOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_019_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_019_IsActiveDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_019_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; +extern void cppIVROverlay_IVROverlay_019_ShowDashboard( struct cppIVROverlay_IVROverlay_019_ShowDashboard_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; +}; +extern void cppIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice_params *params ); + +struct cppIVROverlay_IVROverlay_019_ShowKeyboard_params +{ + void *linux_side; + EVROverlayError _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_019_ShowKeyboard( struct cppIVROverlay_IVROverlay_019_ShowKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_019_ShowKeyboardForOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_019_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_019_ShowKeyboardForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; +extern void cppIVROverlay_IVROverlay_019_GetKeyboardText( struct cppIVROverlay_IVROverlay_019_GetKeyboardText_params *params ); + +struct cppIVROverlay_IVROverlay_019_HideKeyboard_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_019_HideKeyboard( struct cppIVROverlay_IVROverlay_019_HideKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; +extern void cppIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + VROverlayHandle_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; +extern void cppIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_019_SetOverlayIntersectionMask_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; +extern void cppIVROverlay_IVROverlay_019_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_019_SetOverlayIntersectionMask_params *params ); + +struct cppIVROverlay_IVROverlay_019_GetOverlayFlags_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pFlags; +}; +extern void cppIVROverlay_IVROverlay_019_GetOverlayFlags( struct cppIVROverlay_IVROverlay_019_GetOverlayFlags_params *params ); + +struct cppIVROverlay_IVROverlay_019_ShowMessageOverlay_params +{ + void *linux_side; + VRMessageOverlayResponse _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; +extern void cppIVROverlay_IVROverlay_019_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_019_ShowMessageOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_019_CloseMessageOverlay_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_019_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_019_CloseMessageOverlay_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_020.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_020.cpp index 5749bc9e..fbe1baa5 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_020.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_020.cpp @@ -9,560 +9,410 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVROverlayError cppIVROverlay_IVROverlay_020_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_020_FindOverlay( struct cppIVROverlay_IVROverlay_020_FindOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_020_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_020_CreateOverlay( struct cppIVROverlay_IVROverlay_020_CreateOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_020_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_020_DestroyOverlay( struct cppIVROverlay_IVROverlay_020_DestroyOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -uint32_t cppIVROverlay_IVROverlay_020_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_020_GetOverlayKey( struct cppIVROverlay_IVROverlay_020_GetOverlayKey_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayKey((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -uint32_t cppIVROverlay_IVROverlay_020_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_020_GetOverlayName( struct cppIVROverlay_IVROverlay_020_GetOverlayName_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchName) +void cppIVROverlay_IVROverlay_020_SetOverlayName( struct cppIVROverlay_IVROverlay_020_SetOverlayName_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchName); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +void cppIVROverlay_IVROverlay_020_GetOverlayImageData( struct cppIVROverlay_IVROverlay_020_GetOverlayImageData_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unBufferSize, (uint32_t *)params->punWidth, (uint32_t *)params->punHeight); } -const char * cppIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) +void cppIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)params->error); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +void cppIVROverlay_IVROverlay_020_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_020_SetOverlayRenderingPid_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unPID); } -uint32_t cppIVROverlay_IVROverlay_020_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_020_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_020_GetOverlayRenderingPid_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_020_SetOverlayFlag( struct cppIVROverlay_IVROverlay_020_SetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_020_GetOverlayFlag( struct cppIVROverlay_IVROverlay_020_GetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void cppIVROverlay_IVROverlay_020_SetOverlayColor( struct cppIVROverlay_IVROverlay_020_SetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRed, (float)params->fGreen, (float)params->fBlue); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +void cppIVROverlay_IVROverlay_020_GetOverlayColor( struct cppIVROverlay_IVROverlay_020_GetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRed, (float *)params->pfGreen, (float *)params->pfBlue); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_020_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_020_SetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_020_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_020_GetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +void cppIVROverlay_IVROverlay_020_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_020_SetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +void cppIVROverlay_IVROverlay_020_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_020_GetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +void cppIVROverlay_IVROverlay_020_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_020_SetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +void cppIVROverlay_IVROverlay_020_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_020_GetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_020_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_020_SetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_020_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_020_GetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fMinDistanceInMeters, (float)params->fMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +void cppIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfMinDistanceInMeters, (float *)params->pfMaxDistanceInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +void cppIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace)params->eTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +void cppIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace *)params->peTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_020_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_020_SetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_020_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_020_GetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -uint32_t cppIVROverlay_IVROverlay_020_GetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_020_GetOverlayRenderModel( struct cppIVROverlay_IVROverlay_020_GetOverlayRenderModel_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::HmdColor_t *)pColor, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::HmdColor_t *)params->pColor, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) +void cppIVROverlay_IVROverlay_020_SetOverlayRenderModel( struct cppIVROverlay_IVROverlay_020_SetOverlayRenderModel_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchRenderModel, (const vr::HmdColor_t *)pColor); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchRenderModel, (const vr::HmdColor_t *)params->pColor); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_020_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_020_GetOverlayTransformType_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +void cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchComponentName); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +void cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punDeviceIndex, (char *)params->pchComponentName, (uint32_t)params->unComponentNameSize); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +void cppIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t *)ulOverlayHandleParent, (vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t *)params->ulOverlayHandleParent, (vr::HmdMatrix34_t *)params->pmatParentOverlayToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +void cppIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulOverlayHandleParent, (const vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t)params->ulOverlayHandleParent, (const vr::HmdMatrix34_t *)params->pmatParentOverlayToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_020_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_020_ShowOverlay( struct cppIVROverlay_IVROverlay_020_ShowOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_020_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_020_HideOverlay( struct cppIVROverlay_IVROverlay_020_HideOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_020_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_020_IsOverlayVisible( struct cppIVROverlay_IVROverlay_020_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +void cppIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (vr::HmdVector2_t)params->coordinatesInOverlay, (vr::HmdMatrix34_t *)params->pmatTransform); } -bool cppIVROverlay_IVROverlay_020_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1715 *pEvent, uint32_t uncbVREvent) +void cppIVROverlay_IVROverlay_020_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_020_PollNextOverlayEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_1715_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_1715_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_1715_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_1715_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_020_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_020_GetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_020_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_020_SetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_020_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_020_GetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_020_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_020_SetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_020_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_020_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_020_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_020_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_020_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_020_IsHoverTargetOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -VROverlayHandle_t cppIVROverlay_IVROverlay_020_GetGamepadFocusOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_020_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_020_GetGamepadFocusOverlay_params *params ) { - VROverlayHandle_t _ret; - _ret = ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetGamepadFocusOverlay(); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) +void cppIVROverlay_IVROverlay_020_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_020_SetGamepadFocusOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)params->ulNewFocusOverlay); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +void cppIVROverlay_IVROverlay_020_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_020_SetOverlayNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom, (vr::VROverlayHandle_t)params->ulTo); } -EVROverlayError cppIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +void cppIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)params->eDirection, (vr::VROverlayHandle_t)params->ulFrom); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *pvCenter, float fRadius) +void cppIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, (const vr::HmdVector2_t *)pvCenter, (float)fRadius); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayDualAnalogTransform((vr::VROverlayHandle_t)params->ulOverlay, (vr::EDualAnalogWhich)params->eWhich, (const vr::HmdVector2_t *)params->pvCenter, (float)params->fRadius); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) +void cppIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, (vr::HmdVector2_t *)pvCenter, (float *)pfRadius); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayDualAnalogTransform((vr::VROverlayHandle_t)params->ulOverlay, (vr::EDualAnalogWhich)params->eWhich, (vr::HmdVector2_t *)params->pvCenter, (float *)params->pfRadius); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +void cppIVROverlay_IVROverlay_020_SetOverlayTexture( struct cppIVROverlay_IVROverlay_020_SetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::Texture_t *)params->pTexture); } -EVROverlayError cppIVROverlay_IVROverlay_020_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_020_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_020_ClearOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +void cppIVROverlay_IVROverlay_020_SetOverlayRaw( struct cppIVROverlay_IVROverlay_020_SetOverlayRaw_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unDepth); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_020_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_020_SetOverlayFromFile_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +void cppIVROverlay_IVROverlay_020_GetOverlayTexture( struct cppIVROverlay_IVROverlay_020_GetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (void **)params->pNativeTextureHandle, (void *)params->pNativeTextureRef, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight, (uint32_t *)params->pNativeFormat, (vr::ETextureType *)params->pAPIType, (vr::EColorSpace *)params->pColorSpace, (vr::VRTextureBounds_t *)params->pTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +void cppIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pNativeTextureHandle); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +void cppIVROverlay_IVROverlay_020_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_020_GetOverlayTextureSize_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight); } -EVROverlayError cppIVROverlay_IVROverlay_020_CreateDashboardOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +void cppIVROverlay_IVROverlay_020_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_020_CreateDashboardOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateDashboardOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pMainHandle, (vr::VROverlayHandle_t *)params->pThumbnailHandle); } -bool cppIVROverlay_IVROverlay_020_IsDashboardVisible(void *linux_side) +void cppIVROverlay_IVROverlay_020_IsDashboardVisible( struct cppIVROverlay_IVROverlay_020_IsDashboardVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsDashboardVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsDashboardVisible(); } -bool cppIVROverlay_IVROverlay_020_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_020_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_020_IsActiveDashboardOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } -void cppIVROverlay_IVROverlay_020_ShowDashboard(void *linux_side, const char *pchOverlayToShow) +void cppIVROverlay_IVROverlay_020_ShowDashboard( struct cppIVROverlay_IVROverlay_020_ShowDashboard_params *params ) { - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); + ((IVROverlay*)params->linux_side)->ShowDashboard((const char *)params->pchOverlayToShow); } -TrackedDeviceIndex_t cppIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice(void *linux_side) +void cppIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetPrimaryDashboardDevice(); } -EVROverlayError cppIVROverlay_IVROverlay_020_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_020_ShowKeyboard( struct cppIVROverlay_IVROverlay_020_ShowKeyboard_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -EVROverlayError cppIVROverlay_IVROverlay_020_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_020_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_020_ShowKeyboardForOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -uint32_t cppIVROverlay_IVROverlay_020_GetKeyboardText(void *linux_side, char *pchText, uint32_t cchText) +void cppIVROverlay_IVROverlay_020_GetKeyboardText( struct cppIVROverlay_IVROverlay_020_GetKeyboardText_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetKeyboardText((char *)params->pchText, (uint32_t)params->cchText); } -void cppIVROverlay_IVROverlay_020_HideKeyboard(void *linux_side) +void cppIVROverlay_IVROverlay_020_HideKeyboard( struct cppIVROverlay_IVROverlay_020_HideKeyboard_params *params ) { - ((IVROverlay*)linux_side)->HideKeyboard(); + ((IVROverlay*)params->linux_side)->HideKeyboard(); } -void cppIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void cppIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); + ((IVROverlay*)params->linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToKeyboardTransform); } -void cppIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void cppIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); + ((IVROverlay*)params->linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdRect2_t)params->avoidRect); } -EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +void cppIVROverlay_IVROverlay_020_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_020_SetOverlayIntersectionMask_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)params->pMaskPrimitives, (uint32_t)params->unNumMaskPrimitives, (uint32_t)params->unPrimitiveSize); } -EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +void cppIVROverlay_IVROverlay_020_GetOverlayFlags( struct cppIVROverlay_IVROverlay_020_GetOverlayFlags_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pFlags); } -VRMessageOverlayResponse cppIVROverlay_IVROverlay_020_ShowMessageOverlay(void *linux_side, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +void cppIVROverlay_IVROverlay_020_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_020_ShowMessageOverlay_params *params ) { - VRMessageOverlayResponse _ret; - _ret = ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowMessageOverlay((const char *)params->pchText, (const char *)params->pchCaption, (const char *)params->pchButton0Text, (const char *)params->pchButton1Text, (const char *)params->pchButton2Text, (const char *)params->pchButton3Text); } -void cppIVROverlay_IVROverlay_020_CloseMessageOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_020_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_020_CloseMessageOverlay_params *params ) { - ((IVROverlay*)linux_side)->CloseMessageOverlay(); + ((IVROverlay*)params->linux_side)->CloseMessageOverlay(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_020.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_020.h index f784dc28..43e20acc 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_020.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_020.h @@ -1,86 +1,768 @@ #ifdef __cplusplus extern "C" { #endif -extern EVROverlayError cppIVROverlay_IVROverlay_020_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_DestroyOverlay(void *, VROverlayHandle_t); -extern uint32_t cppIVROverlay_IVROverlay_020_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_020_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayName(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_020_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern uint32_t cppIVROverlay_IVROverlay_020_GetOverlayRenderModel(void *, VROverlayHandle_t, char *, uint32_t, HmdColor_t *, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayRenderModel(void *, VROverlayHandle_t, const char *, const HmdColor_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_020_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_020_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_1715 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_020_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_020_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_020_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, const HmdVector2_t *, float); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, HmdVector2_t *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTexture(void *, VROverlayHandle_t, const Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_020_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_020_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_020_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_020_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_020_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_020_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); -extern void cppIVROverlay_IVROverlay_020_CloseMessageOverlay(void *); +struct cppIVROverlay_IVROverlay_020_FindOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_020_FindOverlay( struct cppIVROverlay_IVROverlay_020_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_020_CreateOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_020_CreateOverlay( struct cppIVROverlay_IVROverlay_020_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_020_DestroyOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_020_DestroyOverlay( struct cppIVROverlay_IVROverlay_020_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayKey( struct cppIVROverlay_IVROverlay_020_GetOverlayKey_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayName( struct cppIVROverlay_IVROverlay_020_GetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayName_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchName; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayName( struct cppIVROverlay_IVROverlay_020_SetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayImageData_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayImageData( struct cppIVROverlay_IVROverlay_020_GetOverlayImageData_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayRenderingPid_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unPID; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_020_SetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_020_GetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayFlag( struct cppIVROverlay_IVROverlay_020_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayFlag( struct cppIVROverlay_IVROverlay_020_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayColor( struct cppIVROverlay_IVROverlay_020_SetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayColor( struct cppIVROverlay_IVROverlay_020_GetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_020_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_020_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_020_SetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_020_GetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unSortOrder; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_020_SetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punSortOrder; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_020_GetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_020_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_020_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters( struct cppIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace eTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace *peTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_020_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_020_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayRenderModel_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + HmdColor_t *pColor; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayRenderModel( struct cppIVROverlay_IVROverlay_020_GetOverlayRenderModel_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayRenderModel_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchRenderModel; + const HmdColor_t *pColor; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayRenderModel( struct cppIVROverlay_IVROverlay_020_SetOverlayRenderModel_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayTransformType_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_020_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchComponentName; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t *ulOverlayHandleParent; + HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t ulOverlayHandleParent; + const HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative_params *params ); + +struct cppIVROverlay_IVROverlay_020_ShowOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_020_ShowOverlay( struct cppIVROverlay_IVROverlay_020_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_020_HideOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_020_HideOverlay( struct cppIVROverlay_IVROverlay_020_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_020_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_020_IsOverlayVisible( struct cppIVROverlay_IVROverlay_020_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; +extern void cppIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates_params *params ); + +struct cppIVROverlay_IVROverlay_020_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + winVREvent_t_1715 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVROverlay_IVROverlay_020_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_020_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_020_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_020_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_020_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_020_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_020_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_020_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_020_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_020_IsHoverTargetOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_020_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_020_IsHoverTargetOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetGamepadFocusOverlay_params +{ + void *linux_side; + VROverlayHandle_t _ret; +}; +extern void cppIVROverlay_IVROverlay_020_GetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_020_GetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetGamepadFocusOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulNewFocusOverlay; +}; +extern void cppIVROverlay_IVROverlay_020_SetGamepadFocusOverlay( struct cppIVROverlay_IVROverlay_020_SetGamepadFocusOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; + VROverlayHandle_t ulTo; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayNeighbor( struct cppIVROverlay_IVROverlay_020_SetOverlayNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + EVROverlayError _ret; + EOverlayDirection eDirection; + VROverlayHandle_t ulFrom; +}; +extern void cppIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor( struct cppIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlay; + EDualAnalogWhich eWhich; + const HmdVector2_t *pvCenter; + float fRadius; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlay; + EDualAnalogWhich eWhich; + HmdVector2_t *pvCenter; + float *pfRadius; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const Texture_t *pTexture; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayTexture( struct cppIVROverlay_IVROverlay_020_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_020_ClearOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_020_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_020_ClearOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayRaw_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayRaw( struct cppIVROverlay_IVROverlay_020_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayFromFile_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_020_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + ETextureType *pAPIType; + EColorSpace *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayTexture( struct cppIVROverlay_IVROverlay_020_GetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pNativeTextureHandle; +}; +extern void cppIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayTextureSize_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_020_GetOverlayTextureSize_params *params ); + +struct cppIVROverlay_IVROverlay_020_CreateDashboardOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pMainHandle; + VROverlayHandle_t *pThumbnailHandle; +}; +extern void cppIVROverlay_IVROverlay_020_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_020_CreateDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_020_IsDashboardVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_020_IsDashboardVisible( struct cppIVROverlay_IVROverlay_020_IsDashboardVisible_params *params ); + +struct cppIVROverlay_IVROverlay_020_IsActiveDashboardOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_020_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_020_IsActiveDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_020_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; +extern void cppIVROverlay_IVROverlay_020_ShowDashboard( struct cppIVROverlay_IVROverlay_020_ShowDashboard_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; +}; +extern void cppIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice_params *params ); + +struct cppIVROverlay_IVROverlay_020_ShowKeyboard_params +{ + void *linux_side; + EVROverlayError _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_020_ShowKeyboard( struct cppIVROverlay_IVROverlay_020_ShowKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_020_ShowKeyboardForOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_020_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_020_ShowKeyboardForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; +extern void cppIVROverlay_IVROverlay_020_GetKeyboardText( struct cppIVROverlay_IVROverlay_020_GetKeyboardText_params *params ); + +struct cppIVROverlay_IVROverlay_020_HideKeyboard_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_020_HideKeyboard( struct cppIVROverlay_IVROverlay_020_HideKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; +extern void cppIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + VROverlayHandle_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; +extern void cppIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_020_SetOverlayIntersectionMask_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; +extern void cppIVROverlay_IVROverlay_020_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_020_SetOverlayIntersectionMask_params *params ); + +struct cppIVROverlay_IVROverlay_020_GetOverlayFlags_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pFlags; +}; +extern void cppIVROverlay_IVROverlay_020_GetOverlayFlags( struct cppIVROverlay_IVROverlay_020_GetOverlayFlags_params *params ); + +struct cppIVROverlay_IVROverlay_020_ShowMessageOverlay_params +{ + void *linux_side; + VRMessageOverlayResponse _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; +extern void cppIVROverlay_IVROverlay_020_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_020_ShowMessageOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_020_CloseMessageOverlay_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_020_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_020_CloseMessageOverlay_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_021.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_021.cpp index a9652804..a97816af 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_021.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_021.cpp @@ -9,532 +9,390 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVROverlayError cppIVROverlay_IVROverlay_021_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_021_FindOverlay( struct cppIVROverlay_IVROverlay_021_FindOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_021_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_021_CreateOverlay( struct cppIVROverlay_IVROverlay_021_CreateOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_021_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_021_DestroyOverlay( struct cppIVROverlay_IVROverlay_021_DestroyOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -uint32_t cppIVROverlay_IVROverlay_021_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_021_GetOverlayKey( struct cppIVROverlay_IVROverlay_021_GetOverlayKey_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayKey((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -uint32_t cppIVROverlay_IVROverlay_021_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_021_GetOverlayName( struct cppIVROverlay_IVROverlay_021_GetOverlayName_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchName) +void cppIVROverlay_IVROverlay_021_SetOverlayName( struct cppIVROverlay_IVROverlay_021_SetOverlayName_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchName); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +void cppIVROverlay_IVROverlay_021_GetOverlayImageData( struct cppIVROverlay_IVROverlay_021_GetOverlayImageData_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unBufferSize, (uint32_t *)params->punWidth, (uint32_t *)params->punHeight); } -const char * cppIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) +void cppIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)params->error); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +void cppIVROverlay_IVROverlay_021_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_021_SetOverlayRenderingPid_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unPID); } -uint32_t cppIVROverlay_IVROverlay_021_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_021_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_021_GetOverlayRenderingPid_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_021_SetOverlayFlag( struct cppIVROverlay_IVROverlay_021_SetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_021_GetOverlayFlag( struct cppIVROverlay_IVROverlay_021_GetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void cppIVROverlay_IVROverlay_021_SetOverlayColor( struct cppIVROverlay_IVROverlay_021_SetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRed, (float)params->fGreen, (float)params->fBlue); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +void cppIVROverlay_IVROverlay_021_GetOverlayColor( struct cppIVROverlay_IVROverlay_021_GetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRed, (float *)params->pfGreen, (float *)params->pfBlue); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_021_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_021_SetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_021_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_021_GetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +void cppIVROverlay_IVROverlay_021_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_021_SetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +void cppIVROverlay_IVROverlay_021_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_021_GetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +void cppIVROverlay_IVROverlay_021_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_021_SetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +void cppIVROverlay_IVROverlay_021_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_021_GetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_021_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_021_SetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_021_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_021_GetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayCurvature(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fCurvature) +void cppIVROverlay_IVROverlay_021_SetOverlayCurvature( struct cppIVROverlay_IVROverlay_021_SetOverlayCurvature_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayCurvature((vr::VROverlayHandle_t)ulOverlayHandle, (float)fCurvature); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayCurvature((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fCurvature); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayCurvature(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) +void cppIVROverlay_IVROverlay_021_GetOverlayCurvature( struct cppIVROverlay_IVROverlay_021_GetOverlayCurvature_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayCurvature((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfCurvature); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayCurvature((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfCurvature); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +void cppIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace)params->eTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +void cppIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace *)params->peTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_021_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_021_SetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_021_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_021_GetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -uint32_t cppIVROverlay_IVROverlay_021_GetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_021_GetOverlayRenderModel( struct cppIVROverlay_IVROverlay_021_GetOverlayRenderModel_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::HmdColor_t *)pColor, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::HmdColor_t *)params->pColor, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) +void cppIVROverlay_IVROverlay_021_SetOverlayRenderModel( struct cppIVROverlay_IVROverlay_021_SetOverlayRenderModel_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchRenderModel, (const vr::HmdColor_t *)pColor); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchRenderModel, (const vr::HmdColor_t *)params->pColor); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_021_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_021_GetOverlayTransformType_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +void cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchComponentName); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +void cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punDeviceIndex, (char *)params->pchComponentName, (uint32_t)params->unComponentNameSize); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +void cppIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t *)ulOverlayHandleParent, (vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t *)params->ulOverlayHandleParent, (vr::HmdMatrix34_t *)params->pmatParentOverlayToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +void cppIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulOverlayHandleParent, (const vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t)params->ulOverlayHandleParent, (const vr::HmdMatrix34_t *)params->pmatParentOverlayToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_021_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_021_ShowOverlay( struct cppIVROverlay_IVROverlay_021_ShowOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_021_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_021_HideOverlay( struct cppIVROverlay_IVROverlay_021_HideOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_021_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_021_IsOverlayVisible( struct cppIVROverlay_IVROverlay_021_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +void cppIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (vr::HmdVector2_t)params->coordinatesInOverlay, (vr::HmdMatrix34_t *)params->pmatTransform); } -bool cppIVROverlay_IVROverlay_021_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1819 *pEvent, uint32_t uncbVREvent) +void cppIVROverlay_IVROverlay_021_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_021_PollNextOverlayEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_1819_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_1819_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_1819_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_1819_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_021_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_021_GetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_021_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_021_SetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_021_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_021_GetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_021_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_021_SetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_021_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_021_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_021_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_021_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_021_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_021_IsHoverTargetOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *pvCenter, float fRadius) +void cppIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, (const vr::HmdVector2_t *)pvCenter, (float)fRadius); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayDualAnalogTransform((vr::VROverlayHandle_t)params->ulOverlay, (vr::EDualAnalogWhich)params->eWhich, (const vr::HmdVector2_t *)params->pvCenter, (float)params->fRadius); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) +void cppIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, (vr::HmdVector2_t *)pvCenter, (float *)pfRadius); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayDualAnalogTransform((vr::VROverlayHandle_t)params->ulOverlay, (vr::EDualAnalogWhich)params->eWhich, (vr::HmdVector2_t *)params->pvCenter, (float *)params->pfRadius); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +void cppIVROverlay_IVROverlay_021_SetOverlayTexture( struct cppIVROverlay_IVROverlay_021_SetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::Texture_t *)params->pTexture); } -EVROverlayError cppIVROverlay_IVROverlay_021_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_021_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_021_ClearOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +void cppIVROverlay_IVROverlay_021_SetOverlayRaw( struct cppIVROverlay_IVROverlay_021_SetOverlayRaw_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unDepth); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_021_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_021_SetOverlayFromFile_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +void cppIVROverlay_IVROverlay_021_GetOverlayTexture( struct cppIVROverlay_IVROverlay_021_GetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (void **)params->pNativeTextureHandle, (void *)params->pNativeTextureRef, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight, (uint32_t *)params->pNativeFormat, (vr::ETextureType *)params->pAPIType, (vr::EColorSpace *)params->pColorSpace, (vr::VRTextureBounds_t *)params->pTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +void cppIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pNativeTextureHandle); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +void cppIVROverlay_IVROverlay_021_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_021_GetOverlayTextureSize_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight); } -EVROverlayError cppIVROverlay_IVROverlay_021_CreateDashboardOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +void cppIVROverlay_IVROverlay_021_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_021_CreateDashboardOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateDashboardOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pMainHandle, (vr::VROverlayHandle_t *)params->pThumbnailHandle); } -bool cppIVROverlay_IVROverlay_021_IsDashboardVisible(void *linux_side) +void cppIVROverlay_IVROverlay_021_IsDashboardVisible( struct cppIVROverlay_IVROverlay_021_IsDashboardVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsDashboardVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsDashboardVisible(); } -bool cppIVROverlay_IVROverlay_021_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_021_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_021_IsActiveDashboardOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } -void cppIVROverlay_IVROverlay_021_ShowDashboard(void *linux_side, const char *pchOverlayToShow) +void cppIVROverlay_IVROverlay_021_ShowDashboard( struct cppIVROverlay_IVROverlay_021_ShowDashboard_params *params ) { - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); + ((IVROverlay*)params->linux_side)->ShowDashboard((const char *)params->pchOverlayToShow); } -TrackedDeviceIndex_t cppIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice(void *linux_side) +void cppIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetPrimaryDashboardDevice(); } -EVROverlayError cppIVROverlay_IVROverlay_021_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_021_ShowKeyboard( struct cppIVROverlay_IVROverlay_021_ShowKeyboard_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -EVROverlayError cppIVROverlay_IVROverlay_021_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_021_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_021_ShowKeyboardForOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -uint32_t cppIVROverlay_IVROverlay_021_GetKeyboardText(void *linux_side, char *pchText, uint32_t cchText) +void cppIVROverlay_IVROverlay_021_GetKeyboardText( struct cppIVROverlay_IVROverlay_021_GetKeyboardText_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetKeyboardText((char *)params->pchText, (uint32_t)params->cchText); } -void cppIVROverlay_IVROverlay_021_HideKeyboard(void *linux_side) +void cppIVROverlay_IVROverlay_021_HideKeyboard( struct cppIVROverlay_IVROverlay_021_HideKeyboard_params *params ) { - ((IVROverlay*)linux_side)->HideKeyboard(); + ((IVROverlay*)params->linux_side)->HideKeyboard(); } -void cppIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void cppIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); + ((IVROverlay*)params->linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToKeyboardTransform); } -void cppIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void cppIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); + ((IVROverlay*)params->linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdRect2_t)params->avoidRect); } -EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +void cppIVROverlay_IVROverlay_021_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_021_SetOverlayIntersectionMask_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)params->pMaskPrimitives, (uint32_t)params->unNumMaskPrimitives, (uint32_t)params->unPrimitiveSize); } -EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +void cppIVROverlay_IVROverlay_021_GetOverlayFlags( struct cppIVROverlay_IVROverlay_021_GetOverlayFlags_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pFlags); } -VRMessageOverlayResponse cppIVROverlay_IVROverlay_021_ShowMessageOverlay(void *linux_side, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +void cppIVROverlay_IVROverlay_021_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_021_ShowMessageOverlay_params *params ) { - VRMessageOverlayResponse _ret; - _ret = ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowMessageOverlay((const char *)params->pchText, (const char *)params->pchCaption, (const char *)params->pchButton0Text, (const char *)params->pchButton1Text, (const char *)params->pchButton2Text, (const char *)params->pchButton3Text); } -void cppIVROverlay_IVROverlay_021_CloseMessageOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_021_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_021_CloseMessageOverlay_params *params ) { - ((IVROverlay*)linux_side)->CloseMessageOverlay(); + ((IVROverlay*)params->linux_side)->CloseMessageOverlay(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_021.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_021.h index fc4f6bbc..f91d0dc4 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_021.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_021.h @@ -1,82 +1,732 @@ #ifdef __cplusplus extern "C" { #endif -extern EVROverlayError cppIVROverlay_IVROverlay_021_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_DestroyOverlay(void *, VROverlayHandle_t); -extern uint32_t cppIVROverlay_IVROverlay_021_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_021_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayName(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_021_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayCurvature(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayCurvature(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern uint32_t cppIVROverlay_IVROverlay_021_GetOverlayRenderModel(void *, VROverlayHandle_t, char *, uint32_t, HmdColor_t *, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayRenderModel(void *, VROverlayHandle_t, const char *, const HmdColor_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_021_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_021_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_1819 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_021_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_021_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, const HmdVector2_t *, float); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, HmdVector2_t *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTexture(void *, VROverlayHandle_t, const Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_021_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_021_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_021_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_021_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_021_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_021_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); -extern void cppIVROverlay_IVROverlay_021_CloseMessageOverlay(void *); +struct cppIVROverlay_IVROverlay_021_FindOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_021_FindOverlay( struct cppIVROverlay_IVROverlay_021_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_021_CreateOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_021_CreateOverlay( struct cppIVROverlay_IVROverlay_021_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_021_DestroyOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_021_DestroyOverlay( struct cppIVROverlay_IVROverlay_021_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayKey( struct cppIVROverlay_IVROverlay_021_GetOverlayKey_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayName( struct cppIVROverlay_IVROverlay_021_GetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlayName_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchName; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlayName( struct cppIVROverlay_IVROverlay_021_SetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayImageData_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayImageData( struct cppIVROverlay_IVROverlay_021_GetOverlayImageData_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlayRenderingPid_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unPID; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_021_SetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_021_GetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlayFlag( struct cppIVROverlay_IVROverlay_021_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayFlag( struct cppIVROverlay_IVROverlay_021_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlayColor( struct cppIVROverlay_IVROverlay_021_SetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayColor( struct cppIVROverlay_IVROverlay_021_GetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_021_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_021_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_021_SetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_021_GetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unSortOrder; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_021_SetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punSortOrder; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_021_GetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_021_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_021_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlayCurvature_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fCurvature; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlayCurvature( struct cppIVROverlay_IVROverlay_021_SetOverlayCurvature_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayCurvature_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfCurvature; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayCurvature( struct cppIVROverlay_IVROverlay_021_GetOverlayCurvature_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace eTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace *peTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_021_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_021_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayRenderModel_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + HmdColor_t *pColor; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayRenderModel( struct cppIVROverlay_IVROverlay_021_GetOverlayRenderModel_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlayRenderModel_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchRenderModel; + const HmdColor_t *pColor; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlayRenderModel( struct cppIVROverlay_IVROverlay_021_SetOverlayRenderModel_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayTransformType_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_021_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchComponentName; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t *ulOverlayHandleParent; + HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t ulOverlayHandleParent; + const HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative_params *params ); + +struct cppIVROverlay_IVROverlay_021_ShowOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_021_ShowOverlay( struct cppIVROverlay_IVROverlay_021_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_021_HideOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_021_HideOverlay( struct cppIVROverlay_IVROverlay_021_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_021_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_021_IsOverlayVisible( struct cppIVROverlay_IVROverlay_021_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; +extern void cppIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates_params *params ); + +struct cppIVROverlay_IVROverlay_021_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + winVREvent_t_1819 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVROverlay_IVROverlay_021_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_021_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_021_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_021_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_021_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_021_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_021_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_021_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_021_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_021_IsHoverTargetOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_021_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_021_IsHoverTargetOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlay; + EDualAnalogWhich eWhich; + const HmdVector2_t *pvCenter; + float fRadius; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlay; + EDualAnalogWhich eWhich; + HmdVector2_t *pvCenter; + float *pfRadius; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const Texture_t *pTexture; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlayTexture( struct cppIVROverlay_IVROverlay_021_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_021_ClearOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_021_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_021_ClearOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlayRaw_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlayRaw( struct cppIVROverlay_IVROverlay_021_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlayFromFile_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_021_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + ETextureType *pAPIType; + EColorSpace *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayTexture( struct cppIVROverlay_IVROverlay_021_GetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pNativeTextureHandle; +}; +extern void cppIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayTextureSize_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_021_GetOverlayTextureSize_params *params ); + +struct cppIVROverlay_IVROverlay_021_CreateDashboardOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pMainHandle; + VROverlayHandle_t *pThumbnailHandle; +}; +extern void cppIVROverlay_IVROverlay_021_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_021_CreateDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_021_IsDashboardVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_021_IsDashboardVisible( struct cppIVROverlay_IVROverlay_021_IsDashboardVisible_params *params ); + +struct cppIVROverlay_IVROverlay_021_IsActiveDashboardOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_021_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_021_IsActiveDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_021_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; +extern void cppIVROverlay_IVROverlay_021_ShowDashboard( struct cppIVROverlay_IVROverlay_021_ShowDashboard_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; +}; +extern void cppIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice_params *params ); + +struct cppIVROverlay_IVROverlay_021_ShowKeyboard_params +{ + void *linux_side; + EVROverlayError _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_021_ShowKeyboard( struct cppIVROverlay_IVROverlay_021_ShowKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_021_ShowKeyboardForOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_021_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_021_ShowKeyboardForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; +extern void cppIVROverlay_IVROverlay_021_GetKeyboardText( struct cppIVROverlay_IVROverlay_021_GetKeyboardText_params *params ); + +struct cppIVROverlay_IVROverlay_021_HideKeyboard_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_021_HideKeyboard( struct cppIVROverlay_IVROverlay_021_HideKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; +extern void cppIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + VROverlayHandle_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; +extern void cppIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_021_SetOverlayIntersectionMask_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; +extern void cppIVROverlay_IVROverlay_021_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_021_SetOverlayIntersectionMask_params *params ); + +struct cppIVROverlay_IVROverlay_021_GetOverlayFlags_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pFlags; +}; +extern void cppIVROverlay_IVROverlay_021_GetOverlayFlags( struct cppIVROverlay_IVROverlay_021_GetOverlayFlags_params *params ); + +struct cppIVROverlay_IVROverlay_021_ShowMessageOverlay_params +{ + void *linux_side; + VRMessageOverlayResponse _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; +extern void cppIVROverlay_IVROverlay_021_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_021_ShowMessageOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_021_CloseMessageOverlay_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_021_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_021_CloseMessageOverlay_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_022.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_022.cpp index dcf1635e..5ae95969 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_022.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_022.cpp @@ -9,574 +9,420 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVROverlayError cppIVROverlay_IVROverlay_022_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_022_FindOverlay( struct cppIVROverlay_IVROverlay_022_FindOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_022_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_022_CreateOverlay( struct cppIVROverlay_IVROverlay_022_CreateOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_022_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_022_DestroyOverlay( struct cppIVROverlay_IVROverlay_022_DestroyOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -uint32_t cppIVROverlay_IVROverlay_022_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_022_GetOverlayKey( struct cppIVROverlay_IVROverlay_022_GetOverlayKey_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayKey((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -uint32_t cppIVROverlay_IVROverlay_022_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_022_GetOverlayName( struct cppIVROverlay_IVROverlay_022_GetOverlayName_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchName) +void cppIVROverlay_IVROverlay_022_SetOverlayName( struct cppIVROverlay_IVROverlay_022_SetOverlayName_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchName); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +void cppIVROverlay_IVROverlay_022_GetOverlayImageData( struct cppIVROverlay_IVROverlay_022_GetOverlayImageData_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unBufferSize, (uint32_t *)params->punWidth, (uint32_t *)params->punHeight); } -const char * cppIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) +void cppIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)params->error); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +void cppIVROverlay_IVROverlay_022_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_022_SetOverlayRenderingPid_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unPID); } -uint32_t cppIVROverlay_IVROverlay_022_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_022_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_022_GetOverlayRenderingPid_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_022_SetOverlayFlag( struct cppIVROverlay_IVROverlay_022_SetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_022_GetOverlayFlag( struct cppIVROverlay_IVROverlay_022_GetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +void cppIVROverlay_IVROverlay_022_GetOverlayFlags( struct cppIVROverlay_IVROverlay_022_GetOverlayFlags_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pFlags); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void cppIVROverlay_IVROverlay_022_SetOverlayColor( struct cppIVROverlay_IVROverlay_022_SetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRed, (float)params->fGreen, (float)params->fBlue); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +void cppIVROverlay_IVROverlay_022_GetOverlayColor( struct cppIVROverlay_IVROverlay_022_GetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRed, (float *)params->pfGreen, (float *)params->pfBlue); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_022_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_022_SetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_022_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_022_GetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +void cppIVROverlay_IVROverlay_022_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_022_SetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +void cppIVROverlay_IVROverlay_022_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_022_GetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +void cppIVROverlay_IVROverlay_022_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_022_SetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +void cppIVROverlay_IVROverlay_022_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_022_GetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_022_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_022_SetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_022_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_022_GetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayCurvature(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fCurvature) +void cppIVROverlay_IVROverlay_022_SetOverlayCurvature( struct cppIVROverlay_IVROverlay_022_SetOverlayCurvature_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayCurvature((vr::VROverlayHandle_t)ulOverlayHandle, (float)fCurvature); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayCurvature((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fCurvature); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayCurvature(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) +void cppIVROverlay_IVROverlay_022_GetOverlayCurvature( struct cppIVROverlay_IVROverlay_022_GetOverlayCurvature_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayCurvature((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfCurvature); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayCurvature((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfCurvature); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +void cppIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace)params->eTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +void cppIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace *)params->peTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_022_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_022_SetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_022_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_022_GetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -uint32_t cppIVROverlay_IVROverlay_022_GetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_022_GetOverlayRenderModel( struct cppIVROverlay_IVROverlay_022_GetOverlayRenderModel_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::HmdColor_t *)pColor, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::HmdColor_t *)params->pColor, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) +void cppIVROverlay_IVROverlay_022_SetOverlayRenderModel( struct cppIVROverlay_IVROverlay_022_SetOverlayRenderModel_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchRenderModel, (const vr::HmdColor_t *)pColor); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchRenderModel, (const vr::HmdColor_t *)params->pColor); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_022_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_022_GetOverlayTransformType_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +void cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchComponentName); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +void cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punDeviceIndex, (char *)params->pchComponentName, (uint32_t)params->unComponentNameSize); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +void cppIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t *)ulOverlayHandleParent, (vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t *)params->ulOverlayHandleParent, (vr::HmdMatrix34_t *)params->pmatParentOverlayToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +void cppIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulOverlayHandleParent, (const vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t)params->ulOverlayHandleParent, (const vr::HmdMatrix34_t *)params->pmatParentOverlayToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTransformCursor(void *linux_side, VROverlayHandle_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) +void cppIVROverlay_IVROverlay_022_SetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_022_SetOverlayTransformCursor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformCursor((vr::VROverlayHandle_t)ulCursorOverlayHandle, (const vr::HmdVector2_t *)pvHotspot); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformCursor((vr::VROverlayHandle_t)params->ulCursorOverlayHandle, (const vr::HmdVector2_t *)params->pvHotspot); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformCursor(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvHotspot) +void cppIVROverlay_IVROverlay_022_GetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_022_GetOverlayTransformCursor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformCursor((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvHotspot); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformCursor((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvHotspot); } -EVROverlayError cppIVROverlay_IVROverlay_022_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_022_ShowOverlay( struct cppIVROverlay_IVROverlay_022_ShowOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_022_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_022_HideOverlay( struct cppIVROverlay_IVROverlay_022_HideOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_022_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_022_IsOverlayVisible( struct cppIVROverlay_IVROverlay_022_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +void cppIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (vr::HmdVector2_t)params->coordinatesInOverlay, (vr::HmdMatrix34_t *)params->pmatTransform); } -bool cppIVROverlay_IVROverlay_022_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1916 *pEvent, uint32_t uncbVREvent) +void cppIVROverlay_IVROverlay_022_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_022_PollNextOverlayEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_1916_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_1916_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_1916_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_1916_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_022_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_022_GetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_022_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_022_SetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_022_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_022_GetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_022_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_022_SetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_022_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_022_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_022_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_022_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_022_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_022_IsHoverTargetOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *pvCenter, float fRadius) +void cppIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, (const vr::HmdVector2_t *)pvCenter, (float)fRadius); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayDualAnalogTransform((vr::VROverlayHandle_t)params->ulOverlay, (vr::EDualAnalogWhich)params->eWhich, (const vr::HmdVector2_t *)params->pvCenter, (float)params->fRadius); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) +void cppIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, (vr::HmdVector2_t *)pvCenter, (float *)pfRadius); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayDualAnalogTransform((vr::VROverlayHandle_t)params->ulOverlay, (vr::EDualAnalogWhich)params->eWhich, (vr::HmdVector2_t *)params->pvCenter, (float *)params->pfRadius); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +void cppIVROverlay_IVROverlay_022_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_022_SetOverlayIntersectionMask_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)params->pMaskPrimitives, (uint32_t)params->unNumMaskPrimitives, (uint32_t)params->unPrimitiveSize); } -EVROverlayError cppIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +void cppIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration( struct cppIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->TriggerLaserMouseHapticVibration((vr::VROverlayHandle_t)ulOverlayHandle, (float)fDurationSeconds, (float)fFrequency, (float)fAmplitude); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->TriggerLaserMouseHapticVibration((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fDurationSeconds, (float)params->fFrequency, (float)params->fAmplitude); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayCursor(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) +void cppIVROverlay_IVROverlay_022_SetOverlayCursor( struct cppIVROverlay_IVROverlay_022_SetOverlayCursor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayCursor((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulCursorHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayCursor((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t)params->ulCursorHandle); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvCursor) +void cppIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayCursorPositionOverride((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvCursor); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayCursorPositionOverride((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvCursor); } -EVROverlayError cppIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayCursorPositionOverride((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayCursorPositionOverride((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +void cppIVROverlay_IVROverlay_022_SetOverlayTexture( struct cppIVROverlay_IVROverlay_022_SetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::Texture_t *)params->pTexture); } -EVROverlayError cppIVROverlay_IVROverlay_022_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_022_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_022_ClearOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +void cppIVROverlay_IVROverlay_022_SetOverlayRaw( struct cppIVROverlay_IVROverlay_022_SetOverlayRaw_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unBytesPerPixel); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unBytesPerPixel); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_022_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_022_SetOverlayFromFile_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +void cppIVROverlay_IVROverlay_022_GetOverlayTexture( struct cppIVROverlay_IVROverlay_022_GetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (void **)params->pNativeTextureHandle, (void *)params->pNativeTextureRef, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight, (uint32_t *)params->pNativeFormat, (vr::ETextureType *)params->pAPIType, (vr::EColorSpace *)params->pColorSpace, (vr::VRTextureBounds_t *)params->pTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +void cppIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pNativeTextureHandle); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +void cppIVROverlay_IVROverlay_022_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_022_GetOverlayTextureSize_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight); } -EVROverlayError cppIVROverlay_IVROverlay_022_CreateDashboardOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +void cppIVROverlay_IVROverlay_022_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_022_CreateDashboardOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateDashboardOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pMainHandle, (vr::VROverlayHandle_t *)params->pThumbnailHandle); } -bool cppIVROverlay_IVROverlay_022_IsDashboardVisible(void *linux_side) +void cppIVROverlay_IVROverlay_022_IsDashboardVisible( struct cppIVROverlay_IVROverlay_022_IsDashboardVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsDashboardVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsDashboardVisible(); } -bool cppIVROverlay_IVROverlay_022_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_022_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_022_IsActiveDashboardOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -EVROverlayError cppIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } -void cppIVROverlay_IVROverlay_022_ShowDashboard(void *linux_side, const char *pchOverlayToShow) +void cppIVROverlay_IVROverlay_022_ShowDashboard( struct cppIVROverlay_IVROverlay_022_ShowDashboard_params *params ) { - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); + ((IVROverlay*)params->linux_side)->ShowDashboard((const char *)params->pchOverlayToShow); } -TrackedDeviceIndex_t cppIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice(void *linux_side) +void cppIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetPrimaryDashboardDevice(); } -EVROverlayError cppIVROverlay_IVROverlay_022_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_022_ShowKeyboard( struct cppIVROverlay_IVROverlay_022_ShowKeyboard_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -EVROverlayError cppIVROverlay_IVROverlay_022_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_022_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_022_ShowKeyboardForOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (bool)params->bUseMinimalMode, (uint64_t)params->uUserValue); } -uint32_t cppIVROverlay_IVROverlay_022_GetKeyboardText(void *linux_side, char *pchText, uint32_t cchText) +void cppIVROverlay_IVROverlay_022_GetKeyboardText( struct cppIVROverlay_IVROverlay_022_GetKeyboardText_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetKeyboardText((char *)params->pchText, (uint32_t)params->cchText); } -void cppIVROverlay_IVROverlay_022_HideKeyboard(void *linux_side) +void cppIVROverlay_IVROverlay_022_HideKeyboard( struct cppIVROverlay_IVROverlay_022_HideKeyboard_params *params ) { - ((IVROverlay*)linux_side)->HideKeyboard(); + ((IVROverlay*)params->linux_side)->HideKeyboard(); } -void cppIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void cppIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); + ((IVROverlay*)params->linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToKeyboardTransform); } -void cppIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void cppIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); + ((IVROverlay*)params->linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdRect2_t)params->avoidRect); } -VRMessageOverlayResponse cppIVROverlay_IVROverlay_022_ShowMessageOverlay(void *linux_side, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +void cppIVROverlay_IVROverlay_022_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_022_ShowMessageOverlay_params *params ) { - VRMessageOverlayResponse _ret; - _ret = ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowMessageOverlay((const char *)params->pchText, (const char *)params->pchCaption, (const char *)params->pchButton0Text, (const char *)params->pchButton1Text, (const char *)params->pchButton2Text, (const char *)params->pchButton3Text); } -void cppIVROverlay_IVROverlay_022_CloseMessageOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_022_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_022_CloseMessageOverlay_params *params ) { - ((IVROverlay*)linux_side)->CloseMessageOverlay(); + ((IVROverlay*)params->linux_side)->CloseMessageOverlay(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_022.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_022.h index db3fd3b8..17f49267 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_022.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_022.h @@ -1,88 +1,787 @@ #ifdef __cplusplus extern "C" { #endif -extern EVROverlayError cppIVROverlay_IVROverlay_022_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_DestroyOverlay(void *, VROverlayHandle_t); -extern uint32_t cppIVROverlay_IVROverlay_022_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_022_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayName(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_022_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayCurvature(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayCurvature(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern uint32_t cppIVROverlay_IVROverlay_022_GetOverlayRenderModel(void *, VROverlayHandle_t, char *, uint32_t, HmdColor_t *, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayRenderModel(void *, VROverlayHandle_t, const char *, const HmdColor_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTransformCursor(void *, VROverlayHandle_t, const HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformCursor(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_022_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_022_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_1916 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_022_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_022_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, const HmdVector2_t *, float); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, HmdVector2_t *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayCursor(void *, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride(void *, VROverlayHandle_t, const HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTexture(void *, VROverlayHandle_t, const Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_022_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_022_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_022_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_022_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_022_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_022_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); -extern void cppIVROverlay_IVROverlay_022_CloseMessageOverlay(void *); +struct cppIVROverlay_IVROverlay_022_FindOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_022_FindOverlay( struct cppIVROverlay_IVROverlay_022_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_022_CreateOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_022_CreateOverlay( struct cppIVROverlay_IVROverlay_022_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_022_DestroyOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_022_DestroyOverlay( struct cppIVROverlay_IVROverlay_022_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayKey( struct cppIVROverlay_IVROverlay_022_GetOverlayKey_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayName( struct cppIVROverlay_IVROverlay_022_GetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayName_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchName; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayName( struct cppIVROverlay_IVROverlay_022_SetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayImageData_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayImageData( struct cppIVROverlay_IVROverlay_022_GetOverlayImageData_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayRenderingPid_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unPID; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_022_SetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_022_GetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayFlag( struct cppIVROverlay_IVROverlay_022_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayFlag( struct cppIVROverlay_IVROverlay_022_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayFlags_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pFlags; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayFlags( struct cppIVROverlay_IVROverlay_022_GetOverlayFlags_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayColor( struct cppIVROverlay_IVROverlay_022_SetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayColor( struct cppIVROverlay_IVROverlay_022_GetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_022_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_022_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_022_SetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_022_GetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unSortOrder; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_022_SetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punSortOrder; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_022_GetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_022_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_022_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayCurvature_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fCurvature; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayCurvature( struct cppIVROverlay_IVROverlay_022_SetOverlayCurvature_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayCurvature_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfCurvature; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayCurvature( struct cppIVROverlay_IVROverlay_022_GetOverlayCurvature_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace eTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace *peTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_022_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_022_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayRenderModel_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + HmdColor_t *pColor; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayRenderModel( struct cppIVROverlay_IVROverlay_022_GetOverlayRenderModel_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayRenderModel_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchRenderModel; + const HmdColor_t *pColor; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayRenderModel( struct cppIVROverlay_IVROverlay_022_SetOverlayRenderModel_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayTransformType_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_022_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchComponentName; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t *ulOverlayHandleParent; + HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t ulOverlayHandleParent; + const HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayTransformCursor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulCursorOverlayHandle; + const HmdVector2_t *pvHotspot; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_022_SetOverlayTransformCursor_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayTransformCursor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvHotspot; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_022_GetOverlayTransformCursor_params *params ); + +struct cppIVROverlay_IVROverlay_022_ShowOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_022_ShowOverlay( struct cppIVROverlay_IVROverlay_022_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_022_HideOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_022_HideOverlay( struct cppIVROverlay_IVROverlay_022_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_022_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_022_IsOverlayVisible( struct cppIVROverlay_IVROverlay_022_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; +extern void cppIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates_params *params ); + +struct cppIVROverlay_IVROverlay_022_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + winVREvent_t_1916 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVROverlay_IVROverlay_022_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_022_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_022_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_022_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_022_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_022_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_022_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_022_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_022_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_022_IsHoverTargetOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_022_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_022_IsHoverTargetOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlay; + EDualAnalogWhich eWhich; + const HmdVector2_t *pvCenter; + float fRadius; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlay; + EDualAnalogWhich eWhich; + HmdVector2_t *pvCenter; + float *pfRadius; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform( struct cppIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayIntersectionMask_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_022_SetOverlayIntersectionMask_params *params ); + +struct cppIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fDurationSeconds; + float fFrequency; + float fAmplitude; +}; +extern void cppIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration( struct cppIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayCursor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t ulCursorHandle; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayCursor( struct cppIVROverlay_IVROverlay_022_SetOverlayCursor_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvCursor; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride_params *params ); + +struct cppIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const Texture_t *pTexture; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayTexture( struct cppIVROverlay_IVROverlay_022_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_022_ClearOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_022_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_022_ClearOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayRaw_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unBytesPerPixel; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayRaw( struct cppIVROverlay_IVROverlay_022_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetOverlayFromFile_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_022_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_022_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + ETextureType *pAPIType; + EColorSpace *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayTexture( struct cppIVROverlay_IVROverlay_022_GetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pNativeTextureHandle; +}; +extern void cppIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetOverlayTextureSize_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; +extern void cppIVROverlay_IVROverlay_022_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_022_GetOverlayTextureSize_params *params ); + +struct cppIVROverlay_IVROverlay_022_CreateDashboardOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pMainHandle; + VROverlayHandle_t *pThumbnailHandle; +}; +extern void cppIVROverlay_IVROverlay_022_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_022_CreateDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_022_IsDashboardVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_022_IsDashboardVisible( struct cppIVROverlay_IVROverlay_022_IsDashboardVisible_params *params ); + +struct cppIVROverlay_IVROverlay_022_IsActiveDashboardOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_022_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_022_IsActiveDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_022_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; +extern void cppIVROverlay_IVROverlay_022_ShowDashboard( struct cppIVROverlay_IVROverlay_022_ShowDashboard_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; +}; +extern void cppIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice_params *params ); + +struct cppIVROverlay_IVROverlay_022_ShowKeyboard_params +{ + void *linux_side; + EVROverlayError _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_022_ShowKeyboard( struct cppIVROverlay_IVROverlay_022_ShowKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_022_ShowKeyboardForOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + bool bUseMinimalMode; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_022_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_022_ShowKeyboardForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_022_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; +extern void cppIVROverlay_IVROverlay_022_GetKeyboardText( struct cppIVROverlay_IVROverlay_022_GetKeyboardText_params *params ); + +struct cppIVROverlay_IVROverlay_022_HideKeyboard_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_022_HideKeyboard( struct cppIVROverlay_IVROverlay_022_HideKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; +extern void cppIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + VROverlayHandle_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; +extern void cppIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_022_ShowMessageOverlay_params +{ + void *linux_side; + VRMessageOverlayResponse _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; +extern void cppIVROverlay_IVROverlay_022_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_022_ShowMessageOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_022_CloseMessageOverlay_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_022_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_022_CloseMessageOverlay_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_024.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_024.cpp index 8c50a155..3323408e 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_024.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_024.cpp @@ -9,546 +9,400 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVROverlayError cppIVROverlay_IVROverlay_024_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_024_FindOverlay( struct cppIVROverlay_IVROverlay_024_FindOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_024_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_024_CreateOverlay( struct cppIVROverlay_IVROverlay_024_CreateOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_024_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_024_DestroyOverlay( struct cppIVROverlay_IVROverlay_024_DestroyOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -uint32_t cppIVROverlay_IVROverlay_024_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_024_GetOverlayKey( struct cppIVROverlay_IVROverlay_024_GetOverlayKey_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayKey((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -uint32_t cppIVROverlay_IVROverlay_024_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_024_GetOverlayName( struct cppIVROverlay_IVROverlay_024_GetOverlayName_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchName) +void cppIVROverlay_IVROverlay_024_SetOverlayName( struct cppIVROverlay_IVROverlay_024_SetOverlayName_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchName); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +void cppIVROverlay_IVROverlay_024_GetOverlayImageData( struct cppIVROverlay_IVROverlay_024_GetOverlayImageData_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unBufferSize, (uint32_t *)params->punWidth, (uint32_t *)params->punHeight); } -const char * cppIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) +void cppIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)params->error); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +void cppIVROverlay_IVROverlay_024_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_024_SetOverlayRenderingPid_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unPID); } -uint32_t cppIVROverlay_IVROverlay_024_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_024_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_024_GetOverlayRenderingPid_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_024_SetOverlayFlag( struct cppIVROverlay_IVROverlay_024_SetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_024_GetOverlayFlag( struct cppIVROverlay_IVROverlay_024_GetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +void cppIVROverlay_IVROverlay_024_GetOverlayFlags( struct cppIVROverlay_IVROverlay_024_GetOverlayFlags_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pFlags); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void cppIVROverlay_IVROverlay_024_SetOverlayColor( struct cppIVROverlay_IVROverlay_024_SetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRed, (float)params->fGreen, (float)params->fBlue); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +void cppIVROverlay_IVROverlay_024_GetOverlayColor( struct cppIVROverlay_IVROverlay_024_GetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRed, (float *)params->pfGreen, (float *)params->pfBlue); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_024_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_024_SetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_024_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_024_GetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +void cppIVROverlay_IVROverlay_024_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_024_SetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +void cppIVROverlay_IVROverlay_024_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_024_GetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +void cppIVROverlay_IVROverlay_024_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_024_SetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +void cppIVROverlay_IVROverlay_024_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_024_GetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_024_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_024_SetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_024_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_024_GetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayCurvature(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fCurvature) +void cppIVROverlay_IVROverlay_024_SetOverlayCurvature( struct cppIVROverlay_IVROverlay_024_SetOverlayCurvature_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayCurvature((vr::VROverlayHandle_t)ulOverlayHandle, (float)fCurvature); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayCurvature((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fCurvature); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayCurvature(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) +void cppIVROverlay_IVROverlay_024_GetOverlayCurvature( struct cppIVROverlay_IVROverlay_024_GetOverlayCurvature_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayCurvature((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfCurvature); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayCurvature((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfCurvature); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +void cppIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace)params->eTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +void cppIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace *)params->peTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_024_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_024_SetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_024_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_024_GetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_024_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_024_GetOverlayTransformType_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +void cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchComponentName); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +void cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punDeviceIndex, (char *)params->pchComponentName, (uint32_t)params->unComponentNameSize); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +void cppIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t *)ulOverlayHandleParent, (vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t *)params->ulOverlayHandleParent, (vr::HmdMatrix34_t *)params->pmatParentOverlayToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +void cppIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulOverlayHandleParent, (const vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t)params->ulOverlayHandleParent, (const vr::HmdMatrix34_t *)params->pmatParentOverlayToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTransformCursor(void *linux_side, VROverlayHandle_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) +void cppIVROverlay_IVROverlay_024_SetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_024_SetOverlayTransformCursor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformCursor((vr::VROverlayHandle_t)ulCursorOverlayHandle, (const vr::HmdVector2_t *)pvHotspot); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformCursor((vr::VROverlayHandle_t)params->ulCursorOverlayHandle, (const vr::HmdVector2_t *)params->pvHotspot); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformCursor(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvHotspot) +void cppIVROverlay_IVROverlay_024_GetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_024_GetOverlayTransformCursor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformCursor((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvHotspot); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformCursor((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvHotspot); } -EVROverlayError cppIVROverlay_IVROverlay_024_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_024_ShowOverlay( struct cppIVROverlay_IVROverlay_024_ShowOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_024_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_024_HideOverlay( struct cppIVROverlay_IVROverlay_024_HideOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_024_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_024_IsOverlayVisible( struct cppIVROverlay_IVROverlay_024_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +void cppIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (vr::HmdVector2_t)params->coordinatesInOverlay, (vr::HmdMatrix34_t *)params->pmatTransform); } -bool cppIVROverlay_IVROverlay_024_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_11415 *pEvent, uint32_t uncbVREvent) +void cppIVROverlay_IVROverlay_024_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_024_PollNextOverlayEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_11415_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_11415_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_11415_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_11415_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_024_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_024_GetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_024_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_024_SetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_024_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_024_GetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_024_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_024_SetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_024_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_024_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_024_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_024_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_024_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_024_IsHoverTargetOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +void cppIVROverlay_IVROverlay_024_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_024_SetOverlayIntersectionMask_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)params->pMaskPrimitives, (uint32_t)params->unNumMaskPrimitives, (uint32_t)params->unPrimitiveSize); } -EVROverlayError cppIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +void cppIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration( struct cppIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->TriggerLaserMouseHapticVibration((vr::VROverlayHandle_t)ulOverlayHandle, (float)fDurationSeconds, (float)fFrequency, (float)fAmplitude); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->TriggerLaserMouseHapticVibration((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fDurationSeconds, (float)params->fFrequency, (float)params->fAmplitude); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayCursor(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) +void cppIVROverlay_IVROverlay_024_SetOverlayCursor( struct cppIVROverlay_IVROverlay_024_SetOverlayCursor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayCursor((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulCursorHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayCursor((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t)params->ulCursorHandle); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvCursor) +void cppIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayCursorPositionOverride((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvCursor); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayCursorPositionOverride((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvCursor); } -EVROverlayError cppIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayCursorPositionOverride((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayCursorPositionOverride((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +void cppIVROverlay_IVROverlay_024_SetOverlayTexture( struct cppIVROverlay_IVROverlay_024_SetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::Texture_t *)params->pTexture); } -EVROverlayError cppIVROverlay_IVROverlay_024_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_024_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_024_ClearOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +void cppIVROverlay_IVROverlay_024_SetOverlayRaw( struct cppIVROverlay_IVROverlay_024_SetOverlayRaw_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unBytesPerPixel); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unBytesPerPixel); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_024_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_024_SetOverlayFromFile_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +void cppIVROverlay_IVROverlay_024_GetOverlayTexture( struct cppIVROverlay_IVROverlay_024_GetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (void **)params->pNativeTextureHandle, (void *)params->pNativeTextureRef, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight, (uint32_t *)params->pNativeFormat, (vr::ETextureType *)params->pAPIType, (vr::EColorSpace *)params->pColorSpace, (vr::VRTextureBounds_t *)params->pTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +void cppIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pNativeTextureHandle); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +void cppIVROverlay_IVROverlay_024_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_024_GetOverlayTextureSize_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight); } -EVROverlayError cppIVROverlay_IVROverlay_024_CreateDashboardOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +void cppIVROverlay_IVROverlay_024_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_024_CreateDashboardOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateDashboardOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pMainHandle, (vr::VROverlayHandle_t *)params->pThumbnailHandle); } -bool cppIVROverlay_IVROverlay_024_IsDashboardVisible(void *linux_side) +void cppIVROverlay_IVROverlay_024_IsDashboardVisible( struct cppIVROverlay_IVROverlay_024_IsDashboardVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsDashboardVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsDashboardVisible(); } -bool cppIVROverlay_IVROverlay_024_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_024_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_024_IsActiveDashboardOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -EVROverlayError cppIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } -void cppIVROverlay_IVROverlay_024_ShowDashboard(void *linux_side, const char *pchOverlayToShow) +void cppIVROverlay_IVROverlay_024_ShowDashboard( struct cppIVROverlay_IVROverlay_024_ShowDashboard_params *params ) { - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); + ((IVROverlay*)params->linux_side)->ShowDashboard((const char *)params->pchOverlayToShow); } -TrackedDeviceIndex_t cppIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice(void *linux_side) +void cppIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetPrimaryDashboardDevice(); } -EVROverlayError cppIVROverlay_IVROverlay_024_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_024_ShowKeyboard( struct cppIVROverlay_IVROverlay_024_ShowKeyboard_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (uint32_t)unFlags, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (uint32_t)params->unFlags, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (uint64_t)params->uUserValue); } -EVROverlayError cppIVROverlay_IVROverlay_024_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_024_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_024_ShowKeyboardForOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (uint32_t)unFlags, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (uint32_t)params->unFlags, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (uint64_t)params->uUserValue); } -uint32_t cppIVROverlay_IVROverlay_024_GetKeyboardText(void *linux_side, char *pchText, uint32_t cchText) +void cppIVROverlay_IVROverlay_024_GetKeyboardText( struct cppIVROverlay_IVROverlay_024_GetKeyboardText_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetKeyboardText((char *)params->pchText, (uint32_t)params->cchText); } -void cppIVROverlay_IVROverlay_024_HideKeyboard(void *linux_side) +void cppIVROverlay_IVROverlay_024_HideKeyboard( struct cppIVROverlay_IVROverlay_024_HideKeyboard_params *params ) { - ((IVROverlay*)linux_side)->HideKeyboard(); + ((IVROverlay*)params->linux_side)->HideKeyboard(); } -void cppIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void cppIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); + ((IVROverlay*)params->linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToKeyboardTransform); } -void cppIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void cppIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); + ((IVROverlay*)params->linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdRect2_t)params->avoidRect); } -VRMessageOverlayResponse cppIVROverlay_IVROverlay_024_ShowMessageOverlay(void *linux_side, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +void cppIVROverlay_IVROverlay_024_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_024_ShowMessageOverlay_params *params ) { - VRMessageOverlayResponse _ret; - _ret = ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowMessageOverlay((const char *)params->pchText, (const char *)params->pchCaption, (const char *)params->pchButton0Text, (const char *)params->pchButton1Text, (const char *)params->pchButton2Text, (const char *)params->pchButton3Text); } -void cppIVROverlay_IVROverlay_024_CloseMessageOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_024_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_024_CloseMessageOverlay_params *params ) { - ((IVROverlay*)linux_side)->CloseMessageOverlay(); + ((IVROverlay*)params->linux_side)->CloseMessageOverlay(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_024.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_024.h index b2b04bf8..a4a2444b 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_024.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_024.h @@ -1,84 +1,743 @@ #ifdef __cplusplus extern "C" { #endif -extern EVROverlayError cppIVROverlay_IVROverlay_024_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_DestroyOverlay(void *, VROverlayHandle_t); -extern uint32_t cppIVROverlay_IVROverlay_024_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_024_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayName(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_024_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayCurvature(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayCurvature(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTransformCursor(void *, VROverlayHandle_t, const HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformCursor(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_024_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_024_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_11415 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_024_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_024_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayCursor(void *, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride(void *, VROverlayHandle_t, const HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTexture(void *, VROverlayHandle_t, const Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_024_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_024_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_024_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, uint32_t, const char *, uint32_t, const char *, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, uint32_t, const char *, uint32_t, const char *, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_024_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_024_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_024_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); -extern void cppIVROverlay_IVROverlay_024_CloseMessageOverlay(void *); +struct cppIVROverlay_IVROverlay_024_FindOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_024_FindOverlay( struct cppIVROverlay_IVROverlay_024_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_024_CreateOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_024_CreateOverlay( struct cppIVROverlay_IVROverlay_024_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_024_DestroyOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_024_DestroyOverlay( struct cppIVROverlay_IVROverlay_024_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayKey( struct cppIVROverlay_IVROverlay_024_GetOverlayKey_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayName( struct cppIVROverlay_IVROverlay_024_GetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayName_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchName; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayName( struct cppIVROverlay_IVROverlay_024_SetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayImageData_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayImageData( struct cppIVROverlay_IVROverlay_024_GetOverlayImageData_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayRenderingPid_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unPID; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_024_SetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_024_GetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayFlag( struct cppIVROverlay_IVROverlay_024_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayFlag( struct cppIVROverlay_IVROverlay_024_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayFlags_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pFlags; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayFlags( struct cppIVROverlay_IVROverlay_024_GetOverlayFlags_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayColor( struct cppIVROverlay_IVROverlay_024_SetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayColor( struct cppIVROverlay_IVROverlay_024_GetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_024_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_024_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_024_SetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_024_GetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unSortOrder; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_024_SetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punSortOrder; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_024_GetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_024_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_024_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayCurvature_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fCurvature; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayCurvature( struct cppIVROverlay_IVROverlay_024_SetOverlayCurvature_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayCurvature_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfCurvature; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayCurvature( struct cppIVROverlay_IVROverlay_024_GetOverlayCurvature_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace eTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace *peTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_024_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_024_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayTransformType_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_024_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchComponentName; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t *ulOverlayHandleParent; + HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t ulOverlayHandleParent; + const HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayTransformCursor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulCursorOverlayHandle; + const HmdVector2_t *pvHotspot; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_024_SetOverlayTransformCursor_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayTransformCursor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvHotspot; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_024_GetOverlayTransformCursor_params *params ); + +struct cppIVROverlay_IVROverlay_024_ShowOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_024_ShowOverlay( struct cppIVROverlay_IVROverlay_024_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_024_HideOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_024_HideOverlay( struct cppIVROverlay_IVROverlay_024_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_024_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_024_IsOverlayVisible( struct cppIVROverlay_IVROverlay_024_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; +extern void cppIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates_params *params ); + +struct cppIVROverlay_IVROverlay_024_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + winVREvent_t_11415 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVROverlay_IVROverlay_024_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_024_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_024_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_024_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_024_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_024_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_024_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_024_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_024_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_024_IsHoverTargetOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_024_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_024_IsHoverTargetOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayIntersectionMask_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_024_SetOverlayIntersectionMask_params *params ); + +struct cppIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fDurationSeconds; + float fFrequency; + float fAmplitude; +}; +extern void cppIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration( struct cppIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayCursor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t ulCursorHandle; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayCursor( struct cppIVROverlay_IVROverlay_024_SetOverlayCursor_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvCursor; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride_params *params ); + +struct cppIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const Texture_t *pTexture; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayTexture( struct cppIVROverlay_IVROverlay_024_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_024_ClearOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_024_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_024_ClearOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayRaw_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unBytesPerPixel; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayRaw( struct cppIVROverlay_IVROverlay_024_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetOverlayFromFile_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_024_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_024_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + ETextureType *pAPIType; + EColorSpace *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayTexture( struct cppIVROverlay_IVROverlay_024_GetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pNativeTextureHandle; +}; +extern void cppIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetOverlayTextureSize_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; +extern void cppIVROverlay_IVROverlay_024_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_024_GetOverlayTextureSize_params *params ); + +struct cppIVROverlay_IVROverlay_024_CreateDashboardOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pMainHandle; + VROverlayHandle_t *pThumbnailHandle; +}; +extern void cppIVROverlay_IVROverlay_024_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_024_CreateDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_024_IsDashboardVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_024_IsDashboardVisible( struct cppIVROverlay_IVROverlay_024_IsDashboardVisible_params *params ); + +struct cppIVROverlay_IVROverlay_024_IsActiveDashboardOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_024_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_024_IsActiveDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_024_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; +extern void cppIVROverlay_IVROverlay_024_ShowDashboard( struct cppIVROverlay_IVROverlay_024_ShowDashboard_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; +}; +extern void cppIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice_params *params ); + +struct cppIVROverlay_IVROverlay_024_ShowKeyboard_params +{ + void *linux_side; + EVROverlayError _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + uint32_t unFlags; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_024_ShowKeyboard( struct cppIVROverlay_IVROverlay_024_ShowKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_024_ShowKeyboardForOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + uint32_t unFlags; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_024_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_024_ShowKeyboardForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_024_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; +extern void cppIVROverlay_IVROverlay_024_GetKeyboardText( struct cppIVROverlay_IVROverlay_024_GetKeyboardText_params *params ); + +struct cppIVROverlay_IVROverlay_024_HideKeyboard_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_024_HideKeyboard( struct cppIVROverlay_IVROverlay_024_HideKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; +extern void cppIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + VROverlayHandle_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; +extern void cppIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_024_ShowMessageOverlay_params +{ + void *linux_side; + VRMessageOverlayResponse _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; +extern void cppIVROverlay_IVROverlay_024_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_024_ShowMessageOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_024_CloseMessageOverlay_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_024_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_024_CloseMessageOverlay_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_025.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_025.cpp index 98a101ea..d496ee47 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_025.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_025.cpp @@ -9,553 +9,405 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVROverlayError cppIVROverlay_IVROverlay_025_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_025_FindOverlay( struct cppIVROverlay_IVROverlay_025_FindOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_025_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_025_CreateOverlay( struct cppIVROverlay_IVROverlay_025_CreateOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_025_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_025_DestroyOverlay( struct cppIVROverlay_IVROverlay_025_DestroyOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -uint32_t cppIVROverlay_IVROverlay_025_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_025_GetOverlayKey( struct cppIVROverlay_IVROverlay_025_GetOverlayKey_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayKey((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -uint32_t cppIVROverlay_IVROverlay_025_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_025_GetOverlayName( struct cppIVROverlay_IVROverlay_025_GetOverlayName_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchName) +void cppIVROverlay_IVROverlay_025_SetOverlayName( struct cppIVROverlay_IVROverlay_025_SetOverlayName_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchName); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +void cppIVROverlay_IVROverlay_025_GetOverlayImageData( struct cppIVROverlay_IVROverlay_025_GetOverlayImageData_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unBufferSize, (uint32_t *)params->punWidth, (uint32_t *)params->punHeight); } -const char * cppIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) +void cppIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)params->error); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +void cppIVROverlay_IVROverlay_025_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_025_SetOverlayRenderingPid_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unPID); } -uint32_t cppIVROverlay_IVROverlay_025_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_025_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_025_GetOverlayRenderingPid_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_025_SetOverlayFlag( struct cppIVROverlay_IVROverlay_025_SetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_025_GetOverlayFlag( struct cppIVROverlay_IVROverlay_025_GetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +void cppIVROverlay_IVROverlay_025_GetOverlayFlags( struct cppIVROverlay_IVROverlay_025_GetOverlayFlags_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pFlags); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void cppIVROverlay_IVROverlay_025_SetOverlayColor( struct cppIVROverlay_IVROverlay_025_SetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRed, (float)params->fGreen, (float)params->fBlue); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +void cppIVROverlay_IVROverlay_025_GetOverlayColor( struct cppIVROverlay_IVROverlay_025_GetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRed, (float *)params->pfGreen, (float *)params->pfBlue); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_025_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_025_SetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_025_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_025_GetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +void cppIVROverlay_IVROverlay_025_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_025_SetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +void cppIVROverlay_IVROverlay_025_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_025_GetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +void cppIVROverlay_IVROverlay_025_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_025_SetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +void cppIVROverlay_IVROverlay_025_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_025_GetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_025_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_025_SetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_025_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_025_GetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayCurvature(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fCurvature) +void cppIVROverlay_IVROverlay_025_SetOverlayCurvature( struct cppIVROverlay_IVROverlay_025_SetOverlayCurvature_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayCurvature((vr::VROverlayHandle_t)ulOverlayHandle, (float)fCurvature); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayCurvature((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fCurvature); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayCurvature(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) +void cppIVROverlay_IVROverlay_025_GetOverlayCurvature( struct cppIVROverlay_IVROverlay_025_GetOverlayCurvature_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayCurvature((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfCurvature); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayCurvature((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfCurvature); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +void cppIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace)params->eTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +void cppIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace *)params->peTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_025_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_025_SetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_025_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_025_GetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_025_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_025_GetOverlayTransformType_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +void cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchComponentName); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +void cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punDeviceIndex, (char *)params->pchComponentName, (uint32_t)params->unComponentNameSize); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +void cppIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t *)ulOverlayHandleParent, (vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t *)params->ulOverlayHandleParent, (vr::HmdMatrix34_t *)params->pmatParentOverlayToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +void cppIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulOverlayHandleParent, (const vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t)params->ulOverlayHandleParent, (const vr::HmdMatrix34_t *)params->pmatParentOverlayToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformCursor(void *linux_side, VROverlayHandle_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) +void cppIVROverlay_IVROverlay_025_SetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_025_SetOverlayTransformCursor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformCursor((vr::VROverlayHandle_t)ulCursorOverlayHandle, (const vr::HmdVector2_t *)pvHotspot); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformCursor((vr::VROverlayHandle_t)params->ulCursorOverlayHandle, (const vr::HmdVector2_t *)params->pvHotspot); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformCursor(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvHotspot) +void cppIVROverlay_IVROverlay_025_GetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_025_GetOverlayTransformCursor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformCursor((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvHotspot); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformCursor((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvHotspot); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformProjection(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform, const VROverlayProjection_t *pProjection, EVREye eEye) +void cppIVROverlay_IVROverlay_025_SetOverlayTransformProjection( struct cppIVROverlay_IVROverlay_025_SetOverlayTransformProjection_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformProjection((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform, (const vr::VROverlayProjection_t *)pProjection, (vr::EVREye)eEye); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformProjection((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform, (const vr::VROverlayProjection_t *)params->pProjection, (vr::EVREye)params->eEye); } -EVROverlayError cppIVROverlay_IVROverlay_025_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_025_ShowOverlay( struct cppIVROverlay_IVROverlay_025_ShowOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_025_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_025_HideOverlay( struct cppIVROverlay_IVROverlay_025_HideOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_025_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_025_IsOverlayVisible( struct cppIVROverlay_IVROverlay_025_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +void cppIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (vr::HmdVector2_t)params->coordinatesInOverlay, (vr::HmdMatrix34_t *)params->pmatTransform); } -bool cppIVROverlay_IVROverlay_025_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1168 *pEvent, uint32_t uncbVREvent) +void cppIVROverlay_IVROverlay_025_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_025_PollNextOverlayEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_1168_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_1168_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_1168_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_1168_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_025_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_025_GetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_025_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_025_SetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_025_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_025_GetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_025_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_025_SetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_025_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_025_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_025_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_025_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_025_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_025_IsHoverTargetOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +void cppIVROverlay_IVROverlay_025_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_025_SetOverlayIntersectionMask_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)params->pMaskPrimitives, (uint32_t)params->unNumMaskPrimitives, (uint32_t)params->unPrimitiveSize); } -EVROverlayError cppIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +void cppIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration( struct cppIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->TriggerLaserMouseHapticVibration((vr::VROverlayHandle_t)ulOverlayHandle, (float)fDurationSeconds, (float)fFrequency, (float)fAmplitude); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->TriggerLaserMouseHapticVibration((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fDurationSeconds, (float)params->fFrequency, (float)params->fAmplitude); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayCursor(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) +void cppIVROverlay_IVROverlay_025_SetOverlayCursor( struct cppIVROverlay_IVROverlay_025_SetOverlayCursor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayCursor((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulCursorHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayCursor((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t)params->ulCursorHandle); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvCursor) +void cppIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayCursorPositionOverride((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvCursor); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayCursorPositionOverride((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvCursor); } -EVROverlayError cppIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayCursorPositionOverride((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayCursorPositionOverride((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +void cppIVROverlay_IVROverlay_025_SetOverlayTexture( struct cppIVROverlay_IVROverlay_025_SetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::Texture_t *)params->pTexture); } -EVROverlayError cppIVROverlay_IVROverlay_025_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_025_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_025_ClearOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +void cppIVROverlay_IVROverlay_025_SetOverlayRaw( struct cppIVROverlay_IVROverlay_025_SetOverlayRaw_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unBytesPerPixel); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unBytesPerPixel); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_025_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_025_SetOverlayFromFile_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +void cppIVROverlay_IVROverlay_025_GetOverlayTexture( struct cppIVROverlay_IVROverlay_025_GetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (void **)params->pNativeTextureHandle, (void *)params->pNativeTextureRef, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight, (uint32_t *)params->pNativeFormat, (vr::ETextureType *)params->pAPIType, (vr::EColorSpace *)params->pColorSpace, (vr::VRTextureBounds_t *)params->pTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +void cppIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pNativeTextureHandle); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +void cppIVROverlay_IVROverlay_025_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_025_GetOverlayTextureSize_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight); } -EVROverlayError cppIVROverlay_IVROverlay_025_CreateDashboardOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +void cppIVROverlay_IVROverlay_025_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_025_CreateDashboardOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateDashboardOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pMainHandle, (vr::VROverlayHandle_t *)params->pThumbnailHandle); } -bool cppIVROverlay_IVROverlay_025_IsDashboardVisible(void *linux_side) +void cppIVROverlay_IVROverlay_025_IsDashboardVisible( struct cppIVROverlay_IVROverlay_025_IsDashboardVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsDashboardVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsDashboardVisible(); } -bool cppIVROverlay_IVROverlay_025_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_025_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_025_IsActiveDashboardOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -EVROverlayError cppIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } -void cppIVROverlay_IVROverlay_025_ShowDashboard(void *linux_side, const char *pchOverlayToShow) +void cppIVROverlay_IVROverlay_025_ShowDashboard( struct cppIVROverlay_IVROverlay_025_ShowDashboard_params *params ) { - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); + ((IVROverlay*)params->linux_side)->ShowDashboard((const char *)params->pchOverlayToShow); } -TrackedDeviceIndex_t cppIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice(void *linux_side) +void cppIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetPrimaryDashboardDevice(); } -EVROverlayError cppIVROverlay_IVROverlay_025_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_025_ShowKeyboard( struct cppIVROverlay_IVROverlay_025_ShowKeyboard_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (uint32_t)unFlags, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (uint32_t)params->unFlags, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (uint64_t)params->uUserValue); } -EVROverlayError cppIVROverlay_IVROverlay_025_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_025_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_025_ShowKeyboardForOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (uint32_t)unFlags, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (uint32_t)params->unFlags, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (uint64_t)params->uUserValue); } -uint32_t cppIVROverlay_IVROverlay_025_GetKeyboardText(void *linux_side, char *pchText, uint32_t cchText) +void cppIVROverlay_IVROverlay_025_GetKeyboardText( struct cppIVROverlay_IVROverlay_025_GetKeyboardText_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetKeyboardText((char *)params->pchText, (uint32_t)params->cchText); } -void cppIVROverlay_IVROverlay_025_HideKeyboard(void *linux_side) +void cppIVROverlay_IVROverlay_025_HideKeyboard( struct cppIVROverlay_IVROverlay_025_HideKeyboard_params *params ) { - ((IVROverlay*)linux_side)->HideKeyboard(); + ((IVROverlay*)params->linux_side)->HideKeyboard(); } -void cppIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void cppIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); + ((IVROverlay*)params->linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToKeyboardTransform); } -void cppIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void cppIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); + ((IVROverlay*)params->linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdRect2_t)params->avoidRect); } -VRMessageOverlayResponse cppIVROverlay_IVROverlay_025_ShowMessageOverlay(void *linux_side, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +void cppIVROverlay_IVROverlay_025_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_025_ShowMessageOverlay_params *params ) { - VRMessageOverlayResponse _ret; - _ret = ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowMessageOverlay((const char *)params->pchText, (const char *)params->pchCaption, (const char *)params->pchButton0Text, (const char *)params->pchButton1Text, (const char *)params->pchButton2Text, (const char *)params->pchButton3Text); } -void cppIVROverlay_IVROverlay_025_CloseMessageOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_025_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_025_CloseMessageOverlay_params *params ) { - ((IVROverlay*)linux_side)->CloseMessageOverlay(); + ((IVROverlay*)params->linux_side)->CloseMessageOverlay(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_025.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_025.h index de871fd9..b5c6fd00 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_025.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_025.h @@ -1,85 +1,755 @@ #ifdef __cplusplus extern "C" { #endif -extern EVROverlayError cppIVROverlay_IVROverlay_025_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_DestroyOverlay(void *, VROverlayHandle_t); -extern uint32_t cppIVROverlay_IVROverlay_025_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_025_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayName(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_025_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayCurvature(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayCurvature(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformCursor(void *, VROverlayHandle_t, const HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformCursor(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformProjection(void *, VROverlayHandle_t, ETrackingUniverseOrigin, const HmdMatrix34_t *, const VROverlayProjection_t *, EVREye); -extern EVROverlayError cppIVROverlay_IVROverlay_025_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_025_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_025_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_1168 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_025_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_025_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayCursor(void *, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride(void *, VROverlayHandle_t, const HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTexture(void *, VROverlayHandle_t, const Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_025_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_025_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_025_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, uint32_t, const char *, uint32_t, const char *, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, uint32_t, const char *, uint32_t, const char *, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_025_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_025_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_025_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); -extern void cppIVROverlay_IVROverlay_025_CloseMessageOverlay(void *); +struct cppIVROverlay_IVROverlay_025_FindOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_025_FindOverlay( struct cppIVROverlay_IVROverlay_025_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_025_CreateOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_025_CreateOverlay( struct cppIVROverlay_IVROverlay_025_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_025_DestroyOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_025_DestroyOverlay( struct cppIVROverlay_IVROverlay_025_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayKey( struct cppIVROverlay_IVROverlay_025_GetOverlayKey_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayName( struct cppIVROverlay_IVROverlay_025_GetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayName_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchName; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayName( struct cppIVROverlay_IVROverlay_025_SetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayImageData_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayImageData( struct cppIVROverlay_IVROverlay_025_GetOverlayImageData_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayRenderingPid_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unPID; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_025_SetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_025_GetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayFlag( struct cppIVROverlay_IVROverlay_025_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayFlag( struct cppIVROverlay_IVROverlay_025_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayFlags_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pFlags; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayFlags( struct cppIVROverlay_IVROverlay_025_GetOverlayFlags_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayColor( struct cppIVROverlay_IVROverlay_025_SetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayColor( struct cppIVROverlay_IVROverlay_025_GetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_025_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_025_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_025_SetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_025_GetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unSortOrder; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_025_SetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punSortOrder; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_025_GetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_025_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_025_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayCurvature_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fCurvature; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayCurvature( struct cppIVROverlay_IVROverlay_025_SetOverlayCurvature_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayCurvature_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfCurvature; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayCurvature( struct cppIVROverlay_IVROverlay_025_GetOverlayCurvature_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace eTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace *peTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_025_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_025_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayTransformType_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_025_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchComponentName; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t *ulOverlayHandleParent; + HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t ulOverlayHandleParent; + const HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayTransformCursor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulCursorOverlayHandle; + const HmdVector2_t *pvHotspot; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_025_SetOverlayTransformCursor_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayTransformCursor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvHotspot; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_025_GetOverlayTransformCursor_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayTransformProjection_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; + const VROverlayProjection_t *pProjection; + EVREye eEye; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayTransformProjection( struct cppIVROverlay_IVROverlay_025_SetOverlayTransformProjection_params *params ); + +struct cppIVROverlay_IVROverlay_025_ShowOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_025_ShowOverlay( struct cppIVROverlay_IVROverlay_025_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_025_HideOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_025_HideOverlay( struct cppIVROverlay_IVROverlay_025_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_025_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_025_IsOverlayVisible( struct cppIVROverlay_IVROverlay_025_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; +extern void cppIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates_params *params ); + +struct cppIVROverlay_IVROverlay_025_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + winVREvent_t_1168 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVROverlay_IVROverlay_025_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_025_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_025_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_025_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_025_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_025_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_025_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_025_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_025_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_025_IsHoverTargetOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_025_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_025_IsHoverTargetOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayIntersectionMask_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_025_SetOverlayIntersectionMask_params *params ); + +struct cppIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fDurationSeconds; + float fFrequency; + float fAmplitude; +}; +extern void cppIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration( struct cppIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayCursor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t ulCursorHandle; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayCursor( struct cppIVROverlay_IVROverlay_025_SetOverlayCursor_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvCursor; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride_params *params ); + +struct cppIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const Texture_t *pTexture; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayTexture( struct cppIVROverlay_IVROverlay_025_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_025_ClearOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_025_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_025_ClearOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayRaw_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unBytesPerPixel; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayRaw( struct cppIVROverlay_IVROverlay_025_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetOverlayFromFile_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_025_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_025_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + ETextureType *pAPIType; + EColorSpace *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayTexture( struct cppIVROverlay_IVROverlay_025_GetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pNativeTextureHandle; +}; +extern void cppIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetOverlayTextureSize_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; +extern void cppIVROverlay_IVROverlay_025_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_025_GetOverlayTextureSize_params *params ); + +struct cppIVROverlay_IVROverlay_025_CreateDashboardOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pMainHandle; + VROverlayHandle_t *pThumbnailHandle; +}; +extern void cppIVROverlay_IVROverlay_025_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_025_CreateDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_025_IsDashboardVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_025_IsDashboardVisible( struct cppIVROverlay_IVROverlay_025_IsDashboardVisible_params *params ); + +struct cppIVROverlay_IVROverlay_025_IsActiveDashboardOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_025_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_025_IsActiveDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_025_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; +extern void cppIVROverlay_IVROverlay_025_ShowDashboard( struct cppIVROverlay_IVROverlay_025_ShowDashboard_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; +}; +extern void cppIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice_params *params ); + +struct cppIVROverlay_IVROverlay_025_ShowKeyboard_params +{ + void *linux_side; + EVROverlayError _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + uint32_t unFlags; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_025_ShowKeyboard( struct cppIVROverlay_IVROverlay_025_ShowKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_025_ShowKeyboardForOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + uint32_t unFlags; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_025_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_025_ShowKeyboardForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_025_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; +extern void cppIVROverlay_IVROverlay_025_GetKeyboardText( struct cppIVROverlay_IVROverlay_025_GetKeyboardText_params *params ); + +struct cppIVROverlay_IVROverlay_025_HideKeyboard_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_025_HideKeyboard( struct cppIVROverlay_IVROverlay_025_HideKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; +extern void cppIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + VROverlayHandle_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; +extern void cppIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_025_ShowMessageOverlay_params +{ + void *linux_side; + VRMessageOverlayResponse _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; +extern void cppIVROverlay_IVROverlay_025_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_025_ShowMessageOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_025_CloseMessageOverlay_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_025_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_025_CloseMessageOverlay_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_026.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_026.cpp index 5abf9900..f9e407be 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_026.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_026.cpp @@ -9,574 +9,420 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVROverlayError cppIVROverlay_IVROverlay_026_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_026_FindOverlay( struct cppIVROverlay_IVROverlay_026_FindOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_026_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_026_CreateOverlay( struct cppIVROverlay_IVROverlay_026_CreateOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_026_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_026_DestroyOverlay( struct cppIVROverlay_IVROverlay_026_DestroyOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -uint32_t cppIVROverlay_IVROverlay_026_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_026_GetOverlayKey( struct cppIVROverlay_IVROverlay_026_GetOverlayKey_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayKey((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -uint32_t cppIVROverlay_IVROverlay_026_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_026_GetOverlayName( struct cppIVROverlay_IVROverlay_026_GetOverlayName_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchName) +void cppIVROverlay_IVROverlay_026_SetOverlayName( struct cppIVROverlay_IVROverlay_026_SetOverlayName_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchName); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +void cppIVROverlay_IVROverlay_026_GetOverlayImageData( struct cppIVROverlay_IVROverlay_026_GetOverlayImageData_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unBufferSize, (uint32_t *)params->punWidth, (uint32_t *)params->punHeight); } -const char * cppIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) +void cppIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)params->error); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +void cppIVROverlay_IVROverlay_026_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_026_SetOverlayRenderingPid_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unPID); } -uint32_t cppIVROverlay_IVROverlay_026_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_026_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_026_GetOverlayRenderingPid_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_026_SetOverlayFlag( struct cppIVROverlay_IVROverlay_026_SetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_026_GetOverlayFlag( struct cppIVROverlay_IVROverlay_026_GetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +void cppIVROverlay_IVROverlay_026_GetOverlayFlags( struct cppIVROverlay_IVROverlay_026_GetOverlayFlags_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pFlags); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void cppIVROverlay_IVROverlay_026_SetOverlayColor( struct cppIVROverlay_IVROverlay_026_SetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRed, (float)params->fGreen, (float)params->fBlue); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +void cppIVROverlay_IVROverlay_026_GetOverlayColor( struct cppIVROverlay_IVROverlay_026_GetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRed, (float *)params->pfGreen, (float *)params->pfBlue); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_026_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_026_SetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_026_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_026_GetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +void cppIVROverlay_IVROverlay_026_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_026_SetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +void cppIVROverlay_IVROverlay_026_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_026_GetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +void cppIVROverlay_IVROverlay_026_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_026_SetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +void cppIVROverlay_IVROverlay_026_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_026_GetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_026_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_026_SetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_026_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_026_GetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayCurvature(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fCurvature) +void cppIVROverlay_IVROverlay_026_SetOverlayCurvature( struct cppIVROverlay_IVROverlay_026_SetOverlayCurvature_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayCurvature((vr::VROverlayHandle_t)ulOverlayHandle, (float)fCurvature); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayCurvature((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fCurvature); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayCurvature(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) +void cppIVROverlay_IVROverlay_026_GetOverlayCurvature( struct cppIVROverlay_IVROverlay_026_GetOverlayCurvature_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayCurvature((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfCurvature); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayCurvature((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfCurvature); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRadians) +void cppIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch( struct cppIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayPreCurvePitch((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRadians); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayPreCurvePitch((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRadians); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRadians) +void cppIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch( struct cppIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayPreCurvePitch((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRadians); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayPreCurvePitch((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRadians); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +void cppIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace)params->eTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +void cppIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace *)params->peTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_026_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_026_SetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_026_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_026_GetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_026_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_026_GetOverlayTransformType_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +void cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchComponentName); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +void cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punDeviceIndex, (char *)params->pchComponentName, (uint32_t)params->unComponentNameSize); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +void cppIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t *)ulOverlayHandleParent, (vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t *)params->ulOverlayHandleParent, (vr::HmdMatrix34_t *)params->pmatParentOverlayToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +void cppIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulOverlayHandleParent, (const vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t)params->ulOverlayHandleParent, (const vr::HmdMatrix34_t *)params->pmatParentOverlayToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformCursor(void *linux_side, VROverlayHandle_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) +void cppIVROverlay_IVROverlay_026_SetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_026_SetOverlayTransformCursor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformCursor((vr::VROverlayHandle_t)ulCursorOverlayHandle, (const vr::HmdVector2_t *)pvHotspot); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformCursor((vr::VROverlayHandle_t)params->ulCursorOverlayHandle, (const vr::HmdVector2_t *)params->pvHotspot); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformCursor(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvHotspot) +void cppIVROverlay_IVROverlay_026_GetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_026_GetOverlayTransformCursor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformCursor((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvHotspot); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformCursor((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvHotspot); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformProjection(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform, const VROverlayProjection_t *pProjection, EVREye eEye) +void cppIVROverlay_IVROverlay_026_SetOverlayTransformProjection( struct cppIVROverlay_IVROverlay_026_SetOverlayTransformProjection_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformProjection((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform, (const vr::VROverlayProjection_t *)pProjection, (vr::EVREye)eEye); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformProjection((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform, (const vr::VROverlayProjection_t *)params->pProjection, (vr::EVREye)params->eEye); } -EVROverlayError cppIVROverlay_IVROverlay_026_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_026_ShowOverlay( struct cppIVROverlay_IVROverlay_026_ShowOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_026_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_026_HideOverlay( struct cppIVROverlay_IVROverlay_026_HideOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_026_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_026_IsOverlayVisible( struct cppIVROverlay_IVROverlay_026_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +void cppIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (vr::HmdVector2_t)params->coordinatesInOverlay, (vr::HmdMatrix34_t *)params->pmatTransform); } -EVROverlayError cppIVROverlay_IVROverlay_026_WaitFrameSync(void *linux_side, uint32_t nTimeoutMs) +void cppIVROverlay_IVROverlay_026_WaitFrameSync( struct cppIVROverlay_IVROverlay_026_WaitFrameSync_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->WaitFrameSync((uint32_t)nTimeoutMs); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->WaitFrameSync((uint32_t)params->nTimeoutMs); } -bool cppIVROverlay_IVROverlay_026_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1237 *pEvent, uint32_t uncbVREvent) +void cppIVROverlay_IVROverlay_026_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_026_PollNextOverlayEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_1237_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_1237_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_1237_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_1237_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_026_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_026_GetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_026_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_026_SetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_026_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_026_GetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_026_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_026_SetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_026_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_026_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_026_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_026_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_026_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_026_IsHoverTargetOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +void cppIVROverlay_IVROverlay_026_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_026_SetOverlayIntersectionMask_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)params->pMaskPrimitives, (uint32_t)params->unNumMaskPrimitives, (uint32_t)params->unPrimitiveSize); } -EVROverlayError cppIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +void cppIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration( struct cppIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->TriggerLaserMouseHapticVibration((vr::VROverlayHandle_t)ulOverlayHandle, (float)fDurationSeconds, (float)fFrequency, (float)fAmplitude); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->TriggerLaserMouseHapticVibration((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fDurationSeconds, (float)params->fFrequency, (float)params->fAmplitude); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayCursor(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) +void cppIVROverlay_IVROverlay_026_SetOverlayCursor( struct cppIVROverlay_IVROverlay_026_SetOverlayCursor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayCursor((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulCursorHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayCursor((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t)params->ulCursorHandle); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvCursor) +void cppIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayCursorPositionOverride((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvCursor); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayCursorPositionOverride((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvCursor); } -EVROverlayError cppIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayCursorPositionOverride((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayCursorPositionOverride((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +void cppIVROverlay_IVROverlay_026_SetOverlayTexture( struct cppIVROverlay_IVROverlay_026_SetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::Texture_t *)params->pTexture); } -EVROverlayError cppIVROverlay_IVROverlay_026_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_026_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_026_ClearOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +void cppIVROverlay_IVROverlay_026_SetOverlayRaw( struct cppIVROverlay_IVROverlay_026_SetOverlayRaw_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unBytesPerPixel); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unBytesPerPixel); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_026_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_026_SetOverlayFromFile_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +void cppIVROverlay_IVROverlay_026_GetOverlayTexture( struct cppIVROverlay_IVROverlay_026_GetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (void **)params->pNativeTextureHandle, (void *)params->pNativeTextureRef, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight, (uint32_t *)params->pNativeFormat, (vr::ETextureType *)params->pAPIType, (vr::EColorSpace *)params->pColorSpace, (vr::VRTextureBounds_t *)params->pTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +void cppIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pNativeTextureHandle); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +void cppIVROverlay_IVROverlay_026_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_026_GetOverlayTextureSize_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight); } -EVROverlayError cppIVROverlay_IVROverlay_026_CreateDashboardOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +void cppIVROverlay_IVROverlay_026_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_026_CreateDashboardOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateDashboardOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pMainHandle, (vr::VROverlayHandle_t *)params->pThumbnailHandle); } -bool cppIVROverlay_IVROverlay_026_IsDashboardVisible(void *linux_side) +void cppIVROverlay_IVROverlay_026_IsDashboardVisible( struct cppIVROverlay_IVROverlay_026_IsDashboardVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsDashboardVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsDashboardVisible(); } -bool cppIVROverlay_IVROverlay_026_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_026_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_026_IsActiveDashboardOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -EVROverlayError cppIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } -void cppIVROverlay_IVROverlay_026_ShowDashboard(void *linux_side, const char *pchOverlayToShow) +void cppIVROverlay_IVROverlay_026_ShowDashboard( struct cppIVROverlay_IVROverlay_026_ShowDashboard_params *params ) { - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); + ((IVROverlay*)params->linux_side)->ShowDashboard((const char *)params->pchOverlayToShow); } -TrackedDeviceIndex_t cppIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice(void *linux_side) +void cppIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetPrimaryDashboardDevice(); } -EVROverlayError cppIVROverlay_IVROverlay_026_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_026_ShowKeyboard( struct cppIVROverlay_IVROverlay_026_ShowKeyboard_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (uint32_t)unFlags, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (uint32_t)params->unFlags, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (uint64_t)params->uUserValue); } -EVROverlayError cppIVROverlay_IVROverlay_026_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_026_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_026_ShowKeyboardForOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (uint32_t)unFlags, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (uint32_t)params->unFlags, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (uint64_t)params->uUserValue); } -uint32_t cppIVROverlay_IVROverlay_026_GetKeyboardText(void *linux_side, char *pchText, uint32_t cchText) +void cppIVROverlay_IVROverlay_026_GetKeyboardText( struct cppIVROverlay_IVROverlay_026_GetKeyboardText_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetKeyboardText((char *)params->pchText, (uint32_t)params->cchText); } -void cppIVROverlay_IVROverlay_026_HideKeyboard(void *linux_side) +void cppIVROverlay_IVROverlay_026_HideKeyboard( struct cppIVROverlay_IVROverlay_026_HideKeyboard_params *params ) { - ((IVROverlay*)linux_side)->HideKeyboard(); + ((IVROverlay*)params->linux_side)->HideKeyboard(); } -void cppIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void cppIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); + ((IVROverlay*)params->linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToKeyboardTransform); } -void cppIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void cppIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); + ((IVROverlay*)params->linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdRect2_t)params->avoidRect); } -VRMessageOverlayResponse cppIVROverlay_IVROverlay_026_ShowMessageOverlay(void *linux_side, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +void cppIVROverlay_IVROverlay_026_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_026_ShowMessageOverlay_params *params ) { - VRMessageOverlayResponse _ret; - _ret = ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowMessageOverlay((const char *)params->pchText, (const char *)params->pchCaption, (const char *)params->pchButton0Text, (const char *)params->pchButton1Text, (const char *)params->pchButton2Text, (const char *)params->pchButton3Text); } -void cppIVROverlay_IVROverlay_026_CloseMessageOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_026_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_026_CloseMessageOverlay_params *params ) { - ((IVROverlay*)linux_side)->CloseMessageOverlay(); + ((IVROverlay*)params->linux_side)->CloseMessageOverlay(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_026.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_026.h index cf807a41..0ab51fc0 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_026.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_026.h @@ -1,88 +1,781 @@ #ifdef __cplusplus extern "C" { #endif -extern EVROverlayError cppIVROverlay_IVROverlay_026_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_DestroyOverlay(void *, VROverlayHandle_t); -extern uint32_t cppIVROverlay_IVROverlay_026_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_026_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayName(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_026_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayCurvature(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayCurvature(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformCursor(void *, VROverlayHandle_t, const HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformCursor(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformProjection(void *, VROverlayHandle_t, ETrackingUniverseOrigin, const HmdMatrix34_t *, const VROverlayProjection_t *, EVREye); -extern EVROverlayError cppIVROverlay_IVROverlay_026_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_026_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_WaitFrameSync(void *, uint32_t); -extern bool cppIVROverlay_IVROverlay_026_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_1237 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_026_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_026_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayCursor(void *, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride(void *, VROverlayHandle_t, const HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTexture(void *, VROverlayHandle_t, const Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_026_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_026_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_026_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, uint32_t, const char *, uint32_t, const char *, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, uint32_t, const char *, uint32_t, const char *, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_026_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_026_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_026_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); -extern void cppIVROverlay_IVROverlay_026_CloseMessageOverlay(void *); +struct cppIVROverlay_IVROverlay_026_FindOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_026_FindOverlay( struct cppIVROverlay_IVROverlay_026_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_026_CreateOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_026_CreateOverlay( struct cppIVROverlay_IVROverlay_026_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_026_DestroyOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_026_DestroyOverlay( struct cppIVROverlay_IVROverlay_026_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayKey( struct cppIVROverlay_IVROverlay_026_GetOverlayKey_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayName( struct cppIVROverlay_IVROverlay_026_GetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayName_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchName; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayName( struct cppIVROverlay_IVROverlay_026_SetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayImageData_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayImageData( struct cppIVROverlay_IVROverlay_026_GetOverlayImageData_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayRenderingPid_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unPID; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_026_SetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_026_GetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayFlag( struct cppIVROverlay_IVROverlay_026_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayFlag( struct cppIVROverlay_IVROverlay_026_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayFlags_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pFlags; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayFlags( struct cppIVROverlay_IVROverlay_026_GetOverlayFlags_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayColor( struct cppIVROverlay_IVROverlay_026_SetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayColor( struct cppIVROverlay_IVROverlay_026_GetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_026_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_026_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_026_SetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_026_GetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unSortOrder; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_026_SetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punSortOrder; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_026_GetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_026_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_026_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayCurvature_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fCurvature; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayCurvature( struct cppIVROverlay_IVROverlay_026_SetOverlayCurvature_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayCurvature_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfCurvature; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayCurvature( struct cppIVROverlay_IVROverlay_026_GetOverlayCurvature_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRadians; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch( struct cppIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRadians; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch( struct cppIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace eTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace *peTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_026_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_026_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayTransformType_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_026_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchComponentName; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t *ulOverlayHandleParent; + HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t ulOverlayHandleParent; + const HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative( struct cppIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayTransformCursor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulCursorOverlayHandle; + const HmdVector2_t *pvHotspot; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_026_SetOverlayTransformCursor_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayTransformCursor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvHotspot; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_026_GetOverlayTransformCursor_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayTransformProjection_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; + const VROverlayProjection_t *pProjection; + EVREye eEye; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayTransformProjection( struct cppIVROverlay_IVROverlay_026_SetOverlayTransformProjection_params *params ); + +struct cppIVROverlay_IVROverlay_026_ShowOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_026_ShowOverlay( struct cppIVROverlay_IVROverlay_026_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_026_HideOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_026_HideOverlay( struct cppIVROverlay_IVROverlay_026_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_026_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_026_IsOverlayVisible( struct cppIVROverlay_IVROverlay_026_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; +extern void cppIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates_params *params ); + +struct cppIVROverlay_IVROverlay_026_WaitFrameSync_params +{ + void *linux_side; + EVROverlayError _ret; + uint32_t nTimeoutMs; +}; +extern void cppIVROverlay_IVROverlay_026_WaitFrameSync( struct cppIVROverlay_IVROverlay_026_WaitFrameSync_params *params ); + +struct cppIVROverlay_IVROverlay_026_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + winVREvent_t_1237 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVROverlay_IVROverlay_026_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_026_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_026_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_026_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_026_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_026_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_026_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_026_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_026_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_026_IsHoverTargetOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_026_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_026_IsHoverTargetOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayIntersectionMask_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_026_SetOverlayIntersectionMask_params *params ); + +struct cppIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fDurationSeconds; + float fFrequency; + float fAmplitude; +}; +extern void cppIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration( struct cppIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayCursor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t ulCursorHandle; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayCursor( struct cppIVROverlay_IVROverlay_026_SetOverlayCursor_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvCursor; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride_params *params ); + +struct cppIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const Texture_t *pTexture; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayTexture( struct cppIVROverlay_IVROverlay_026_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_026_ClearOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_026_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_026_ClearOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayRaw_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unBytesPerPixel; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayRaw( struct cppIVROverlay_IVROverlay_026_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetOverlayFromFile_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_026_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_026_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + ETextureType *pAPIType; + EColorSpace *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayTexture( struct cppIVROverlay_IVROverlay_026_GetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pNativeTextureHandle; +}; +extern void cppIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetOverlayTextureSize_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; +extern void cppIVROverlay_IVROverlay_026_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_026_GetOverlayTextureSize_params *params ); + +struct cppIVROverlay_IVROverlay_026_CreateDashboardOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pMainHandle; + VROverlayHandle_t *pThumbnailHandle; +}; +extern void cppIVROverlay_IVROverlay_026_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_026_CreateDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_026_IsDashboardVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_026_IsDashboardVisible( struct cppIVROverlay_IVROverlay_026_IsDashboardVisible_params *params ); + +struct cppIVROverlay_IVROverlay_026_IsActiveDashboardOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_026_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_026_IsActiveDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_026_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; +extern void cppIVROverlay_IVROverlay_026_ShowDashboard( struct cppIVROverlay_IVROverlay_026_ShowDashboard_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; +}; +extern void cppIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice_params *params ); + +struct cppIVROverlay_IVROverlay_026_ShowKeyboard_params +{ + void *linux_side; + EVROverlayError _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + uint32_t unFlags; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_026_ShowKeyboard( struct cppIVROverlay_IVROverlay_026_ShowKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_026_ShowKeyboardForOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + uint32_t unFlags; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_026_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_026_ShowKeyboardForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_026_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; +extern void cppIVROverlay_IVROverlay_026_GetKeyboardText( struct cppIVROverlay_IVROverlay_026_GetKeyboardText_params *params ); + +struct cppIVROverlay_IVROverlay_026_HideKeyboard_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_026_HideKeyboard( struct cppIVROverlay_IVROverlay_026_HideKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; +extern void cppIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + VROverlayHandle_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; +extern void cppIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_026_ShowMessageOverlay_params +{ + void *linux_side; + VRMessageOverlayResponse _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; +extern void cppIVROverlay_IVROverlay_026_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_026_ShowMessageOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_026_CloseMessageOverlay_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_026_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_026_CloseMessageOverlay_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_027.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_027.cpp index ae21c5e5..839c2d2e 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_027.cpp +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_027.cpp @@ -9,560 +9,410 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVROverlayError cppIVROverlay_IVROverlay_027_FindOverlay(void *linux_side, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_027_FindOverlay( struct cppIVROverlay_IVROverlay_027_FindOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->FindOverlay((const char *)params->pchOverlayKey, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_027_CreateOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) +void cppIVROverlay_IVROverlay_027_CreateOverlay( struct cppIVROverlay_IVROverlay_027_CreateOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayName, (vr::VROverlayHandle_t *)params->pOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_027_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_027_DestroyOverlay( struct cppIVROverlay_IVROverlay_027_DestroyOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->DestroyOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -uint32_t cppIVROverlay_IVROverlay_027_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_027_GetOverlayKey( struct cppIVROverlay_IVROverlay_027_GetOverlayKey_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayKey((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -uint32_t cppIVROverlay_IVROverlay_027_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, EVROverlayError *pError) +void cppIVROverlay_IVROverlay_027_GetOverlayName( struct cppIVROverlay_IVROverlay_027_GetOverlayName_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::EVROverlayError *)params->pError); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchName) +void cppIVROverlay_IVROverlay_027_SetOverlayName( struct cppIVROverlay_IVROverlay_027_SetOverlayName_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayName((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchName); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +void cppIVROverlay_IVROverlay_027_GetOverlayImageData( struct cppIVROverlay_IVROverlay_027_GetOverlayImageData_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unBufferSize, (uint32_t *)params->punWidth, (uint32_t *)params->punHeight); } -const char * cppIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) +void cppIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)params->error); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +void cppIVROverlay_IVROverlay_027_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_027_SetOverlayRenderingPid_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unPID); } -uint32_t cppIVROverlay_IVROverlay_027_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_027_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_027_GetOverlayRenderingPid_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void cppIVROverlay_IVROverlay_027_SetOverlayFlag( struct cppIVROverlay_IVROverlay_027_SetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool)params->bEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) +void cppIVROverlay_IVROverlay_027_GetOverlayFlag( struct cppIVROverlay_IVROverlay_027_GetOverlayFlag_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayFlags)params->eOverlayFlag, (bool *)params->pbEnabled); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) +void cppIVROverlay_IVROverlay_027_GetOverlayFlags( struct cppIVROverlay_IVROverlay_027_GetOverlayFlags_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pFlags); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void cppIVROverlay_IVROverlay_027_SetOverlayColor( struct cppIVROverlay_IVROverlay_027_SetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRed, (float)params->fGreen, (float)params->fBlue); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +void cppIVROverlay_IVROverlay_027_GetOverlayColor( struct cppIVROverlay_IVROverlay_027_GetOverlayColor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayColor((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRed, (float *)params->pfGreen, (float *)params->pfBlue); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) +void cppIVROverlay_IVROverlay_027_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_027_SetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) +void cppIVROverlay_IVROverlay_027_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_027_GetOverlayAlpha_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfAlpha); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +void cppIVROverlay_IVROverlay_027_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_027_SetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) +void cppIVROverlay_IVROverlay_027_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_027_GetOverlayTexelAspect_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfTexelAspect); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +void cppIVROverlay_IVROverlay_027_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_027_SetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) +void cppIVROverlay_IVROverlay_027_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_027_GetOverlaySortOrder_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punSortOrder); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void cppIVROverlay_IVROverlay_027_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_027_SetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) +void cppIVROverlay_IVROverlay_027_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_027_GetOverlayWidthInMeters_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfWidthInMeters); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayCurvature(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fCurvature) +void cppIVROverlay_IVROverlay_027_SetOverlayCurvature( struct cppIVROverlay_IVROverlay_027_SetOverlayCurvature_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayCurvature((vr::VROverlayHandle_t)ulOverlayHandle, (float)fCurvature); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayCurvature((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fCurvature); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayCurvature(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) +void cppIVROverlay_IVROverlay_027_GetOverlayCurvature( struct cppIVROverlay_IVROverlay_027_GetOverlayCurvature_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayCurvature((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfCurvature); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayCurvature((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfCurvature); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRadians) +void cppIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch( struct cppIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayPreCurvePitch((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRadians); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayPreCurvePitch((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fRadians); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch(void *linux_side, VROverlayHandle_t ulOverlayHandle, float *pfRadians) +void cppIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch( struct cppIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayPreCurvePitch((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRadians); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayPreCurvePitch((vr::VROverlayHandle_t)params->ulOverlayHandle, (float *)params->pfRadians); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +void cppIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace)params->eTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) +void cppIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EColorSpace *)params->peTextureColorSpace); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_027_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_027_SetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +void cppIVROverlay_IVROverlay_027_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_027_GetOverlayTextureBounds_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VRTextureBounds_t *)params->pOverlayTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) +void cppIVROverlay_IVROverlay_027_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_027_GetOverlayTransformType_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayTransformType *)params->peTransformType); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +void cppIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin *)params->peTrackingOrigin, (vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unTrackedDevice, (const vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +void cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punTrackedDevice, (vr::HmdMatrix34_t *)params->pmatTrackedDeviceToOverlayTransform); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) +void cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchComponentName); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +void cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::TrackedDeviceIndex_t *)params->punDeviceIndex, (char *)params->pchComponentName, (uint32_t)params->unComponentNameSize); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayTransformCursor(void *linux_side, VROverlayHandle_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) +void cppIVROverlay_IVROverlay_027_SetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_027_SetOverlayTransformCursor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformCursor((vr::VROverlayHandle_t)ulCursorOverlayHandle, (const vr::HmdVector2_t *)pvHotspot); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformCursor((vr::VROverlayHandle_t)params->ulCursorOverlayHandle, (const vr::HmdVector2_t *)params->pvHotspot); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayTransformCursor(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvHotspot) +void cppIVROverlay_IVROverlay_027_GetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_027_GetOverlayTransformCursor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTransformCursor((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvHotspot); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTransformCursor((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvHotspot); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayTransformProjection(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform, const VROverlayProjection_t *pProjection, EVREye eEye) +void cppIVROverlay_IVROverlay_027_SetOverlayTransformProjection( struct cppIVROverlay_IVROverlay_027_SetOverlayTransformProjection_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTransformProjection((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform, (const vr::VROverlayProjection_t *)pProjection, (vr::EVREye)eEye); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTransformProjection((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToOverlayTransform, (const vr::VROverlayProjection_t *)params->pProjection, (vr::EVREye)params->eEye); } -EVROverlayError cppIVROverlay_IVROverlay_027_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_027_ShowOverlay( struct cppIVROverlay_IVROverlay_027_ShowOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_027_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_027_HideOverlay( struct cppIVROverlay_IVROverlay_027_HideOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->HideOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -bool cppIVROverlay_IVROverlay_027_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_027_IsOverlayVisible( struct cppIVROverlay_IVROverlay_027_IsOverlayVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +void cppIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (vr::HmdVector2_t)params->coordinatesInOverlay, (vr::HmdMatrix34_t *)params->pmatTransform); } -EVROverlayError cppIVROverlay_IVROverlay_027_WaitFrameSync(void *linux_side, uint32_t nTimeoutMs) +void cppIVROverlay_IVROverlay_027_WaitFrameSync( struct cppIVROverlay_IVROverlay_027_WaitFrameSync_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->WaitFrameSync((uint32_t)nTimeoutMs); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->WaitFrameSync((uint32_t)params->nTimeoutMs); } -bool cppIVROverlay_IVROverlay_027_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1267 *pEvent, uint32_t uncbVREvent) +void cppIVROverlay_IVROverlay_027_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_027_PollNextOverlayEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_1267_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_1267_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_1267_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVROverlay*)params->linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)params->ulOverlayHandle, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_1267_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) +void cppIVROverlay_IVROverlay_027_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_027_GetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod *)params->peInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +void cppIVROverlay_IVROverlay_027_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_027_SetOverlayInputMethod_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayInputMethod)params->eInputMethod); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_027_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_027_GetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdVector2_t *)params->pvecMouseScale); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +void cppIVROverlay_IVROverlay_027_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_027_SetOverlayMouseScale_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvecMouseScale); } -bool cppIVROverlay_IVROverlay_027_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +void cppIVROverlay_IVROverlay_027_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_027_ComputeOverlayIntersection_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)params->pParams, (vr::VROverlayIntersectionResults_t *)params->pResults); } -bool cppIVROverlay_IVROverlay_027_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_027_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_027_IsHoverTargetOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +void cppIVROverlay_IVROverlay_027_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_027_SetOverlayIntersectionMask_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)params->pMaskPrimitives, (uint32_t)params->unNumMaskPrimitives, (uint32_t)params->unPrimitiveSize); } -EVROverlayError cppIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +void cppIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration( struct cppIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->TriggerLaserMouseHapticVibration((vr::VROverlayHandle_t)ulOverlayHandle, (float)fDurationSeconds, (float)fFrequency, (float)fAmplitude); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->TriggerLaserMouseHapticVibration((vr::VROverlayHandle_t)params->ulOverlayHandle, (float)params->fDurationSeconds, (float)params->fFrequency, (float)params->fAmplitude); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayCursor(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) +void cppIVROverlay_IVROverlay_027_SetOverlayCursor( struct cppIVROverlay_IVROverlay_027_SetOverlayCursor_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayCursor((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulCursorHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayCursor((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::VROverlayHandle_t)params->ulCursorHandle); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride(void *linux_side, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvCursor) +void cppIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayCursorPositionOverride((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvCursor); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayCursorPositionOverride((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::HmdVector2_t *)params->pvCursor); } -EVROverlayError cppIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayCursorPositionOverride((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayCursorPositionOverride((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture) +void cppIVROverlay_IVROverlay_027_SetOverlayTexture( struct cppIVROverlay_IVROverlay_027_SetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (const vr::Texture_t *)params->pTexture); } -EVROverlayError cppIVROverlay_IVROverlay_027_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_027_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_027_ClearOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +void cppIVROverlay_IVROverlay_027_SetOverlayRaw( struct cppIVROverlay_IVROverlay_027_SetOverlayRaw_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unBytesPerPixel); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pvBuffer, (uint32_t)params->unWidth, (uint32_t)params->unHeight, (uint32_t)params->unBytesPerPixel); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) +void cppIVROverlay_IVROverlay_027_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_027_SetOverlayFromFile_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)params->ulOverlayHandle, (const char *)params->pchFilePath); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds) +void cppIVROverlay_IVROverlay_027_GetOverlayTexture( struct cppIVROverlay_IVROverlay_027_GetOverlayTexture_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)params->ulOverlayHandle, (void **)params->pNativeTextureHandle, (void *)params->pNativeTextureRef, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight, (uint32_t *)params->pNativeFormat, (vr::ETextureType *)params->pAPIType, (vr::EColorSpace *)params->pColorSpace, (vr::VRTextureBounds_t *)params->pTextureBounds); } -EVROverlayError cppIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) +void cppIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)params->ulOverlayHandle, (void *)params->pNativeTextureHandle); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +void cppIVROverlay_IVROverlay_027_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_027_GetOverlayTextureSize_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight); } -EVROverlayError cppIVROverlay_IVROverlay_027_CreateDashboardOverlay(void *linux_side, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle) +void cppIVROverlay_IVROverlay_027_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_027_CreateDashboardOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->CreateDashboardOverlay((const char *)params->pchOverlayKey, (const char *)params->pchOverlayFriendlyName, (vr::VROverlayHandle_t *)params->pMainHandle, (vr::VROverlayHandle_t *)params->pThumbnailHandle); } -bool cppIVROverlay_IVROverlay_027_IsDashboardVisible(void *linux_side) +void cppIVROverlay_IVROverlay_027_IsDashboardVisible( struct cppIVROverlay_IVROverlay_027_IsDashboardVisible_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsDashboardVisible(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsDashboardVisible(); } -bool cppIVROverlay_IVROverlay_027_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) +void cppIVROverlay_IVROverlay_027_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_027_IsActiveDashboardOverlay_params *params ) { - bool _ret; - _ret = ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle); } -EVROverlayError cppIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void cppIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t)params->unProcessId); } -EVROverlayError cppIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) +void cppIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)params->ulOverlayHandle, (uint32_t *)params->punProcessId); } -void cppIVROverlay_IVROverlay_027_ShowDashboard(void *linux_side, const char *pchOverlayToShow) +void cppIVROverlay_IVROverlay_027_ShowDashboard( struct cppIVROverlay_IVROverlay_027_ShowDashboard_params *params ) { - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); + ((IVROverlay*)params->linux_side)->ShowDashboard((const char *)params->pchOverlayToShow); } -TrackedDeviceIndex_t cppIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice(void *linux_side) +void cppIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetPrimaryDashboardDevice(); } -EVROverlayError cppIVROverlay_IVROverlay_027_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_027_ShowKeyboard( struct cppIVROverlay_IVROverlay_027_ShowKeyboard_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (uint32_t)unFlags, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (uint32_t)params->unFlags, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (uint64_t)params->uUserValue); } -EVROverlayError cppIVROverlay_IVROverlay_027_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +void cppIVROverlay_IVROverlay_027_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_027_ShowKeyboardForOverlay_params *params ) { - EVROverlayError _ret; - _ret = ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (uint32_t)unFlags, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (uint64_t)uUserValue); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::EGamepadTextInputMode)params->eInputMode, (vr::EGamepadTextInputLineMode)params->eLineInputMode, (uint32_t)params->unFlags, (const char *)params->pchDescription, (uint32_t)params->unCharMax, (const char *)params->pchExistingText, (uint64_t)params->uUserValue); } -uint32_t cppIVROverlay_IVROverlay_027_GetKeyboardText(void *linux_side, char *pchText, uint32_t cchText) +void cppIVROverlay_IVROverlay_027_GetKeyboardText( struct cppIVROverlay_IVROverlay_027_GetKeyboardText_params *params ) { - uint32_t _ret; - _ret = ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->GetKeyboardText((char *)params->pchText, (uint32_t)params->cchText); } -void cppIVROverlay_IVROverlay_027_HideKeyboard(void *linux_side) +void cppIVROverlay_IVROverlay_027_HideKeyboard( struct cppIVROverlay_IVROverlay_027_HideKeyboard_params *params ) { - ((IVROverlay*)linux_side)->HideKeyboard(); + ((IVROverlay*)params->linux_side)->HideKeyboard(); } -void cppIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +void cppIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); + ((IVROverlay*)params->linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)params->eTrackingOrigin, (const vr::HmdMatrix34_t *)params->pmatTrackingOriginToKeyboardTransform); } -void cppIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void cppIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay_params *params ) { - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); + ((IVROverlay*)params->linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)params->ulOverlayHandle, (vr::HmdRect2_t)params->avoidRect); } -VRMessageOverlayResponse cppIVROverlay_IVROverlay_027_ShowMessageOverlay(void *linux_side, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +void cppIVROverlay_IVROverlay_027_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_027_ShowMessageOverlay_params *params ) { - VRMessageOverlayResponse _ret; - _ret = ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); - return _ret; + params->_ret = ((IVROverlay*)params->linux_side)->ShowMessageOverlay((const char *)params->pchText, (const char *)params->pchCaption, (const char *)params->pchButton0Text, (const char *)params->pchButton1Text, (const char *)params->pchButton2Text, (const char *)params->pchButton3Text); } -void cppIVROverlay_IVROverlay_027_CloseMessageOverlay(void *linux_side) +void cppIVROverlay_IVROverlay_027_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_027_CloseMessageOverlay_params *params ) { - ((IVROverlay*)linux_side)->CloseMessageOverlay(); + ((IVROverlay*)params->linux_side)->CloseMessageOverlay(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_027.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_027.h index 4e57d54b..5811a670 100644 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_027.h +++ b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_027.h @@ -1,86 +1,761 @@ #ifdef __cplusplus extern "C" { #endif -extern EVROverlayError cppIVROverlay_IVROverlay_027_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_DestroyOverlay(void *, VROverlayHandle_t); -extern uint32_t cppIVROverlay_IVROverlay_027_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_027_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayName(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_027_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayCurvature(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayCurvature(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayTextureBounds(void *, VROverlayHandle_t, const VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayTransformCursor(void *, VROverlayHandle_t, const HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayTransformCursor(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayTransformProjection(void *, VROverlayHandle_t, ETrackingUniverseOrigin, const HmdMatrix34_t *, const VROverlayProjection_t *, EVREye); -extern EVROverlayError cppIVROverlay_IVROverlay_027_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_027_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_027_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_WaitFrameSync(void *, uint32_t); -extern bool cppIVROverlay_IVROverlay_027_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_1267 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayMouseScale(void *, VROverlayHandle_t, const HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_027_ComputeOverlayIntersection(void *, VROverlayHandle_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_027_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayCursor(void *, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride(void *, VROverlayHandle_t, const HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayTexture(void *, VROverlayHandle_t, const Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_027_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_027_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_027_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_027_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, uint32_t, const char *, uint32_t, const char *, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_027_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, uint32_t, const char *, uint32_t, const char *, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_027_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_027_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, const HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_027_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); -extern void cppIVROverlay_IVROverlay_027_CloseMessageOverlay(void *); +struct cppIVROverlay_IVROverlay_027_FindOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_027_FindOverlay( struct cppIVROverlay_IVROverlay_027_FindOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_027_CreateOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayName; + VROverlayHandle_t *pOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_027_CreateOverlay( struct cppIVROverlay_IVROverlay_027_CreateOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_027_DestroyOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_027_DestroyOverlay( struct cppIVROverlay_IVROverlay_027_DestroyOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayKey( struct cppIVROverlay_IVROverlay_027_GetOverlayKey_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + EVROverlayError *pError; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayName( struct cppIVROverlay_IVROverlay_027_GetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayName_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchName; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayName( struct cppIVROverlay_IVROverlay_027_SetOverlayName_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayImageData_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayImageData( struct cppIVROverlay_IVROverlay_027_GetOverlayImageData_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVROverlayError error; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum( struct cppIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayRenderingPid_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unPID; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_027_SetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayRenderingPid( struct cppIVROverlay_IVROverlay_027_GetOverlayRenderingPid_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool bEnabled; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayFlag( struct cppIVROverlay_IVROverlay_027_SetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayFlag_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayFlags eOverlayFlag; + bool *pbEnabled; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayFlag( struct cppIVROverlay_IVROverlay_027_GetOverlayFlag_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayFlags_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pFlags; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayFlags( struct cppIVROverlay_IVROverlay_027_GetOverlayFlags_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayColor( struct cppIVROverlay_IVROverlay_027_SetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayColor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayColor( struct cppIVROverlay_IVROverlay_027_GetOverlayColor_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fAlpha; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayAlpha( struct cppIVROverlay_IVROverlay_027_SetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayAlpha_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfAlpha; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayAlpha( struct cppIVROverlay_IVROverlay_027_GetOverlayAlpha_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_027_SetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayTexelAspect_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfTexelAspect; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayTexelAspect( struct cppIVROverlay_IVROverlay_027_GetOverlayTexelAspect_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unSortOrder; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlaySortOrder( struct cppIVROverlay_IVROverlay_027_SetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlaySortOrder_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punSortOrder; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlaySortOrder( struct cppIVROverlay_IVROverlay_027_GetOverlaySortOrder_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_027_SetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayWidthInMeters_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfWidthInMeters; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayWidthInMeters( struct cppIVROverlay_IVROverlay_027_GetOverlayWidthInMeters_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayCurvature_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fCurvature; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayCurvature( struct cppIVROverlay_IVROverlay_027_SetOverlayCurvature_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayCurvature_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfCurvature; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayCurvature( struct cppIVROverlay_IVROverlay_027_GetOverlayCurvature_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fRadians; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch( struct cppIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float *pfRadians; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch( struct cppIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace eTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EColorSpace *peTextureColorSpace; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace( struct cppIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_027_SetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayTextureBounds_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayTextureBounds( struct cppIVROverlay_IVROverlay_027_GetOverlayTextureBounds_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayTransformType_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayTransformType *peTransformType; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayTransformType( struct cppIVROverlay_IVROverlay_027_GetOverlayTransformType_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute( struct cppIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative( struct cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchComponentName; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + TrackedDeviceIndex_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent( struct cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayTransformCursor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulCursorOverlayHandle; + const HmdVector2_t *pvHotspot; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_027_SetOverlayTransformCursor_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayTransformCursor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvHotspot; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayTransformCursor( struct cppIVROverlay_IVROverlay_027_GetOverlayTransformCursor_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayTransformProjection_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; + const VROverlayProjection_t *pProjection; + EVREye eEye; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayTransformProjection( struct cppIVROverlay_IVROverlay_027_SetOverlayTransformProjection_params *params ); + +struct cppIVROverlay_IVROverlay_027_ShowOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_027_ShowOverlay( struct cppIVROverlay_IVROverlay_027_ShowOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_027_HideOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_027_HideOverlay( struct cppIVROverlay_IVROverlay_027_HideOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_027_IsOverlayVisible_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_027_IsOverlayVisible( struct cppIVROverlay_IVROverlay_027_IsOverlayVisible_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + ETrackingUniverseOrigin eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; +extern void cppIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates( struct cppIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates_params *params ); + +struct cppIVROverlay_IVROverlay_027_WaitFrameSync_params +{ + void *linux_side; + EVROverlayError _ret; + uint32_t nTimeoutMs; +}; +extern void cppIVROverlay_IVROverlay_027_WaitFrameSync( struct cppIVROverlay_IVROverlay_027_WaitFrameSync_params *params ); + +struct cppIVROverlay_IVROverlay_027_PollNextOverlayEvent_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + winVREvent_t_1267 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVROverlay_IVROverlay_027_PollNextOverlayEvent( struct cppIVROverlay_IVROverlay_027_PollNextOverlayEvent_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod *peInputMethod; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayInputMethod( struct cppIVROverlay_IVROverlay_027_GetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayInputMethod_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayInputMethod eInputMethod; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayInputMethod( struct cppIVROverlay_IVROverlay_027_SetOverlayInputMethod_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayMouseScale( struct cppIVROverlay_IVROverlay_027_GetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayMouseScale_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayMouseScale( struct cppIVROverlay_IVROverlay_027_SetOverlayMouseScale_params *params ); + +struct cppIVROverlay_IVROverlay_027_ComputeOverlayIntersection_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; +extern void cppIVROverlay_IVROverlay_027_ComputeOverlayIntersection( struct cppIVROverlay_IVROverlay_027_ComputeOverlayIntersection_params *params ); + +struct cppIVROverlay_IVROverlay_027_IsHoverTargetOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_027_IsHoverTargetOverlay( struct cppIVROverlay_IVROverlay_027_IsHoverTargetOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayIntersectionMask_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayIntersectionMask( struct cppIVROverlay_IVROverlay_027_SetOverlayIntersectionMask_params *params ); + +struct cppIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + float fDurationSeconds; + float fFrequency; + float fAmplitude; +}; +extern void cppIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration( struct cppIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayCursor_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + VROverlayHandle_t ulCursorHandle; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayCursor( struct cppIVROverlay_IVROverlay_027_SetOverlayCursor_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const HmdVector2_t *pvCursor; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride_params *params ); + +struct cppIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride( struct cppIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const Texture_t *pTexture; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayTexture( struct cppIVROverlay_IVROverlay_027_SetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_027_ClearOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_027_ClearOverlayTexture( struct cppIVROverlay_IVROverlay_027_ClearOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayRaw_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unBytesPerPixel; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayRaw( struct cppIVROverlay_IVROverlay_027_SetOverlayRaw_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetOverlayFromFile_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + const char *pchFilePath; +}; +extern void cppIVROverlay_IVROverlay_027_SetOverlayFromFile( struct cppIVROverlay_IVROverlay_027_SetOverlayFromFile_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayTexture_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + ETextureType *pAPIType; + EColorSpace *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayTexture( struct cppIVROverlay_IVROverlay_027_GetOverlayTexture_params *params ); + +struct cppIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + void *pNativeTextureHandle; +}; +extern void cppIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle( struct cppIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetOverlayTextureSize_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; +extern void cppIVROverlay_IVROverlay_027_GetOverlayTextureSize( struct cppIVROverlay_IVROverlay_027_GetOverlayTextureSize_params *params ); + +struct cppIVROverlay_IVROverlay_027_CreateDashboardOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + VROverlayHandle_t *pMainHandle; + VROverlayHandle_t *pThumbnailHandle; +}; +extern void cppIVROverlay_IVROverlay_027_CreateDashboardOverlay( struct cppIVROverlay_IVROverlay_027_CreateDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_027_IsDashboardVisible_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVROverlay_IVROverlay_027_IsDashboardVisible( struct cppIVROverlay_IVROverlay_027_IsDashboardVisible_params *params ); + +struct cppIVROverlay_IVROverlay_027_IsActiveDashboardOverlay_params +{ + void *linux_side; + bool _ret; + VROverlayHandle_t ulOverlayHandle; +}; +extern void cppIVROverlay_IVROverlay_027_IsActiveDashboardOverlay( struct cppIVROverlay_IVROverlay_027_IsActiveDashboardOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t unProcessId; +}; +extern void cppIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + uint32_t *punProcessId; +}; +extern void cppIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess( struct cppIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess_params *params ); + +struct cppIVROverlay_IVROverlay_027_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; +extern void cppIVROverlay_IVROverlay_027_ShowDashboard( struct cppIVROverlay_IVROverlay_027_ShowDashboard_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; +}; +extern void cppIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice( struct cppIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice_params *params ); + +struct cppIVROverlay_IVROverlay_027_ShowKeyboard_params +{ + void *linux_side; + EVROverlayError _ret; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + uint32_t unFlags; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_027_ShowKeyboard( struct cppIVROverlay_IVROverlay_027_ShowKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_027_ShowKeyboardForOverlay_params +{ + void *linux_side; + EVROverlayError _ret; + VROverlayHandle_t ulOverlayHandle; + EGamepadTextInputMode eInputMode; + EGamepadTextInputLineMode eLineInputMode; + uint32_t unFlags; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + uint64_t uUserValue; +}; +extern void cppIVROverlay_IVROverlay_027_ShowKeyboardForOverlay( struct cppIVROverlay_IVROverlay_027_ShowKeyboardForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_027_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; +extern void cppIVROverlay_IVROverlay_027_GetKeyboardText( struct cppIVROverlay_IVROverlay_027_GetKeyboardText_params *params ); + +struct cppIVROverlay_IVROverlay_027_HideKeyboard_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_027_HideKeyboard( struct cppIVROverlay_IVROverlay_027_HideKeyboard_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + ETrackingUniverseOrigin eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; +extern void cppIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute( struct cppIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute_params *params ); + +struct cppIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + VROverlayHandle_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; +extern void cppIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay( struct cppIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_027_ShowMessageOverlay_params +{ + void *linux_side; + VRMessageOverlayResponse _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; +extern void cppIVROverlay_IVROverlay_027_ShowMessageOverlay( struct cppIVROverlay_IVROverlay_027_ShowMessageOverlay_params *params ); + +struct cppIVROverlay_IVROverlay_027_CloseMessageOverlay_params +{ + void *linux_side; +}; +extern void cppIVROverlay_IVROverlay_027_CloseMessageOverlay( struct cppIVROverlay_IVROverlay_027_CloseMessageOverlay_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.cpp b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.cpp index 99e25a84..7b24da51 100644 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.cpp @@ -9,30 +9,24 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -bool cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel(void *linux_side, const char *pchRenderModelName, winRenderModel_t_0910 *pRenderModel) +void cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel( struct cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel_params *params ) { - bool _ret; - _ret = ((IVRRenderModels*)linux_side)->LoadRenderModel((const char *)pchRenderModelName, struct_RenderModel_t_0910_unwrap(pRenderModel)); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->LoadRenderModel((const char *)params->pchRenderModelName, struct_RenderModel_t_0910_unwrap( params->pRenderModel )); } -void cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel(void *linux_side, winRenderModel_t_0910 *pRenderModel) +void cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel( struct cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel_params *params ) { - ((IVRRenderModels*)linux_side)->FreeRenderModel(struct_RenderModel_t_0910_unwrap(pRenderModel)); + ((IVRRenderModels*)params->linux_side)->FreeRenderModel(struct_RenderModel_t_0910_unwrap( params->pRenderModel )); } -uint32_t cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName(void *linux_side, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) +void cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName( struct cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetRenderModelName((uint32_t)unRenderModelIndex, (char *)pchRenderModelName, (uint32_t)unRenderModelNameLen); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetRenderModelName((uint32_t)params->unRenderModelIndex, (char *)params->pchRenderModelName, (uint32_t)params->unRenderModelNameLen); } -uint32_t cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount(void *linux_side) +void cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount( struct cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetRenderModelCount(); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetRenderModelCount(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.h b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.h index 3349d616..88946059 100644 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.h @@ -1,10 +1,39 @@ #ifdef __cplusplus extern "C" { #endif -extern bool cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel(void *, const char *, winRenderModel_t_0910 *); -extern void cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel(void *, winRenderModel_t_0910 *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName(void *, uint32_t, char *, uint32_t); -extern uint32_t cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount(void *); +struct cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel_params +{ + void *linux_side; + bool _ret; + const char *pchRenderModelName; + winRenderModel_t_0910 *pRenderModel; +}; +extern void cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel( struct cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel_params +{ + void *linux_side; + winRenderModel_t_0910 *pRenderModel; +}; +extern void cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel( struct cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unRenderModelIndex; + char *pchRenderModelName; + uint32_t unRenderModelNameLen; +}; +extern void cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName( struct cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount( struct cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.cpp b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.cpp index 82fbf6e6..0cbef91b 100644 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.cpp @@ -9,93 +9,73 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -bool cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel(void *linux_side, const char *pchRenderModelName, winRenderModel_t_0915 **ppRenderModel) +void cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel( struct cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel_params *params ) { - bool _ret; RenderModel_t *lin_ppRenderModel; - _ret = ((IVRRenderModels*)linux_side)->LoadRenderModel((const char *)pchRenderModelName, ppRenderModel ? &lin_ppRenderModel : nullptr); - if (_ret == 0) - *ppRenderModel = struct_RenderModel_t_0915_wrap(lin_ppRenderModel); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->LoadRenderModel((const char *)params->pchRenderModelName, params->ppRenderModel ? &lin_ppRenderModel : nullptr); + if (params->_ret == 0) + *params->ppRenderModel = struct_RenderModel_t_0915_wrap( lin_ppRenderModel ); } -void cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel(void *linux_side, winRenderModel_t_0915 *pRenderModel) +void cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel( struct cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel_params *params ) { - ((IVRRenderModels*)linux_side)->FreeRenderModel(struct_RenderModel_t_0915_unwrap(pRenderModel)); + ((IVRRenderModels*)params->linux_side)->FreeRenderModel(struct_RenderModel_t_0915_unwrap( params->pRenderModel )); } -bool cppIVRRenderModels_IVRRenderModels_002_LoadTexture(void *linux_side, TextureID_t textureId, winRenderModel_TextureMap_t_0915 **ppTexture) +void cppIVRRenderModels_IVRRenderModels_002_LoadTexture( struct cppIVRRenderModels_IVRRenderModels_002_LoadTexture_params *params ) { - bool _ret; RenderModel_TextureMap_t *lin_ppTexture; - _ret = ((IVRRenderModels*)linux_side)->LoadTexture((vr::TextureID_t)textureId, ppTexture ? &lin_ppTexture : nullptr); - if (_ret == 0) - *ppTexture = struct_RenderModel_TextureMap_t_0915_wrap(lin_ppTexture); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->LoadTexture((vr::TextureID_t)params->textureId, params->ppTexture ? &lin_ppTexture : nullptr); + if (params->_ret == 0) + *params->ppTexture = struct_RenderModel_TextureMap_t_0915_wrap( lin_ppTexture ); } -void cppIVRRenderModels_IVRRenderModels_002_FreeTexture(void *linux_side, winRenderModel_TextureMap_t_0915 *pTexture) +void cppIVRRenderModels_IVRRenderModels_002_FreeTexture( struct cppIVRRenderModels_IVRRenderModels_002_FreeTexture_params *params ) { - ((IVRRenderModels*)linux_side)->FreeTexture(struct_RenderModel_TextureMap_t_0915_unwrap(pTexture)); + ((IVRRenderModels*)params->linux_side)->FreeTexture(struct_RenderModel_TextureMap_t_0915_unwrap( params->pTexture )); } -uint32_t cppIVRRenderModels_IVRRenderModels_002_GetRenderModelName(void *linux_side, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) +void cppIVRRenderModels_IVRRenderModels_002_GetRenderModelName( struct cppIVRRenderModels_IVRRenderModels_002_GetRenderModelName_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetRenderModelName((uint32_t)unRenderModelIndex, (char *)pchRenderModelName, (uint32_t)unRenderModelNameLen); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetRenderModelName((uint32_t)params->unRenderModelIndex, (char *)params->pchRenderModelName, (uint32_t)params->unRenderModelNameLen); } -uint32_t cppIVRRenderModels_IVRRenderModels_002_GetRenderModelCount(void *linux_side) +void cppIVRRenderModels_IVRRenderModels_002_GetRenderModelCount( struct cppIVRRenderModels_IVRRenderModels_002_GetRenderModelCount_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetRenderModelCount(); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetRenderModelCount(); } -uint32_t cppIVRRenderModels_IVRRenderModels_002_GetComponentCount(void *linux_side, const char *pchRenderModelName) +void cppIVRRenderModels_IVRRenderModels_002_GetComponentCount( struct cppIVRRenderModels_IVRRenderModels_002_GetComponentCount_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetComponentCount((const char *)pchRenderModelName); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetComponentCount((const char *)params->pchRenderModelName); } -uint32_t cppIVRRenderModels_IVRRenderModels_002_GetComponentName(void *linux_side, const char *pchRenderModelName, uint32_t unComponentIndex, char *pchComponentName, uint32_t unComponentNameLen) +void cppIVRRenderModels_IVRRenderModels_002_GetComponentName( struct cppIVRRenderModels_IVRRenderModels_002_GetComponentName_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetComponentName((const char *)pchRenderModelName, (uint32_t)unComponentIndex, (char *)pchComponentName, (uint32_t)unComponentNameLen); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetComponentName((const char *)params->pchRenderModelName, (uint32_t)params->unComponentIndex, (char *)params->pchComponentName, (uint32_t)params->unComponentNameLen); } -uint64_t cppIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask(void *linux_side, const char *pchRenderModelName, const char *pchComponentName) +void cppIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask( struct cppIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask_params *params ) { - uint64_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetComponentButtonMask((const char *)pchRenderModelName, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetComponentButtonMask((const char *)params->pchRenderModelName, (const char *)params->pchComponentName); } -uint32_t cppIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName(void *linux_side, const char *pchRenderModelName, const char *pchComponentName, char *pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) +void cppIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName( struct cppIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetComponentRenderModelName((const char *)pchRenderModelName, (const char *)pchComponentName, (char *)pchComponentRenderModelName, (uint32_t)unComponentRenderModelNameLen); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetComponentRenderModelName((const char *)params->pchRenderModelName, (const char *)params->pchComponentName, (char *)params->pchComponentRenderModelName, (uint32_t)params->unComponentRenderModelNameLen); } -bool cppIVRRenderModels_IVRRenderModels_002_GetComponentState(void *linux_side, const char *pchRenderModelName, const char *pchComponentName, const VRControllerState_t *pControllerState, RenderModel_ComponentState_t *pComponentState) +void cppIVRRenderModels_IVRRenderModels_002_GetComponentState( struct cppIVRRenderModels_IVRRenderModels_002_GetComponentState_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_0915_win_to_lin(pControllerState, &lin_pControllerState); - _ret = ((IVRRenderModels*)linux_side)->GetComponentState((const char *)pchRenderModelName, (const char *)pchComponentName, pControllerState ? &lin_pControllerState : nullptr, (vr::RenderModel_ComponentState_t *)pComponentState); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_0915_win_to_lin( params->pControllerState, &lin_pControllerState ); + params->_ret = ((IVRRenderModels*)params->linux_side)->GetComponentState((const char *)params->pchRenderModelName, (const char *)params->pchComponentName, params->pControllerState ? &lin_pControllerState : nullptr, (vr::RenderModel_ComponentState_t *)params->pComponentState); } -bool cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent(void *linux_side, const char *pchRenderModelName, const char *pchComponentName) +void cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent( struct cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent_params *params ) { - bool _ret; - _ret = ((IVRRenderModels*)linux_side)->RenderModelHasComponent((const char *)pchRenderModelName, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->RenderModelHasComponent((const char *)params->pchRenderModelName, (const char *)params->pchComponentName); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.h b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.h index 6ece8095..d760f6aa 100644 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.h +++ b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.h @@ -1,18 +1,114 @@ #ifdef __cplusplus extern "C" { #endif -extern bool cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel(void *, const char *, winRenderModel_t_0915 **); -extern void cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel(void *, winRenderModel_t_0915 *); -extern bool cppIVRRenderModels_IVRRenderModels_002_LoadTexture(void *, TextureID_t, winRenderModel_TextureMap_t_0915 **); -extern void cppIVRRenderModels_IVRRenderModels_002_FreeTexture(void *, winRenderModel_TextureMap_t_0915 *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_002_GetRenderModelName(void *, uint32_t, char *, uint32_t); -extern uint32_t cppIVRRenderModels_IVRRenderModels_002_GetRenderModelCount(void *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_002_GetComponentCount(void *, const char *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_002_GetComponentName(void *, const char *, uint32_t, char *, uint32_t); -extern uint64_t cppIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask(void *, const char *, const char *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName(void *, const char *, const char *, char *, uint32_t); -extern bool cppIVRRenderModels_IVRRenderModels_002_GetComponentState(void *, const char *, const char *, const VRControllerState_t *, RenderModel_ComponentState_t *); -extern bool cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent(void *, const char *, const char *); +struct cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel_params +{ + void *linux_side; + bool _ret; + const char *pchRenderModelName; + winRenderModel_t_0915 **ppRenderModel; +}; +extern void cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel( struct cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel_params +{ + void *linux_side; + winRenderModel_t_0915 *pRenderModel; +}; +extern void cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel( struct cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_002_LoadTexture_params +{ + void *linux_side; + bool _ret; + TextureID_t textureId; + winRenderModel_TextureMap_t_0915 **ppTexture; +}; +extern void cppIVRRenderModels_IVRRenderModels_002_LoadTexture( struct cppIVRRenderModels_IVRRenderModels_002_LoadTexture_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_002_FreeTexture_params +{ + void *linux_side; + winRenderModel_TextureMap_t_0915 *pTexture; +}; +extern void cppIVRRenderModels_IVRRenderModels_002_FreeTexture( struct cppIVRRenderModels_IVRRenderModels_002_FreeTexture_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_002_GetRenderModelName_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unRenderModelIndex; + char *pchRenderModelName; + uint32_t unRenderModelNameLen; +}; +extern void cppIVRRenderModels_IVRRenderModels_002_GetRenderModelName( struct cppIVRRenderModels_IVRRenderModels_002_GetRenderModelName_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_002_GetRenderModelCount_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRRenderModels_IVRRenderModels_002_GetRenderModelCount( struct cppIVRRenderModels_IVRRenderModels_002_GetRenderModelCount_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_002_GetComponentCount_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; +}; +extern void cppIVRRenderModels_IVRRenderModels_002_GetComponentCount( struct cppIVRRenderModels_IVRRenderModels_002_GetComponentCount_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_002_GetComponentName_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + uint32_t unComponentIndex; + char *pchComponentName; + uint32_t unComponentNameLen; +}; +extern void cppIVRRenderModels_IVRRenderModels_002_GetComponentName( struct cppIVRRenderModels_IVRRenderModels_002_GetComponentName_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask_params +{ + void *linux_side; + uint64_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; +}; +extern void cppIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask( struct cppIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; + char *pchComponentRenderModelName; + uint32_t unComponentRenderModelNameLen; +}; +extern void cppIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName( struct cppIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_002_GetComponentState_params +{ + void *linux_side; + bool _ret; + const char *pchRenderModelName; + const char *pchComponentName; + const VRControllerState_t *pControllerState; + RenderModel_ComponentState_t *pComponentState; +}; +extern void cppIVRRenderModels_IVRRenderModels_002_GetComponentState( struct cppIVRRenderModels_IVRRenderModels_002_GetComponentState_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent_params +{ + void *linux_side; + bool _ret; + const char *pchRenderModelName; + const char *pchComponentName; +}; +extern void cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent( struct cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.cpp b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.cpp index 6b25752d..e572fa8f 100644 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.cpp @@ -9,105 +9,83 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVRRenderModelError cppIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async(void *linux_side, const char *pchRenderModelName, winRenderModel_t_0918 **ppRenderModel) +void cppIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async( struct cppIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async_params *params ) { - EVRRenderModelError _ret; RenderModel_t *lin_ppRenderModel; - _ret = ((IVRRenderModels*)linux_side)->LoadRenderModel_Async((const char *)pchRenderModelName, ppRenderModel ? &lin_ppRenderModel : nullptr); - if (_ret == 0) - *ppRenderModel = struct_RenderModel_t_0918_wrap(lin_ppRenderModel); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->LoadRenderModel_Async((const char *)params->pchRenderModelName, params->ppRenderModel ? &lin_ppRenderModel : nullptr); + if (params->_ret == 0) + *params->ppRenderModel = struct_RenderModel_t_0918_wrap( lin_ppRenderModel ); } -void cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel(void *linux_side, winRenderModel_t_0918 *pRenderModel) +void cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel( struct cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel_params *params ) { - ((IVRRenderModels*)linux_side)->FreeRenderModel(struct_RenderModel_t_0918_unwrap(pRenderModel)); + ((IVRRenderModels*)params->linux_side)->FreeRenderModel(struct_RenderModel_t_0918_unwrap( params->pRenderModel )); } -EVRRenderModelError cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async(void *linux_side, TextureID_t textureId, winRenderModel_TextureMap_t_0918 **ppTexture) +void cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async( struct cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async_params *params ) { - EVRRenderModelError _ret; RenderModel_TextureMap_t *lin_ppTexture; - _ret = ((IVRRenderModels*)linux_side)->LoadTexture_Async((vr::TextureID_t)textureId, ppTexture ? &lin_ppTexture : nullptr); - if (_ret == 0) - *ppTexture = struct_RenderModel_TextureMap_t_0918_wrap(lin_ppTexture); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->LoadTexture_Async((vr::TextureID_t)params->textureId, params->ppTexture ? &lin_ppTexture : nullptr); + if (params->_ret == 0) + *params->ppTexture = struct_RenderModel_TextureMap_t_0918_wrap( lin_ppTexture ); } -void cppIVRRenderModels_IVRRenderModels_004_FreeTexture(void *linux_side, winRenderModel_TextureMap_t_0918 *pTexture) +void cppIVRRenderModels_IVRRenderModels_004_FreeTexture( struct cppIVRRenderModels_IVRRenderModels_004_FreeTexture_params *params ) { - ((IVRRenderModels*)linux_side)->FreeTexture(struct_RenderModel_TextureMap_t_0918_unwrap(pTexture)); + ((IVRRenderModels*)params->linux_side)->FreeTexture(struct_RenderModel_TextureMap_t_0918_unwrap( params->pTexture )); } -EVRRenderModelError cppIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async(void *linux_side, TextureID_t textureId, void *pD3D11Device, void **ppD3D11Texture2D) +void cppIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async( struct cppIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async_params *params ) { - EVRRenderModelError _ret; - _ret = ((IVRRenderModels*)linux_side)->LoadTextureD3D11_Async((vr::TextureID_t)textureId, (void *)pD3D11Device, (void **)ppD3D11Texture2D); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->LoadTextureD3D11_Async((vr::TextureID_t)params->textureId, (void *)params->pD3D11Device, (void **)params->ppD3D11Texture2D); } -void cppIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11(void *linux_side, void *pD3D11Texture2D) +void cppIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11( struct cppIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11_params *params ) { - ((IVRRenderModels*)linux_side)->FreeTextureD3D11((void *)pD3D11Texture2D); + ((IVRRenderModels*)params->linux_side)->FreeTextureD3D11((void *)params->pD3D11Texture2D); } -uint32_t cppIVRRenderModels_IVRRenderModels_004_GetRenderModelName(void *linux_side, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) +void cppIVRRenderModels_IVRRenderModels_004_GetRenderModelName( struct cppIVRRenderModels_IVRRenderModels_004_GetRenderModelName_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetRenderModelName((uint32_t)unRenderModelIndex, (char *)pchRenderModelName, (uint32_t)unRenderModelNameLen); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetRenderModelName((uint32_t)params->unRenderModelIndex, (char *)params->pchRenderModelName, (uint32_t)params->unRenderModelNameLen); } -uint32_t cppIVRRenderModels_IVRRenderModels_004_GetRenderModelCount(void *linux_side) +void cppIVRRenderModels_IVRRenderModels_004_GetRenderModelCount( struct cppIVRRenderModels_IVRRenderModels_004_GetRenderModelCount_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetRenderModelCount(); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetRenderModelCount(); } -uint32_t cppIVRRenderModels_IVRRenderModels_004_GetComponentCount(void *linux_side, const char *pchRenderModelName) +void cppIVRRenderModels_IVRRenderModels_004_GetComponentCount( struct cppIVRRenderModels_IVRRenderModels_004_GetComponentCount_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetComponentCount((const char *)pchRenderModelName); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetComponentCount((const char *)params->pchRenderModelName); } -uint32_t cppIVRRenderModels_IVRRenderModels_004_GetComponentName(void *linux_side, const char *pchRenderModelName, uint32_t unComponentIndex, char *pchComponentName, uint32_t unComponentNameLen) +void cppIVRRenderModels_IVRRenderModels_004_GetComponentName( struct cppIVRRenderModels_IVRRenderModels_004_GetComponentName_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetComponentName((const char *)pchRenderModelName, (uint32_t)unComponentIndex, (char *)pchComponentName, (uint32_t)unComponentNameLen); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetComponentName((const char *)params->pchRenderModelName, (uint32_t)params->unComponentIndex, (char *)params->pchComponentName, (uint32_t)params->unComponentNameLen); } -uint64_t cppIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask(void *linux_side, const char *pchRenderModelName, const char *pchComponentName) +void cppIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask( struct cppIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask_params *params ) { - uint64_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetComponentButtonMask((const char *)pchRenderModelName, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetComponentButtonMask((const char *)params->pchRenderModelName, (const char *)params->pchComponentName); } -uint32_t cppIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName(void *linux_side, const char *pchRenderModelName, const char *pchComponentName, char *pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) +void cppIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName( struct cppIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetComponentRenderModelName((const char *)pchRenderModelName, (const char *)pchComponentName, (char *)pchComponentRenderModelName, (uint32_t)unComponentRenderModelNameLen); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetComponentRenderModelName((const char *)params->pchRenderModelName, (const char *)params->pchComponentName, (char *)params->pchComponentRenderModelName, (uint32_t)params->unComponentRenderModelNameLen); } -bool cppIVRRenderModels_IVRRenderModels_004_GetComponentState(void *linux_side, const char *pchRenderModelName, const char *pchComponentName, const VRControllerState_t *pControllerState, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState) +void cppIVRRenderModels_IVRRenderModels_004_GetComponentState( struct cppIVRRenderModels_IVRRenderModels_004_GetComponentState_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_0918_win_to_lin(pControllerState, &lin_pControllerState); - _ret = ((IVRRenderModels*)linux_side)->GetComponentState((const char *)pchRenderModelName, (const char *)pchComponentName, pControllerState ? &lin_pControllerState : nullptr, (const vr::RenderModel_ControllerMode_State_t *)pState, (vr::RenderModel_ComponentState_t *)pComponentState); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_0918_win_to_lin( params->pControllerState, &lin_pControllerState ); + params->_ret = ((IVRRenderModels*)params->linux_side)->GetComponentState((const char *)params->pchRenderModelName, (const char *)params->pchComponentName, params->pControllerState ? &lin_pControllerState : nullptr, (const vr::RenderModel_ControllerMode_State_t *)params->pState, (vr::RenderModel_ComponentState_t *)params->pComponentState); } -bool cppIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent(void *linux_side, const char *pchRenderModelName, const char *pchComponentName) +void cppIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent( struct cppIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent_params *params ) { - bool _ret; - _ret = ((IVRRenderModels*)linux_side)->RenderModelHasComponent((const char *)pchRenderModelName, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->RenderModelHasComponent((const char *)params->pchRenderModelName, (const char *)params->pchComponentName); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.h b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.h index ff5758d2..f68eb0bb 100644 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.h +++ b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.h @@ -1,20 +1,132 @@ #ifdef __cplusplus extern "C" { #endif -extern EVRRenderModelError cppIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async(void *, const char *, winRenderModel_t_0918 **); -extern void cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel(void *, winRenderModel_t_0918 *); -extern EVRRenderModelError cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async(void *, TextureID_t, winRenderModel_TextureMap_t_0918 **); -extern void cppIVRRenderModels_IVRRenderModels_004_FreeTexture(void *, winRenderModel_TextureMap_t_0918 *); -extern EVRRenderModelError cppIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async(void *, TextureID_t, void *, void **); -extern void cppIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11(void *, void *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_004_GetRenderModelName(void *, uint32_t, char *, uint32_t); -extern uint32_t cppIVRRenderModels_IVRRenderModels_004_GetRenderModelCount(void *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_004_GetComponentCount(void *, const char *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_004_GetComponentName(void *, const char *, uint32_t, char *, uint32_t); -extern uint64_t cppIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask(void *, const char *, const char *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName(void *, const char *, const char *, char *, uint32_t); -extern bool cppIVRRenderModels_IVRRenderModels_004_GetComponentState(void *, const char *, const char *, const VRControllerState_t *, const RenderModel_ControllerMode_State_t *, RenderModel_ComponentState_t *); -extern bool cppIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent(void *, const char *, const char *); +struct cppIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async_params +{ + void *linux_side; + EVRRenderModelError _ret; + const char *pchRenderModelName; + winRenderModel_t_0918 **ppRenderModel; +}; +extern void cppIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async( struct cppIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel_params +{ + void *linux_side; + winRenderModel_t_0918 *pRenderModel; +}; +extern void cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel( struct cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async_params +{ + void *linux_side; + EVRRenderModelError _ret; + TextureID_t textureId; + winRenderModel_TextureMap_t_0918 **ppTexture; +}; +extern void cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async( struct cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_004_FreeTexture_params +{ + void *linux_side; + winRenderModel_TextureMap_t_0918 *pTexture; +}; +extern void cppIVRRenderModels_IVRRenderModels_004_FreeTexture( struct cppIVRRenderModels_IVRRenderModels_004_FreeTexture_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async_params +{ + void *linux_side; + EVRRenderModelError _ret; + TextureID_t textureId; + void *pD3D11Device; + void **ppD3D11Texture2D; +}; +extern void cppIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async( struct cppIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11_params +{ + void *linux_side; + void *pD3D11Texture2D; +}; +extern void cppIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11( struct cppIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_004_GetRenderModelName_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unRenderModelIndex; + char *pchRenderModelName; + uint32_t unRenderModelNameLen; +}; +extern void cppIVRRenderModels_IVRRenderModels_004_GetRenderModelName( struct cppIVRRenderModels_IVRRenderModels_004_GetRenderModelName_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_004_GetRenderModelCount_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRRenderModels_IVRRenderModels_004_GetRenderModelCount( struct cppIVRRenderModels_IVRRenderModels_004_GetRenderModelCount_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_004_GetComponentCount_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; +}; +extern void cppIVRRenderModels_IVRRenderModels_004_GetComponentCount( struct cppIVRRenderModels_IVRRenderModels_004_GetComponentCount_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_004_GetComponentName_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + uint32_t unComponentIndex; + char *pchComponentName; + uint32_t unComponentNameLen; +}; +extern void cppIVRRenderModels_IVRRenderModels_004_GetComponentName( struct cppIVRRenderModels_IVRRenderModels_004_GetComponentName_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask_params +{ + void *linux_side; + uint64_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; +}; +extern void cppIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask( struct cppIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; + char *pchComponentRenderModelName; + uint32_t unComponentRenderModelNameLen; +}; +extern void cppIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName( struct cppIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_004_GetComponentState_params +{ + void *linux_side; + bool _ret; + const char *pchRenderModelName; + const char *pchComponentName; + const VRControllerState_t *pControllerState; + const RenderModel_ControllerMode_State_t *pState; + RenderModel_ComponentState_t *pComponentState; +}; +extern void cppIVRRenderModels_IVRRenderModels_004_GetComponentState( struct cppIVRRenderModels_IVRRenderModels_004_GetComponentState_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent_params +{ + void *linux_side; + bool _ret; + const char *pchRenderModelName; + const char *pchComponentName; +}; +extern void cppIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent( struct cppIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.cpp b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.cpp index 2ad16796..0bc75601 100644 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.cpp @@ -9,133 +9,103 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVRRenderModelError cppIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async(void *linux_side, const char *pchRenderModelName, winRenderModel_t_1015 **ppRenderModel) +void cppIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async( struct cppIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async_params *params ) { - EVRRenderModelError _ret; RenderModel_t *lin_ppRenderModel; - _ret = ((IVRRenderModels*)linux_side)->LoadRenderModel_Async((const char *)pchRenderModelName, ppRenderModel ? &lin_ppRenderModel : nullptr); - if (_ret == 0) - *ppRenderModel = struct_RenderModel_t_1015_wrap(lin_ppRenderModel); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->LoadRenderModel_Async((const char *)params->pchRenderModelName, params->ppRenderModel ? &lin_ppRenderModel : nullptr); + if (params->_ret == 0) + *params->ppRenderModel = struct_RenderModel_t_1015_wrap( lin_ppRenderModel ); } -void cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel(void *linux_side, winRenderModel_t_1015 *pRenderModel) +void cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel( struct cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel_params *params ) { - ((IVRRenderModels*)linux_side)->FreeRenderModel(struct_RenderModel_t_1015_unwrap(pRenderModel)); + ((IVRRenderModels*)params->linux_side)->FreeRenderModel(struct_RenderModel_t_1015_unwrap( params->pRenderModel )); } -EVRRenderModelError cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async(void *linux_side, TextureID_t textureId, winRenderModel_TextureMap_t_1015 **ppTexture) +void cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async( struct cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async_params *params ) { - EVRRenderModelError _ret; RenderModel_TextureMap_t *lin_ppTexture; - _ret = ((IVRRenderModels*)linux_side)->LoadTexture_Async((vr::TextureID_t)textureId, ppTexture ? &lin_ppTexture : nullptr); - if (_ret == 0) - *ppTexture = struct_RenderModel_TextureMap_t_1015_wrap(lin_ppTexture); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->LoadTexture_Async((vr::TextureID_t)params->textureId, params->ppTexture ? &lin_ppTexture : nullptr); + if (params->_ret == 0) + *params->ppTexture = struct_RenderModel_TextureMap_t_1015_wrap( lin_ppTexture ); } -void cppIVRRenderModels_IVRRenderModels_005_FreeTexture(void *linux_side, winRenderModel_TextureMap_t_1015 *pTexture) +void cppIVRRenderModels_IVRRenderModels_005_FreeTexture( struct cppIVRRenderModels_IVRRenderModels_005_FreeTexture_params *params ) { - ((IVRRenderModels*)linux_side)->FreeTexture(struct_RenderModel_TextureMap_t_1015_unwrap(pTexture)); + ((IVRRenderModels*)params->linux_side)->FreeTexture(struct_RenderModel_TextureMap_t_1015_unwrap( params->pTexture )); } -EVRRenderModelError cppIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async(void *linux_side, TextureID_t textureId, void *pD3D11Device, void **ppD3D11Texture2D) +void cppIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async( struct cppIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async_params *params ) { - EVRRenderModelError _ret; - _ret = ((IVRRenderModels*)linux_side)->LoadTextureD3D11_Async((vr::TextureID_t)textureId, (void *)pD3D11Device, (void **)ppD3D11Texture2D); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->LoadTextureD3D11_Async((vr::TextureID_t)params->textureId, (void *)params->pD3D11Device, (void **)params->ppD3D11Texture2D); } -EVRRenderModelError cppIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async(void *linux_side, TextureID_t textureId, void *pDstTexture) +void cppIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async( struct cppIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async_params *params ) { - EVRRenderModelError _ret; - _ret = ((IVRRenderModels*)linux_side)->LoadIntoTextureD3D11_Async((vr::TextureID_t)textureId, (void *)pDstTexture); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->LoadIntoTextureD3D11_Async((vr::TextureID_t)params->textureId, (void *)params->pDstTexture); } -void cppIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11(void *linux_side, void *pD3D11Texture2D) +void cppIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11( struct cppIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11_params *params ) { - ((IVRRenderModels*)linux_side)->FreeTextureD3D11((void *)pD3D11Texture2D); + ((IVRRenderModels*)params->linux_side)->FreeTextureD3D11((void *)params->pD3D11Texture2D); } -uint32_t cppIVRRenderModels_IVRRenderModels_005_GetRenderModelName(void *linux_side, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) +void cppIVRRenderModels_IVRRenderModels_005_GetRenderModelName( struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelName_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetRenderModelName((uint32_t)unRenderModelIndex, (char *)pchRenderModelName, (uint32_t)unRenderModelNameLen); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetRenderModelName((uint32_t)params->unRenderModelIndex, (char *)params->pchRenderModelName, (uint32_t)params->unRenderModelNameLen); } -uint32_t cppIVRRenderModels_IVRRenderModels_005_GetRenderModelCount(void *linux_side) +void cppIVRRenderModels_IVRRenderModels_005_GetRenderModelCount( struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelCount_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetRenderModelCount(); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetRenderModelCount(); } -uint32_t cppIVRRenderModels_IVRRenderModels_005_GetComponentCount(void *linux_side, const char *pchRenderModelName) +void cppIVRRenderModels_IVRRenderModels_005_GetComponentCount( struct cppIVRRenderModels_IVRRenderModels_005_GetComponentCount_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetComponentCount((const char *)pchRenderModelName); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetComponentCount((const char *)params->pchRenderModelName); } -uint32_t cppIVRRenderModels_IVRRenderModels_005_GetComponentName(void *linux_side, const char *pchRenderModelName, uint32_t unComponentIndex, char *pchComponentName, uint32_t unComponentNameLen) +void cppIVRRenderModels_IVRRenderModels_005_GetComponentName( struct cppIVRRenderModels_IVRRenderModels_005_GetComponentName_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetComponentName((const char *)pchRenderModelName, (uint32_t)unComponentIndex, (char *)pchComponentName, (uint32_t)unComponentNameLen); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetComponentName((const char *)params->pchRenderModelName, (uint32_t)params->unComponentIndex, (char *)params->pchComponentName, (uint32_t)params->unComponentNameLen); } -uint64_t cppIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask(void *linux_side, const char *pchRenderModelName, const char *pchComponentName) +void cppIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask( struct cppIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask_params *params ) { - uint64_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetComponentButtonMask((const char *)pchRenderModelName, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetComponentButtonMask((const char *)params->pchRenderModelName, (const char *)params->pchComponentName); } -uint32_t cppIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName(void *linux_side, const char *pchRenderModelName, const char *pchComponentName, char *pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) +void cppIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName( struct cppIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetComponentRenderModelName((const char *)pchRenderModelName, (const char *)pchComponentName, (char *)pchComponentRenderModelName, (uint32_t)unComponentRenderModelNameLen); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetComponentRenderModelName((const char *)params->pchRenderModelName, (const char *)params->pchComponentName, (char *)params->pchComponentRenderModelName, (uint32_t)params->unComponentRenderModelNameLen); } -bool cppIVRRenderModels_IVRRenderModels_005_GetComponentState(void *linux_side, const char *pchRenderModelName, const char *pchComponentName, const VRControllerState_t *pControllerState, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState) +void cppIVRRenderModels_IVRRenderModels_005_GetComponentState( struct cppIVRRenderModels_IVRRenderModels_005_GetComponentState_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_1015_win_to_lin(pControllerState, &lin_pControllerState); - _ret = ((IVRRenderModels*)linux_side)->GetComponentState((const char *)pchRenderModelName, (const char *)pchComponentName, pControllerState ? &lin_pControllerState : nullptr, (const vr::RenderModel_ControllerMode_State_t *)pState, (vr::RenderModel_ComponentState_t *)pComponentState); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_1015_win_to_lin( params->pControllerState, &lin_pControllerState ); + params->_ret = ((IVRRenderModels*)params->linux_side)->GetComponentState((const char *)params->pchRenderModelName, (const char *)params->pchComponentName, params->pControllerState ? &lin_pControllerState : nullptr, (const vr::RenderModel_ControllerMode_State_t *)params->pState, (vr::RenderModel_ComponentState_t *)params->pComponentState); } -bool cppIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent(void *linux_side, const char *pchRenderModelName, const char *pchComponentName) +void cppIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent( struct cppIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent_params *params ) { - bool _ret; - _ret = ((IVRRenderModels*)linux_side)->RenderModelHasComponent((const char *)pchRenderModelName, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->RenderModelHasComponent((const char *)params->pchRenderModelName, (const char *)params->pchComponentName); } -uint32_t cppIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL(void *linux_side, const char *pchRenderModelName, char *pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError *peError) +void cppIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL( struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetRenderModelThumbnailURL((const char *)pchRenderModelName, (char *)pchThumbnailURL, (uint32_t)unThumbnailURLLen, (vr::EVRRenderModelError *)peError); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetRenderModelThumbnailURL((const char *)params->pchRenderModelName, (char *)params->pchThumbnailURL, (uint32_t)params->unThumbnailURLLen, (vr::EVRRenderModelError *)params->peError); } -uint32_t cppIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath(void *linux_side, const char *pchRenderModelName, char *pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError *peError) +void cppIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath( struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetRenderModelOriginalPath((const char *)pchRenderModelName, (char *)pchOriginalPath, (uint32_t)unOriginalPathLen, (vr::EVRRenderModelError *)peError); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetRenderModelOriginalPath((const char *)params->pchRenderModelName, (char *)params->pchOriginalPath, (uint32_t)params->unOriginalPathLen, (vr::EVRRenderModelError *)params->peError); } -const char * cppIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum(void *linux_side, EVRRenderModelError error) +void cppIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum( struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRRenderModels*)linux_side)->GetRenderModelErrorNameFromEnum((vr::EVRRenderModelError)error); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetRenderModelErrorNameFromEnum((vr::EVRRenderModelError)params->error); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.h b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.h index 58333066..ea943e47 100644 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.h +++ b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.h @@ -1,24 +1,171 @@ #ifdef __cplusplus extern "C" { #endif -extern EVRRenderModelError cppIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async(void *, const char *, winRenderModel_t_1015 **); -extern void cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel(void *, winRenderModel_t_1015 *); -extern EVRRenderModelError cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async(void *, TextureID_t, winRenderModel_TextureMap_t_1015 **); -extern void cppIVRRenderModels_IVRRenderModels_005_FreeTexture(void *, winRenderModel_TextureMap_t_1015 *); -extern EVRRenderModelError cppIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async(void *, TextureID_t, void *, void **); -extern EVRRenderModelError cppIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async(void *, TextureID_t, void *); -extern void cppIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11(void *, void *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_005_GetRenderModelName(void *, uint32_t, char *, uint32_t); -extern uint32_t cppIVRRenderModels_IVRRenderModels_005_GetRenderModelCount(void *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_005_GetComponentCount(void *, const char *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_005_GetComponentName(void *, const char *, uint32_t, char *, uint32_t); -extern uint64_t cppIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask(void *, const char *, const char *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName(void *, const char *, const char *, char *, uint32_t); -extern bool cppIVRRenderModels_IVRRenderModels_005_GetComponentState(void *, const char *, const char *, const VRControllerState_t *, const RenderModel_ControllerMode_State_t *, RenderModel_ComponentState_t *); -extern bool cppIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent(void *, const char *, const char *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL(void *, const char *, char *, uint32_t, EVRRenderModelError *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath(void *, const char *, char *, uint32_t, EVRRenderModelError *); -extern const char * cppIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum(void *, EVRRenderModelError); +struct cppIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async_params +{ + void *linux_side; + EVRRenderModelError _ret; + const char *pchRenderModelName; + winRenderModel_t_1015 **ppRenderModel; +}; +extern void cppIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async( struct cppIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel_params +{ + void *linux_side; + winRenderModel_t_1015 *pRenderModel; +}; +extern void cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel( struct cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async_params +{ + void *linux_side; + EVRRenderModelError _ret; + TextureID_t textureId; + winRenderModel_TextureMap_t_1015 **ppTexture; +}; +extern void cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async( struct cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_005_FreeTexture_params +{ + void *linux_side; + winRenderModel_TextureMap_t_1015 *pTexture; +}; +extern void cppIVRRenderModels_IVRRenderModels_005_FreeTexture( struct cppIVRRenderModels_IVRRenderModels_005_FreeTexture_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async_params +{ + void *linux_side; + EVRRenderModelError _ret; + TextureID_t textureId; + void *pD3D11Device; + void **ppD3D11Texture2D; +}; +extern void cppIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async( struct cppIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async_params +{ + void *linux_side; + EVRRenderModelError _ret; + TextureID_t textureId; + void *pDstTexture; +}; +extern void cppIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async( struct cppIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11_params +{ + void *linux_side; + void *pD3D11Texture2D; +}; +extern void cppIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11( struct cppIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelName_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unRenderModelIndex; + char *pchRenderModelName; + uint32_t unRenderModelNameLen; +}; +extern void cppIVRRenderModels_IVRRenderModels_005_GetRenderModelName( struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelName_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelCount_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRRenderModels_IVRRenderModels_005_GetRenderModelCount( struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelCount_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_005_GetComponentCount_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; +}; +extern void cppIVRRenderModels_IVRRenderModels_005_GetComponentCount( struct cppIVRRenderModels_IVRRenderModels_005_GetComponentCount_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_005_GetComponentName_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + uint32_t unComponentIndex; + char *pchComponentName; + uint32_t unComponentNameLen; +}; +extern void cppIVRRenderModels_IVRRenderModels_005_GetComponentName( struct cppIVRRenderModels_IVRRenderModels_005_GetComponentName_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask_params +{ + void *linux_side; + uint64_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; +}; +extern void cppIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask( struct cppIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; + char *pchComponentRenderModelName; + uint32_t unComponentRenderModelNameLen; +}; +extern void cppIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName( struct cppIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_005_GetComponentState_params +{ + void *linux_side; + bool _ret; + const char *pchRenderModelName; + const char *pchComponentName; + const VRControllerState_t *pControllerState; + const RenderModel_ControllerMode_State_t *pState; + RenderModel_ComponentState_t *pComponentState; +}; +extern void cppIVRRenderModels_IVRRenderModels_005_GetComponentState( struct cppIVRRenderModels_IVRRenderModels_005_GetComponentState_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent_params +{ + void *linux_side; + bool _ret; + const char *pchRenderModelName; + const char *pchComponentName; +}; +extern void cppIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent( struct cppIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + char *pchThumbnailURL; + uint32_t unThumbnailURLLen; + EVRRenderModelError *peError; +}; +extern void cppIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL( struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + char *pchOriginalPath; + uint32_t unOriginalPathLen; + EVRRenderModelError *peError; +}; +extern void cppIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath( struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRRenderModelError error; +}; +extern void cppIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum( struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.cpp b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.cpp index 2c154500..21108896 100644 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.cpp @@ -9,140 +9,108 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVRRenderModelError cppIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async(void *linux_side, const char *pchRenderModelName, winRenderModel_t_1267 **ppRenderModel) +void cppIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async( struct cppIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async_params *params ) { - EVRRenderModelError _ret; RenderModel_t *lin_ppRenderModel; - _ret = ((IVRRenderModels*)linux_side)->LoadRenderModel_Async((const char *)pchRenderModelName, ppRenderModel ? &lin_ppRenderModel : nullptr); - if (_ret == 0) - *ppRenderModel = struct_RenderModel_t_1267_wrap(lin_ppRenderModel); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->LoadRenderModel_Async((const char *)params->pchRenderModelName, params->ppRenderModel ? &lin_ppRenderModel : nullptr); + if (params->_ret == 0) + *params->ppRenderModel = struct_RenderModel_t_1267_wrap( lin_ppRenderModel ); } -void cppIVRRenderModels_IVRRenderModels_006_FreeRenderModel(void *linux_side, winRenderModel_t_1267 *pRenderModel) +void cppIVRRenderModels_IVRRenderModels_006_FreeRenderModel( struct cppIVRRenderModels_IVRRenderModels_006_FreeRenderModel_params *params ) { - ((IVRRenderModels*)linux_side)->FreeRenderModel(struct_RenderModel_t_1267_unwrap(pRenderModel)); + ((IVRRenderModels*)params->linux_side)->FreeRenderModel(struct_RenderModel_t_1267_unwrap( params->pRenderModel )); } -EVRRenderModelError cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async(void *linux_side, TextureID_t textureId, winRenderModel_TextureMap_t_1267 **ppTexture) +void cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async( struct cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async_params *params ) { - EVRRenderModelError _ret; RenderModel_TextureMap_t *lin_ppTexture; - _ret = ((IVRRenderModels*)linux_side)->LoadTexture_Async((vr::TextureID_t)textureId, ppTexture ? &lin_ppTexture : nullptr); - if (_ret == 0) - *ppTexture = struct_RenderModel_TextureMap_t_1267_wrap(lin_ppTexture); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->LoadTexture_Async((vr::TextureID_t)params->textureId, params->ppTexture ? &lin_ppTexture : nullptr); + if (params->_ret == 0) + *params->ppTexture = struct_RenderModel_TextureMap_t_1267_wrap( lin_ppTexture ); } -void cppIVRRenderModels_IVRRenderModels_006_FreeTexture(void *linux_side, winRenderModel_TextureMap_t_1267 *pTexture) +void cppIVRRenderModels_IVRRenderModels_006_FreeTexture( struct cppIVRRenderModels_IVRRenderModels_006_FreeTexture_params *params ) { - ((IVRRenderModels*)linux_side)->FreeTexture(struct_RenderModel_TextureMap_t_1267_unwrap(pTexture)); + ((IVRRenderModels*)params->linux_side)->FreeTexture(struct_RenderModel_TextureMap_t_1267_unwrap( params->pTexture )); } -EVRRenderModelError cppIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async(void *linux_side, TextureID_t textureId, void *pD3D11Device, void **ppD3D11Texture2D) +void cppIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async( struct cppIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async_params *params ) { - EVRRenderModelError _ret; - _ret = ((IVRRenderModels*)linux_side)->LoadTextureD3D11_Async((vr::TextureID_t)textureId, (void *)pD3D11Device, (void **)ppD3D11Texture2D); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->LoadTextureD3D11_Async((vr::TextureID_t)params->textureId, (void *)params->pD3D11Device, (void **)params->ppD3D11Texture2D); } -EVRRenderModelError cppIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async(void *linux_side, TextureID_t textureId, void *pDstTexture) +void cppIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async( struct cppIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async_params *params ) { - EVRRenderModelError _ret; - _ret = ((IVRRenderModels*)linux_side)->LoadIntoTextureD3D11_Async((vr::TextureID_t)textureId, (void *)pDstTexture); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->LoadIntoTextureD3D11_Async((vr::TextureID_t)params->textureId, (void *)params->pDstTexture); } -void cppIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11(void *linux_side, void *pD3D11Texture2D) +void cppIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11( struct cppIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11_params *params ) { - ((IVRRenderModels*)linux_side)->FreeTextureD3D11((void *)pD3D11Texture2D); + ((IVRRenderModels*)params->linux_side)->FreeTextureD3D11((void *)params->pD3D11Texture2D); } -uint32_t cppIVRRenderModels_IVRRenderModels_006_GetRenderModelName(void *linux_side, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) +void cppIVRRenderModels_IVRRenderModels_006_GetRenderModelName( struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelName_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetRenderModelName((uint32_t)unRenderModelIndex, (char *)pchRenderModelName, (uint32_t)unRenderModelNameLen); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetRenderModelName((uint32_t)params->unRenderModelIndex, (char *)params->pchRenderModelName, (uint32_t)params->unRenderModelNameLen); } -uint32_t cppIVRRenderModels_IVRRenderModels_006_GetRenderModelCount(void *linux_side) +void cppIVRRenderModels_IVRRenderModels_006_GetRenderModelCount( struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelCount_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetRenderModelCount(); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetRenderModelCount(); } -uint32_t cppIVRRenderModels_IVRRenderModels_006_GetComponentCount(void *linux_side, const char *pchRenderModelName) +void cppIVRRenderModels_IVRRenderModels_006_GetComponentCount( struct cppIVRRenderModels_IVRRenderModels_006_GetComponentCount_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetComponentCount((const char *)pchRenderModelName); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetComponentCount((const char *)params->pchRenderModelName); } -uint32_t cppIVRRenderModels_IVRRenderModels_006_GetComponentName(void *linux_side, const char *pchRenderModelName, uint32_t unComponentIndex, char *pchComponentName, uint32_t unComponentNameLen) +void cppIVRRenderModels_IVRRenderModels_006_GetComponentName( struct cppIVRRenderModels_IVRRenderModels_006_GetComponentName_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetComponentName((const char *)pchRenderModelName, (uint32_t)unComponentIndex, (char *)pchComponentName, (uint32_t)unComponentNameLen); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetComponentName((const char *)params->pchRenderModelName, (uint32_t)params->unComponentIndex, (char *)params->pchComponentName, (uint32_t)params->unComponentNameLen); } -uint64_t cppIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask(void *linux_side, const char *pchRenderModelName, const char *pchComponentName) +void cppIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask( struct cppIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask_params *params ) { - uint64_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetComponentButtonMask((const char *)pchRenderModelName, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetComponentButtonMask((const char *)params->pchRenderModelName, (const char *)params->pchComponentName); } -uint32_t cppIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName(void *linux_side, const char *pchRenderModelName, const char *pchComponentName, char *pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) +void cppIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName( struct cppIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetComponentRenderModelName((const char *)pchRenderModelName, (const char *)pchComponentName, (char *)pchComponentRenderModelName, (uint32_t)unComponentRenderModelNameLen); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetComponentRenderModelName((const char *)params->pchRenderModelName, (const char *)params->pchComponentName, (char *)params->pchComponentRenderModelName, (uint32_t)params->unComponentRenderModelNameLen); } -bool cppIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath(void *linux_side, const char *pchRenderModelName, const char *pchComponentName, VRInputValueHandle_t devicePath, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState) +void cppIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath( struct cppIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath_params *params ) { - bool _ret; - _ret = ((IVRRenderModels*)linux_side)->GetComponentStateForDevicePath((const char *)pchRenderModelName, (const char *)pchComponentName, (vr::VRInputValueHandle_t)devicePath, (const vr::RenderModel_ControllerMode_State_t *)pState, (vr::RenderModel_ComponentState_t *)pComponentState); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetComponentStateForDevicePath((const char *)params->pchRenderModelName, (const char *)params->pchComponentName, (vr::VRInputValueHandle_t)params->devicePath, (const vr::RenderModel_ControllerMode_State_t *)params->pState, (vr::RenderModel_ComponentState_t *)params->pComponentState); } -bool cppIVRRenderModels_IVRRenderModels_006_GetComponentState(void *linux_side, const char *pchRenderModelName, const char *pchComponentName, const VRControllerState_t *pControllerState, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState) +void cppIVRRenderModels_IVRRenderModels_006_GetComponentState( struct cppIVRRenderModels_IVRRenderModels_006_GetComponentState_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_1267_win_to_lin(pControllerState, &lin_pControllerState); - _ret = ((IVRRenderModels*)linux_side)->GetComponentState((const char *)pchRenderModelName, (const char *)pchComponentName, pControllerState ? &lin_pControllerState : nullptr, (const vr::RenderModel_ControllerMode_State_t *)pState, (vr::RenderModel_ComponentState_t *)pComponentState); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_1267_win_to_lin( params->pControllerState, &lin_pControllerState ); + params->_ret = ((IVRRenderModels*)params->linux_side)->GetComponentState((const char *)params->pchRenderModelName, (const char *)params->pchComponentName, params->pControllerState ? &lin_pControllerState : nullptr, (const vr::RenderModel_ControllerMode_State_t *)params->pState, (vr::RenderModel_ComponentState_t *)params->pComponentState); } -bool cppIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent(void *linux_side, const char *pchRenderModelName, const char *pchComponentName) +void cppIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent( struct cppIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent_params *params ) { - bool _ret; - _ret = ((IVRRenderModels*)linux_side)->RenderModelHasComponent((const char *)pchRenderModelName, (const char *)pchComponentName); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->RenderModelHasComponent((const char *)params->pchRenderModelName, (const char *)params->pchComponentName); } -uint32_t cppIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL(void *linux_side, const char *pchRenderModelName, char *pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError *peError) +void cppIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL( struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetRenderModelThumbnailURL((const char *)pchRenderModelName, (char *)pchThumbnailURL, (uint32_t)unThumbnailURLLen, (vr::EVRRenderModelError *)peError); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetRenderModelThumbnailURL((const char *)params->pchRenderModelName, (char *)params->pchThumbnailURL, (uint32_t)params->unThumbnailURLLen, (vr::EVRRenderModelError *)params->peError); } -uint32_t cppIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath(void *linux_side, const char *pchRenderModelName, char *pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError *peError) +void cppIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath( struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath_params *params ) { - uint32_t _ret; - _ret = ((IVRRenderModels*)linux_side)->GetRenderModelOriginalPath((const char *)pchRenderModelName, (char *)pchOriginalPath, (uint32_t)unOriginalPathLen, (vr::EVRRenderModelError *)peError); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetRenderModelOriginalPath((const char *)params->pchRenderModelName, (char *)params->pchOriginalPath, (uint32_t)params->unOriginalPathLen, (vr::EVRRenderModelError *)params->peError); } -const char * cppIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum(void *linux_side, EVRRenderModelError error) +void cppIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum( struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRRenderModels*)linux_side)->GetRenderModelErrorNameFromEnum((vr::EVRRenderModelError)error); - return _ret; + params->_ret = ((IVRRenderModels*)params->linux_side)->GetRenderModelErrorNameFromEnum((vr::EVRRenderModelError)params->error); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.h b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.h index 7fcb5931..981131d2 100644 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.h +++ b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.h @@ -1,25 +1,183 @@ #ifdef __cplusplus extern "C" { #endif -extern EVRRenderModelError cppIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async(void *, const char *, winRenderModel_t_1267 **); -extern void cppIVRRenderModels_IVRRenderModels_006_FreeRenderModel(void *, winRenderModel_t_1267 *); -extern EVRRenderModelError cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async(void *, TextureID_t, winRenderModel_TextureMap_t_1267 **); -extern void cppIVRRenderModels_IVRRenderModels_006_FreeTexture(void *, winRenderModel_TextureMap_t_1267 *); -extern EVRRenderModelError cppIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async(void *, TextureID_t, void *, void **); -extern EVRRenderModelError cppIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async(void *, TextureID_t, void *); -extern void cppIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11(void *, void *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_006_GetRenderModelName(void *, uint32_t, char *, uint32_t); -extern uint32_t cppIVRRenderModels_IVRRenderModels_006_GetRenderModelCount(void *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_006_GetComponentCount(void *, const char *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_006_GetComponentName(void *, const char *, uint32_t, char *, uint32_t); -extern uint64_t cppIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask(void *, const char *, const char *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName(void *, const char *, const char *, char *, uint32_t); -extern bool cppIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath(void *, const char *, const char *, VRInputValueHandle_t, const RenderModel_ControllerMode_State_t *, RenderModel_ComponentState_t *); -extern bool cppIVRRenderModels_IVRRenderModels_006_GetComponentState(void *, const char *, const char *, const VRControllerState_t *, const RenderModel_ControllerMode_State_t *, RenderModel_ComponentState_t *); -extern bool cppIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent(void *, const char *, const char *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL(void *, const char *, char *, uint32_t, EVRRenderModelError *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath(void *, const char *, char *, uint32_t, EVRRenderModelError *); -extern const char * cppIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum(void *, EVRRenderModelError); +struct cppIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async_params +{ + void *linux_side; + EVRRenderModelError _ret; + const char *pchRenderModelName; + winRenderModel_t_1267 **ppRenderModel; +}; +extern void cppIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async( struct cppIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_006_FreeRenderModel_params +{ + void *linux_side; + winRenderModel_t_1267 *pRenderModel; +}; +extern void cppIVRRenderModels_IVRRenderModels_006_FreeRenderModel( struct cppIVRRenderModels_IVRRenderModels_006_FreeRenderModel_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async_params +{ + void *linux_side; + EVRRenderModelError _ret; + TextureID_t textureId; + winRenderModel_TextureMap_t_1267 **ppTexture; +}; +extern void cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async( struct cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_006_FreeTexture_params +{ + void *linux_side; + winRenderModel_TextureMap_t_1267 *pTexture; +}; +extern void cppIVRRenderModels_IVRRenderModels_006_FreeTexture( struct cppIVRRenderModels_IVRRenderModels_006_FreeTexture_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async_params +{ + void *linux_side; + EVRRenderModelError _ret; + TextureID_t textureId; + void *pD3D11Device; + void **ppD3D11Texture2D; +}; +extern void cppIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async( struct cppIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async_params +{ + void *linux_side; + EVRRenderModelError _ret; + TextureID_t textureId; + void *pDstTexture; +}; +extern void cppIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async( struct cppIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11_params +{ + void *linux_side; + void *pD3D11Texture2D; +}; +extern void cppIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11( struct cppIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelName_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unRenderModelIndex; + char *pchRenderModelName; + uint32_t unRenderModelNameLen; +}; +extern void cppIVRRenderModels_IVRRenderModels_006_GetRenderModelName( struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelName_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelCount_params +{ + void *linux_side; + uint32_t _ret; +}; +extern void cppIVRRenderModels_IVRRenderModels_006_GetRenderModelCount( struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelCount_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_006_GetComponentCount_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; +}; +extern void cppIVRRenderModels_IVRRenderModels_006_GetComponentCount( struct cppIVRRenderModels_IVRRenderModels_006_GetComponentCount_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_006_GetComponentName_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + uint32_t unComponentIndex; + char *pchComponentName; + uint32_t unComponentNameLen; +}; +extern void cppIVRRenderModels_IVRRenderModels_006_GetComponentName( struct cppIVRRenderModels_IVRRenderModels_006_GetComponentName_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask_params +{ + void *linux_side; + uint64_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; +}; +extern void cppIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask( struct cppIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; + char *pchComponentRenderModelName; + uint32_t unComponentRenderModelNameLen; +}; +extern void cppIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName( struct cppIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath_params +{ + void *linux_side; + bool _ret; + const char *pchRenderModelName; + const char *pchComponentName; + VRInputValueHandle_t devicePath; + const RenderModel_ControllerMode_State_t *pState; + RenderModel_ComponentState_t *pComponentState; +}; +extern void cppIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath( struct cppIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_006_GetComponentState_params +{ + void *linux_side; + bool _ret; + const char *pchRenderModelName; + const char *pchComponentName; + const VRControllerState_t *pControllerState; + const RenderModel_ControllerMode_State_t *pState; + RenderModel_ComponentState_t *pComponentState; +}; +extern void cppIVRRenderModels_IVRRenderModels_006_GetComponentState( struct cppIVRRenderModels_IVRRenderModels_006_GetComponentState_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent_params +{ + void *linux_side; + bool _ret; + const char *pchRenderModelName; + const char *pchComponentName; +}; +extern void cppIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent( struct cppIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + char *pchThumbnailURL; + uint32_t unThumbnailURLLen; + EVRRenderModelError *peError; +}; +extern void cppIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL( struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + char *pchOriginalPath; + uint32_t unOriginalPathLen; + EVRRenderModelError *peError; +}; +extern void cppIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath( struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath_params *params ); + +struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRRenderModelError error; +}; +extern void cppIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum( struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRResources_IVRResources_001.cpp b/vrclient_x64/vrclient_x64/cppIVRResources_IVRResources_001.cpp index d360083a..1dfc3473 100644 --- a/vrclient_x64/vrclient_x64/cppIVRResources_IVRResources_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRResources_IVRResources_001.cpp @@ -9,18 +9,14 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -uint32_t cppIVRResources_IVRResources_001_LoadSharedResource(void *linux_side, const char *pchResourceName, char *pchBuffer, uint32_t unBufferLen) +void cppIVRResources_IVRResources_001_LoadSharedResource( struct cppIVRResources_IVRResources_001_LoadSharedResource_params *params ) { - uint32_t _ret; - _ret = ((IVRResources*)linux_side)->LoadSharedResource((const char *)pchResourceName, (char *)pchBuffer, (uint32_t)unBufferLen); - return _ret; + params->_ret = ((IVRResources*)params->linux_side)->LoadSharedResource((const char *)params->pchResourceName, (char *)params->pchBuffer, (uint32_t)params->unBufferLen); } -uint32_t cppIVRResources_IVRResources_001_GetResourceFullPath(void *linux_side, const char *pchResourceName, const char *pchResourceTypeDirectory, char *pchPathBuffer, uint32_t unBufferLen) +void cppIVRResources_IVRResources_001_GetResourceFullPath( struct cppIVRResources_IVRResources_001_GetResourceFullPath_params *params ) { - uint32_t _ret; - _ret = ((IVRResources*)linux_side)->GetResourceFullPath((const char *)pchResourceName, (const char *)pchResourceTypeDirectory, (char *)pchPathBuffer, (uint32_t)unBufferLen); - return _ret; + params->_ret = ((IVRResources*)params->linux_side)->GetResourceFullPath((const char *)params->pchResourceName, (const char *)params->pchResourceTypeDirectory, (char *)params->pchPathBuffer, (uint32_t)params->unBufferLen); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRResources_IVRResources_001.h b/vrclient_x64/vrclient_x64/cppIVRResources_IVRResources_001.h index e5945ef5..bd74a561 100644 --- a/vrclient_x64/vrclient_x64/cppIVRResources_IVRResources_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRResources_IVRResources_001.h @@ -1,8 +1,27 @@ #ifdef __cplusplus extern "C" { #endif -extern uint32_t cppIVRResources_IVRResources_001_LoadSharedResource(void *, const char *, char *, uint32_t); -extern uint32_t cppIVRResources_IVRResources_001_GetResourceFullPath(void *, const char *, const char *, char *, uint32_t); +struct cppIVRResources_IVRResources_001_LoadSharedResource_params +{ + void *linux_side; + uint32_t _ret; + const char *pchResourceName; + char *pchBuffer; + uint32_t unBufferLen; +}; +extern void cppIVRResources_IVRResources_001_LoadSharedResource( struct cppIVRResources_IVRResources_001_LoadSharedResource_params *params ); + +struct cppIVRResources_IVRResources_001_GetResourceFullPath_params +{ + void *linux_side; + uint32_t _ret; + const char *pchResourceName; + const char *pchResourceTypeDirectory; + char *pchPathBuffer; + uint32_t unBufferLen; +}; +extern void cppIVRResources_IVRResources_001_GetResourceFullPath( struct cppIVRResources_IVRResources_001_GetResourceFullPath_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.cpp b/vrclient_x64/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.cpp index 6a0f8759..c72d971e 100644 --- a/vrclient_x64/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.cpp @@ -9,53 +9,39 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -EVRScreenshotError cppIVRScreenshots_IVRScreenshots_001_RequestScreenshot(void *linux_side, ScreenshotHandle_t *pOutScreenshotHandle, EVRScreenshotType type, const char *pchPreviewFilename, const char *pchVRFilename) +void cppIVRScreenshots_IVRScreenshots_001_RequestScreenshot( struct cppIVRScreenshots_IVRScreenshots_001_RequestScreenshot_params *params ) { - EVRScreenshotError _ret; - _ret = ((IVRScreenshots*)linux_side)->RequestScreenshot((vr::ScreenshotHandle_t *)pOutScreenshotHandle, (vr::EVRScreenshotType)type, (const char *)pchPreviewFilename, (const char *)pchVRFilename); - return _ret; + params->_ret = ((IVRScreenshots*)params->linux_side)->RequestScreenshot((vr::ScreenshotHandle_t *)params->pOutScreenshotHandle, (vr::EVRScreenshotType)params->type, (const char *)params->pchPreviewFilename, (const char *)params->pchVRFilename); } -EVRScreenshotError cppIVRScreenshots_IVRScreenshots_001_HookScreenshot(void *linux_side, const EVRScreenshotType *pSupportedTypes, int numTypes) +void cppIVRScreenshots_IVRScreenshots_001_HookScreenshot( struct cppIVRScreenshots_IVRScreenshots_001_HookScreenshot_params *params ) { - EVRScreenshotError _ret; - _ret = ((IVRScreenshots*)linux_side)->HookScreenshot((const vr::EVRScreenshotType *)pSupportedTypes, (int)numTypes); - return _ret; + params->_ret = ((IVRScreenshots*)params->linux_side)->HookScreenshot((const vr::EVRScreenshotType *)params->pSupportedTypes, (int)params->numTypes); } -EVRScreenshotType cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType(void *linux_side, ScreenshotHandle_t screenshotHandle, EVRScreenshotError *pError) +void cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType( struct cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType_params *params ) { - EVRScreenshotType _ret; - _ret = ((IVRScreenshots*)linux_side)->GetScreenshotPropertyType((vr::ScreenshotHandle_t)screenshotHandle, (vr::EVRScreenshotError *)pError); - return _ret; + params->_ret = ((IVRScreenshots*)params->linux_side)->GetScreenshotPropertyType((vr::ScreenshotHandle_t)params->screenshotHandle, (vr::EVRScreenshotError *)params->pError); } -uint32_t cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename(void *linux_side, ScreenshotHandle_t screenshotHandle, EVRScreenshotPropertyFilenames filenameType, char *pchFilename, uint32_t cchFilename, EVRScreenshotError *pError) +void cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename( struct cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename_params *params ) { - uint32_t _ret; - _ret = ((IVRScreenshots*)linux_side)->GetScreenshotPropertyFilename((vr::ScreenshotHandle_t)screenshotHandle, (vr::EVRScreenshotPropertyFilenames)filenameType, (char *)pchFilename, (uint32_t)cchFilename, (vr::EVRScreenshotError *)pError); - return _ret; + params->_ret = ((IVRScreenshots*)params->linux_side)->GetScreenshotPropertyFilename((vr::ScreenshotHandle_t)params->screenshotHandle, (vr::EVRScreenshotPropertyFilenames)params->filenameType, (char *)params->pchFilename, (uint32_t)params->cchFilename, (vr::EVRScreenshotError *)params->pError); } -EVRScreenshotError cppIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress(void *linux_side, ScreenshotHandle_t screenshotHandle, float flProgress) +void cppIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress( struct cppIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress_params *params ) { - EVRScreenshotError _ret; - _ret = ((IVRScreenshots*)linux_side)->UpdateScreenshotProgress((vr::ScreenshotHandle_t)screenshotHandle, (float)flProgress); - return _ret; + params->_ret = ((IVRScreenshots*)params->linux_side)->UpdateScreenshotProgress((vr::ScreenshotHandle_t)params->screenshotHandle, (float)params->flProgress); } -EVRScreenshotError cppIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot(void *linux_side, ScreenshotHandle_t *pOutScreenshotHandle, const char *pchPreviewFilename, const char *pchVRFilename) +void cppIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot( struct cppIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot_params *params ) { - EVRScreenshotError _ret; - _ret = ((IVRScreenshots*)linux_side)->TakeStereoScreenshot((vr::ScreenshotHandle_t *)pOutScreenshotHandle, (const char *)pchPreviewFilename, (const char *)pchVRFilename); - return _ret; + params->_ret = ((IVRScreenshots*)params->linux_side)->TakeStereoScreenshot((vr::ScreenshotHandle_t *)params->pOutScreenshotHandle, (const char *)params->pchPreviewFilename, (const char *)params->pchVRFilename); } -EVRScreenshotError cppIVRScreenshots_IVRScreenshots_001_SubmitScreenshot(void *linux_side, ScreenshotHandle_t screenshotHandle, EVRScreenshotType type, const char *pchSourcePreviewFilename, const char *pchSourceVRFilename) +void cppIVRScreenshots_IVRScreenshots_001_SubmitScreenshot( struct cppIVRScreenshots_IVRScreenshots_001_SubmitScreenshot_params *params ) { - EVRScreenshotError _ret; - _ret = ((IVRScreenshots*)linux_side)->SubmitScreenshot((vr::ScreenshotHandle_t)screenshotHandle, (vr::EVRScreenshotType)type, (const char *)pchSourcePreviewFilename, (const char *)pchSourceVRFilename); - return _ret; + params->_ret = ((IVRScreenshots*)params->linux_side)->SubmitScreenshot((vr::ScreenshotHandle_t)params->screenshotHandle, (vr::EVRScreenshotType)params->type, (const char *)params->pchSourcePreviewFilename, (const char *)params->pchSourceVRFilename); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.h b/vrclient_x64/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.h index de1a2889..4122f80e 100644 --- a/vrclient_x64/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.h @@ -1,13 +1,77 @@ #ifdef __cplusplus extern "C" { #endif -extern EVRScreenshotError cppIVRScreenshots_IVRScreenshots_001_RequestScreenshot(void *, ScreenshotHandle_t *, EVRScreenshotType, const char *, const char *); -extern EVRScreenshotError cppIVRScreenshots_IVRScreenshots_001_HookScreenshot(void *, const EVRScreenshotType *, int); -extern EVRScreenshotType cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType(void *, ScreenshotHandle_t, EVRScreenshotError *); -extern uint32_t cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename(void *, ScreenshotHandle_t, EVRScreenshotPropertyFilenames, char *, uint32_t, EVRScreenshotError *); -extern EVRScreenshotError cppIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress(void *, ScreenshotHandle_t, float); -extern EVRScreenshotError cppIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot(void *, ScreenshotHandle_t *, const char *, const char *); -extern EVRScreenshotError cppIVRScreenshots_IVRScreenshots_001_SubmitScreenshot(void *, ScreenshotHandle_t, EVRScreenshotType, const char *, const char *); +struct cppIVRScreenshots_IVRScreenshots_001_RequestScreenshot_params +{ + void *linux_side; + EVRScreenshotError _ret; + ScreenshotHandle_t *pOutScreenshotHandle; + EVRScreenshotType type; + const char *pchPreviewFilename; + const char *pchVRFilename; +}; +extern void cppIVRScreenshots_IVRScreenshots_001_RequestScreenshot( struct cppIVRScreenshots_IVRScreenshots_001_RequestScreenshot_params *params ); + +struct cppIVRScreenshots_IVRScreenshots_001_HookScreenshot_params +{ + void *linux_side; + EVRScreenshotError _ret; + const EVRScreenshotType *pSupportedTypes; + int numTypes; +}; +extern void cppIVRScreenshots_IVRScreenshots_001_HookScreenshot( struct cppIVRScreenshots_IVRScreenshots_001_HookScreenshot_params *params ); + +struct cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType_params +{ + void *linux_side; + EVRScreenshotType _ret; + ScreenshotHandle_t screenshotHandle; + EVRScreenshotError *pError; +}; +extern void cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType( struct cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType_params *params ); + +struct cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename_params +{ + void *linux_side; + uint32_t _ret; + ScreenshotHandle_t screenshotHandle; + EVRScreenshotPropertyFilenames filenameType; + char *pchFilename; + uint32_t cchFilename; + EVRScreenshotError *pError; +}; +extern void cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename( struct cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename_params *params ); + +struct cppIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress_params +{ + void *linux_side; + EVRScreenshotError _ret; + ScreenshotHandle_t screenshotHandle; + float flProgress; +}; +extern void cppIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress( struct cppIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress_params *params ); + +struct cppIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot_params +{ + void *linux_side; + EVRScreenshotError _ret; + ScreenshotHandle_t *pOutScreenshotHandle; + const char *pchPreviewFilename; + const char *pchVRFilename; +}; +extern void cppIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot( struct cppIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot_params *params ); + +struct cppIVRScreenshots_IVRScreenshots_001_SubmitScreenshot_params +{ + void *linux_side; + EVRScreenshotError _ret; + ScreenshotHandle_t screenshotHandle; + EVRScreenshotType type; + const char *pchSourcePreviewFilename; + const char *pchSourceVRFilename; +}; +extern void cppIVRScreenshots_IVRScreenshots_001_SubmitScreenshot( struct cppIVRScreenshots_IVRScreenshots_001_SubmitScreenshot_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_001.cpp b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_001.cpp index 0ac794de..d26fb492 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_001.cpp @@ -9,74 +9,64 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -const char * cppIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum(void *linux_side, EVRSettingsError eError) +void cppIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum( struct cppIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSettings*)linux_side)->GetSettingsErrorNameFromEnum((vr::EVRSettingsError)eError); - return _ret; + params->_ret = ((IVRSettings*)params->linux_side)->GetSettingsErrorNameFromEnum((vr::EVRSettingsError)params->eError); } -bool cppIVRSettings_IVRSettings_001_Sync(void *linux_side, bool bForce, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_001_Sync( struct cppIVRSettings_IVRSettings_001_Sync_params *params ) { - bool _ret; - _ret = ((IVRSettings*)linux_side)->Sync((bool)bForce, (vr::EVRSettingsError *)peError); - return _ret; + params->_ret = ((IVRSettings*)params->linux_side)->Sync((bool)params->bForce, (vr::EVRSettingsError *)params->peError); } -bool cppIVRSettings_IVRSettings_001_GetBool(void *linux_side, const char *pchSection, const char *pchSettingsKey, bool bDefaultValue, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_001_GetBool( struct cppIVRSettings_IVRSettings_001_GetBool_params *params ) { - bool _ret; - _ret = ((IVRSettings*)linux_side)->GetBool((const char *)pchSection, (const char *)pchSettingsKey, (bool)bDefaultValue, (vr::EVRSettingsError *)peError); - return _ret; + params->_ret = ((IVRSettings*)params->linux_side)->GetBool((const char *)params->pchSection, (const char *)params->pchSettingsKey, (bool)params->bDefaultValue, (vr::EVRSettingsError *)params->peError); } -void cppIVRSettings_IVRSettings_001_SetBool(void *linux_side, const char *pchSection, const char *pchSettingsKey, bool bValue, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_001_SetBool( struct cppIVRSettings_IVRSettings_001_SetBool_params *params ) { - ((IVRSettings*)linux_side)->SetBool((const char *)pchSection, (const char *)pchSettingsKey, (bool)bValue, (vr::EVRSettingsError *)peError); + ((IVRSettings*)params->linux_side)->SetBool((const char *)params->pchSection, (const char *)params->pchSettingsKey, (bool)params->bValue, (vr::EVRSettingsError *)params->peError); } -int32_t cppIVRSettings_IVRSettings_001_GetInt32(void *linux_side, const char *pchSection, const char *pchSettingsKey, int32_t nDefaultValue, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_001_GetInt32( struct cppIVRSettings_IVRSettings_001_GetInt32_params *params ) { - int32_t _ret; - _ret = ((IVRSettings*)linux_side)->GetInt32((const char *)pchSection, (const char *)pchSettingsKey, (int32_t)nDefaultValue, (vr::EVRSettingsError *)peError); - return _ret; + params->_ret = ((IVRSettings*)params->linux_side)->GetInt32((const char *)params->pchSection, (const char *)params->pchSettingsKey, (int32_t)params->nDefaultValue, (vr::EVRSettingsError *)params->peError); } -void cppIVRSettings_IVRSettings_001_SetInt32(void *linux_side, const char *pchSection, const char *pchSettingsKey, int32_t nValue, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_001_SetInt32( struct cppIVRSettings_IVRSettings_001_SetInt32_params *params ) { - ((IVRSettings*)linux_side)->SetInt32((const char *)pchSection, (const char *)pchSettingsKey, (int32_t)nValue, (vr::EVRSettingsError *)peError); + ((IVRSettings*)params->linux_side)->SetInt32((const char *)params->pchSection, (const char *)params->pchSettingsKey, (int32_t)params->nValue, (vr::EVRSettingsError *)params->peError); } -float cppIVRSettings_IVRSettings_001_GetFloat(void *linux_side, const char *pchSection, const char *pchSettingsKey, float flDefaultValue, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_001_GetFloat( struct cppIVRSettings_IVRSettings_001_GetFloat_params *params ) { - float _ret; - _ret = ((IVRSettings*)linux_side)->GetFloat((const char *)pchSection, (const char *)pchSettingsKey, (float)flDefaultValue, (vr::EVRSettingsError *)peError); - return _ret; + params->_ret = ((IVRSettings*)params->linux_side)->GetFloat((const char *)params->pchSection, (const char *)params->pchSettingsKey, (float)params->flDefaultValue, (vr::EVRSettingsError *)params->peError); } -void cppIVRSettings_IVRSettings_001_SetFloat(void *linux_side, const char *pchSection, const char *pchSettingsKey, float flValue, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_001_SetFloat( struct cppIVRSettings_IVRSettings_001_SetFloat_params *params ) { - ((IVRSettings*)linux_side)->SetFloat((const char *)pchSection, (const char *)pchSettingsKey, (float)flValue, (vr::EVRSettingsError *)peError); + ((IVRSettings*)params->linux_side)->SetFloat((const char *)params->pchSection, (const char *)params->pchSettingsKey, (float)params->flValue, (vr::EVRSettingsError *)params->peError); } -void cppIVRSettings_IVRSettings_001_GetString(void *linux_side, const char *pchSection, const char *pchSettingsKey, char *pchValue, uint32_t unValueLen, const char *pchDefaultValue, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_001_GetString( struct cppIVRSettings_IVRSettings_001_GetString_params *params ) { - ((IVRSettings*)linux_side)->GetString((const char *)pchSection, (const char *)pchSettingsKey, (char *)pchValue, (uint32_t)unValueLen, (const char *)pchDefaultValue, (vr::EVRSettingsError *)peError); + ((IVRSettings*)params->linux_side)->GetString((const char *)params->pchSection, (const char *)params->pchSettingsKey, (char *)params->pchValue, (uint32_t)params->unValueLen, (const char *)params->pchDefaultValue, (vr::EVRSettingsError *)params->peError); } -void cppIVRSettings_IVRSettings_001_SetString(void *linux_side, const char *pchSection, const char *pchSettingsKey, const char *pchValue, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_001_SetString( struct cppIVRSettings_IVRSettings_001_SetString_params *params ) { - ((IVRSettings*)linux_side)->SetString((const char *)pchSection, (const char *)pchSettingsKey, (const char *)pchValue, (vr::EVRSettingsError *)peError); + ((IVRSettings*)params->linux_side)->SetString((const char *)params->pchSection, (const char *)params->pchSettingsKey, (const char *)params->pchValue, (vr::EVRSettingsError *)params->peError); } -void cppIVRSettings_IVRSettings_001_RemoveSection(void *linux_side, const char *pchSection, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_001_RemoveSection( struct cppIVRSettings_IVRSettings_001_RemoveSection_params *params ) { - ((IVRSettings*)linux_side)->RemoveSection((const char *)pchSection, (vr::EVRSettingsError *)peError); + ((IVRSettings*)params->linux_side)->RemoveSection((const char *)params->pchSection, (vr::EVRSettingsError *)params->peError); } -void cppIVRSettings_IVRSettings_001_RemoveKeyInSection(void *linux_side, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_001_RemoveKeyInSection( struct cppIVRSettings_IVRSettings_001_RemoveKeyInSection_params *params ) { - ((IVRSettings*)linux_side)->RemoveKeyInSection((const char *)pchSection, (const char *)pchSettingsKey, (vr::EVRSettingsError *)peError); + ((IVRSettings*)params->linux_side)->RemoveKeyInSection((const char *)params->pchSection, (const char *)params->pchSettingsKey, (vr::EVRSettingsError *)params->peError); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_001.h b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_001.h index 761ce90b..734c2d83 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_001.h @@ -1,18 +1,125 @@ #ifdef __cplusplus extern "C" { #endif -extern const char * cppIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum(void *, EVRSettingsError); -extern bool cppIVRSettings_IVRSettings_001_Sync(void *, bool, EVRSettingsError *); -extern bool cppIVRSettings_IVRSettings_001_GetBool(void *, const char *, const char *, bool, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_001_SetBool(void *, const char *, const char *, bool, EVRSettingsError *); -extern int32_t cppIVRSettings_IVRSettings_001_GetInt32(void *, const char *, const char *, int32_t, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_001_SetInt32(void *, const char *, const char *, int32_t, EVRSettingsError *); -extern float cppIVRSettings_IVRSettings_001_GetFloat(void *, const char *, const char *, float, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_001_SetFloat(void *, const char *, const char *, float, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_001_GetString(void *, const char *, const char *, char *, uint32_t, const char *, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_001_SetString(void *, const char *, const char *, const char *, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_001_RemoveSection(void *, const char *, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_001_RemoveKeyInSection(void *, const char *, const char *, EVRSettingsError *); +struct cppIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRSettingsError eError; +}; +extern void cppIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum( struct cppIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum_params *params ); + +struct cppIVRSettings_IVRSettings_001_Sync_params +{ + void *linux_side; + bool _ret; + bool bForce; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_001_Sync( struct cppIVRSettings_IVRSettings_001_Sync_params *params ); + +struct cppIVRSettings_IVRSettings_001_GetBool_params +{ + void *linux_side; + bool _ret; + const char *pchSection; + const char *pchSettingsKey; + bool bDefaultValue; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_001_GetBool( struct cppIVRSettings_IVRSettings_001_GetBool_params *params ); + +struct cppIVRSettings_IVRSettings_001_SetBool_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + bool bValue; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_001_SetBool( struct cppIVRSettings_IVRSettings_001_SetBool_params *params ); + +struct cppIVRSettings_IVRSettings_001_GetInt32_params +{ + void *linux_side; + int32_t _ret; + const char *pchSection; + const char *pchSettingsKey; + int32_t nDefaultValue; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_001_GetInt32( struct cppIVRSettings_IVRSettings_001_GetInt32_params *params ); + +struct cppIVRSettings_IVRSettings_001_SetInt32_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + int32_t nValue; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_001_SetInt32( struct cppIVRSettings_IVRSettings_001_SetInt32_params *params ); + +struct cppIVRSettings_IVRSettings_001_GetFloat_params +{ + void *linux_side; + float _ret; + const char *pchSection; + const char *pchSettingsKey; + float flDefaultValue; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_001_GetFloat( struct cppIVRSettings_IVRSettings_001_GetFloat_params *params ); + +struct cppIVRSettings_IVRSettings_001_SetFloat_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + float flValue; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_001_SetFloat( struct cppIVRSettings_IVRSettings_001_SetFloat_params *params ); + +struct cppIVRSettings_IVRSettings_001_GetString_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + char *pchValue; + uint32_t unValueLen; + const char *pchDefaultValue; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_001_GetString( struct cppIVRSettings_IVRSettings_001_GetString_params *params ); + +struct cppIVRSettings_IVRSettings_001_SetString_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + const char *pchValue; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_001_SetString( struct cppIVRSettings_IVRSettings_001_SetString_params *params ); + +struct cppIVRSettings_IVRSettings_001_RemoveSection_params +{ + void *linux_side; + const char *pchSection; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_001_RemoveSection( struct cppIVRSettings_IVRSettings_001_RemoveSection_params *params ); + +struct cppIVRSettings_IVRSettings_001_RemoveKeyInSection_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_001_RemoveKeyInSection( struct cppIVRSettings_IVRSettings_001_RemoveKeyInSection_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_002.cpp b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_002.cpp index 2a7448c5..0b73d568 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_002.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_002.cpp @@ -9,74 +9,64 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -const char * cppIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum(void *linux_side, EVRSettingsError eError) +void cppIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum( struct cppIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSettings*)linux_side)->GetSettingsErrorNameFromEnum((vr::EVRSettingsError)eError); - return _ret; + params->_ret = ((IVRSettings*)params->linux_side)->GetSettingsErrorNameFromEnum((vr::EVRSettingsError)params->eError); } -bool cppIVRSettings_IVRSettings_002_Sync(void *linux_side, bool bForce, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_002_Sync( struct cppIVRSettings_IVRSettings_002_Sync_params *params ) { - bool _ret; - _ret = ((IVRSettings*)linux_side)->Sync((bool)bForce, (vr::EVRSettingsError *)peError); - return _ret; + params->_ret = ((IVRSettings*)params->linux_side)->Sync((bool)params->bForce, (vr::EVRSettingsError *)params->peError); } -void cppIVRSettings_IVRSettings_002_SetBool(void *linux_side, const char *pchSection, const char *pchSettingsKey, bool bValue, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_002_SetBool( struct cppIVRSettings_IVRSettings_002_SetBool_params *params ) { - ((IVRSettings*)linux_side)->SetBool((const char *)pchSection, (const char *)pchSettingsKey, (bool)bValue, (vr::EVRSettingsError *)peError); + ((IVRSettings*)params->linux_side)->SetBool((const char *)params->pchSection, (const char *)params->pchSettingsKey, (bool)params->bValue, (vr::EVRSettingsError *)params->peError); } -void cppIVRSettings_IVRSettings_002_SetInt32(void *linux_side, const char *pchSection, const char *pchSettingsKey, int32_t nValue, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_002_SetInt32( struct cppIVRSettings_IVRSettings_002_SetInt32_params *params ) { - ((IVRSettings*)linux_side)->SetInt32((const char *)pchSection, (const char *)pchSettingsKey, (int32_t)nValue, (vr::EVRSettingsError *)peError); + ((IVRSettings*)params->linux_side)->SetInt32((const char *)params->pchSection, (const char *)params->pchSettingsKey, (int32_t)params->nValue, (vr::EVRSettingsError *)params->peError); } -void cppIVRSettings_IVRSettings_002_SetFloat(void *linux_side, const char *pchSection, const char *pchSettingsKey, float flValue, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_002_SetFloat( struct cppIVRSettings_IVRSettings_002_SetFloat_params *params ) { - ((IVRSettings*)linux_side)->SetFloat((const char *)pchSection, (const char *)pchSettingsKey, (float)flValue, (vr::EVRSettingsError *)peError); + ((IVRSettings*)params->linux_side)->SetFloat((const char *)params->pchSection, (const char *)params->pchSettingsKey, (float)params->flValue, (vr::EVRSettingsError *)params->peError); } -void cppIVRSettings_IVRSettings_002_SetString(void *linux_side, const char *pchSection, const char *pchSettingsKey, const char *pchValue, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_002_SetString( struct cppIVRSettings_IVRSettings_002_SetString_params *params ) { - ((IVRSettings*)linux_side)->SetString((const char *)pchSection, (const char *)pchSettingsKey, (const char *)pchValue, (vr::EVRSettingsError *)peError); + ((IVRSettings*)params->linux_side)->SetString((const char *)params->pchSection, (const char *)params->pchSettingsKey, (const char *)params->pchValue, (vr::EVRSettingsError *)params->peError); } -bool cppIVRSettings_IVRSettings_002_GetBool(void *linux_side, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_002_GetBool( struct cppIVRSettings_IVRSettings_002_GetBool_params *params ) { - bool _ret; - _ret = ((IVRSettings*)linux_side)->GetBool((const char *)pchSection, (const char *)pchSettingsKey, (vr::EVRSettingsError *)peError); - return _ret; + params->_ret = ((IVRSettings*)params->linux_side)->GetBool((const char *)params->pchSection, (const char *)params->pchSettingsKey, (vr::EVRSettingsError *)params->peError); } -int32_t cppIVRSettings_IVRSettings_002_GetInt32(void *linux_side, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_002_GetInt32( struct cppIVRSettings_IVRSettings_002_GetInt32_params *params ) { - int32_t _ret; - _ret = ((IVRSettings*)linux_side)->GetInt32((const char *)pchSection, (const char *)pchSettingsKey, (vr::EVRSettingsError *)peError); - return _ret; + params->_ret = ((IVRSettings*)params->linux_side)->GetInt32((const char *)params->pchSection, (const char *)params->pchSettingsKey, (vr::EVRSettingsError *)params->peError); } -float cppIVRSettings_IVRSettings_002_GetFloat(void *linux_side, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_002_GetFloat( struct cppIVRSettings_IVRSettings_002_GetFloat_params *params ) { - float _ret; - _ret = ((IVRSettings*)linux_side)->GetFloat((const char *)pchSection, (const char *)pchSettingsKey, (vr::EVRSettingsError *)peError); - return _ret; + params->_ret = ((IVRSettings*)params->linux_side)->GetFloat((const char *)params->pchSection, (const char *)params->pchSettingsKey, (vr::EVRSettingsError *)params->peError); } -void cppIVRSettings_IVRSettings_002_GetString(void *linux_side, const char *pchSection, const char *pchSettingsKey, char *pchValue, uint32_t unValueLen, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_002_GetString( struct cppIVRSettings_IVRSettings_002_GetString_params *params ) { - ((IVRSettings*)linux_side)->GetString((const char *)pchSection, (const char *)pchSettingsKey, (char *)pchValue, (uint32_t)unValueLen, (vr::EVRSettingsError *)peError); + ((IVRSettings*)params->linux_side)->GetString((const char *)params->pchSection, (const char *)params->pchSettingsKey, (char *)params->pchValue, (uint32_t)params->unValueLen, (vr::EVRSettingsError *)params->peError); } -void cppIVRSettings_IVRSettings_002_RemoveSection(void *linux_side, const char *pchSection, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_002_RemoveSection( struct cppIVRSettings_IVRSettings_002_RemoveSection_params *params ) { - ((IVRSettings*)linux_side)->RemoveSection((const char *)pchSection, (vr::EVRSettingsError *)peError); + ((IVRSettings*)params->linux_side)->RemoveSection((const char *)params->pchSection, (vr::EVRSettingsError *)params->peError); } -void cppIVRSettings_IVRSettings_002_RemoveKeyInSection(void *linux_side, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_002_RemoveKeyInSection( struct cppIVRSettings_IVRSettings_002_RemoveKeyInSection_params *params ) { - ((IVRSettings*)linux_side)->RemoveKeyInSection((const char *)pchSection, (const char *)pchSettingsKey, (vr::EVRSettingsError *)peError); + ((IVRSettings*)params->linux_side)->RemoveKeyInSection((const char *)params->pchSection, (const char *)params->pchSettingsKey, (vr::EVRSettingsError *)params->peError); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_002.h b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_002.h index d89e0ea9..878ce118 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_002.h +++ b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_002.h @@ -1,18 +1,121 @@ #ifdef __cplusplus extern "C" { #endif -extern const char * cppIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum(void *, EVRSettingsError); -extern bool cppIVRSettings_IVRSettings_002_Sync(void *, bool, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_002_SetBool(void *, const char *, const char *, bool, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_002_SetInt32(void *, const char *, const char *, int32_t, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_002_SetFloat(void *, const char *, const char *, float, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_002_SetString(void *, const char *, const char *, const char *, EVRSettingsError *); -extern bool cppIVRSettings_IVRSettings_002_GetBool(void *, const char *, const char *, EVRSettingsError *); -extern int32_t cppIVRSettings_IVRSettings_002_GetInt32(void *, const char *, const char *, EVRSettingsError *); -extern float cppIVRSettings_IVRSettings_002_GetFloat(void *, const char *, const char *, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_002_GetString(void *, const char *, const char *, char *, uint32_t, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_002_RemoveSection(void *, const char *, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_002_RemoveKeyInSection(void *, const char *, const char *, EVRSettingsError *); +struct cppIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRSettingsError eError; +}; +extern void cppIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum( struct cppIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum_params *params ); + +struct cppIVRSettings_IVRSettings_002_Sync_params +{ + void *linux_side; + bool _ret; + bool bForce; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_002_Sync( struct cppIVRSettings_IVRSettings_002_Sync_params *params ); + +struct cppIVRSettings_IVRSettings_002_SetBool_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + bool bValue; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_002_SetBool( struct cppIVRSettings_IVRSettings_002_SetBool_params *params ); + +struct cppIVRSettings_IVRSettings_002_SetInt32_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + int32_t nValue; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_002_SetInt32( struct cppIVRSettings_IVRSettings_002_SetInt32_params *params ); + +struct cppIVRSettings_IVRSettings_002_SetFloat_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + float flValue; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_002_SetFloat( struct cppIVRSettings_IVRSettings_002_SetFloat_params *params ); + +struct cppIVRSettings_IVRSettings_002_SetString_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + const char *pchValue; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_002_SetString( struct cppIVRSettings_IVRSettings_002_SetString_params *params ); + +struct cppIVRSettings_IVRSettings_002_GetBool_params +{ + void *linux_side; + bool _ret; + const char *pchSection; + const char *pchSettingsKey; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_002_GetBool( struct cppIVRSettings_IVRSettings_002_GetBool_params *params ); + +struct cppIVRSettings_IVRSettings_002_GetInt32_params +{ + void *linux_side; + int32_t _ret; + const char *pchSection; + const char *pchSettingsKey; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_002_GetInt32( struct cppIVRSettings_IVRSettings_002_GetInt32_params *params ); + +struct cppIVRSettings_IVRSettings_002_GetFloat_params +{ + void *linux_side; + float _ret; + const char *pchSection; + const char *pchSettingsKey; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_002_GetFloat( struct cppIVRSettings_IVRSettings_002_GetFloat_params *params ); + +struct cppIVRSettings_IVRSettings_002_GetString_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + char *pchValue; + uint32_t unValueLen; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_002_GetString( struct cppIVRSettings_IVRSettings_002_GetString_params *params ); + +struct cppIVRSettings_IVRSettings_002_RemoveSection_params +{ + void *linux_side; + const char *pchSection; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_002_RemoveSection( struct cppIVRSettings_IVRSettings_002_RemoveSection_params *params ); + +struct cppIVRSettings_IVRSettings_002_RemoveKeyInSection_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_002_RemoveKeyInSection( struct cppIVRSettings_IVRSettings_002_RemoveKeyInSection_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_003.cpp b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_003.cpp index d3429376..d5bcde54 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_003.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_003.cpp @@ -9,67 +9,59 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -const char * cppIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum(void *linux_side, EVRSettingsError eError) +void cppIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum( struct cppIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSettings*)linux_side)->GetSettingsErrorNameFromEnum((vr::EVRSettingsError)eError); - return _ret; + params->_ret = ((IVRSettings*)params->linux_side)->GetSettingsErrorNameFromEnum((vr::EVRSettingsError)params->eError); } -void cppIVRSettings_IVRSettings_003_SetBool(void *linux_side, const char *pchSection, const char *pchSettingsKey, bool bValue, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_003_SetBool( struct cppIVRSettings_IVRSettings_003_SetBool_params *params ) { - ((IVRSettings*)linux_side)->SetBool((const char *)pchSection, (const char *)pchSettingsKey, (bool)bValue, (vr::EVRSettingsError *)peError); + ((IVRSettings*)params->linux_side)->SetBool((const char *)params->pchSection, (const char *)params->pchSettingsKey, (bool)params->bValue, (vr::EVRSettingsError *)params->peError); } -void cppIVRSettings_IVRSettings_003_SetInt32(void *linux_side, const char *pchSection, const char *pchSettingsKey, int32_t nValue, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_003_SetInt32( struct cppIVRSettings_IVRSettings_003_SetInt32_params *params ) { - ((IVRSettings*)linux_side)->SetInt32((const char *)pchSection, (const char *)pchSettingsKey, (int32_t)nValue, (vr::EVRSettingsError *)peError); + ((IVRSettings*)params->linux_side)->SetInt32((const char *)params->pchSection, (const char *)params->pchSettingsKey, (int32_t)params->nValue, (vr::EVRSettingsError *)params->peError); } -void cppIVRSettings_IVRSettings_003_SetFloat(void *linux_side, const char *pchSection, const char *pchSettingsKey, float flValue, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_003_SetFloat( struct cppIVRSettings_IVRSettings_003_SetFloat_params *params ) { - ((IVRSettings*)linux_side)->SetFloat((const char *)pchSection, (const char *)pchSettingsKey, (float)flValue, (vr::EVRSettingsError *)peError); + ((IVRSettings*)params->linux_side)->SetFloat((const char *)params->pchSection, (const char *)params->pchSettingsKey, (float)params->flValue, (vr::EVRSettingsError *)params->peError); } -void cppIVRSettings_IVRSettings_003_SetString(void *linux_side, const char *pchSection, const char *pchSettingsKey, const char *pchValue, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_003_SetString( struct cppIVRSettings_IVRSettings_003_SetString_params *params ) { - ((IVRSettings*)linux_side)->SetString((const char *)pchSection, (const char *)pchSettingsKey, (const char *)pchValue, (vr::EVRSettingsError *)peError); + ((IVRSettings*)params->linux_side)->SetString((const char *)params->pchSection, (const char *)params->pchSettingsKey, (const char *)params->pchValue, (vr::EVRSettingsError *)params->peError); } -bool cppIVRSettings_IVRSettings_003_GetBool(void *linux_side, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_003_GetBool( struct cppIVRSettings_IVRSettings_003_GetBool_params *params ) { - bool _ret; - _ret = ((IVRSettings*)linux_side)->GetBool((const char *)pchSection, (const char *)pchSettingsKey, (vr::EVRSettingsError *)peError); - return _ret; + params->_ret = ((IVRSettings*)params->linux_side)->GetBool((const char *)params->pchSection, (const char *)params->pchSettingsKey, (vr::EVRSettingsError *)params->peError); } -int32_t cppIVRSettings_IVRSettings_003_GetInt32(void *linux_side, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_003_GetInt32( struct cppIVRSettings_IVRSettings_003_GetInt32_params *params ) { - int32_t _ret; - _ret = ((IVRSettings*)linux_side)->GetInt32((const char *)pchSection, (const char *)pchSettingsKey, (vr::EVRSettingsError *)peError); - return _ret; + params->_ret = ((IVRSettings*)params->linux_side)->GetInt32((const char *)params->pchSection, (const char *)params->pchSettingsKey, (vr::EVRSettingsError *)params->peError); } -float cppIVRSettings_IVRSettings_003_GetFloat(void *linux_side, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_003_GetFloat( struct cppIVRSettings_IVRSettings_003_GetFloat_params *params ) { - float _ret; - _ret = ((IVRSettings*)linux_side)->GetFloat((const char *)pchSection, (const char *)pchSettingsKey, (vr::EVRSettingsError *)peError); - return _ret; + params->_ret = ((IVRSettings*)params->linux_side)->GetFloat((const char *)params->pchSection, (const char *)params->pchSettingsKey, (vr::EVRSettingsError *)params->peError); } -void cppIVRSettings_IVRSettings_003_GetString(void *linux_side, const char *pchSection, const char *pchSettingsKey, char *pchValue, uint32_t unValueLen, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_003_GetString( struct cppIVRSettings_IVRSettings_003_GetString_params *params ) { - ((IVRSettings*)linux_side)->GetString((const char *)pchSection, (const char *)pchSettingsKey, (char *)pchValue, (uint32_t)unValueLen, (vr::EVRSettingsError *)peError); + ((IVRSettings*)params->linux_side)->GetString((const char *)params->pchSection, (const char *)params->pchSettingsKey, (char *)params->pchValue, (uint32_t)params->unValueLen, (vr::EVRSettingsError *)params->peError); } -void cppIVRSettings_IVRSettings_003_RemoveSection(void *linux_side, const char *pchSection, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_003_RemoveSection( struct cppIVRSettings_IVRSettings_003_RemoveSection_params *params ) { - ((IVRSettings*)linux_side)->RemoveSection((const char *)pchSection, (vr::EVRSettingsError *)peError); + ((IVRSettings*)params->linux_side)->RemoveSection((const char *)params->pchSection, (vr::EVRSettingsError *)params->peError); } -void cppIVRSettings_IVRSettings_003_RemoveKeyInSection(void *linux_side, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) +void cppIVRSettings_IVRSettings_003_RemoveKeyInSection( struct cppIVRSettings_IVRSettings_003_RemoveKeyInSection_params *params ) { - ((IVRSettings*)linux_side)->RemoveKeyInSection((const char *)pchSection, (const char *)pchSettingsKey, (vr::EVRSettingsError *)peError); + ((IVRSettings*)params->linux_side)->RemoveKeyInSection((const char *)params->pchSection, (const char *)params->pchSettingsKey, (vr::EVRSettingsError *)params->peError); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_003.h b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_003.h index 3abf998a..f54fd907 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_003.h +++ b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_003.h @@ -1,17 +1,112 @@ #ifdef __cplusplus extern "C" { #endif -extern const char * cppIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum(void *, EVRSettingsError); -extern void cppIVRSettings_IVRSettings_003_SetBool(void *, const char *, const char *, bool, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_003_SetInt32(void *, const char *, const char *, int32_t, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_003_SetFloat(void *, const char *, const char *, float, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_003_SetString(void *, const char *, const char *, const char *, EVRSettingsError *); -extern bool cppIVRSettings_IVRSettings_003_GetBool(void *, const char *, const char *, EVRSettingsError *); -extern int32_t cppIVRSettings_IVRSettings_003_GetInt32(void *, const char *, const char *, EVRSettingsError *); -extern float cppIVRSettings_IVRSettings_003_GetFloat(void *, const char *, const char *, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_003_GetString(void *, const char *, const char *, char *, uint32_t, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_003_RemoveSection(void *, const char *, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_003_RemoveKeyInSection(void *, const char *, const char *, EVRSettingsError *); +struct cppIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRSettingsError eError; +}; +extern void cppIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum( struct cppIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum_params *params ); + +struct cppIVRSettings_IVRSettings_003_SetBool_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + bool bValue; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_003_SetBool( struct cppIVRSettings_IVRSettings_003_SetBool_params *params ); + +struct cppIVRSettings_IVRSettings_003_SetInt32_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + int32_t nValue; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_003_SetInt32( struct cppIVRSettings_IVRSettings_003_SetInt32_params *params ); + +struct cppIVRSettings_IVRSettings_003_SetFloat_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + float flValue; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_003_SetFloat( struct cppIVRSettings_IVRSettings_003_SetFloat_params *params ); + +struct cppIVRSettings_IVRSettings_003_SetString_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + const char *pchValue; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_003_SetString( struct cppIVRSettings_IVRSettings_003_SetString_params *params ); + +struct cppIVRSettings_IVRSettings_003_GetBool_params +{ + void *linux_side; + bool _ret; + const char *pchSection; + const char *pchSettingsKey; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_003_GetBool( struct cppIVRSettings_IVRSettings_003_GetBool_params *params ); + +struct cppIVRSettings_IVRSettings_003_GetInt32_params +{ + void *linux_side; + int32_t _ret; + const char *pchSection; + const char *pchSettingsKey; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_003_GetInt32( struct cppIVRSettings_IVRSettings_003_GetInt32_params *params ); + +struct cppIVRSettings_IVRSettings_003_GetFloat_params +{ + void *linux_side; + float _ret; + const char *pchSection; + const char *pchSettingsKey; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_003_GetFloat( struct cppIVRSettings_IVRSettings_003_GetFloat_params *params ); + +struct cppIVRSettings_IVRSettings_003_GetString_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + char *pchValue; + uint32_t unValueLen; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_003_GetString( struct cppIVRSettings_IVRSettings_003_GetString_params *params ); + +struct cppIVRSettings_IVRSettings_003_RemoveSection_params +{ + void *linux_side; + const char *pchSection; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_003_RemoveSection( struct cppIVRSettings_IVRSettings_003_RemoveSection_params *params ); + +struct cppIVRSettings_IVRSettings_003_RemoveKeyInSection_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + EVRSettingsError *peError; +}; +extern void cppIVRSettings_IVRSettings_003_RemoveKeyInSection( struct cppIVRSettings_IVRSettings_003_RemoveKeyInSection_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.cpp index 4a80c636..71da657d 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.cpp @@ -9,260 +9,204 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRSystem_IVRSystem_003_GetWindowBounds(void *linux_side, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_003_GetWindowBounds( struct cppIVRSystem_IVRSystem_003_GetWindowBounds_params *params ) { - ((IVRSystem*)linux_side)->GetWindowBounds((int32_t *)pnX, (int32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetWindowBounds((int32_t *)params->pnX, (int32_t *)params->pnY, (uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -void cppIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize(void *linux_side, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize_params *params ) { - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetRecommendedRenderTargetSize((uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -void cppIVRSystem_IVRSystem_003_GetEyeOutputViewport(void *linux_side, Hmd_Eye eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_003_GetEyeOutputViewport( struct cppIVRSystem_IVRSystem_003_GetEyeOutputViewport_params *params ) { - ((IVRSystem*)linux_side)->GetEyeOutputViewport((vr::Hmd_Eye)eEye, (uint32_t *)pnX, (uint32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetEyeOutputViewport((vr::Hmd_Eye)params->eEye, (uint32_t *)params->pnX, (uint32_t *)params->pnY, (uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -HmdMatrix44_t cppIVRSystem_IVRSystem_003_GetProjectionMatrix(void *linux_side, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) +void cppIVRSystem_IVRSystem_003_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_003_GetProjectionMatrix_params *params ) { - HmdMatrix44_t _ret; - _ret = ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::Hmd_Eye)eEye, (float)fNearZ, (float)fFarZ, (vr::GraphicsAPIConvention)eProjType); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetProjectionMatrix((vr::Hmd_Eye)params->eEye, (float)params->fNearZ, (float)params->fFarZ, (vr::GraphicsAPIConvention)params->eProjType); } -void cppIVRSystem_IVRSystem_003_GetProjectionRaw(void *linux_side, Hmd_Eye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void cppIVRSystem_IVRSystem_003_GetProjectionRaw( struct cppIVRSystem_IVRSystem_003_GetProjectionRaw_params *params ) { - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::Hmd_Eye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); + ((IVRSystem*)params->linux_side)->GetProjectionRaw((vr::Hmd_Eye)params->eEye, (float *)params->pfLeft, (float *)params->pfRight, (float *)params->pfTop, (float *)params->pfBottom); } -DistortionCoordinates_t cppIVRSystem_IVRSystem_003_ComputeDistortion(void *linux_side, Hmd_Eye eEye, float fU, float fV) +void cppIVRSystem_IVRSystem_003_ComputeDistortion( struct cppIVRSystem_IVRSystem_003_ComputeDistortion_params *params ) { - DistortionCoordinates_t _ret; - _ret = ((IVRSystem*)linux_side)->ComputeDistortion((vr::Hmd_Eye)eEye, (float)fU, (float)fV); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->ComputeDistortion((vr::Hmd_Eye)params->eEye, (float)params->fU, (float)params->fV); } -HmdMatrix34_t cppIVRSystem_IVRSystem_003_GetEyeToHeadTransform(void *linux_side, Hmd_Eye eEye) +void cppIVRSystem_IVRSystem_003_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_003_GetEyeToHeadTransform_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::Hmd_Eye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetEyeToHeadTransform((vr::Hmd_Eye)params->eEye); } -bool cppIVRSystem_IVRSystem_003_GetTimeSinceLastVsync(void *linux_side, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +void cppIVRSystem_IVRSystem_003_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_003_GetTimeSinceLastVsync_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTimeSinceLastVsync((float *)params->pfSecondsSinceLastVsync, (uint64_t *)params->pulFrameCounter); } -int32_t cppIVRSystem_IVRSystem_003_GetD3D9AdapterIndex(void *linux_side) +void cppIVRSystem_IVRSystem_003_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_003_GetD3D9AdapterIndex_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetD3D9AdapterIndex(); } -void cppIVRSystem_IVRSystem_003_GetDXGIOutputInfo(void *linux_side, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex) +void cppIVRSystem_IVRSystem_003_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_003_GetDXGIOutputInfo_params *params ) { - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex, (int32_t *)pnAdapterOutputIndex); + ((IVRSystem*)params->linux_side)->GetDXGIOutputInfo((int32_t *)params->pnAdapterIndex, (int32_t *)params->pnAdapterOutputIndex); } -bool cppIVRSystem_IVRSystem_003_AttachToWindow(void *linux_side, void *hWnd) +void cppIVRSystem_IVRSystem_003_AttachToWindow( struct cppIVRSystem_IVRSystem_003_AttachToWindow_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->AttachToWindow((void *)hWnd); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->AttachToWindow((void *)params->hWnd); } -void cppIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose(void *linux_side, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void cppIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose_params *params ) { - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::TrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); + ((IVRSystem*)params->linux_side)->GetDeviceToAbsoluteTrackingPose((vr::TrackingUniverseOrigin)params->eOrigin, (float)params->fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)params->pTrackedDevicePoseArray, (uint32_t)params->unTrackedDevicePoseArrayCount); } -void cppIVRSystem_IVRSystem_003_ResetSeatedZeroPose(void *linux_side) +void cppIVRSystem_IVRSystem_003_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_003_ResetSeatedZeroPose_params *params ) { - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); + ((IVRSystem*)params->linux_side)->ResetSeatedZeroPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); } -bool cppIVRSystem_IVRSystem_003_LoadRenderModel(void *linux_side, const char *pchRenderModelName, winRenderModel_t_091 *pRenderModel) +void cppIVRSystem_IVRSystem_003_LoadRenderModel( struct cppIVRSystem_IVRSystem_003_LoadRenderModel_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->LoadRenderModel((const char *)pchRenderModelName, struct_RenderModel_t_091_unwrap(pRenderModel)); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->LoadRenderModel((const char *)params->pchRenderModelName, struct_RenderModel_t_091_unwrap( params->pRenderModel )); } -void cppIVRSystem_IVRSystem_003_FreeRenderModel(void *linux_side, winRenderModel_t_091 *pRenderModel) +void cppIVRSystem_IVRSystem_003_FreeRenderModel( struct cppIVRSystem_IVRSystem_003_FreeRenderModel_params *params ) { - ((IVRSystem*)linux_side)->FreeRenderModel(struct_RenderModel_t_091_unwrap(pRenderModel)); + ((IVRSystem*)params->linux_side)->FreeRenderModel(struct_RenderModel_t_091_unwrap( params->pRenderModel )); } -TrackedDeviceClass cppIVRSystem_IVRSystem_003_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_003_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_003_GetTrackedDeviceClass_params *params ) { - TrackedDeviceClass _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_003_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_003_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_003_IsTrackedDeviceConnected_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (vr::TrackedPropertyError *)params->pError); } -float cppIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty_params *params ) { - float _ret; - _ret = ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (vr::TrackedPropertyError *)params->pError); } -int32_t cppIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (vr::TrackedPropertyError *)params->pError); } -uint64_t cppIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty_params *params ) { - uint64_t _ret; - _ret = ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (vr::TrackedPropertyError *)params->pError); } -HmdMatrix34_t cppIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (vr::TrackedPropertyError *)params->pError); } -uint32_t cppIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::TrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::TrackedPropertyError *)params->pError); } -const char * cppIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum(void *linux_side, TrackedPropertyError error) +void cppIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::TrackedPropertyError)error); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetPropErrorNameFromEnum((vr::TrackedPropertyError)params->error); } -bool cppIVRSystem_IVRSystem_003_PollNextEvent(void *linux_side, VREvent_t *pEvent) +void cppIVRSystem_IVRSystem_003_PollNextEvent( struct cppIVRSystem_IVRSystem_003_PollNextEvent_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->PollNextEvent((vr::VREvent_t *)pEvent); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEvent((vr::VREvent_t *)params->pEvent); } -bool cppIVRSystem_IVRSystem_003_PollNextEventWithPose(void *linux_side, TrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_003_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_003_PollNextEventWithPose_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::TrackingUniverseOrigin)eOrigin, (vr::VREvent_t *)pEvent, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEventWithPose((vr::TrackingUniverseOrigin)params->eOrigin, (vr::VREvent_t *)params->pEvent, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); } -const char * cppIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) +void cppIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)params->eType); } -HiddenAreaMesh_t cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh(void *linux_side, Hmd_Eye eEye) +void cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh_params *params ) { - HiddenAreaMesh_t _ret; - _ret = ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::Hmd_Eye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetHiddenAreaMesh((vr::Hmd_Eye)params->eEye); } -bool cppIVRSystem_IVRSystem_003_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_091 *pControllerState) +void cppIVRSystem_IVRSystem_003_GetControllerState( struct cppIVRSystem_IVRSystem_003_GetControllerState_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_091_win_to_lin(pControllerState, &lin_pControllerState); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr); - if (pControllerState) - struct_VRControllerState001_t_091_lin_to_win(&lin_pControllerState, pControllerState, -1); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_091_win_to_lin( params->pControllerState, &lin_pControllerState ); + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr); + if (params->pControllerState) + struct_VRControllerState001_t_091_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); } -bool cppIVRSystem_IVRSystem_003_GetControllerStateWithPose(void *linux_side, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_091 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_003_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_003_GetControllerStateWithPose_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_091_win_to_lin(pControllerState, &lin_pControllerState); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::TrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pControllerState) - struct_VRControllerState001_t_091_lin_to_win(&lin_pControllerState, pControllerState, -1); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_091_win_to_lin( params->pControllerState, &lin_pControllerState ); + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerStateWithPose((vr::TrackingUniverseOrigin)params->eOrigin, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pControllerState) + struct_VRControllerState001_t_091_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); } -void cppIVRSystem_IVRSystem_003_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void cppIVRSystem_IVRSystem_003_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_003_TriggerHapticPulse_params *params ) { - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); + ((IVRSystem*)params->linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, (uint32_t)params->unAxisId, (unsigned short)params->usDurationMicroSec); } -const char * cppIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) +void cppIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)params->eButtonId); } -const char * cppIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) +void cppIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)params->eAxisType); } -bool cppIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse(void *linux_side, const Compositor_OverlaySettings *overlaySettings, HmdVector2_t vecWindowClientPositionOnScreen, HmdVector2_t vecWindowClientSize, TrackedDeviceIndex_t unControllerDeviceIndex, EVRControllerEventOutputType eOutputType) +void cppIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse( struct cppIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->HandleControllerOverlayInteractionAsMouse(*overlaySettings, (vr::HmdVector2_t)vecWindowClientPositionOnScreen, (vr::HmdVector2_t)vecWindowClientSize, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (vr::EVRControllerEventOutputType)eOutputType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->HandleControllerOverlayInteractionAsMouse(*params->overlaySettings, (vr::HmdVector2_t)params->vecWindowClientPositionOnScreen, (vr::HmdVector2_t)params->vecWindowClientSize, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, (vr::EVRControllerEventOutputType)params->eOutputType); } -bool cppIVRSystem_IVRSystem_003_CaptureInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_003_CaptureInputFocus( struct cppIVRSystem_IVRSystem_003_CaptureInputFocus_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->CaptureInputFocus(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->CaptureInputFocus(); } -void cppIVRSystem_IVRSystem_003_ReleaseInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_003_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_003_ReleaseInputFocus_params *params ) { - ((IVRSystem*)linux_side)->ReleaseInputFocus(); + ((IVRSystem*)params->linux_side)->ReleaseInputFocus(); } -bool cppIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess(void *linux_side) +void cppIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsInputFocusCapturedByAnotherProcess(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.h index cae3294e..0f9660ff 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.h @@ -1,44 +1,343 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRSystem_IVRSystem_003_GetWindowBounds(void *, int32_t *, int32_t *, uint32_t *, uint32_t *); -extern void cppIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern void cppIVRSystem_IVRSystem_003_GetEyeOutputViewport(void *, Hmd_Eye, uint32_t *, uint32_t *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_003_GetProjectionMatrix(void *, Hmd_Eye, float, float, GraphicsAPIConvention); -extern void cppIVRSystem_IVRSystem_003_GetProjectionRaw(void *, Hmd_Eye, float *, float *, float *, float *); -extern DistortionCoordinates_t cppIVRSystem_IVRSystem_003_ComputeDistortion(void *, Hmd_Eye, float, float); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_003_GetEyeToHeadTransform(void *, Hmd_Eye); -extern bool cppIVRSystem_IVRSystem_003_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_003_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_003_GetDXGIOutputInfo(void *, int32_t *, int32_t *); -extern bool cppIVRSystem_IVRSystem_003_AttachToWindow(void *, void *); -extern void cppIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose(void *, TrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_003_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern bool cppIVRSystem_IVRSystem_003_LoadRenderModel(void *, const char *, winRenderModel_t_091 *); -extern void cppIVRSystem_IVRSystem_003_FreeRenderModel(void *, winRenderModel_t_091 *); -extern TrackedDeviceClass cppIVRSystem_IVRSystem_003_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_003_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, char *, uint32_t, TrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum(void *, TrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_003_PollNextEvent(void *, VREvent_t *); -extern bool cppIVRSystem_IVRSystem_003_PollNextEventWithPose(void *, TrackingUniverseOrigin, VREvent_t *, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh(void *, Hmd_Eye); -extern bool cppIVRSystem_IVRSystem_003_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_091 *); -extern bool cppIVRSystem_IVRSystem_003_GetControllerStateWithPose(void *, TrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_091 *, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_003_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse(void *, const Compositor_OverlaySettings *, HmdVector2_t, HmdVector2_t, TrackedDeviceIndex_t, EVRControllerEventOutputType); -extern bool cppIVRSystem_IVRSystem_003_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_003_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess(void *); +struct cppIVRSystem_IVRSystem_003_GetWindowBounds_params +{ + void *linux_side; + int32_t *pnX; + int32_t *pnY; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_003_GetWindowBounds( struct cppIVRSystem_IVRSystem_003_GetWindowBounds_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetEyeOutputViewport_params +{ + void *linux_side; + Hmd_Eye eEye; + uint32_t *pnX; + uint32_t *pnY; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_003_GetEyeOutputViewport( struct cppIVRSystem_IVRSystem_003_GetEyeOutputViewport_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + Hmd_Eye eEye; + float fNearZ; + float fFarZ; + GraphicsAPIConvention eProjType; +}; +extern void cppIVRSystem_IVRSystem_003_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_003_GetProjectionMatrix_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetProjectionRaw_params +{ + void *linux_side; + Hmd_Eye eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; +extern void cppIVRSystem_IVRSystem_003_GetProjectionRaw( struct cppIVRSystem_IVRSystem_003_GetProjectionRaw_params *params ); + +struct cppIVRSystem_IVRSystem_003_ComputeDistortion_params +{ + void *linux_side; + DistortionCoordinates_t *_ret; + Hmd_Eye eEye; + float fU; + float fV; +}; +extern void cppIVRSystem_IVRSystem_003_ComputeDistortion( struct cppIVRSystem_IVRSystem_003_ComputeDistortion_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + Hmd_Eye eEye; +}; +extern void cppIVRSystem_IVRSystem_003_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_003_GetEyeToHeadTransform_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetTimeSinceLastVsync_params +{ + void *linux_side; + bool _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; +extern void cppIVRSystem_IVRSystem_003_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_003_GetTimeSinceLastVsync_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; +extern void cppIVRSystem_IVRSystem_003_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_003_GetD3D9AdapterIndex_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; + int32_t *pnAdapterOutputIndex; +}; +extern void cppIVRSystem_IVRSystem_003_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_003_GetDXGIOutputInfo_params *params ); + +struct cppIVRSystem_IVRSystem_003_AttachToWindow_params +{ + void *linux_side; + bool _ret; + void *hWnd; +}; +extern void cppIVRSystem_IVRSystem_003_AttachToWindow( struct cppIVRSystem_IVRSystem_003_AttachToWindow_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + TrackingUniverseOrigin eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; +extern void cppIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_003_ResetSeatedZeroPose_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_003_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_003_ResetSeatedZeroPose_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_003_LoadRenderModel_params +{ + void *linux_side; + bool _ret; + const char *pchRenderModelName; + winRenderModel_t_091 *pRenderModel; +}; +extern void cppIVRSystem_IVRSystem_003_LoadRenderModel( struct cppIVRSystem_IVRSystem_003_LoadRenderModel_params *params ); + +struct cppIVRSystem_IVRSystem_003_FreeRenderModel_params +{ + void *linux_side; + winRenderModel_t_091 *pRenderModel; +}; +extern void cppIVRSystem_IVRSystem_003_FreeRenderModel( struct cppIVRSystem_IVRSystem_003_FreeRenderModel_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetTrackedDeviceClass_params +{ + void *linux_side; + TrackedDeviceClass _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_003_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_003_GetTrackedDeviceClass_params *params ); + +struct cppIVRSystem_IVRSystem_003_IsTrackedDeviceConnected_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_003_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_003_IsTrackedDeviceConnected_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + char *pchValue; + uint32_t unBufferSize; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + TrackedPropertyError error; +}; +extern void cppIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_003_PollNextEvent_params +{ + void *linux_side; + bool _ret; + VREvent_t *pEvent; +}; +extern void cppIVRSystem_IVRSystem_003_PollNextEvent( struct cppIVRSystem_IVRSystem_003_PollNextEvent_params *params ); + +struct cppIVRSystem_IVRSystem_003_PollNextEventWithPose_params +{ + void *linux_side; + bool _ret; + TrackingUniverseOrigin eOrigin; + VREvent_t *pEvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_003_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_003_PollNextEventWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVREventType eType; +}; +extern void cppIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh_params +{ + void *linux_side; + HiddenAreaMesh_t *_ret; + Hmd_Eye eEye; +}; +extern void cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetControllerState_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_091 *pControllerState; +}; +extern void cppIVRSystem_IVRSystem_003_GetControllerState( struct cppIVRSystem_IVRSystem_003_GetControllerState_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetControllerStateWithPose_params +{ + void *linux_side; + bool _ret; + TrackingUniverseOrigin eOrigin; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_091 *pControllerState; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_003_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_003_GetControllerStateWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_003_TriggerHapticPulse_params +{ + void *linux_side; + TrackedDeviceIndex_t unControllerDeviceIndex; + uint32_t unAxisId; + unsigned short usDurationMicroSec; +}; +extern void cppIVRSystem_IVRSystem_003_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_003_TriggerHapticPulse_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRButtonId eButtonId; +}; +extern void cppIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRControllerAxisType eAxisType; +}; +extern void cppIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + bool _ret; + const Compositor_OverlaySettings *overlaySettings; + HmdVector2_t vecWindowClientPositionOnScreen; + HmdVector2_t vecWindowClientSize; + TrackedDeviceIndex_t unControllerDeviceIndex; + EVRControllerEventOutputType eOutputType; +}; +extern void cppIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse( struct cppIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse_params *params ); + +struct cppIVRSystem_IVRSystem_003_CaptureInputFocus_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_003_CaptureInputFocus( struct cppIVRSystem_IVRSystem_003_CaptureInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_003_ReleaseInputFocus_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_003_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_003_ReleaseInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.cpp index ce83975e..c412a72a 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.cpp @@ -9,248 +9,194 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRSystem_IVRSystem_004_GetWindowBounds(void *linux_side, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_004_GetWindowBounds( struct cppIVRSystem_IVRSystem_004_GetWindowBounds_params *params ) { - ((IVRSystem*)linux_side)->GetWindowBounds((int32_t *)pnX, (int32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetWindowBounds((int32_t *)params->pnX, (int32_t *)params->pnY, (uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -void cppIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize(void *linux_side, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize_params *params ) { - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetRecommendedRenderTargetSize((uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -void cppIVRSystem_IVRSystem_004_GetEyeOutputViewport(void *linux_side, Hmd_Eye eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_004_GetEyeOutputViewport( struct cppIVRSystem_IVRSystem_004_GetEyeOutputViewport_params *params ) { - ((IVRSystem*)linux_side)->GetEyeOutputViewport((vr::Hmd_Eye)eEye, (uint32_t *)pnX, (uint32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetEyeOutputViewport((vr::Hmd_Eye)params->eEye, (uint32_t *)params->pnX, (uint32_t *)params->pnY, (uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -HmdMatrix44_t cppIVRSystem_IVRSystem_004_GetProjectionMatrix(void *linux_side, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) +void cppIVRSystem_IVRSystem_004_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_004_GetProjectionMatrix_params *params ) { - HmdMatrix44_t _ret; - _ret = ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::Hmd_Eye)eEye, (float)fNearZ, (float)fFarZ, (vr::GraphicsAPIConvention)eProjType); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetProjectionMatrix((vr::Hmd_Eye)params->eEye, (float)params->fNearZ, (float)params->fFarZ, (vr::GraphicsAPIConvention)params->eProjType); } -void cppIVRSystem_IVRSystem_004_GetProjectionRaw(void *linux_side, Hmd_Eye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void cppIVRSystem_IVRSystem_004_GetProjectionRaw( struct cppIVRSystem_IVRSystem_004_GetProjectionRaw_params *params ) { - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::Hmd_Eye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); + ((IVRSystem*)params->linux_side)->GetProjectionRaw((vr::Hmd_Eye)params->eEye, (float *)params->pfLeft, (float *)params->pfRight, (float *)params->pfTop, (float *)params->pfBottom); } -DistortionCoordinates_t cppIVRSystem_IVRSystem_004_ComputeDistortion(void *linux_side, Hmd_Eye eEye, float fU, float fV) +void cppIVRSystem_IVRSystem_004_ComputeDistortion( struct cppIVRSystem_IVRSystem_004_ComputeDistortion_params *params ) { - DistortionCoordinates_t _ret; - _ret = ((IVRSystem*)linux_side)->ComputeDistortion((vr::Hmd_Eye)eEye, (float)fU, (float)fV); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->ComputeDistortion((vr::Hmd_Eye)params->eEye, (float)params->fU, (float)params->fV); } -HmdMatrix34_t cppIVRSystem_IVRSystem_004_GetEyeToHeadTransform(void *linux_side, Hmd_Eye eEye) +void cppIVRSystem_IVRSystem_004_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_004_GetEyeToHeadTransform_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::Hmd_Eye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetEyeToHeadTransform((vr::Hmd_Eye)params->eEye); } -bool cppIVRSystem_IVRSystem_004_GetTimeSinceLastVsync(void *linux_side, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +void cppIVRSystem_IVRSystem_004_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_004_GetTimeSinceLastVsync_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTimeSinceLastVsync((float *)params->pfSecondsSinceLastVsync, (uint64_t *)params->pulFrameCounter); } -int32_t cppIVRSystem_IVRSystem_004_GetD3D9AdapterIndex(void *linux_side) +void cppIVRSystem_IVRSystem_004_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_004_GetD3D9AdapterIndex_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetD3D9AdapterIndex(); } -void cppIVRSystem_IVRSystem_004_GetDXGIOutputInfo(void *linux_side, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex) +void cppIVRSystem_IVRSystem_004_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_004_GetDXGIOutputInfo_params *params ) { - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex, (int32_t *)pnAdapterOutputIndex); + ((IVRSystem*)params->linux_side)->GetDXGIOutputInfo((int32_t *)params->pnAdapterIndex, (int32_t *)params->pnAdapterOutputIndex); } -bool cppIVRSystem_IVRSystem_004_AttachToWindow(void *linux_side, void *hWnd) +void cppIVRSystem_IVRSystem_004_AttachToWindow( struct cppIVRSystem_IVRSystem_004_AttachToWindow_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->AttachToWindow((void *)hWnd); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->AttachToWindow((void *)params->hWnd); } -void cppIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose(void *linux_side, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void cppIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose_params *params ) { - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::TrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); + ((IVRSystem*)params->linux_side)->GetDeviceToAbsoluteTrackingPose((vr::TrackingUniverseOrigin)params->eOrigin, (float)params->fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)params->pTrackedDevicePoseArray, (uint32_t)params->unTrackedDevicePoseArrayCount); } -void cppIVRSystem_IVRSystem_004_ResetSeatedZeroPose(void *linux_side) +void cppIVRSystem_IVRSystem_004_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_004_ResetSeatedZeroPose_params *params ) { - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); + ((IVRSystem*)params->linux_side)->ResetSeatedZeroPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); } -TrackedDeviceClass cppIVRSystem_IVRSystem_004_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_004_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_004_GetTrackedDeviceClass_params *params ) { - TrackedDeviceClass _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_004_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_004_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_004_IsTrackedDeviceConnected_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (vr::TrackedPropertyError *)params->pError); } -float cppIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty_params *params ) { - float _ret; - _ret = ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (vr::TrackedPropertyError *)params->pError); } -int32_t cppIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (vr::TrackedPropertyError *)params->pError); } -uint64_t cppIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty_params *params ) { - uint64_t _ret; - _ret = ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (vr::TrackedPropertyError *)params->pError); } -HmdMatrix34_t cppIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (vr::TrackedPropertyError *)params->pError); } -uint32_t cppIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::TrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::TrackedPropertyError *)params->pError); } -const char * cppIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum(void *linux_side, TrackedPropertyError error) +void cppIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::TrackedPropertyError)error); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetPropErrorNameFromEnum((vr::TrackedPropertyError)params->error); } -bool cppIVRSystem_IVRSystem_004_PollNextEvent(void *linux_side, VREvent_t *pEvent) +void cppIVRSystem_IVRSystem_004_PollNextEvent( struct cppIVRSystem_IVRSystem_004_PollNextEvent_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->PollNextEvent((vr::VREvent_t *)pEvent); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEvent((vr::VREvent_t *)params->pEvent); } -bool cppIVRSystem_IVRSystem_004_PollNextEventWithPose(void *linux_side, TrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_004_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_004_PollNextEventWithPose_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::TrackingUniverseOrigin)eOrigin, (vr::VREvent_t *)pEvent, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEventWithPose((vr::TrackingUniverseOrigin)params->eOrigin, (vr::VREvent_t *)params->pEvent, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); } -const char * cppIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) +void cppIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)params->eType); } -HiddenAreaMesh_t cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh(void *linux_side, Hmd_Eye eEye) +void cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh_params *params ) { - HiddenAreaMesh_t _ret; - _ret = ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::Hmd_Eye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetHiddenAreaMesh((vr::Hmd_Eye)params->eEye); } -bool cppIVRSystem_IVRSystem_004_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_092 *pControllerState) +void cppIVRSystem_IVRSystem_004_GetControllerState( struct cppIVRSystem_IVRSystem_004_GetControllerState_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_092_win_to_lin(pControllerState, &lin_pControllerState); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr); - if (pControllerState) - struct_VRControllerState001_t_092_lin_to_win(&lin_pControllerState, pControllerState, -1); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_092_win_to_lin( params->pControllerState, &lin_pControllerState ); + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr); + if (params->pControllerState) + struct_VRControllerState001_t_092_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); } -bool cppIVRSystem_IVRSystem_004_GetControllerStateWithPose(void *linux_side, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_092 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_004_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_004_GetControllerStateWithPose_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_092_win_to_lin(pControllerState, &lin_pControllerState); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::TrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pControllerState) - struct_VRControllerState001_t_092_lin_to_win(&lin_pControllerState, pControllerState, -1); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_092_win_to_lin( params->pControllerState, &lin_pControllerState ); + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerStateWithPose((vr::TrackingUniverseOrigin)params->eOrigin, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pControllerState) + struct_VRControllerState001_t_092_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); } -void cppIVRSystem_IVRSystem_004_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void cppIVRSystem_IVRSystem_004_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_004_TriggerHapticPulse_params *params ) { - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); + ((IVRSystem*)params->linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, (uint32_t)params->unAxisId, (unsigned short)params->usDurationMicroSec); } -const char * cppIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) +void cppIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)params->eButtonId); } -const char * cppIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) +void cppIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)params->eAxisType); } -bool cppIVRSystem_IVRSystem_004_CaptureInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_004_CaptureInputFocus( struct cppIVRSystem_IVRSystem_004_CaptureInputFocus_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->CaptureInputFocus(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->CaptureInputFocus(); } -void cppIVRSystem_IVRSystem_004_ReleaseInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_004_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_004_ReleaseInputFocus_params *params ) { - ((IVRSystem*)linux_side)->ReleaseInputFocus(); + ((IVRSystem*)params->linux_side)->ReleaseInputFocus(); } -bool cppIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess(void *linux_side) +void cppIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsInputFocusCapturedByAnotherProcess(); } -uint32_t cppIVRSystem_IVRSystem_004_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +void cppIVRSystem_IVRSystem_004_DriverDebugRequest( struct cppIVRSystem_IVRSystem_004_DriverDebugRequest_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchRequest, (char *)params->pchResponseBuffer, (uint32_t)params->unResponseBufferSize); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.h index 776a9782..9c1f12c5 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.h @@ -1,42 +1,326 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRSystem_IVRSystem_004_GetWindowBounds(void *, int32_t *, int32_t *, uint32_t *, uint32_t *); -extern void cppIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern void cppIVRSystem_IVRSystem_004_GetEyeOutputViewport(void *, Hmd_Eye, uint32_t *, uint32_t *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_004_GetProjectionMatrix(void *, Hmd_Eye, float, float, GraphicsAPIConvention); -extern void cppIVRSystem_IVRSystem_004_GetProjectionRaw(void *, Hmd_Eye, float *, float *, float *, float *); -extern DistortionCoordinates_t cppIVRSystem_IVRSystem_004_ComputeDistortion(void *, Hmd_Eye, float, float); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_004_GetEyeToHeadTransform(void *, Hmd_Eye); -extern bool cppIVRSystem_IVRSystem_004_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_004_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_004_GetDXGIOutputInfo(void *, int32_t *, int32_t *); -extern bool cppIVRSystem_IVRSystem_004_AttachToWindow(void *, void *); -extern void cppIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose(void *, TrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_004_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern TrackedDeviceClass cppIVRSystem_IVRSystem_004_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_004_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, char *, uint32_t, TrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum(void *, TrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_004_PollNextEvent(void *, VREvent_t *); -extern bool cppIVRSystem_IVRSystem_004_PollNextEventWithPose(void *, TrackingUniverseOrigin, VREvent_t *, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh(void *, Hmd_Eye); -extern bool cppIVRSystem_IVRSystem_004_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_092 *); -extern bool cppIVRSystem_IVRSystem_004_GetControllerStateWithPose(void *, TrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_092 *, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_004_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_004_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_004_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess(void *); -extern uint32_t cppIVRSystem_IVRSystem_004_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); +struct cppIVRSystem_IVRSystem_004_GetWindowBounds_params +{ + void *linux_side; + int32_t *pnX; + int32_t *pnY; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_004_GetWindowBounds( struct cppIVRSystem_IVRSystem_004_GetWindowBounds_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetEyeOutputViewport_params +{ + void *linux_side; + Hmd_Eye eEye; + uint32_t *pnX; + uint32_t *pnY; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_004_GetEyeOutputViewport( struct cppIVRSystem_IVRSystem_004_GetEyeOutputViewport_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + Hmd_Eye eEye; + float fNearZ; + float fFarZ; + GraphicsAPIConvention eProjType; +}; +extern void cppIVRSystem_IVRSystem_004_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_004_GetProjectionMatrix_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetProjectionRaw_params +{ + void *linux_side; + Hmd_Eye eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; +extern void cppIVRSystem_IVRSystem_004_GetProjectionRaw( struct cppIVRSystem_IVRSystem_004_GetProjectionRaw_params *params ); + +struct cppIVRSystem_IVRSystem_004_ComputeDistortion_params +{ + void *linux_side; + DistortionCoordinates_t *_ret; + Hmd_Eye eEye; + float fU; + float fV; +}; +extern void cppIVRSystem_IVRSystem_004_ComputeDistortion( struct cppIVRSystem_IVRSystem_004_ComputeDistortion_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + Hmd_Eye eEye; +}; +extern void cppIVRSystem_IVRSystem_004_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_004_GetEyeToHeadTransform_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetTimeSinceLastVsync_params +{ + void *linux_side; + bool _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; +extern void cppIVRSystem_IVRSystem_004_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_004_GetTimeSinceLastVsync_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; +extern void cppIVRSystem_IVRSystem_004_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_004_GetD3D9AdapterIndex_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; + int32_t *pnAdapterOutputIndex; +}; +extern void cppIVRSystem_IVRSystem_004_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_004_GetDXGIOutputInfo_params *params ); + +struct cppIVRSystem_IVRSystem_004_AttachToWindow_params +{ + void *linux_side; + bool _ret; + void *hWnd; +}; +extern void cppIVRSystem_IVRSystem_004_AttachToWindow( struct cppIVRSystem_IVRSystem_004_AttachToWindow_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + TrackingUniverseOrigin eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; +extern void cppIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_004_ResetSeatedZeroPose_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_004_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_004_ResetSeatedZeroPose_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetTrackedDeviceClass_params +{ + void *linux_side; + TrackedDeviceClass _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_004_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_004_GetTrackedDeviceClass_params *params ); + +struct cppIVRSystem_IVRSystem_004_IsTrackedDeviceConnected_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_004_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_004_IsTrackedDeviceConnected_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + char *pchValue; + uint32_t unBufferSize; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + TrackedPropertyError error; +}; +extern void cppIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_004_PollNextEvent_params +{ + void *linux_side; + bool _ret; + VREvent_t *pEvent; +}; +extern void cppIVRSystem_IVRSystem_004_PollNextEvent( struct cppIVRSystem_IVRSystem_004_PollNextEvent_params *params ); + +struct cppIVRSystem_IVRSystem_004_PollNextEventWithPose_params +{ + void *linux_side; + bool _ret; + TrackingUniverseOrigin eOrigin; + VREvent_t *pEvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_004_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_004_PollNextEventWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVREventType eType; +}; +extern void cppIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh_params +{ + void *linux_side; + HiddenAreaMesh_t *_ret; + Hmd_Eye eEye; +}; +extern void cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetControllerState_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_092 *pControllerState; +}; +extern void cppIVRSystem_IVRSystem_004_GetControllerState( struct cppIVRSystem_IVRSystem_004_GetControllerState_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetControllerStateWithPose_params +{ + void *linux_side; + bool _ret; + TrackingUniverseOrigin eOrigin; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_092 *pControllerState; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_004_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_004_GetControllerStateWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_004_TriggerHapticPulse_params +{ + void *linux_side; + TrackedDeviceIndex_t unControllerDeviceIndex; + uint32_t unAxisId; + unsigned short usDurationMicroSec; +}; +extern void cppIVRSystem_IVRSystem_004_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_004_TriggerHapticPulse_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRButtonId eButtonId; +}; +extern void cppIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRControllerAxisType eAxisType; +}; +extern void cppIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_004_CaptureInputFocus_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_004_CaptureInputFocus( struct cppIVRSystem_IVRSystem_004_CaptureInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_004_ReleaseInputFocus_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_004_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_004_ReleaseInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess_params *params ); + +struct cppIVRSystem_IVRSystem_004_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; +extern void cppIVRSystem_IVRSystem_004_DriverDebugRequest( struct cppIVRSystem_IVRSystem_004_DriverDebugRequest_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.cpp index 0f7bd371..82ab9dcb 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.cpp @@ -9,255 +9,199 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRSystem_IVRSystem_005_GetWindowBounds(void *linux_side, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_005_GetWindowBounds( struct cppIVRSystem_IVRSystem_005_GetWindowBounds_params *params ) { - ((IVRSystem*)linux_side)->GetWindowBounds((int32_t *)pnX, (int32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetWindowBounds((int32_t *)params->pnX, (int32_t *)params->pnY, (uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -void cppIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize(void *linux_side, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize_params *params ) { - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetRecommendedRenderTargetSize((uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -void cppIVRSystem_IVRSystem_005_GetEyeOutputViewport(void *linux_side, Hmd_Eye eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_005_GetEyeOutputViewport( struct cppIVRSystem_IVRSystem_005_GetEyeOutputViewport_params *params ) { - ((IVRSystem*)linux_side)->GetEyeOutputViewport((vr::Hmd_Eye)eEye, (uint32_t *)pnX, (uint32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetEyeOutputViewport((vr::Hmd_Eye)params->eEye, (uint32_t *)params->pnX, (uint32_t *)params->pnY, (uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -HmdMatrix44_t cppIVRSystem_IVRSystem_005_GetProjectionMatrix(void *linux_side, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) +void cppIVRSystem_IVRSystem_005_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_005_GetProjectionMatrix_params *params ) { - HmdMatrix44_t _ret; - _ret = ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::Hmd_Eye)eEye, (float)fNearZ, (float)fFarZ, (vr::GraphicsAPIConvention)eProjType); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetProjectionMatrix((vr::Hmd_Eye)params->eEye, (float)params->fNearZ, (float)params->fFarZ, (vr::GraphicsAPIConvention)params->eProjType); } -void cppIVRSystem_IVRSystem_005_GetProjectionRaw(void *linux_side, Hmd_Eye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void cppIVRSystem_IVRSystem_005_GetProjectionRaw( struct cppIVRSystem_IVRSystem_005_GetProjectionRaw_params *params ) { - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::Hmd_Eye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); + ((IVRSystem*)params->linux_side)->GetProjectionRaw((vr::Hmd_Eye)params->eEye, (float *)params->pfLeft, (float *)params->pfRight, (float *)params->pfTop, (float *)params->pfBottom); } -DistortionCoordinates_t cppIVRSystem_IVRSystem_005_ComputeDistortion(void *linux_side, Hmd_Eye eEye, float fU, float fV) +void cppIVRSystem_IVRSystem_005_ComputeDistortion( struct cppIVRSystem_IVRSystem_005_ComputeDistortion_params *params ) { - DistortionCoordinates_t _ret; - _ret = ((IVRSystem*)linux_side)->ComputeDistortion((vr::Hmd_Eye)eEye, (float)fU, (float)fV); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->ComputeDistortion((vr::Hmd_Eye)params->eEye, (float)params->fU, (float)params->fV); } -HmdMatrix34_t cppIVRSystem_IVRSystem_005_GetEyeToHeadTransform(void *linux_side, Hmd_Eye eEye) +void cppIVRSystem_IVRSystem_005_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_005_GetEyeToHeadTransform_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::Hmd_Eye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetEyeToHeadTransform((vr::Hmd_Eye)params->eEye); } -bool cppIVRSystem_IVRSystem_005_GetTimeSinceLastVsync(void *linux_side, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +void cppIVRSystem_IVRSystem_005_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_005_GetTimeSinceLastVsync_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTimeSinceLastVsync((float *)params->pfSecondsSinceLastVsync, (uint64_t *)params->pulFrameCounter); } -int32_t cppIVRSystem_IVRSystem_005_GetD3D9AdapterIndex(void *linux_side) +void cppIVRSystem_IVRSystem_005_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_005_GetD3D9AdapterIndex_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetD3D9AdapterIndex(); } -void cppIVRSystem_IVRSystem_005_GetDXGIOutputInfo(void *linux_side, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex) +void cppIVRSystem_IVRSystem_005_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_005_GetDXGIOutputInfo_params *params ) { - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex, (int32_t *)pnAdapterOutputIndex); + ((IVRSystem*)params->linux_side)->GetDXGIOutputInfo((int32_t *)params->pnAdapterIndex, (int32_t *)params->pnAdapterOutputIndex); } -bool cppIVRSystem_IVRSystem_005_AttachToWindow(void *linux_side, void *hWnd) +void cppIVRSystem_IVRSystem_005_AttachToWindow( struct cppIVRSystem_IVRSystem_005_AttachToWindow_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->AttachToWindow((void *)hWnd); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->AttachToWindow((void *)params->hWnd); } -void cppIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose(void *linux_side, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void cppIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose_params *params ) { - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::TrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); + ((IVRSystem*)params->linux_side)->GetDeviceToAbsoluteTrackingPose((vr::TrackingUniverseOrigin)params->eOrigin, (float)params->fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)params->pTrackedDevicePoseArray, (uint32_t)params->unTrackedDevicePoseArrayCount); } -void cppIVRSystem_IVRSystem_005_ResetSeatedZeroPose(void *linux_side) +void cppIVRSystem_IVRSystem_005_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_005_ResetSeatedZeroPose_params *params ) { - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); + ((IVRSystem*)params->linux_side)->ResetSeatedZeroPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); } -uint32_t cppIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +void cppIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::TrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::TrackedDeviceClass)params->eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)params->punTrackedDeviceIndexArray, (uint32_t)params->unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)params->unRelativeToTrackedDeviceIndex); } -TrackedDeviceClass cppIVRSystem_IVRSystem_005_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_005_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_005_GetTrackedDeviceClass_params *params ) { - TrackedDeviceClass _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_005_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_005_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_005_IsTrackedDeviceConnected_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (vr::TrackedPropertyError *)params->pError); } -float cppIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty_params *params ) { - float _ret; - _ret = ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (vr::TrackedPropertyError *)params->pError); } -int32_t cppIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (vr::TrackedPropertyError *)params->pError); } -uint64_t cppIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty_params *params ) { - uint64_t _ret; - _ret = ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (vr::TrackedPropertyError *)params->pError); } -HmdMatrix34_t cppIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (vr::TrackedPropertyError *)params->pError); } -uint32_t cppIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::TrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::TrackedPropertyError *)params->pError); } -const char * cppIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum(void *linux_side, TrackedPropertyError error) +void cppIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::TrackedPropertyError)error); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetPropErrorNameFromEnum((vr::TrackedPropertyError)params->error); } -bool cppIVRSystem_IVRSystem_005_PollNextEvent(void *linux_side, VREvent_t *pEvent) +void cppIVRSystem_IVRSystem_005_PollNextEvent( struct cppIVRSystem_IVRSystem_005_PollNextEvent_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->PollNextEvent((vr::VREvent_t *)pEvent); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEvent((vr::VREvent_t *)params->pEvent); } -bool cppIVRSystem_IVRSystem_005_PollNextEventWithPose(void *linux_side, TrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_005_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_005_PollNextEventWithPose_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::TrackingUniverseOrigin)eOrigin, (vr::VREvent_t *)pEvent, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEventWithPose((vr::TrackingUniverseOrigin)params->eOrigin, (vr::VREvent_t *)params->pEvent, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); } -const char * cppIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) +void cppIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)params->eType); } -HiddenAreaMesh_t cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh(void *linux_side, Hmd_Eye eEye) +void cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh_params *params ) { - HiddenAreaMesh_t _ret; - _ret = ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::Hmd_Eye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetHiddenAreaMesh((vr::Hmd_Eye)params->eEye); } -bool cppIVRSystem_IVRSystem_005_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_098 *pControllerState) +void cppIVRSystem_IVRSystem_005_GetControllerState( struct cppIVRSystem_IVRSystem_005_GetControllerState_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_098_win_to_lin(pControllerState, &lin_pControllerState); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr); - if (pControllerState) - struct_VRControllerState001_t_098_lin_to_win(&lin_pControllerState, pControllerState, -1); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_098_win_to_lin( params->pControllerState, &lin_pControllerState ); + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr); + if (params->pControllerState) + struct_VRControllerState001_t_098_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); } -bool cppIVRSystem_IVRSystem_005_GetControllerStateWithPose(void *linux_side, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_098 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_005_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_005_GetControllerStateWithPose_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_098_win_to_lin(pControllerState, &lin_pControllerState); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::TrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pControllerState) - struct_VRControllerState001_t_098_lin_to_win(&lin_pControllerState, pControllerState, -1); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_098_win_to_lin( params->pControllerState, &lin_pControllerState ); + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerStateWithPose((vr::TrackingUniverseOrigin)params->eOrigin, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pControllerState) + struct_VRControllerState001_t_098_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); } -void cppIVRSystem_IVRSystem_005_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void cppIVRSystem_IVRSystem_005_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_005_TriggerHapticPulse_params *params ) { - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); + ((IVRSystem*)params->linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, (uint32_t)params->unAxisId, (unsigned short)params->usDurationMicroSec); } -const char * cppIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) +void cppIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)params->eButtonId); } -const char * cppIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) +void cppIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)params->eAxisType); } -bool cppIVRSystem_IVRSystem_005_CaptureInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_005_CaptureInputFocus( struct cppIVRSystem_IVRSystem_005_CaptureInputFocus_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->CaptureInputFocus(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->CaptureInputFocus(); } -void cppIVRSystem_IVRSystem_005_ReleaseInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_005_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_005_ReleaseInputFocus_params *params ) { - ((IVRSystem*)linux_side)->ReleaseInputFocus(); + ((IVRSystem*)params->linux_side)->ReleaseInputFocus(); } -bool cppIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess(void *linux_side) +void cppIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsInputFocusCapturedByAnotherProcess(); } -uint32_t cppIVRSystem_IVRSystem_005_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +void cppIVRSystem_IVRSystem_005_DriverDebugRequest( struct cppIVRSystem_IVRSystem_005_DriverDebugRequest_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchRequest, (char *)params->pchResponseBuffer, (uint32_t)params->unResponseBufferSize); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.h index 15521e10..87642304 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.h @@ -1,43 +1,337 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRSystem_IVRSystem_005_GetWindowBounds(void *, int32_t *, int32_t *, uint32_t *, uint32_t *); -extern void cppIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern void cppIVRSystem_IVRSystem_005_GetEyeOutputViewport(void *, Hmd_Eye, uint32_t *, uint32_t *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_005_GetProjectionMatrix(void *, Hmd_Eye, float, float, GraphicsAPIConvention); -extern void cppIVRSystem_IVRSystem_005_GetProjectionRaw(void *, Hmd_Eye, float *, float *, float *, float *); -extern DistortionCoordinates_t cppIVRSystem_IVRSystem_005_ComputeDistortion(void *, Hmd_Eye, float, float); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_005_GetEyeToHeadTransform(void *, Hmd_Eye); -extern bool cppIVRSystem_IVRSystem_005_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_005_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_005_GetDXGIOutputInfo(void *, int32_t *, int32_t *); -extern bool cppIVRSystem_IVRSystem_005_AttachToWindow(void *, void *); -extern void cppIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose(void *, TrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_005_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(void *, TrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern TrackedDeviceClass cppIVRSystem_IVRSystem_005_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_005_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, char *, uint32_t, TrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum(void *, TrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_005_PollNextEvent(void *, VREvent_t *); -extern bool cppIVRSystem_IVRSystem_005_PollNextEventWithPose(void *, TrackingUniverseOrigin, VREvent_t *, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh(void *, Hmd_Eye); -extern bool cppIVRSystem_IVRSystem_005_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_098 *); -extern bool cppIVRSystem_IVRSystem_005_GetControllerStateWithPose(void *, TrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_098 *, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_005_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_005_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_005_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess(void *); -extern uint32_t cppIVRSystem_IVRSystem_005_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); +struct cppIVRSystem_IVRSystem_005_GetWindowBounds_params +{ + void *linux_side; + int32_t *pnX; + int32_t *pnY; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_005_GetWindowBounds( struct cppIVRSystem_IVRSystem_005_GetWindowBounds_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetEyeOutputViewport_params +{ + void *linux_side; + Hmd_Eye eEye; + uint32_t *pnX; + uint32_t *pnY; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_005_GetEyeOutputViewport( struct cppIVRSystem_IVRSystem_005_GetEyeOutputViewport_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + Hmd_Eye eEye; + float fNearZ; + float fFarZ; + GraphicsAPIConvention eProjType; +}; +extern void cppIVRSystem_IVRSystem_005_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_005_GetProjectionMatrix_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetProjectionRaw_params +{ + void *linux_side; + Hmd_Eye eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; +extern void cppIVRSystem_IVRSystem_005_GetProjectionRaw( struct cppIVRSystem_IVRSystem_005_GetProjectionRaw_params *params ); + +struct cppIVRSystem_IVRSystem_005_ComputeDistortion_params +{ + void *linux_side; + DistortionCoordinates_t *_ret; + Hmd_Eye eEye; + float fU; + float fV; +}; +extern void cppIVRSystem_IVRSystem_005_ComputeDistortion( struct cppIVRSystem_IVRSystem_005_ComputeDistortion_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + Hmd_Eye eEye; +}; +extern void cppIVRSystem_IVRSystem_005_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_005_GetEyeToHeadTransform_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetTimeSinceLastVsync_params +{ + void *linux_side; + bool _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; +extern void cppIVRSystem_IVRSystem_005_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_005_GetTimeSinceLastVsync_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; +extern void cppIVRSystem_IVRSystem_005_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_005_GetD3D9AdapterIndex_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; + int32_t *pnAdapterOutputIndex; +}; +extern void cppIVRSystem_IVRSystem_005_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_005_GetDXGIOutputInfo_params *params ); + +struct cppIVRSystem_IVRSystem_005_AttachToWindow_params +{ + void *linux_side; + bool _ret; + void *hWnd; +}; +extern void cppIVRSystem_IVRSystem_005_AttachToWindow( struct cppIVRSystem_IVRSystem_005_AttachToWindow_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + TrackingUniverseOrigin eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; +extern void cppIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_005_ResetSeatedZeroPose_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_005_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_005_ResetSeatedZeroPose_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceClass eTrackedDeviceClass; + TrackedDeviceIndex_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetTrackedDeviceClass_params +{ + void *linux_side; + TrackedDeviceClass _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_005_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_005_GetTrackedDeviceClass_params *params ); + +struct cppIVRSystem_IVRSystem_005_IsTrackedDeviceConnected_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_005_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_005_IsTrackedDeviceConnected_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + char *pchValue; + uint32_t unBufferSize; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + TrackedPropertyError error; +}; +extern void cppIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_005_PollNextEvent_params +{ + void *linux_side; + bool _ret; + VREvent_t *pEvent; +}; +extern void cppIVRSystem_IVRSystem_005_PollNextEvent( struct cppIVRSystem_IVRSystem_005_PollNextEvent_params *params ); + +struct cppIVRSystem_IVRSystem_005_PollNextEventWithPose_params +{ + void *linux_side; + bool _ret; + TrackingUniverseOrigin eOrigin; + VREvent_t *pEvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_005_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_005_PollNextEventWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVREventType eType; +}; +extern void cppIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh_params +{ + void *linux_side; + HiddenAreaMesh_t *_ret; + Hmd_Eye eEye; +}; +extern void cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetControllerState_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_098 *pControllerState; +}; +extern void cppIVRSystem_IVRSystem_005_GetControllerState( struct cppIVRSystem_IVRSystem_005_GetControllerState_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetControllerStateWithPose_params +{ + void *linux_side; + bool _ret; + TrackingUniverseOrigin eOrigin; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_098 *pControllerState; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_005_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_005_GetControllerStateWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_005_TriggerHapticPulse_params +{ + void *linux_side; + TrackedDeviceIndex_t unControllerDeviceIndex; + uint32_t unAxisId; + unsigned short usDurationMicroSec; +}; +extern void cppIVRSystem_IVRSystem_005_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_005_TriggerHapticPulse_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRButtonId eButtonId; +}; +extern void cppIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRControllerAxisType eAxisType; +}; +extern void cppIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_005_CaptureInputFocus_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_005_CaptureInputFocus( struct cppIVRSystem_IVRSystem_005_CaptureInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_005_ReleaseInputFocus_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_005_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_005_ReleaseInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess_params *params ); + +struct cppIVRSystem_IVRSystem_005_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; +extern void cppIVRSystem_IVRSystem_005_DriverDebugRequest( struct cppIVRSystem_IVRSystem_005_DriverDebugRequest_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.cpp index e264fc62..82dab55c 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.cpp @@ -9,290 +9,224 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRSystem_IVRSystem_006_GetWindowBounds(void *linux_side, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_006_GetWindowBounds( struct cppIVRSystem_IVRSystem_006_GetWindowBounds_params *params ) { - ((IVRSystem*)linux_side)->GetWindowBounds((int32_t *)pnX, (int32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetWindowBounds((int32_t *)params->pnX, (int32_t *)params->pnY, (uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -void cppIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize(void *linux_side, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize_params *params ) { - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetRecommendedRenderTargetSize((uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -void cppIVRSystem_IVRSystem_006_GetEyeOutputViewport(void *linux_side, Hmd_Eye eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_006_GetEyeOutputViewport( struct cppIVRSystem_IVRSystem_006_GetEyeOutputViewport_params *params ) { - ((IVRSystem*)linux_side)->GetEyeOutputViewport((vr::Hmd_Eye)eEye, (uint32_t *)pnX, (uint32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetEyeOutputViewport((vr::Hmd_Eye)params->eEye, (uint32_t *)params->pnX, (uint32_t *)params->pnY, (uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -HmdMatrix44_t cppIVRSystem_IVRSystem_006_GetProjectionMatrix(void *linux_side, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) +void cppIVRSystem_IVRSystem_006_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_006_GetProjectionMatrix_params *params ) { - HmdMatrix44_t _ret; - _ret = ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::Hmd_Eye)eEye, (float)fNearZ, (float)fFarZ, (vr::GraphicsAPIConvention)eProjType); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetProjectionMatrix((vr::Hmd_Eye)params->eEye, (float)params->fNearZ, (float)params->fFarZ, (vr::GraphicsAPIConvention)params->eProjType); } -void cppIVRSystem_IVRSystem_006_GetProjectionRaw(void *linux_side, Hmd_Eye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void cppIVRSystem_IVRSystem_006_GetProjectionRaw( struct cppIVRSystem_IVRSystem_006_GetProjectionRaw_params *params ) { - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::Hmd_Eye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); + ((IVRSystem*)params->linux_side)->GetProjectionRaw((vr::Hmd_Eye)params->eEye, (float *)params->pfLeft, (float *)params->pfRight, (float *)params->pfTop, (float *)params->pfBottom); } -DistortionCoordinates_t cppIVRSystem_IVRSystem_006_ComputeDistortion(void *linux_side, Hmd_Eye eEye, float fU, float fV) +void cppIVRSystem_IVRSystem_006_ComputeDistortion( struct cppIVRSystem_IVRSystem_006_ComputeDistortion_params *params ) { - DistortionCoordinates_t _ret; - _ret = ((IVRSystem*)linux_side)->ComputeDistortion((vr::Hmd_Eye)eEye, (float)fU, (float)fV); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->ComputeDistortion((vr::Hmd_Eye)params->eEye, (float)params->fU, (float)params->fV); } -HmdMatrix34_t cppIVRSystem_IVRSystem_006_GetEyeToHeadTransform(void *linux_side, Hmd_Eye eEye) +void cppIVRSystem_IVRSystem_006_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_006_GetEyeToHeadTransform_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::Hmd_Eye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetEyeToHeadTransform((vr::Hmd_Eye)params->eEye); } -bool cppIVRSystem_IVRSystem_006_GetTimeSinceLastVsync(void *linux_side, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +void cppIVRSystem_IVRSystem_006_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_006_GetTimeSinceLastVsync_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTimeSinceLastVsync((float *)params->pfSecondsSinceLastVsync, (uint64_t *)params->pulFrameCounter); } -int32_t cppIVRSystem_IVRSystem_006_GetD3D9AdapterIndex(void *linux_side) +void cppIVRSystem_IVRSystem_006_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_006_GetD3D9AdapterIndex_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetD3D9AdapterIndex(); } -void cppIVRSystem_IVRSystem_006_GetDXGIOutputInfo(void *linux_side, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex) +void cppIVRSystem_IVRSystem_006_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_006_GetDXGIOutputInfo_params *params ) { - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex, (int32_t *)pnAdapterOutputIndex); + ((IVRSystem*)params->linux_side)->GetDXGIOutputInfo((int32_t *)params->pnAdapterIndex, (int32_t *)params->pnAdapterOutputIndex); } -bool cppIVRSystem_IVRSystem_006_AttachToWindow(void *linux_side, void *hWnd) +void cppIVRSystem_IVRSystem_006_AttachToWindow( struct cppIVRSystem_IVRSystem_006_AttachToWindow_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->AttachToWindow((void *)hWnd); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->AttachToWindow((void *)params->hWnd); } -void cppIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose(void *linux_side, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void cppIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose_params *params ) { - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::TrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); + ((IVRSystem*)params->linux_side)->GetDeviceToAbsoluteTrackingPose((vr::TrackingUniverseOrigin)params->eOrigin, (float)params->fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)params->pTrackedDevicePoseArray, (uint32_t)params->unTrackedDevicePoseArrayCount); } -void cppIVRSystem_IVRSystem_006_ResetSeatedZeroPose(void *linux_side) +void cppIVRSystem_IVRSystem_006_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_006_ResetSeatedZeroPose_params *params ) { - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); + ((IVRSystem*)params->linux_side)->ResetSeatedZeroPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); } -uint32_t cppIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +void cppIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::TrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::TrackedDeviceClass)params->eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)params->punTrackedDeviceIndexArray, (uint32_t)params->unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)params->unRelativeToTrackedDeviceIndex); } -EDeviceActivityLevel cppIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) +void cppIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel_params *params ) { - EDeviceActivityLevel _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)params->unDeviceId); } -TrackedDeviceClass cppIVRSystem_IVRSystem_006_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_006_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_006_GetTrackedDeviceClass_params *params ) { - TrackedDeviceClass _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_006_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_006_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_006_IsTrackedDeviceConnected_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (vr::TrackedPropertyError *)params->pError); } -float cppIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty_params *params ) { - float _ret; - _ret = ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (vr::TrackedPropertyError *)params->pError); } -int32_t cppIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (vr::TrackedPropertyError *)params->pError); } -uint64_t cppIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty_params *params ) { - uint64_t _ret; - _ret = ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (vr::TrackedPropertyError *)params->pError); } -HmdMatrix34_t cppIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (vr::TrackedPropertyError *)params->pError); } -uint32_t cppIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, TrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::TrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::TrackedDeviceProperty)params->prop, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::TrackedPropertyError *)params->pError); } -const char * cppIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum(void *linux_side, TrackedPropertyError error) +void cppIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::TrackedPropertyError)error); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetPropErrorNameFromEnum((vr::TrackedPropertyError)params->error); } -bool cppIVRSystem_IVRSystem_006_PollNextEvent(void *linux_side, VREvent_t *pEvent) +void cppIVRSystem_IVRSystem_006_PollNextEvent( struct cppIVRSystem_IVRSystem_006_PollNextEvent_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->PollNextEvent((vr::VREvent_t *)pEvent); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEvent((vr::VREvent_t *)params->pEvent); } -bool cppIVRSystem_IVRSystem_006_PollNextEventWithPose(void *linux_side, TrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_006_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_006_PollNextEventWithPose_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::TrackingUniverseOrigin)eOrigin, (vr::VREvent_t *)pEvent, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEventWithPose((vr::TrackingUniverseOrigin)params->eOrigin, (vr::VREvent_t *)params->pEvent, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); } -const char * cppIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) +void cppIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)params->eType); } -HiddenAreaMesh_t cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh(void *linux_side, Hmd_Eye eEye) +void cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh_params *params ) { - HiddenAreaMesh_t _ret; - _ret = ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::Hmd_Eye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetHiddenAreaMesh((vr::Hmd_Eye)params->eEye); } -bool cppIVRSystem_IVRSystem_006_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0910 *pControllerState) +void cppIVRSystem_IVRSystem_006_GetControllerState( struct cppIVRSystem_IVRSystem_006_GetControllerState_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_0910_win_to_lin(pControllerState, &lin_pControllerState); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr); - if (pControllerState) - struct_VRControllerState001_t_0910_lin_to_win(&lin_pControllerState, pControllerState, -1); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_0910_win_to_lin( params->pControllerState, &lin_pControllerState ); + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr); + if (params->pControllerState) + struct_VRControllerState001_t_0910_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); } -bool cppIVRSystem_IVRSystem_006_GetControllerStateWithPose(void *linux_side, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0910 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_006_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_006_GetControllerStateWithPose_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_0910_win_to_lin(pControllerState, &lin_pControllerState); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::TrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pControllerState) - struct_VRControllerState001_t_0910_lin_to_win(&lin_pControllerState, pControllerState, -1); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_0910_win_to_lin( params->pControllerState, &lin_pControllerState ); + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerStateWithPose((vr::TrackingUniverseOrigin)params->eOrigin, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pControllerState) + struct_VRControllerState001_t_0910_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); } -void cppIVRSystem_IVRSystem_006_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void cppIVRSystem_IVRSystem_006_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_006_TriggerHapticPulse_params *params ) { - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); + ((IVRSystem*)params->linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, (uint32_t)params->unAxisId, (unsigned short)params->usDurationMicroSec); } -const char * cppIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) +void cppIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)params->eButtonId); } -const char * cppIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) +void cppIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)params->eAxisType); } -bool cppIVRSystem_IVRSystem_006_CaptureInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_006_CaptureInputFocus( struct cppIVRSystem_IVRSystem_006_CaptureInputFocus_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->CaptureInputFocus(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->CaptureInputFocus(); } -void cppIVRSystem_IVRSystem_006_ReleaseInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_006_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_006_ReleaseInputFocus_params *params ) { - ((IVRSystem*)linux_side)->ReleaseInputFocus(); + ((IVRSystem*)params->linux_side)->ReleaseInputFocus(); } -bool cppIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess(void *linux_side) +void cppIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsInputFocusCapturedByAnotherProcess(); } -uint32_t cppIVRSystem_IVRSystem_006_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +void cppIVRSystem_IVRSystem_006_DriverDebugRequest( struct cppIVRSystem_IVRSystem_006_DriverDebugRequest_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchRequest, (char *)params->pchResponseBuffer, (uint32_t)params->unResponseBufferSize); } -VRFirmwareError cppIVRSystem_IVRSystem_006_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_006_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_006_PerformFirmwareUpdate_params *params ) { - VRFirmwareError _ret; - _ret = ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_006_IsDisplayOnDesktop(void *linux_side) +void cppIVRSystem_IVRSystem_006_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_006_IsDisplayOnDesktop_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsDisplayOnDesktop(); } -bool cppIVRSystem_IVRSystem_006_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) +void cppIVRSystem_IVRSystem_006_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_006_SetDisplayVisibility_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->SetDisplayVisibility((bool)params->bIsVisibleOnDesktop); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.h index 53f67e9e..d9eca62a 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.h @@ -1,48 +1,375 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRSystem_IVRSystem_006_GetWindowBounds(void *, int32_t *, int32_t *, uint32_t *, uint32_t *); -extern void cppIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern void cppIVRSystem_IVRSystem_006_GetEyeOutputViewport(void *, Hmd_Eye, uint32_t *, uint32_t *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_006_GetProjectionMatrix(void *, Hmd_Eye, float, float, GraphicsAPIConvention); -extern void cppIVRSystem_IVRSystem_006_GetProjectionRaw(void *, Hmd_Eye, float *, float *, float *, float *); -extern DistortionCoordinates_t cppIVRSystem_IVRSystem_006_ComputeDistortion(void *, Hmd_Eye, float, float); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_006_GetEyeToHeadTransform(void *, Hmd_Eye); -extern bool cppIVRSystem_IVRSystem_006_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_006_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_006_GetDXGIOutputInfo(void *, int32_t *, int32_t *); -extern bool cppIVRSystem_IVRSystem_006_AttachToWindow(void *, void *); -extern void cppIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose(void *, TrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_006_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(void *, TrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern TrackedDeviceClass cppIVRSystem_IVRSystem_006_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_006_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, char *, uint32_t, TrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum(void *, TrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_006_PollNextEvent(void *, VREvent_t *); -extern bool cppIVRSystem_IVRSystem_006_PollNextEventWithPose(void *, TrackingUniverseOrigin, VREvent_t *, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh(void *, Hmd_Eye); -extern bool cppIVRSystem_IVRSystem_006_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_0910 *); -extern bool cppIVRSystem_IVRSystem_006_GetControllerStateWithPose(void *, TrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_0910 *, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_006_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_006_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_006_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess(void *); -extern uint32_t cppIVRSystem_IVRSystem_006_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); -extern VRFirmwareError cppIVRSystem_IVRSystem_006_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_006_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_006_SetDisplayVisibility(void *, bool); +struct cppIVRSystem_IVRSystem_006_GetWindowBounds_params +{ + void *linux_side; + int32_t *pnX; + int32_t *pnY; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_006_GetWindowBounds( struct cppIVRSystem_IVRSystem_006_GetWindowBounds_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetEyeOutputViewport_params +{ + void *linux_side; + Hmd_Eye eEye; + uint32_t *pnX; + uint32_t *pnY; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_006_GetEyeOutputViewport( struct cppIVRSystem_IVRSystem_006_GetEyeOutputViewport_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + Hmd_Eye eEye; + float fNearZ; + float fFarZ; + GraphicsAPIConvention eProjType; +}; +extern void cppIVRSystem_IVRSystem_006_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_006_GetProjectionMatrix_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetProjectionRaw_params +{ + void *linux_side; + Hmd_Eye eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; +extern void cppIVRSystem_IVRSystem_006_GetProjectionRaw( struct cppIVRSystem_IVRSystem_006_GetProjectionRaw_params *params ); + +struct cppIVRSystem_IVRSystem_006_ComputeDistortion_params +{ + void *linux_side; + DistortionCoordinates_t *_ret; + Hmd_Eye eEye; + float fU; + float fV; +}; +extern void cppIVRSystem_IVRSystem_006_ComputeDistortion( struct cppIVRSystem_IVRSystem_006_ComputeDistortion_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + Hmd_Eye eEye; +}; +extern void cppIVRSystem_IVRSystem_006_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_006_GetEyeToHeadTransform_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetTimeSinceLastVsync_params +{ + void *linux_side; + bool _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; +extern void cppIVRSystem_IVRSystem_006_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_006_GetTimeSinceLastVsync_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; +extern void cppIVRSystem_IVRSystem_006_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_006_GetD3D9AdapterIndex_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; + int32_t *pnAdapterOutputIndex; +}; +extern void cppIVRSystem_IVRSystem_006_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_006_GetDXGIOutputInfo_params *params ); + +struct cppIVRSystem_IVRSystem_006_AttachToWindow_params +{ + void *linux_side; + bool _ret; + void *hWnd; +}; +extern void cppIVRSystem_IVRSystem_006_AttachToWindow( struct cppIVRSystem_IVRSystem_006_AttachToWindow_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + TrackingUniverseOrigin eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; +extern void cppIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_006_ResetSeatedZeroPose_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_006_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_006_ResetSeatedZeroPose_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceClass eTrackedDeviceClass; + TrackedDeviceIndex_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + EDeviceActivityLevel _ret; + TrackedDeviceIndex_t unDeviceId; +}; +extern void cppIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetTrackedDeviceClass_params +{ + void *linux_side; + TrackedDeviceClass _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_006_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_006_GetTrackedDeviceClass_params *params ); + +struct cppIVRSystem_IVRSystem_006_IsTrackedDeviceConnected_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_006_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_006_IsTrackedDeviceConnected_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + TrackedDeviceProperty prop; + char *pchValue; + uint32_t unBufferSize; + TrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + TrackedPropertyError error; +}; +extern void cppIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_006_PollNextEvent_params +{ + void *linux_side; + bool _ret; + VREvent_t *pEvent; +}; +extern void cppIVRSystem_IVRSystem_006_PollNextEvent( struct cppIVRSystem_IVRSystem_006_PollNextEvent_params *params ); + +struct cppIVRSystem_IVRSystem_006_PollNextEventWithPose_params +{ + void *linux_side; + bool _ret; + TrackingUniverseOrigin eOrigin; + VREvent_t *pEvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_006_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_006_PollNextEventWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVREventType eType; +}; +extern void cppIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh_params +{ + void *linux_side; + HiddenAreaMesh_t *_ret; + Hmd_Eye eEye; +}; +extern void cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetControllerState_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_0910 *pControllerState; +}; +extern void cppIVRSystem_IVRSystem_006_GetControllerState( struct cppIVRSystem_IVRSystem_006_GetControllerState_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetControllerStateWithPose_params +{ + void *linux_side; + bool _ret; + TrackingUniverseOrigin eOrigin; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_0910 *pControllerState; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_006_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_006_GetControllerStateWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_006_TriggerHapticPulse_params +{ + void *linux_side; + TrackedDeviceIndex_t unControllerDeviceIndex; + uint32_t unAxisId; + unsigned short usDurationMicroSec; +}; +extern void cppIVRSystem_IVRSystem_006_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_006_TriggerHapticPulse_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRButtonId eButtonId; +}; +extern void cppIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRControllerAxisType eAxisType; +}; +extern void cppIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_006_CaptureInputFocus_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_006_CaptureInputFocus( struct cppIVRSystem_IVRSystem_006_CaptureInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_006_ReleaseInputFocus_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_006_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_006_ReleaseInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess_params *params ); + +struct cppIVRSystem_IVRSystem_006_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; +extern void cppIVRSystem_IVRSystem_006_DriverDebugRequest( struct cppIVRSystem_IVRSystem_006_DriverDebugRequest_params *params ); + +struct cppIVRSystem_IVRSystem_006_PerformFirmwareUpdate_params +{ + void *linux_side; + VRFirmwareError _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_006_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_006_PerformFirmwareUpdate_params *params ); + +struct cppIVRSystem_IVRSystem_006_IsDisplayOnDesktop_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_006_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_006_IsDisplayOnDesktop_params *params ); + +struct cppIVRSystem_IVRSystem_006_SetDisplayVisibility_params +{ + void *linux_side; + bool _ret; + bool bIsVisibleOnDesktop; +}; +extern void cppIVRSystem_IVRSystem_006_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_006_SetDisplayVisibility_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.cpp index afeed95d..41e24b4b 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.cpp @@ -9,288 +9,224 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize(void *linux_side, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize_params *params ) { - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetRecommendedRenderTargetSize((uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -HmdMatrix44_t cppIVRSystem_IVRSystem_009_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) +void cppIVRSystem_IVRSystem_009_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_009_GetProjectionMatrix_params *params ) { - HmdMatrix44_t _ret; - _ret = ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ, (vr::EGraphicsAPIConvention)eProjType); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetProjectionMatrix((vr::EVREye)params->eEye, (float)params->fNearZ, (float)params->fFarZ, (vr::EGraphicsAPIConvention)params->eProjType); } -void cppIVRSystem_IVRSystem_009_GetProjectionRaw(void *linux_side, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void cppIVRSystem_IVRSystem_009_GetProjectionRaw( struct cppIVRSystem_IVRSystem_009_GetProjectionRaw_params *params ) { - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); + ((IVRSystem*)params->linux_side)->GetProjectionRaw((vr::EVREye)params->eEye, (float *)params->pfLeft, (float *)params->pfRight, (float *)params->pfTop, (float *)params->pfBottom); } -DistortionCoordinates_t cppIVRSystem_IVRSystem_009_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV) +void cppIVRSystem_IVRSystem_009_ComputeDistortion( struct cppIVRSystem_IVRSystem_009_ComputeDistortion_params *params ) { - DistortionCoordinates_t _ret; - _ret = ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->ComputeDistortion((vr::EVREye)params->eEye, (float)params->fU, (float)params->fV); } -HmdMatrix34_t cppIVRSystem_IVRSystem_009_GetEyeToHeadTransform(void *linux_side, EVREye eEye) +void cppIVRSystem_IVRSystem_009_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_009_GetEyeToHeadTransform_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetEyeToHeadTransform((vr::EVREye)params->eEye); } -bool cppIVRSystem_IVRSystem_009_GetTimeSinceLastVsync(void *linux_side, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +void cppIVRSystem_IVRSystem_009_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_009_GetTimeSinceLastVsync_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTimeSinceLastVsync((float *)params->pfSecondsSinceLastVsync, (uint64_t *)params->pulFrameCounter); } -int32_t cppIVRSystem_IVRSystem_009_GetD3D9AdapterIndex(void *linux_side) +void cppIVRSystem_IVRSystem_009_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_009_GetD3D9AdapterIndex_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetD3D9AdapterIndex(); } -void cppIVRSystem_IVRSystem_009_GetDXGIOutputInfo(void *linux_side, int32_t *pnAdapterIndex) +void cppIVRSystem_IVRSystem_009_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_009_GetDXGIOutputInfo_params *params ) { - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); + ((IVRSystem*)params->linux_side)->GetDXGIOutputInfo((int32_t *)params->pnAdapterIndex); } -bool cppIVRSystem_IVRSystem_009_IsDisplayOnDesktop(void *linux_side) +void cppIVRSystem_IVRSystem_009_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_009_IsDisplayOnDesktop_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsDisplayOnDesktop(); } -bool cppIVRSystem_IVRSystem_009_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) +void cppIVRSystem_IVRSystem_009_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_009_SetDisplayVisibility_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->SetDisplayVisibility((bool)params->bIsVisibleOnDesktop); } -void cppIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void cppIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose_params *params ) { - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); + ((IVRSystem*)params->linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)params->eOrigin, (float)params->fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)params->pTrackedDevicePoseArray, (uint32_t)params->unTrackedDevicePoseArrayCount); } -void cppIVRSystem_IVRSystem_009_ResetSeatedZeroPose(void *linux_side) +void cppIVRSystem_IVRSystem_009_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_009_ResetSeatedZeroPose_params *params ) { - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); + ((IVRSystem*)params->linux_side)->ResetSeatedZeroPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); } -uint32_t cppIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +void cppIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)params->eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)params->punTrackedDeviceIndexArray, (uint32_t)params->unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)params->unRelativeToTrackedDeviceIndex); } -EDeviceActivityLevel cppIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) +void cppIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel_params *params ) { - EDeviceActivityLevel _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)params->unDeviceId); } -void cppIVRSystem_IVRSystem_009_ApplyTransform(void *linux_side, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void cppIVRSystem_IVRSystem_009_ApplyTransform( struct cppIVRSystem_IVRSystem_009_ApplyTransform_params *params ) { - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); + ((IVRSystem*)params->linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)params->pOutputPose, (const vr::TrackedDevicePose_t *)params->pTrackedDevicePose, (const vr::HmdMatrix34_t *)params->pTransform); } -ETrackedDeviceClass cppIVRSystem_IVRSystem_009_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_009_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_009_GetTrackedDeviceClass_params *params ) { - ETrackedDeviceClass _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_009_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_009_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_009_IsTrackedDeviceConnected_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -float cppIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty_params *params ) { - float _ret; - _ret = ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -int32_t cppIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint64_t cppIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty_params *params ) { - uint64_t _ret; - _ret = ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -HmdMatrix34_t cppIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint32_t cppIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::ETrackedPropertyError *)params->pError); } -const char * cppIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) +void cppIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)params->error); } -bool cppIVRSystem_IVRSystem_009_PollNextEvent(void *linux_side, VREvent_t *pEvent) +void cppIVRSystem_IVRSystem_009_PollNextEvent( struct cppIVRSystem_IVRSystem_009_PollNextEvent_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->PollNextEvent((vr::VREvent_t *)pEvent); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEvent((vr::VREvent_t *)params->pEvent); } -bool cppIVRSystem_IVRSystem_009_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_009_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_009_PollNextEventWithPose_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::VREvent_t *)pEvent, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, (vr::VREvent_t *)params->pEvent, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); } -const char * cppIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) +void cppIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)params->eType); } -HiddenAreaMesh_t cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh(void *linux_side, EVREye eEye) +void cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh_params *params ) { - HiddenAreaMesh_t _ret; - _ret = ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetHiddenAreaMesh((vr::EVREye)params->eEye); } -bool cppIVRSystem_IVRSystem_009_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0912 *pControllerState) +void cppIVRSystem_IVRSystem_009_GetControllerState( struct cppIVRSystem_IVRSystem_009_GetControllerState_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_0912_win_to_lin(pControllerState, &lin_pControllerState); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr); - if (pControllerState) - struct_VRControllerState001_t_0912_lin_to_win(&lin_pControllerState, pControllerState, -1); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_0912_win_to_lin( params->pControllerState, &lin_pControllerState ); + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr); + if (params->pControllerState) + struct_VRControllerState001_t_0912_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); } -bool cppIVRSystem_IVRSystem_009_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0912 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_009_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_009_GetControllerStateWithPose_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_0912_win_to_lin(pControllerState, &lin_pControllerState); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pControllerState) - struct_VRControllerState001_t_0912_lin_to_win(&lin_pControllerState, pControllerState, -1); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_0912_win_to_lin( params->pControllerState, &lin_pControllerState ); + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pControllerState) + struct_VRControllerState001_t_0912_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); } -void cppIVRSystem_IVRSystem_009_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void cppIVRSystem_IVRSystem_009_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_009_TriggerHapticPulse_params *params ) { - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); + ((IVRSystem*)params->linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, (uint32_t)params->unAxisId, (unsigned short)params->usDurationMicroSec); } -const char * cppIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) +void cppIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)params->eButtonId); } -const char * cppIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) +void cppIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)params->eAxisType); } -bool cppIVRSystem_IVRSystem_009_CaptureInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_009_CaptureInputFocus( struct cppIVRSystem_IVRSystem_009_CaptureInputFocus_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->CaptureInputFocus(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->CaptureInputFocus(); } -void cppIVRSystem_IVRSystem_009_ReleaseInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_009_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_009_ReleaseInputFocus_params *params ) { - ((IVRSystem*)linux_side)->ReleaseInputFocus(); + ((IVRSystem*)params->linux_side)->ReleaseInputFocus(); } -bool cppIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess(void *linux_side) +void cppIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsInputFocusCapturedByAnotherProcess(); } -uint32_t cppIVRSystem_IVRSystem_009_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +void cppIVRSystem_IVRSystem_009_DriverDebugRequest( struct cppIVRSystem_IVRSystem_009_DriverDebugRequest_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchRequest, (char *)params->pchResponseBuffer, (uint32_t)params->unResponseBufferSize); } -EVRFirmwareError cppIVRSystem_IVRSystem_009_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_009_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_009_PerformFirmwareUpdate_params *params ) { - EVRFirmwareError _ret; - _ret = ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -void cppIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting(void *linux_side) +void cppIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting_params *params ) { - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); + ((IVRSystem*)params->linux_side)->AcknowledgeQuit_Exiting(); } -void cppIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt(void *linux_side) +void cppIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt_params *params ) { - ((IVRSystem*)linux_side)->AcknowledgeQuit_UserPrompt(); + ((IVRSystem*)params->linux_side)->AcknowledgeQuit_UserPrompt(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.h index 295aad57..76cd8d39 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.h @@ -1,48 +1,366 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_009_GetProjectionMatrix(void *, EVREye, float, float, EGraphicsAPIConvention); -extern void cppIVRSystem_IVRSystem_009_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern DistortionCoordinates_t cppIVRSystem_IVRSystem_009_ComputeDistortion(void *, EVREye, float, float); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_009_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_009_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_009_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_009_GetDXGIOutputInfo(void *, int32_t *); -extern bool cppIVRSystem_IVRSystem_009_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_009_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_009_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_009_ApplyTransform(void *, TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t *); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_009_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_009_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_009_PollNextEvent(void *, VREvent_t *); -extern bool cppIVRSystem_IVRSystem_009_PollNextEventWithPose(void *, ETrackingUniverseOrigin, VREvent_t *, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_009_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_0912 *); -extern bool cppIVRSystem_IVRSystem_009_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_0912 *, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_009_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_009_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_009_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess(void *); -extern uint32_t cppIVRSystem_IVRSystem_009_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); -extern EVRFirmwareError cppIVRSystem_IVRSystem_009_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting(void *); -extern void cppIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt(void *); +struct cppIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + EVREye eEye; + float fNearZ; + float fFarZ; + EGraphicsAPIConvention eProjType; +}; +extern void cppIVRSystem_IVRSystem_009_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_009_GetProjectionMatrix_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetProjectionRaw_params +{ + void *linux_side; + EVREye eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; +extern void cppIVRSystem_IVRSystem_009_GetProjectionRaw( struct cppIVRSystem_IVRSystem_009_GetProjectionRaw_params *params ); + +struct cppIVRSystem_IVRSystem_009_ComputeDistortion_params +{ + void *linux_side; + DistortionCoordinates_t *_ret; + EVREye eEye; + float fU; + float fV; +}; +extern void cppIVRSystem_IVRSystem_009_ComputeDistortion( struct cppIVRSystem_IVRSystem_009_ComputeDistortion_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + EVREye eEye; +}; +extern void cppIVRSystem_IVRSystem_009_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_009_GetEyeToHeadTransform_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetTimeSinceLastVsync_params +{ + void *linux_side; + bool _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; +extern void cppIVRSystem_IVRSystem_009_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_009_GetTimeSinceLastVsync_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; +extern void cppIVRSystem_IVRSystem_009_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_009_GetD3D9AdapterIndex_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; +extern void cppIVRSystem_IVRSystem_009_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_009_GetDXGIOutputInfo_params *params ); + +struct cppIVRSystem_IVRSystem_009_IsDisplayOnDesktop_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_009_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_009_IsDisplayOnDesktop_params *params ); + +struct cppIVRSystem_IVRSystem_009_SetDisplayVisibility_params +{ + void *linux_side; + bool _ret; + bool bIsVisibleOnDesktop; +}; +extern void cppIVRSystem_IVRSystem_009_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_009_SetDisplayVisibility_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; +extern void cppIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_009_ResetSeatedZeroPose_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_009_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_009_ResetSeatedZeroPose_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + ETrackedDeviceClass eTrackedDeviceClass; + TrackedDeviceIndex_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + EDeviceActivityLevel _ret; + TrackedDeviceIndex_t unDeviceId; +}; +extern void cppIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel_params *params ); + +struct cppIVRSystem_IVRSystem_009_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; +extern void cppIVRSystem_IVRSystem_009_ApplyTransform( struct cppIVRSystem_IVRSystem_009_ApplyTransform_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetTrackedDeviceClass_params +{ + void *linux_side; + ETrackedDeviceClass _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_009_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_009_GetTrackedDeviceClass_params *params ); + +struct cppIVRSystem_IVRSystem_009_IsTrackedDeviceConnected_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_009_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_009_IsTrackedDeviceConnected_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + char *pchValue; + uint32_t unBufferSize; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + ETrackedPropertyError error; +}; +extern void cppIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_009_PollNextEvent_params +{ + void *linux_side; + bool _ret; + VREvent_t *pEvent; +}; +extern void cppIVRSystem_IVRSystem_009_PollNextEvent( struct cppIVRSystem_IVRSystem_009_PollNextEvent_params *params ); + +struct cppIVRSystem_IVRSystem_009_PollNextEventWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + VREvent_t *pEvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_009_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_009_PollNextEventWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVREventType eType; +}; +extern void cppIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh_params +{ + void *linux_side; + HiddenAreaMesh_t *_ret; + EVREye eEye; +}; +extern void cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetControllerState_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_0912 *pControllerState; +}; +extern void cppIVRSystem_IVRSystem_009_GetControllerState( struct cppIVRSystem_IVRSystem_009_GetControllerState_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetControllerStateWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_0912 *pControllerState; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_009_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_009_GetControllerStateWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_009_TriggerHapticPulse_params +{ + void *linux_side; + TrackedDeviceIndex_t unControllerDeviceIndex; + uint32_t unAxisId; + unsigned short usDurationMicroSec; +}; +extern void cppIVRSystem_IVRSystem_009_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_009_TriggerHapticPulse_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRButtonId eButtonId; +}; +extern void cppIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRControllerAxisType eAxisType; +}; +extern void cppIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_009_CaptureInputFocus_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_009_CaptureInputFocus( struct cppIVRSystem_IVRSystem_009_CaptureInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_009_ReleaseInputFocus_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_009_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_009_ReleaseInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess_params *params ); + +struct cppIVRSystem_IVRSystem_009_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; +extern void cppIVRSystem_IVRSystem_009_DriverDebugRequest( struct cppIVRSystem_IVRSystem_009_DriverDebugRequest_params *params ); + +struct cppIVRSystem_IVRSystem_009_PerformFirmwareUpdate_params +{ + void *linux_side; + EVRFirmwareError _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_009_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_009_PerformFirmwareUpdate_params *params ); + +struct cppIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting_params *params ); + +struct cppIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.cpp index 8e13a37f..4e5a2183 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.cpp @@ -9,312 +9,244 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize(void *linux_side, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize_params *params ) { - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetRecommendedRenderTargetSize((uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -HmdMatrix44_t cppIVRSystem_IVRSystem_010_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) +void cppIVRSystem_IVRSystem_010_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_010_GetProjectionMatrix_params *params ) { - HmdMatrix44_t _ret; - _ret = ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ, (vr::EGraphicsAPIConvention)eProjType); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetProjectionMatrix((vr::EVREye)params->eEye, (float)params->fNearZ, (float)params->fFarZ, (vr::EGraphicsAPIConvention)params->eProjType); } -void cppIVRSystem_IVRSystem_010_GetProjectionRaw(void *linux_side, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void cppIVRSystem_IVRSystem_010_GetProjectionRaw( struct cppIVRSystem_IVRSystem_010_GetProjectionRaw_params *params ) { - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); + ((IVRSystem*)params->linux_side)->GetProjectionRaw((vr::EVREye)params->eEye, (float *)params->pfLeft, (float *)params->pfRight, (float *)params->pfTop, (float *)params->pfBottom); } -DistortionCoordinates_t cppIVRSystem_IVRSystem_010_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV) +void cppIVRSystem_IVRSystem_010_ComputeDistortion( struct cppIVRSystem_IVRSystem_010_ComputeDistortion_params *params ) { - DistortionCoordinates_t _ret; - _ret = ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->ComputeDistortion((vr::EVREye)params->eEye, (float)params->fU, (float)params->fV); } -HmdMatrix34_t cppIVRSystem_IVRSystem_010_GetEyeToHeadTransform(void *linux_side, EVREye eEye) +void cppIVRSystem_IVRSystem_010_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_010_GetEyeToHeadTransform_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetEyeToHeadTransform((vr::EVREye)params->eEye); } -bool cppIVRSystem_IVRSystem_010_GetTimeSinceLastVsync(void *linux_side, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +void cppIVRSystem_IVRSystem_010_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_010_GetTimeSinceLastVsync_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTimeSinceLastVsync((float *)params->pfSecondsSinceLastVsync, (uint64_t *)params->pulFrameCounter); } -int32_t cppIVRSystem_IVRSystem_010_GetD3D9AdapterIndex(void *linux_side) +void cppIVRSystem_IVRSystem_010_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_010_GetD3D9AdapterIndex_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetD3D9AdapterIndex(); } -void cppIVRSystem_IVRSystem_010_GetDXGIOutputInfo(void *linux_side, int32_t *pnAdapterIndex) +void cppIVRSystem_IVRSystem_010_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_010_GetDXGIOutputInfo_params *params ) { - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); + ((IVRSystem*)params->linux_side)->GetDXGIOutputInfo((int32_t *)params->pnAdapterIndex); } -bool cppIVRSystem_IVRSystem_010_IsDisplayOnDesktop(void *linux_side) +void cppIVRSystem_IVRSystem_010_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_010_IsDisplayOnDesktop_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsDisplayOnDesktop(); } -bool cppIVRSystem_IVRSystem_010_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) +void cppIVRSystem_IVRSystem_010_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_010_SetDisplayVisibility_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->SetDisplayVisibility((bool)params->bIsVisibleOnDesktop); } -void cppIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void cppIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose_params *params ) { - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); + ((IVRSystem*)params->linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)params->eOrigin, (float)params->fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)params->pTrackedDevicePoseArray, (uint32_t)params->unTrackedDevicePoseArrayCount); } -void cppIVRSystem_IVRSystem_010_ResetSeatedZeroPose(void *linux_side) +void cppIVRSystem_IVRSystem_010_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_010_ResetSeatedZeroPose_params *params ) { - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); + ((IVRSystem*)params->linux_side)->ResetSeatedZeroPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); } -uint32_t cppIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +void cppIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)params->eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)params->punTrackedDeviceIndexArray, (uint32_t)params->unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)params->unRelativeToTrackedDeviceIndex); } -EDeviceActivityLevel cppIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) +void cppIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel_params *params ) { - EDeviceActivityLevel _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)params->unDeviceId); } -void cppIVRSystem_IVRSystem_010_ApplyTransform(void *linux_side, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void cppIVRSystem_IVRSystem_010_ApplyTransform( struct cppIVRSystem_IVRSystem_010_ApplyTransform_params *params ) { - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); + ((IVRSystem*)params->linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)params->pOutputPose, (const vr::TrackedDevicePose_t *)params->pTrackedDevicePose, (const vr::HmdMatrix34_t *)params->pTransform); } -TrackedDeviceIndex_t cppIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole(void *linux_side, ETrackedControllerRole unDeviceType) +void cppIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)unDeviceType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)params->unDeviceType); } -ETrackedControllerRole cppIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex_params *params ) { - ETrackedControllerRole _ret; - _ret = ((IVRSystem*)linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -ETrackedDeviceClass cppIVRSystem_IVRSystem_010_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_010_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_010_GetTrackedDeviceClass_params *params ) { - ETrackedDeviceClass _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_010_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_010_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_010_IsTrackedDeviceConnected_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -float cppIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty_params *params ) { - float _ret; - _ret = ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -int32_t cppIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint64_t cppIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty_params *params ) { - uint64_t _ret; - _ret = ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -HmdMatrix34_t cppIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint32_t cppIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::ETrackedPropertyError *)params->pError); } -const char * cppIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) +void cppIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)params->error); } -bool cppIVRSystem_IVRSystem_010_PollNextEvent(void *linux_side, VREvent_t *pEvent) +void cppIVRSystem_IVRSystem_010_PollNextEvent( struct cppIVRSystem_IVRSystem_010_PollNextEvent_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->PollNextEvent((vr::VREvent_t *)pEvent); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEvent((vr::VREvent_t *)params->pEvent); } -bool cppIVRSystem_IVRSystem_010_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_010_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_010_PollNextEventWithPose_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::VREvent_t *)pEvent, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, (vr::VREvent_t *)params->pEvent, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); } -const char * cppIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) +void cppIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)params->eType); } -HiddenAreaMesh_t cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh(void *linux_side, EVREye eEye) +void cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh_params *params ) { - HiddenAreaMesh_t _ret; - _ret = ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetHiddenAreaMesh((vr::EVREye)params->eEye); } -bool cppIVRSystem_IVRSystem_010_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0914 *pControllerState) +void cppIVRSystem_IVRSystem_010_GetControllerState( struct cppIVRSystem_IVRSystem_010_GetControllerState_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_0914_win_to_lin(pControllerState, &lin_pControllerState); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr); - if (pControllerState) - struct_VRControllerState001_t_0914_lin_to_win(&lin_pControllerState, pControllerState, -1); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_0914_win_to_lin( params->pControllerState, &lin_pControllerState ); + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr); + if (params->pControllerState) + struct_VRControllerState001_t_0914_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); } -bool cppIVRSystem_IVRSystem_010_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0914 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_010_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_010_GetControllerStateWithPose_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_0914_win_to_lin(pControllerState, &lin_pControllerState); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pControllerState) - struct_VRControllerState001_t_0914_lin_to_win(&lin_pControllerState, pControllerState, -1); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_0914_win_to_lin( params->pControllerState, &lin_pControllerState ); + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pControllerState) + struct_VRControllerState001_t_0914_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); } -void cppIVRSystem_IVRSystem_010_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void cppIVRSystem_IVRSystem_010_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_010_TriggerHapticPulse_params *params ) { - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); + ((IVRSystem*)params->linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, (uint32_t)params->unAxisId, (unsigned short)params->usDurationMicroSec); } -const char * cppIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) +void cppIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)params->eButtonId); } -const char * cppIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) +void cppIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)params->eAxisType); } -bool cppIVRSystem_IVRSystem_010_CaptureInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_010_CaptureInputFocus( struct cppIVRSystem_IVRSystem_010_CaptureInputFocus_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->CaptureInputFocus(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->CaptureInputFocus(); } -void cppIVRSystem_IVRSystem_010_ReleaseInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_010_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_010_ReleaseInputFocus_params *params ) { - ((IVRSystem*)linux_side)->ReleaseInputFocus(); + ((IVRSystem*)params->linux_side)->ReleaseInputFocus(); } -bool cppIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess(void *linux_side) +void cppIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsInputFocusCapturedByAnotherProcess(); } -uint32_t cppIVRSystem_IVRSystem_010_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +void cppIVRSystem_IVRSystem_010_DriverDebugRequest( struct cppIVRSystem_IVRSystem_010_DriverDebugRequest_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchRequest, (char *)params->pchResponseBuffer, (uint32_t)params->unResponseBufferSize); } -EVRFirmwareError cppIVRSystem_IVRSystem_010_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_010_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_010_PerformFirmwareUpdate_params *params ) { - EVRFirmwareError _ret; - _ret = ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -void cppIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting(void *linux_side) +void cppIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting_params *params ) { - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); + ((IVRSystem*)params->linux_side)->AcknowledgeQuit_Exiting(); } -void cppIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt(void *linux_side) +void cppIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt_params *params ) { - ((IVRSystem*)linux_side)->AcknowledgeQuit_UserPrompt(); + ((IVRSystem*)params->linux_side)->AcknowledgeQuit_UserPrompt(); } -void cppIVRSystem_IVRSystem_010_PerformanceTestEnableCapture(void *linux_side, bool bEnable) +void cppIVRSystem_IVRSystem_010_PerformanceTestEnableCapture( struct cppIVRSystem_IVRSystem_010_PerformanceTestEnableCapture_params *params ) { - ((IVRSystem*)linux_side)->PerformanceTestEnableCapture((bool)bEnable); + ((IVRSystem*)params->linux_side)->PerformanceTestEnableCapture((bool)params->bEnable); } -void cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange(void *linux_side, int nFidelityLevel) +void cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange( struct cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange_params *params ) { - ((IVRSystem*)linux_side)->PerformanceTestReportFidelityLevelChange((int)nFidelityLevel); + ((IVRSystem*)params->linux_side)->PerformanceTestReportFidelityLevelChange((int)params->nFidelityLevel); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.h index fe2056fe..a1eb459d 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.h @@ -1,52 +1,396 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_010_GetProjectionMatrix(void *, EVREye, float, float, EGraphicsAPIConvention); -extern void cppIVRSystem_IVRSystem_010_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern DistortionCoordinates_t cppIVRSystem_IVRSystem_010_ComputeDistortion(void *, EVREye, float, float); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_010_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_010_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_010_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_010_GetDXGIOutputInfo(void *, int32_t *); -extern bool cppIVRSystem_IVRSystem_010_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_010_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_010_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_010_ApplyTransform(void *, TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t *); -extern TrackedDeviceIndex_t cppIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole(void *, ETrackedControllerRole); -extern ETrackedControllerRole cppIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(void *, TrackedDeviceIndex_t); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_010_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_010_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_010_PollNextEvent(void *, VREvent_t *); -extern bool cppIVRSystem_IVRSystem_010_PollNextEventWithPose(void *, ETrackingUniverseOrigin, VREvent_t *, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_010_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_0914 *); -extern bool cppIVRSystem_IVRSystem_010_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_0914 *, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_010_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_010_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_010_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess(void *); -extern uint32_t cppIVRSystem_IVRSystem_010_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); -extern EVRFirmwareError cppIVRSystem_IVRSystem_010_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting(void *); -extern void cppIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt(void *); -extern void cppIVRSystem_IVRSystem_010_PerformanceTestEnableCapture(void *, bool); -extern void cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange(void *, int); +struct cppIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + EVREye eEye; + float fNearZ; + float fFarZ; + EGraphicsAPIConvention eProjType; +}; +extern void cppIVRSystem_IVRSystem_010_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_010_GetProjectionMatrix_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetProjectionRaw_params +{ + void *linux_side; + EVREye eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; +extern void cppIVRSystem_IVRSystem_010_GetProjectionRaw( struct cppIVRSystem_IVRSystem_010_GetProjectionRaw_params *params ); + +struct cppIVRSystem_IVRSystem_010_ComputeDistortion_params +{ + void *linux_side; + DistortionCoordinates_t *_ret; + EVREye eEye; + float fU; + float fV; +}; +extern void cppIVRSystem_IVRSystem_010_ComputeDistortion( struct cppIVRSystem_IVRSystem_010_ComputeDistortion_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + EVREye eEye; +}; +extern void cppIVRSystem_IVRSystem_010_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_010_GetEyeToHeadTransform_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetTimeSinceLastVsync_params +{ + void *linux_side; + bool _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; +extern void cppIVRSystem_IVRSystem_010_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_010_GetTimeSinceLastVsync_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; +extern void cppIVRSystem_IVRSystem_010_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_010_GetD3D9AdapterIndex_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; +extern void cppIVRSystem_IVRSystem_010_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_010_GetDXGIOutputInfo_params *params ); + +struct cppIVRSystem_IVRSystem_010_IsDisplayOnDesktop_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_010_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_010_IsDisplayOnDesktop_params *params ); + +struct cppIVRSystem_IVRSystem_010_SetDisplayVisibility_params +{ + void *linux_side; + bool _ret; + bool bIsVisibleOnDesktop; +}; +extern void cppIVRSystem_IVRSystem_010_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_010_SetDisplayVisibility_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; +extern void cppIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_010_ResetSeatedZeroPose_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_010_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_010_ResetSeatedZeroPose_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + ETrackedDeviceClass eTrackedDeviceClass; + TrackedDeviceIndex_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + EDeviceActivityLevel _ret; + TrackedDeviceIndex_t unDeviceId; +}; +extern void cppIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel_params *params ); + +struct cppIVRSystem_IVRSystem_010_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; +extern void cppIVRSystem_IVRSystem_010_ApplyTransform( struct cppIVRSystem_IVRSystem_010_ApplyTransform_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; + ETrackedControllerRole unDeviceType; +}; +extern void cppIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex_params +{ + void *linux_side; + ETrackedControllerRole _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetTrackedDeviceClass_params +{ + void *linux_side; + ETrackedDeviceClass _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_010_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_010_GetTrackedDeviceClass_params *params ); + +struct cppIVRSystem_IVRSystem_010_IsTrackedDeviceConnected_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_010_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_010_IsTrackedDeviceConnected_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + char *pchValue; + uint32_t unBufferSize; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + ETrackedPropertyError error; +}; +extern void cppIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_010_PollNextEvent_params +{ + void *linux_side; + bool _ret; + VREvent_t *pEvent; +}; +extern void cppIVRSystem_IVRSystem_010_PollNextEvent( struct cppIVRSystem_IVRSystem_010_PollNextEvent_params *params ); + +struct cppIVRSystem_IVRSystem_010_PollNextEventWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + VREvent_t *pEvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_010_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_010_PollNextEventWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVREventType eType; +}; +extern void cppIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh_params +{ + void *linux_side; + HiddenAreaMesh_t *_ret; + EVREye eEye; +}; +extern void cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetControllerState_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_0914 *pControllerState; +}; +extern void cppIVRSystem_IVRSystem_010_GetControllerState( struct cppIVRSystem_IVRSystem_010_GetControllerState_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetControllerStateWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_0914 *pControllerState; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_010_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_010_GetControllerStateWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_010_TriggerHapticPulse_params +{ + void *linux_side; + TrackedDeviceIndex_t unControllerDeviceIndex; + uint32_t unAxisId; + unsigned short usDurationMicroSec; +}; +extern void cppIVRSystem_IVRSystem_010_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_010_TriggerHapticPulse_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRButtonId eButtonId; +}; +extern void cppIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRControllerAxisType eAxisType; +}; +extern void cppIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_010_CaptureInputFocus_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_010_CaptureInputFocus( struct cppIVRSystem_IVRSystem_010_CaptureInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_010_ReleaseInputFocus_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_010_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_010_ReleaseInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess_params *params ); + +struct cppIVRSystem_IVRSystem_010_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; +extern void cppIVRSystem_IVRSystem_010_DriverDebugRequest( struct cppIVRSystem_IVRSystem_010_DriverDebugRequest_params *params ); + +struct cppIVRSystem_IVRSystem_010_PerformFirmwareUpdate_params +{ + void *linux_side; + EVRFirmwareError _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_010_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_010_PerformFirmwareUpdate_params *params ); + +struct cppIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting_params *params ); + +struct cppIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt_params *params ); + +struct cppIVRSystem_IVRSystem_010_PerformanceTestEnableCapture_params +{ + void *linux_side; + bool bEnable; +}; +extern void cppIVRSystem_IVRSystem_010_PerformanceTestEnableCapture( struct cppIVRSystem_IVRSystem_010_PerformanceTestEnableCapture_params *params ); + +struct cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange_params +{ + void *linux_side; + int nFidelityLevel; +}; +extern void cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange( struct cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.cpp index 9b168c4e..34f7ad56 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.cpp @@ -9,324 +9,256 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize(void *linux_side, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize_params *params ) { - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetRecommendedRenderTargetSize((uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -HmdMatrix44_t cppIVRSystem_IVRSystem_011_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) +void cppIVRSystem_IVRSystem_011_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_011_GetProjectionMatrix_params *params ) { - HmdMatrix44_t _ret; - _ret = ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ, (vr::EGraphicsAPIConvention)eProjType); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetProjectionMatrix((vr::EVREye)params->eEye, (float)params->fNearZ, (float)params->fFarZ, (vr::EGraphicsAPIConvention)params->eProjType); } -void cppIVRSystem_IVRSystem_011_GetProjectionRaw(void *linux_side, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void cppIVRSystem_IVRSystem_011_GetProjectionRaw( struct cppIVRSystem_IVRSystem_011_GetProjectionRaw_params *params ) { - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); + ((IVRSystem*)params->linux_side)->GetProjectionRaw((vr::EVREye)params->eEye, (float *)params->pfLeft, (float *)params->pfRight, (float *)params->pfTop, (float *)params->pfBottom); } -DistortionCoordinates_t cppIVRSystem_IVRSystem_011_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV) +void cppIVRSystem_IVRSystem_011_ComputeDistortion( struct cppIVRSystem_IVRSystem_011_ComputeDistortion_params *params ) { - DistortionCoordinates_t _ret; - _ret = ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->ComputeDistortion((vr::EVREye)params->eEye, (float)params->fU, (float)params->fV); } -HmdMatrix34_t cppIVRSystem_IVRSystem_011_GetEyeToHeadTransform(void *linux_side, EVREye eEye) +void cppIVRSystem_IVRSystem_011_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_011_GetEyeToHeadTransform_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetEyeToHeadTransform((vr::EVREye)params->eEye); } -bool cppIVRSystem_IVRSystem_011_GetTimeSinceLastVsync(void *linux_side, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +void cppIVRSystem_IVRSystem_011_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_011_GetTimeSinceLastVsync_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTimeSinceLastVsync((float *)params->pfSecondsSinceLastVsync, (uint64_t *)params->pulFrameCounter); } -int32_t cppIVRSystem_IVRSystem_011_GetD3D9AdapterIndex(void *linux_side) +void cppIVRSystem_IVRSystem_011_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_011_GetD3D9AdapterIndex_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetD3D9AdapterIndex(); } -void cppIVRSystem_IVRSystem_011_GetDXGIOutputInfo(void *linux_side, int32_t *pnAdapterIndex) +void cppIVRSystem_IVRSystem_011_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_011_GetDXGIOutputInfo_params *params ) { - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); + ((IVRSystem*)params->linux_side)->GetDXGIOutputInfo((int32_t *)params->pnAdapterIndex); } -bool cppIVRSystem_IVRSystem_011_IsDisplayOnDesktop(void *linux_side) +void cppIVRSystem_IVRSystem_011_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_011_IsDisplayOnDesktop_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsDisplayOnDesktop(); } -bool cppIVRSystem_IVRSystem_011_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) +void cppIVRSystem_IVRSystem_011_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_011_SetDisplayVisibility_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->SetDisplayVisibility((bool)params->bIsVisibleOnDesktop); } -void cppIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void cppIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose_params *params ) { - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); + ((IVRSystem*)params->linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)params->eOrigin, (float)params->fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)params->pTrackedDevicePoseArray, (uint32_t)params->unTrackedDevicePoseArrayCount); } -void cppIVRSystem_IVRSystem_011_ResetSeatedZeroPose(void *linux_side) +void cppIVRSystem_IVRSystem_011_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_011_ResetSeatedZeroPose_params *params ) { - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); + ((IVRSystem*)params->linux_side)->ResetSeatedZeroPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); } -uint32_t cppIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +void cppIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)params->eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)params->punTrackedDeviceIndexArray, (uint32_t)params->unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)params->unRelativeToTrackedDeviceIndex); } -EDeviceActivityLevel cppIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) +void cppIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel_params *params ) { - EDeviceActivityLevel _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)params->unDeviceId); } -void cppIVRSystem_IVRSystem_011_ApplyTransform(void *linux_side, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void cppIVRSystem_IVRSystem_011_ApplyTransform( struct cppIVRSystem_IVRSystem_011_ApplyTransform_params *params ) { - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); + ((IVRSystem*)params->linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)params->pOutputPose, (const vr::TrackedDevicePose_t *)params->pTrackedDevicePose, (const vr::HmdMatrix34_t *)params->pTransform); } -TrackedDeviceIndex_t cppIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole(void *linux_side, ETrackedControllerRole unDeviceType) +void cppIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)unDeviceType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)params->unDeviceType); } -ETrackedControllerRole cppIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex_params *params ) { - ETrackedControllerRole _ret; - _ret = ((IVRSystem*)linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -ETrackedDeviceClass cppIVRSystem_IVRSystem_011_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_011_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_011_GetTrackedDeviceClass_params *params ) { - ETrackedDeviceClass _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_011_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_011_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_011_IsTrackedDeviceConnected_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -float cppIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty_params *params ) { - float _ret; - _ret = ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -int32_t cppIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint64_t cppIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty_params *params ) { - uint64_t _ret; - _ret = ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -HmdMatrix34_t cppIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint32_t cppIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::ETrackedPropertyError *)params->pError); } -const char * cppIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) +void cppIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)params->error); } -bool cppIVRSystem_IVRSystem_011_PollNextEvent(void *linux_side, winVREvent_t_0918 *pEvent, uint32_t uncbVREvent) +void cppIVRSystem_IVRSystem_011_PollNextEvent( struct cppIVRSystem_IVRSystem_011_PollNextEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_0918_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_0918_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_0918_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEvent(params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_0918_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -bool cppIVRSystem_IVRSystem_011_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, winVREvent_t_0918 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_011_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_011_PollNextEventWithPose_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_0918_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pEvent) - struct_VREvent_t_0918_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_0918_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pEvent) + struct_VREvent_t_0918_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -const char * cppIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) +void cppIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)params->eType); } -HiddenAreaMesh_t cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh(void *linux_side, EVREye eEye) +void cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh_params *params ) { - HiddenAreaMesh_t _ret; - _ret = ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetHiddenAreaMesh((vr::EVREye)params->eEye); } -bool cppIVRSystem_IVRSystem_011_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0918 *pControllerState) +void cppIVRSystem_IVRSystem_011_GetControllerState( struct cppIVRSystem_IVRSystem_011_GetControllerState_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_0918_win_to_lin(pControllerState, &lin_pControllerState); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr); - if (pControllerState) - struct_VRControllerState001_t_0918_lin_to_win(&lin_pControllerState, pControllerState, -1); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_0918_win_to_lin( params->pControllerState, &lin_pControllerState ); + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr); + if (params->pControllerState) + struct_VRControllerState001_t_0918_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); } -bool cppIVRSystem_IVRSystem_011_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0918 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_011_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_011_GetControllerStateWithPose_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_0918_win_to_lin(pControllerState, &lin_pControllerState); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pControllerState) - struct_VRControllerState001_t_0918_lin_to_win(&lin_pControllerState, pControllerState, -1); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_0918_win_to_lin( params->pControllerState, &lin_pControllerState ); + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pControllerState) + struct_VRControllerState001_t_0918_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); } -void cppIVRSystem_IVRSystem_011_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void cppIVRSystem_IVRSystem_011_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_011_TriggerHapticPulse_params *params ) { - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); + ((IVRSystem*)params->linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, (uint32_t)params->unAxisId, (unsigned short)params->usDurationMicroSec); } -const char * cppIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) +void cppIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)params->eButtonId); } -const char * cppIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) +void cppIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)params->eAxisType); } -bool cppIVRSystem_IVRSystem_011_CaptureInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_011_CaptureInputFocus( struct cppIVRSystem_IVRSystem_011_CaptureInputFocus_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->CaptureInputFocus(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->CaptureInputFocus(); } -void cppIVRSystem_IVRSystem_011_ReleaseInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_011_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_011_ReleaseInputFocus_params *params ) { - ((IVRSystem*)linux_side)->ReleaseInputFocus(); + ((IVRSystem*)params->linux_side)->ReleaseInputFocus(); } -bool cppIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess(void *linux_side) +void cppIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsInputFocusCapturedByAnotherProcess(); } -uint32_t cppIVRSystem_IVRSystem_011_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +void cppIVRSystem_IVRSystem_011_DriverDebugRequest( struct cppIVRSystem_IVRSystem_011_DriverDebugRequest_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchRequest, (char *)params->pchResponseBuffer, (uint32_t)params->unResponseBufferSize); } -EVRFirmwareError cppIVRSystem_IVRSystem_011_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_011_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_011_PerformFirmwareUpdate_params *params ) { - EVRFirmwareError _ret; - _ret = ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -void cppIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting(void *linux_side) +void cppIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting_params *params ) { - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); + ((IVRSystem*)params->linux_side)->AcknowledgeQuit_Exiting(); } -void cppIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt(void *linux_side) +void cppIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt_params *params ) { - ((IVRSystem*)linux_side)->AcknowledgeQuit_UserPrompt(); + ((IVRSystem*)params->linux_side)->AcknowledgeQuit_UserPrompt(); } -void cppIVRSystem_IVRSystem_011_PerformanceTestEnableCapture(void *linux_side, bool bEnable) +void cppIVRSystem_IVRSystem_011_PerformanceTestEnableCapture( struct cppIVRSystem_IVRSystem_011_PerformanceTestEnableCapture_params *params ) { - ((IVRSystem*)linux_side)->PerformanceTestEnableCapture((bool)bEnable); + ((IVRSystem*)params->linux_side)->PerformanceTestEnableCapture((bool)params->bEnable); } -void cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange(void *linux_side, int nFidelityLevel) +void cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange( struct cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange_params *params ) { - ((IVRSystem*)linux_side)->PerformanceTestReportFidelityLevelChange((int)nFidelityLevel); + ((IVRSystem*)params->linux_side)->PerformanceTestReportFidelityLevelChange((int)params->nFidelityLevel); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.h index 5a3b3a32..2b669b3d 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.h @@ -1,52 +1,398 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_011_GetProjectionMatrix(void *, EVREye, float, float, EGraphicsAPIConvention); -extern void cppIVRSystem_IVRSystem_011_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern DistortionCoordinates_t cppIVRSystem_IVRSystem_011_ComputeDistortion(void *, EVREye, float, float); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_011_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_011_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_011_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_011_GetDXGIOutputInfo(void *, int32_t *); -extern bool cppIVRSystem_IVRSystem_011_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_011_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_011_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_011_ApplyTransform(void *, TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t *); -extern TrackedDeviceIndex_t cppIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole(void *, ETrackedControllerRole); -extern ETrackedControllerRole cppIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex(void *, TrackedDeviceIndex_t); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_011_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_011_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_011_PollNextEvent(void *, winVREvent_t_0918 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_011_PollNextEventWithPose(void *, ETrackingUniverseOrigin, winVREvent_t_0918 *, uint32_t, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_011_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_0918 *); -extern bool cppIVRSystem_IVRSystem_011_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_0918 *, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_011_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_011_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_011_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess(void *); -extern uint32_t cppIVRSystem_IVRSystem_011_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); -extern EVRFirmwareError cppIVRSystem_IVRSystem_011_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting(void *); -extern void cppIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt(void *); -extern void cppIVRSystem_IVRSystem_011_PerformanceTestEnableCapture(void *, bool); -extern void cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange(void *, int); +struct cppIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + EVREye eEye; + float fNearZ; + float fFarZ; + EGraphicsAPIConvention eProjType; +}; +extern void cppIVRSystem_IVRSystem_011_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_011_GetProjectionMatrix_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetProjectionRaw_params +{ + void *linux_side; + EVREye eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; +extern void cppIVRSystem_IVRSystem_011_GetProjectionRaw( struct cppIVRSystem_IVRSystem_011_GetProjectionRaw_params *params ); + +struct cppIVRSystem_IVRSystem_011_ComputeDistortion_params +{ + void *linux_side; + DistortionCoordinates_t *_ret; + EVREye eEye; + float fU; + float fV; +}; +extern void cppIVRSystem_IVRSystem_011_ComputeDistortion( struct cppIVRSystem_IVRSystem_011_ComputeDistortion_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + EVREye eEye; +}; +extern void cppIVRSystem_IVRSystem_011_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_011_GetEyeToHeadTransform_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetTimeSinceLastVsync_params +{ + void *linux_side; + bool _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; +extern void cppIVRSystem_IVRSystem_011_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_011_GetTimeSinceLastVsync_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; +extern void cppIVRSystem_IVRSystem_011_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_011_GetD3D9AdapterIndex_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; +extern void cppIVRSystem_IVRSystem_011_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_011_GetDXGIOutputInfo_params *params ); + +struct cppIVRSystem_IVRSystem_011_IsDisplayOnDesktop_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_011_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_011_IsDisplayOnDesktop_params *params ); + +struct cppIVRSystem_IVRSystem_011_SetDisplayVisibility_params +{ + void *linux_side; + bool _ret; + bool bIsVisibleOnDesktop; +}; +extern void cppIVRSystem_IVRSystem_011_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_011_SetDisplayVisibility_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; +extern void cppIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_011_ResetSeatedZeroPose_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_011_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_011_ResetSeatedZeroPose_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + ETrackedDeviceClass eTrackedDeviceClass; + TrackedDeviceIndex_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + EDeviceActivityLevel _ret; + TrackedDeviceIndex_t unDeviceId; +}; +extern void cppIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel_params *params ); + +struct cppIVRSystem_IVRSystem_011_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; +extern void cppIVRSystem_IVRSystem_011_ApplyTransform( struct cppIVRSystem_IVRSystem_011_ApplyTransform_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; + ETrackedControllerRole unDeviceType; +}; +extern void cppIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex_params +{ + void *linux_side; + ETrackedControllerRole _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetTrackedDeviceClass_params +{ + void *linux_side; + ETrackedDeviceClass _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_011_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_011_GetTrackedDeviceClass_params *params ); + +struct cppIVRSystem_IVRSystem_011_IsTrackedDeviceConnected_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_011_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_011_IsTrackedDeviceConnected_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + char *pchValue; + uint32_t unBufferSize; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + ETrackedPropertyError error; +}; +extern void cppIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_011_PollNextEvent_params +{ + void *linux_side; + bool _ret; + winVREvent_t_0918 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVRSystem_IVRSystem_011_PollNextEvent( struct cppIVRSystem_IVRSystem_011_PollNextEvent_params *params ); + +struct cppIVRSystem_IVRSystem_011_PollNextEventWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + winVREvent_t_0918 *pEvent; + uint32_t uncbVREvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_011_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_011_PollNextEventWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVREventType eType; +}; +extern void cppIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh_params +{ + void *linux_side; + HiddenAreaMesh_t *_ret; + EVREye eEye; +}; +extern void cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetControllerState_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_0918 *pControllerState; +}; +extern void cppIVRSystem_IVRSystem_011_GetControllerState( struct cppIVRSystem_IVRSystem_011_GetControllerState_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetControllerStateWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_0918 *pControllerState; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_011_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_011_GetControllerStateWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_011_TriggerHapticPulse_params +{ + void *linux_side; + TrackedDeviceIndex_t unControllerDeviceIndex; + uint32_t unAxisId; + unsigned short usDurationMicroSec; +}; +extern void cppIVRSystem_IVRSystem_011_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_011_TriggerHapticPulse_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRButtonId eButtonId; +}; +extern void cppIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRControllerAxisType eAxisType; +}; +extern void cppIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_011_CaptureInputFocus_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_011_CaptureInputFocus( struct cppIVRSystem_IVRSystem_011_CaptureInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_011_ReleaseInputFocus_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_011_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_011_ReleaseInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess_params *params ); + +struct cppIVRSystem_IVRSystem_011_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; +extern void cppIVRSystem_IVRSystem_011_DriverDebugRequest( struct cppIVRSystem_IVRSystem_011_DriverDebugRequest_params *params ); + +struct cppIVRSystem_IVRSystem_011_PerformFirmwareUpdate_params +{ + void *linux_side; + EVRFirmwareError _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_011_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_011_PerformFirmwareUpdate_params *params ); + +struct cppIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting_params *params ); + +struct cppIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt_params *params ); + +struct cppIVRSystem_IVRSystem_011_PerformanceTestEnableCapture_params +{ + void *linux_side; + bool bEnable; +}; +extern void cppIVRSystem_IVRSystem_011_PerformanceTestEnableCapture( struct cppIVRSystem_IVRSystem_011_PerformanceTestEnableCapture_params *params ); + +struct cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange_params +{ + void *linux_side; + int nFidelityLevel; +}; +extern void cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange( struct cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.cpp index 31d77b70..a6809f79 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.cpp @@ -9,314 +9,246 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize(void *linux_side, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize_params *params ) { - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetRecommendedRenderTargetSize((uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -HmdMatrix44_t cppIVRSystem_IVRSystem_012_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) +void cppIVRSystem_IVRSystem_012_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_012_GetProjectionMatrix_params *params ) { - HmdMatrix44_t _ret; - _ret = ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ, (vr::EGraphicsAPIConvention)eProjType); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetProjectionMatrix((vr::EVREye)params->eEye, (float)params->fNearZ, (float)params->fFarZ, (vr::EGraphicsAPIConvention)params->eProjType); } -void cppIVRSystem_IVRSystem_012_GetProjectionRaw(void *linux_side, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void cppIVRSystem_IVRSystem_012_GetProjectionRaw( struct cppIVRSystem_IVRSystem_012_GetProjectionRaw_params *params ) { - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); + ((IVRSystem*)params->linux_side)->GetProjectionRaw((vr::EVREye)params->eEye, (float *)params->pfLeft, (float *)params->pfRight, (float *)params->pfTop, (float *)params->pfBottom); } -DistortionCoordinates_t cppIVRSystem_IVRSystem_012_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV) +void cppIVRSystem_IVRSystem_012_ComputeDistortion( struct cppIVRSystem_IVRSystem_012_ComputeDistortion_params *params ) { - DistortionCoordinates_t _ret; - _ret = ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->ComputeDistortion((vr::EVREye)params->eEye, (float)params->fU, (float)params->fV); } -HmdMatrix34_t cppIVRSystem_IVRSystem_012_GetEyeToHeadTransform(void *linux_side, EVREye eEye) +void cppIVRSystem_IVRSystem_012_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_012_GetEyeToHeadTransform_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetEyeToHeadTransform((vr::EVREye)params->eEye); } -bool cppIVRSystem_IVRSystem_012_GetTimeSinceLastVsync(void *linux_side, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +void cppIVRSystem_IVRSystem_012_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_012_GetTimeSinceLastVsync_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTimeSinceLastVsync((float *)params->pfSecondsSinceLastVsync, (uint64_t *)params->pulFrameCounter); } -int32_t cppIVRSystem_IVRSystem_012_GetD3D9AdapterIndex(void *linux_side) +void cppIVRSystem_IVRSystem_012_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_012_GetD3D9AdapterIndex_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetD3D9AdapterIndex(); } -void cppIVRSystem_IVRSystem_012_GetDXGIOutputInfo(void *linux_side, int32_t *pnAdapterIndex) +void cppIVRSystem_IVRSystem_012_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_012_GetDXGIOutputInfo_params *params ) { - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); + ((IVRSystem*)params->linux_side)->GetDXGIOutputInfo((int32_t *)params->pnAdapterIndex); } -bool cppIVRSystem_IVRSystem_012_IsDisplayOnDesktop(void *linux_side) +void cppIVRSystem_IVRSystem_012_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_012_IsDisplayOnDesktop_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsDisplayOnDesktop(); } -bool cppIVRSystem_IVRSystem_012_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) +void cppIVRSystem_IVRSystem_012_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_012_SetDisplayVisibility_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->SetDisplayVisibility((bool)params->bIsVisibleOnDesktop); } -void cppIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void cppIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose_params *params ) { - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); + ((IVRSystem*)params->linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)params->eOrigin, (float)params->fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)params->pTrackedDevicePoseArray, (uint32_t)params->unTrackedDevicePoseArrayCount); } -void cppIVRSystem_IVRSystem_012_ResetSeatedZeroPose(void *linux_side) +void cppIVRSystem_IVRSystem_012_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_012_ResetSeatedZeroPose_params *params ) { - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); + ((IVRSystem*)params->linux_side)->ResetSeatedZeroPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); } -uint32_t cppIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +void cppIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)params->eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)params->punTrackedDeviceIndexArray, (uint32_t)params->unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)params->unRelativeToTrackedDeviceIndex); } -EDeviceActivityLevel cppIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) +void cppIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel_params *params ) { - EDeviceActivityLevel _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)params->unDeviceId); } -void cppIVRSystem_IVRSystem_012_ApplyTransform(void *linux_side, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void cppIVRSystem_IVRSystem_012_ApplyTransform( struct cppIVRSystem_IVRSystem_012_ApplyTransform_params *params ) { - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); + ((IVRSystem*)params->linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)params->pOutputPose, (const vr::TrackedDevicePose_t *)params->pTrackedDevicePose, (const vr::HmdMatrix34_t *)params->pTransform); } -TrackedDeviceIndex_t cppIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole(void *linux_side, ETrackedControllerRole unDeviceType) +void cppIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)unDeviceType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)params->unDeviceType); } -ETrackedControllerRole cppIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex_params *params ) { - ETrackedControllerRole _ret; - _ret = ((IVRSystem*)linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -ETrackedDeviceClass cppIVRSystem_IVRSystem_012_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_012_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_012_GetTrackedDeviceClass_params *params ) { - ETrackedDeviceClass _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_012_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_012_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_012_IsTrackedDeviceConnected_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -float cppIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty_params *params ) { - float _ret; - _ret = ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -int32_t cppIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint64_t cppIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty_params *params ) { - uint64_t _ret; - _ret = ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -HmdMatrix34_t cppIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint32_t cppIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::ETrackedPropertyError *)params->pError); } -const char * cppIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) +void cppIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)params->error); } -bool cppIVRSystem_IVRSystem_012_PollNextEvent(void *linux_side, winVREvent_t_103 *pEvent, uint32_t uncbVREvent) +void cppIVRSystem_IVRSystem_012_PollNextEvent( struct cppIVRSystem_IVRSystem_012_PollNextEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_103_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_103_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_103_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEvent(params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_103_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -bool cppIVRSystem_IVRSystem_012_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, winVREvent_t_103 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_012_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_012_PollNextEventWithPose_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_103_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pEvent) - struct_VREvent_t_103_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_103_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pEvent) + struct_VREvent_t_103_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -const char * cppIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) +void cppIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)params->eType); } -HiddenAreaMesh_t cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh(void *linux_side, EVREye eEye) +void cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh_params *params ) { - HiddenAreaMesh_t _ret; - _ret = ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetHiddenAreaMesh((vr::EVREye)params->eEye); } -bool cppIVRSystem_IVRSystem_012_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_103 *pControllerState) +void cppIVRSystem_IVRSystem_012_GetControllerState( struct cppIVRSystem_IVRSystem_012_GetControllerState_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_103_win_to_lin(pControllerState, &lin_pControllerState); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr); - if (pControllerState) - struct_VRControllerState001_t_103_lin_to_win(&lin_pControllerState, pControllerState, -1); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_103_win_to_lin( params->pControllerState, &lin_pControllerState ); + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr); + if (params->pControllerState) + struct_VRControllerState001_t_103_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); } -bool cppIVRSystem_IVRSystem_012_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_103 *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_012_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_012_GetControllerStateWithPose_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_103_win_to_lin(pControllerState, &lin_pControllerState); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pControllerState) - struct_VRControllerState001_t_103_lin_to_win(&lin_pControllerState, pControllerState, -1); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_103_win_to_lin( params->pControllerState, &lin_pControllerState ); + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pControllerState) + struct_VRControllerState001_t_103_lin_to_win( &lin_pControllerState, params->pControllerState, -1 ); } -void cppIVRSystem_IVRSystem_012_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void cppIVRSystem_IVRSystem_012_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_012_TriggerHapticPulse_params *params ) { - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); + ((IVRSystem*)params->linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, (uint32_t)params->unAxisId, (unsigned short)params->usDurationMicroSec); } -const char * cppIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) +void cppIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)params->eButtonId); } -const char * cppIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) +void cppIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)params->eAxisType); } -bool cppIVRSystem_IVRSystem_012_CaptureInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_012_CaptureInputFocus( struct cppIVRSystem_IVRSystem_012_CaptureInputFocus_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->CaptureInputFocus(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->CaptureInputFocus(); } -void cppIVRSystem_IVRSystem_012_ReleaseInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_012_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_012_ReleaseInputFocus_params *params ) { - ((IVRSystem*)linux_side)->ReleaseInputFocus(); + ((IVRSystem*)params->linux_side)->ReleaseInputFocus(); } -bool cppIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess(void *linux_side) +void cppIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsInputFocusCapturedByAnotherProcess(); } -uint32_t cppIVRSystem_IVRSystem_012_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +void cppIVRSystem_IVRSystem_012_DriverDebugRequest( struct cppIVRSystem_IVRSystem_012_DriverDebugRequest_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchRequest, (char *)params->pchResponseBuffer, (uint32_t)params->unResponseBufferSize); } -EVRFirmwareError cppIVRSystem_IVRSystem_012_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_012_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_012_PerformFirmwareUpdate_params *params ) { - EVRFirmwareError _ret; - _ret = ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -void cppIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting(void *linux_side) +void cppIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting_params *params ) { - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); + ((IVRSystem*)params->linux_side)->AcknowledgeQuit_Exiting(); } -void cppIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt(void *linux_side) +void cppIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt_params *params ) { - ((IVRSystem*)linux_side)->AcknowledgeQuit_UserPrompt(); + ((IVRSystem*)params->linux_side)->AcknowledgeQuit_UserPrompt(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.h index 906b4371..b3f71f62 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.h @@ -1,50 +1,384 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_012_GetProjectionMatrix(void *, EVREye, float, float, EGraphicsAPIConvention); -extern void cppIVRSystem_IVRSystem_012_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern DistortionCoordinates_t cppIVRSystem_IVRSystem_012_ComputeDistortion(void *, EVREye, float, float); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_012_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_012_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_012_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_012_GetDXGIOutputInfo(void *, int32_t *); -extern bool cppIVRSystem_IVRSystem_012_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_012_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_012_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_012_ApplyTransform(void *, TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t *); -extern TrackedDeviceIndex_t cppIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole(void *, ETrackedControllerRole); -extern ETrackedControllerRole cppIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(void *, TrackedDeviceIndex_t); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_012_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_012_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_012_PollNextEvent(void *, winVREvent_t_103 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_012_PollNextEventWithPose(void *, ETrackingUniverseOrigin, winVREvent_t_103 *, uint32_t, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_012_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_103 *); -extern bool cppIVRSystem_IVRSystem_012_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_103 *, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_012_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_012_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_012_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess(void *); -extern uint32_t cppIVRSystem_IVRSystem_012_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); -extern EVRFirmwareError cppIVRSystem_IVRSystem_012_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting(void *); -extern void cppIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt(void *); +struct cppIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + EVREye eEye; + float fNearZ; + float fFarZ; + EGraphicsAPIConvention eProjType; +}; +extern void cppIVRSystem_IVRSystem_012_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_012_GetProjectionMatrix_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetProjectionRaw_params +{ + void *linux_side; + EVREye eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; +extern void cppIVRSystem_IVRSystem_012_GetProjectionRaw( struct cppIVRSystem_IVRSystem_012_GetProjectionRaw_params *params ); + +struct cppIVRSystem_IVRSystem_012_ComputeDistortion_params +{ + void *linux_side; + DistortionCoordinates_t *_ret; + EVREye eEye; + float fU; + float fV; +}; +extern void cppIVRSystem_IVRSystem_012_ComputeDistortion( struct cppIVRSystem_IVRSystem_012_ComputeDistortion_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + EVREye eEye; +}; +extern void cppIVRSystem_IVRSystem_012_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_012_GetEyeToHeadTransform_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetTimeSinceLastVsync_params +{ + void *linux_side; + bool _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; +extern void cppIVRSystem_IVRSystem_012_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_012_GetTimeSinceLastVsync_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; +extern void cppIVRSystem_IVRSystem_012_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_012_GetD3D9AdapterIndex_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; +extern void cppIVRSystem_IVRSystem_012_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_012_GetDXGIOutputInfo_params *params ); + +struct cppIVRSystem_IVRSystem_012_IsDisplayOnDesktop_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_012_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_012_IsDisplayOnDesktop_params *params ); + +struct cppIVRSystem_IVRSystem_012_SetDisplayVisibility_params +{ + void *linux_side; + bool _ret; + bool bIsVisibleOnDesktop; +}; +extern void cppIVRSystem_IVRSystem_012_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_012_SetDisplayVisibility_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; +extern void cppIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_012_ResetSeatedZeroPose_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_012_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_012_ResetSeatedZeroPose_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + ETrackedDeviceClass eTrackedDeviceClass; + TrackedDeviceIndex_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + EDeviceActivityLevel _ret; + TrackedDeviceIndex_t unDeviceId; +}; +extern void cppIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel_params *params ); + +struct cppIVRSystem_IVRSystem_012_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; +extern void cppIVRSystem_IVRSystem_012_ApplyTransform( struct cppIVRSystem_IVRSystem_012_ApplyTransform_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; + ETrackedControllerRole unDeviceType; +}; +extern void cppIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex_params +{ + void *linux_side; + ETrackedControllerRole _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetTrackedDeviceClass_params +{ + void *linux_side; + ETrackedDeviceClass _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_012_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_012_GetTrackedDeviceClass_params *params ); + +struct cppIVRSystem_IVRSystem_012_IsTrackedDeviceConnected_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_012_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_012_IsTrackedDeviceConnected_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + char *pchValue; + uint32_t unBufferSize; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + ETrackedPropertyError error; +}; +extern void cppIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_012_PollNextEvent_params +{ + void *linux_side; + bool _ret; + winVREvent_t_103 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVRSystem_IVRSystem_012_PollNextEvent( struct cppIVRSystem_IVRSystem_012_PollNextEvent_params *params ); + +struct cppIVRSystem_IVRSystem_012_PollNextEventWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + winVREvent_t_103 *pEvent; + uint32_t uncbVREvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_012_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_012_PollNextEventWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVREventType eType; +}; +extern void cppIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh_params +{ + void *linux_side; + HiddenAreaMesh_t *_ret; + EVREye eEye; +}; +extern void cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetControllerState_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_103 *pControllerState; +}; +extern void cppIVRSystem_IVRSystem_012_GetControllerState( struct cppIVRSystem_IVRSystem_012_GetControllerState_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetControllerStateWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_103 *pControllerState; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_012_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_012_GetControllerStateWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_012_TriggerHapticPulse_params +{ + void *linux_side; + TrackedDeviceIndex_t unControllerDeviceIndex; + uint32_t unAxisId; + unsigned short usDurationMicroSec; +}; +extern void cppIVRSystem_IVRSystem_012_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_012_TriggerHapticPulse_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRButtonId eButtonId; +}; +extern void cppIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRControllerAxisType eAxisType; +}; +extern void cppIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_012_CaptureInputFocus_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_012_CaptureInputFocus( struct cppIVRSystem_IVRSystem_012_CaptureInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_012_ReleaseInputFocus_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_012_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_012_ReleaseInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess_params *params ); + +struct cppIVRSystem_IVRSystem_012_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; +extern void cppIVRSystem_IVRSystem_012_DriverDebugRequest( struct cppIVRSystem_IVRSystem_012_DriverDebugRequest_params *params ); + +struct cppIVRSystem_IVRSystem_012_PerformFirmwareUpdate_params +{ + void *linux_side; + EVRFirmwareError _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_012_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_012_PerformFirmwareUpdate_params *params ); + +struct cppIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting_params *params ); + +struct cppIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.cpp index c691daee..3aa04985 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.cpp @@ -9,316 +9,248 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize(void *linux_side, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize_params *params ) { - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetRecommendedRenderTargetSize((uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -HmdMatrix44_t cppIVRSystem_IVRSystem_014_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) +void cppIVRSystem_IVRSystem_014_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_014_GetProjectionMatrix_params *params ) { - HmdMatrix44_t _ret; - _ret = ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ, (vr::EGraphicsAPIConvention)eProjType); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetProjectionMatrix((vr::EVREye)params->eEye, (float)params->fNearZ, (float)params->fFarZ, (vr::EGraphicsAPIConvention)params->eProjType); } -void cppIVRSystem_IVRSystem_014_GetProjectionRaw(void *linux_side, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void cppIVRSystem_IVRSystem_014_GetProjectionRaw( struct cppIVRSystem_IVRSystem_014_GetProjectionRaw_params *params ) { - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); + ((IVRSystem*)params->linux_side)->GetProjectionRaw((vr::EVREye)params->eEye, (float *)params->pfLeft, (float *)params->pfRight, (float *)params->pfTop, (float *)params->pfBottom); } -bool cppIVRSystem_IVRSystem_014_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +void cppIVRSystem_IVRSystem_014_ComputeDistortion( struct cppIVRSystem_IVRSystem_014_ComputeDistortion_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV, (vr::DistortionCoordinates_t *)pDistortionCoordinates); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->ComputeDistortion((vr::EVREye)params->eEye, (float)params->fU, (float)params->fV, (vr::DistortionCoordinates_t *)params->pDistortionCoordinates); } -HmdMatrix34_t cppIVRSystem_IVRSystem_014_GetEyeToHeadTransform(void *linux_side, EVREye eEye) +void cppIVRSystem_IVRSystem_014_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_014_GetEyeToHeadTransform_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetEyeToHeadTransform((vr::EVREye)params->eEye); } -bool cppIVRSystem_IVRSystem_014_GetTimeSinceLastVsync(void *linux_side, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +void cppIVRSystem_IVRSystem_014_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_014_GetTimeSinceLastVsync_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTimeSinceLastVsync((float *)params->pfSecondsSinceLastVsync, (uint64_t *)params->pulFrameCounter); } -int32_t cppIVRSystem_IVRSystem_014_GetD3D9AdapterIndex(void *linux_side) +void cppIVRSystem_IVRSystem_014_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_014_GetD3D9AdapterIndex_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetD3D9AdapterIndex(); } -void cppIVRSystem_IVRSystem_014_GetDXGIOutputInfo(void *linux_side, int32_t *pnAdapterIndex) +void cppIVRSystem_IVRSystem_014_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_014_GetDXGIOutputInfo_params *params ) { - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); + ((IVRSystem*)params->linux_side)->GetDXGIOutputInfo((int32_t *)params->pnAdapterIndex); } -bool cppIVRSystem_IVRSystem_014_IsDisplayOnDesktop(void *linux_side) +void cppIVRSystem_IVRSystem_014_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_014_IsDisplayOnDesktop_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsDisplayOnDesktop(); } -bool cppIVRSystem_IVRSystem_014_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) +void cppIVRSystem_IVRSystem_014_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_014_SetDisplayVisibility_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->SetDisplayVisibility((bool)params->bIsVisibleOnDesktop); } -void cppIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void cppIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose_params *params ) { - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); + ((IVRSystem*)params->linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)params->eOrigin, (float)params->fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)params->pTrackedDevicePoseArray, (uint32_t)params->unTrackedDevicePoseArrayCount); } -void cppIVRSystem_IVRSystem_014_ResetSeatedZeroPose(void *linux_side) +void cppIVRSystem_IVRSystem_014_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_014_ResetSeatedZeroPose_params *params ) { - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); + ((IVRSystem*)params->linux_side)->ResetSeatedZeroPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); } -uint32_t cppIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +void cppIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)params->eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)params->punTrackedDeviceIndexArray, (uint32_t)params->unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)params->unRelativeToTrackedDeviceIndex); } -EDeviceActivityLevel cppIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) +void cppIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel_params *params ) { - EDeviceActivityLevel _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)params->unDeviceId); } -void cppIVRSystem_IVRSystem_014_ApplyTransform(void *linux_side, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void cppIVRSystem_IVRSystem_014_ApplyTransform( struct cppIVRSystem_IVRSystem_014_ApplyTransform_params *params ) { - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); + ((IVRSystem*)params->linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)params->pOutputPose, (const vr::TrackedDevicePose_t *)params->pTrackedDevicePose, (const vr::HmdMatrix34_t *)params->pTransform); } -TrackedDeviceIndex_t cppIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole(void *linux_side, ETrackedControllerRole unDeviceType) +void cppIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)unDeviceType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)params->unDeviceType); } -ETrackedControllerRole cppIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex_params *params ) { - ETrackedControllerRole _ret; - _ret = ((IVRSystem*)linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -ETrackedDeviceClass cppIVRSystem_IVRSystem_014_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_014_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_014_GetTrackedDeviceClass_params *params ) { - ETrackedDeviceClass _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_014_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_014_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_014_IsTrackedDeviceConnected_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -float cppIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty_params *params ) { - float _ret; - _ret = ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -int32_t cppIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint64_t cppIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty_params *params ) { - uint64_t _ret; - _ret = ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -HmdMatrix34_t cppIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint32_t cppIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::ETrackedPropertyError *)params->pError); } -const char * cppIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) +void cppIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)params->error); } -bool cppIVRSystem_IVRSystem_014_PollNextEvent(void *linux_side, winVREvent_t_104 *pEvent, uint32_t uncbVREvent) +void cppIVRSystem_IVRSystem_014_PollNextEvent( struct cppIVRSystem_IVRSystem_014_PollNextEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_104_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_104_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_104_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEvent(params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_104_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -bool cppIVRSystem_IVRSystem_014_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, winVREvent_t_104 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_014_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_014_PollNextEventWithPose_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_104_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pEvent) - struct_VREvent_t_104_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_104_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pEvent) + struct_VREvent_t_104_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -const char * cppIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) +void cppIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)params->eType); } -HiddenAreaMesh_t cppIVRSystem_IVRSystem_014_GetHiddenAreaMesh(void *linux_side, EVREye eEye, EHiddenAreaMeshType type) +void cppIVRSystem_IVRSystem_014_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_014_GetHiddenAreaMesh_params *params ) { - HiddenAreaMesh_t _ret; - _ret = ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye, (vr::EHiddenAreaMeshType)type); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetHiddenAreaMesh((vr::EVREye)params->eEye, (vr::EHiddenAreaMeshType)params->type); } -bool cppIVRSystem_IVRSystem_014_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_104 *pControllerState, uint32_t unControllerStateSize) +void cppIVRSystem_IVRSystem_014_GetControllerState( struct cppIVRSystem_IVRSystem_014_GetControllerState_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_104_win_to_lin(pControllerState, &lin_pControllerState); - uint32_t lin_unControllerStateSize = unControllerStateSize ? sizeof(lin_pControllerState) : 0; - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize); - if (pControllerState) - struct_VRControllerState001_t_104_lin_to_win(&lin_pControllerState, pControllerState, unControllerStateSize); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_104_win_to_lin( params->pControllerState, &lin_pControllerState ); + uint32_t lin_unControllerStateSize = params->unControllerStateSize ? sizeof(lin_pControllerState) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize); + if (params->pControllerState) + struct_VRControllerState001_t_104_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); } -bool cppIVRSystem_IVRSystem_014_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_104 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_014_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_014_GetControllerStateWithPose_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_104_win_to_lin(pControllerState, &lin_pControllerState); - uint32_t lin_unControllerStateSize = unControllerStateSize ? sizeof(lin_pControllerState) : 0; - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pControllerState) - struct_VRControllerState001_t_104_lin_to_win(&lin_pControllerState, pControllerState, unControllerStateSize); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_104_win_to_lin( params->pControllerState, &lin_pControllerState ); + uint32_t lin_unControllerStateSize = params->unControllerStateSize ? sizeof(lin_pControllerState) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pControllerState) + struct_VRControllerState001_t_104_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); } -void cppIVRSystem_IVRSystem_014_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void cppIVRSystem_IVRSystem_014_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_014_TriggerHapticPulse_params *params ) { - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); + ((IVRSystem*)params->linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, (uint32_t)params->unAxisId, (unsigned short)params->usDurationMicroSec); } -const char * cppIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) +void cppIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)params->eButtonId); } -const char * cppIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) +void cppIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)params->eAxisType); } -bool cppIVRSystem_IVRSystem_014_CaptureInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_014_CaptureInputFocus( struct cppIVRSystem_IVRSystem_014_CaptureInputFocus_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->CaptureInputFocus(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->CaptureInputFocus(); } -void cppIVRSystem_IVRSystem_014_ReleaseInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_014_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_014_ReleaseInputFocus_params *params ) { - ((IVRSystem*)linux_side)->ReleaseInputFocus(); + ((IVRSystem*)params->linux_side)->ReleaseInputFocus(); } -bool cppIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess(void *linux_side) +void cppIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsInputFocusCapturedByAnotherProcess(); } -uint32_t cppIVRSystem_IVRSystem_014_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +void cppIVRSystem_IVRSystem_014_DriverDebugRequest( struct cppIVRSystem_IVRSystem_014_DriverDebugRequest_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchRequest, (char *)params->pchResponseBuffer, (uint32_t)params->unResponseBufferSize); } -EVRFirmwareError cppIVRSystem_IVRSystem_014_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_014_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_014_PerformFirmwareUpdate_params *params ) { - EVRFirmwareError _ret; - _ret = ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -void cppIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting(void *linux_side) +void cppIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting_params *params ) { - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); + ((IVRSystem*)params->linux_side)->AcknowledgeQuit_Exiting(); } -void cppIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt(void *linux_side) +void cppIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt_params *params ) { - ((IVRSystem*)linux_side)->AcknowledgeQuit_UserPrompt(); + ((IVRSystem*)params->linux_side)->AcknowledgeQuit_UserPrompt(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.h index 96cc2149..acc8fba3 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.h @@ -1,50 +1,388 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_014_GetProjectionMatrix(void *, EVREye, float, float, EGraphicsAPIConvention); -extern void cppIVRSystem_IVRSystem_014_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern bool cppIVRSystem_IVRSystem_014_ComputeDistortion(void *, EVREye, float, float, DistortionCoordinates_t *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_014_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_014_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_014_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_014_GetDXGIOutputInfo(void *, int32_t *); -extern bool cppIVRSystem_IVRSystem_014_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_014_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_014_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_014_ApplyTransform(void *, TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t *); -extern TrackedDeviceIndex_t cppIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole(void *, ETrackedControllerRole); -extern ETrackedControllerRole cppIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(void *, TrackedDeviceIndex_t); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_014_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_014_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_014_PollNextEvent(void *, winVREvent_t_104 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_014_PollNextEventWithPose(void *, ETrackingUniverseOrigin, winVREvent_t_104 *, uint32_t, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_014_GetHiddenAreaMesh(void *, EVREye, EHiddenAreaMeshType); -extern bool cppIVRSystem_IVRSystem_014_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_104 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_014_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_104 *, uint32_t, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_014_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_014_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_014_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess(void *); -extern uint32_t cppIVRSystem_IVRSystem_014_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); -extern EVRFirmwareError cppIVRSystem_IVRSystem_014_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting(void *); -extern void cppIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt(void *); +struct cppIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + EVREye eEye; + float fNearZ; + float fFarZ; + EGraphicsAPIConvention eProjType; +}; +extern void cppIVRSystem_IVRSystem_014_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_014_GetProjectionMatrix_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetProjectionRaw_params +{ + void *linux_side; + EVREye eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; +extern void cppIVRSystem_IVRSystem_014_GetProjectionRaw( struct cppIVRSystem_IVRSystem_014_GetProjectionRaw_params *params ); + +struct cppIVRSystem_IVRSystem_014_ComputeDistortion_params +{ + void *linux_side; + bool _ret; + EVREye eEye; + float fU; + float fV; + DistortionCoordinates_t *pDistortionCoordinates; +}; +extern void cppIVRSystem_IVRSystem_014_ComputeDistortion( struct cppIVRSystem_IVRSystem_014_ComputeDistortion_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + EVREye eEye; +}; +extern void cppIVRSystem_IVRSystem_014_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_014_GetEyeToHeadTransform_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetTimeSinceLastVsync_params +{ + void *linux_side; + bool _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; +extern void cppIVRSystem_IVRSystem_014_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_014_GetTimeSinceLastVsync_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; +extern void cppIVRSystem_IVRSystem_014_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_014_GetD3D9AdapterIndex_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; +extern void cppIVRSystem_IVRSystem_014_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_014_GetDXGIOutputInfo_params *params ); + +struct cppIVRSystem_IVRSystem_014_IsDisplayOnDesktop_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_014_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_014_IsDisplayOnDesktop_params *params ); + +struct cppIVRSystem_IVRSystem_014_SetDisplayVisibility_params +{ + void *linux_side; + bool _ret; + bool bIsVisibleOnDesktop; +}; +extern void cppIVRSystem_IVRSystem_014_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_014_SetDisplayVisibility_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; +extern void cppIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_014_ResetSeatedZeroPose_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_014_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_014_ResetSeatedZeroPose_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + ETrackedDeviceClass eTrackedDeviceClass; + TrackedDeviceIndex_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + EDeviceActivityLevel _ret; + TrackedDeviceIndex_t unDeviceId; +}; +extern void cppIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel_params *params ); + +struct cppIVRSystem_IVRSystem_014_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; +extern void cppIVRSystem_IVRSystem_014_ApplyTransform( struct cppIVRSystem_IVRSystem_014_ApplyTransform_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; + ETrackedControllerRole unDeviceType; +}; +extern void cppIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex_params +{ + void *linux_side; + ETrackedControllerRole _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetTrackedDeviceClass_params +{ + void *linux_side; + ETrackedDeviceClass _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_014_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_014_GetTrackedDeviceClass_params *params ); + +struct cppIVRSystem_IVRSystem_014_IsTrackedDeviceConnected_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_014_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_014_IsTrackedDeviceConnected_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + char *pchValue; + uint32_t unBufferSize; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + ETrackedPropertyError error; +}; +extern void cppIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_014_PollNextEvent_params +{ + void *linux_side; + bool _ret; + winVREvent_t_104 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVRSystem_IVRSystem_014_PollNextEvent( struct cppIVRSystem_IVRSystem_014_PollNextEvent_params *params ); + +struct cppIVRSystem_IVRSystem_014_PollNextEventWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + winVREvent_t_104 *pEvent; + uint32_t uncbVREvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_014_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_014_PollNextEventWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVREventType eType; +}; +extern void cppIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetHiddenAreaMesh_params +{ + void *linux_side; + HiddenAreaMesh_t *_ret; + EVREye eEye; + EHiddenAreaMeshType type; +}; +extern void cppIVRSystem_IVRSystem_014_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_014_GetHiddenAreaMesh_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetControllerState_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_104 *pControllerState; + uint32_t unControllerStateSize; +}; +extern void cppIVRSystem_IVRSystem_014_GetControllerState( struct cppIVRSystem_IVRSystem_014_GetControllerState_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetControllerStateWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_104 *pControllerState; + uint32_t unControllerStateSize; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_014_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_014_GetControllerStateWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_014_TriggerHapticPulse_params +{ + void *linux_side; + TrackedDeviceIndex_t unControllerDeviceIndex; + uint32_t unAxisId; + unsigned short usDurationMicroSec; +}; +extern void cppIVRSystem_IVRSystem_014_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_014_TriggerHapticPulse_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRButtonId eButtonId; +}; +extern void cppIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRControllerAxisType eAxisType; +}; +extern void cppIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_014_CaptureInputFocus_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_014_CaptureInputFocus( struct cppIVRSystem_IVRSystem_014_CaptureInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_014_ReleaseInputFocus_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_014_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_014_ReleaseInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess_params *params ); + +struct cppIVRSystem_IVRSystem_014_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; +extern void cppIVRSystem_IVRSystem_014_DriverDebugRequest( struct cppIVRSystem_IVRSystem_014_DriverDebugRequest_params *params ); + +struct cppIVRSystem_IVRSystem_014_PerformFirmwareUpdate_params +{ + void *linux_side; + EVRFirmwareError _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_014_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_014_PerformFirmwareUpdate_params *params ); + +struct cppIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting_params *params ); + +struct cppIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.cpp index 4599630b..19054031 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.cpp @@ -9,316 +9,248 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize(void *linux_side, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize_params *params ) { - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetRecommendedRenderTargetSize((uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -HmdMatrix44_t cppIVRSystem_IVRSystem_015_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ) +void cppIVRSystem_IVRSystem_015_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_015_GetProjectionMatrix_params *params ) { - HmdMatrix44_t _ret; - _ret = ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetProjectionMatrix((vr::EVREye)params->eEye, (float)params->fNearZ, (float)params->fFarZ); } -void cppIVRSystem_IVRSystem_015_GetProjectionRaw(void *linux_side, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void cppIVRSystem_IVRSystem_015_GetProjectionRaw( struct cppIVRSystem_IVRSystem_015_GetProjectionRaw_params *params ) { - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); + ((IVRSystem*)params->linux_side)->GetProjectionRaw((vr::EVREye)params->eEye, (float *)params->pfLeft, (float *)params->pfRight, (float *)params->pfTop, (float *)params->pfBottom); } -bool cppIVRSystem_IVRSystem_015_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +void cppIVRSystem_IVRSystem_015_ComputeDistortion( struct cppIVRSystem_IVRSystem_015_ComputeDistortion_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV, (vr::DistortionCoordinates_t *)pDistortionCoordinates); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->ComputeDistortion((vr::EVREye)params->eEye, (float)params->fU, (float)params->fV, (vr::DistortionCoordinates_t *)params->pDistortionCoordinates); } -HmdMatrix34_t cppIVRSystem_IVRSystem_015_GetEyeToHeadTransform(void *linux_side, EVREye eEye) +void cppIVRSystem_IVRSystem_015_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_015_GetEyeToHeadTransform_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetEyeToHeadTransform((vr::EVREye)params->eEye); } -bool cppIVRSystem_IVRSystem_015_GetTimeSinceLastVsync(void *linux_side, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +void cppIVRSystem_IVRSystem_015_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_015_GetTimeSinceLastVsync_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTimeSinceLastVsync((float *)params->pfSecondsSinceLastVsync, (uint64_t *)params->pulFrameCounter); } -int32_t cppIVRSystem_IVRSystem_015_GetD3D9AdapterIndex(void *linux_side) +void cppIVRSystem_IVRSystem_015_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_015_GetD3D9AdapterIndex_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetD3D9AdapterIndex(); } -void cppIVRSystem_IVRSystem_015_GetDXGIOutputInfo(void *linux_side, int32_t *pnAdapterIndex) +void cppIVRSystem_IVRSystem_015_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_015_GetDXGIOutputInfo_params *params ) { - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); + ((IVRSystem*)params->linux_side)->GetDXGIOutputInfo((int32_t *)params->pnAdapterIndex); } -bool cppIVRSystem_IVRSystem_015_IsDisplayOnDesktop(void *linux_side) +void cppIVRSystem_IVRSystem_015_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_015_IsDisplayOnDesktop_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsDisplayOnDesktop(); } -bool cppIVRSystem_IVRSystem_015_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) +void cppIVRSystem_IVRSystem_015_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_015_SetDisplayVisibility_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->SetDisplayVisibility((bool)params->bIsVisibleOnDesktop); } -void cppIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void cppIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose_params *params ) { - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); + ((IVRSystem*)params->linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)params->eOrigin, (float)params->fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)params->pTrackedDevicePoseArray, (uint32_t)params->unTrackedDevicePoseArrayCount); } -void cppIVRSystem_IVRSystem_015_ResetSeatedZeroPose(void *linux_side) +void cppIVRSystem_IVRSystem_015_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_015_ResetSeatedZeroPose_params *params ) { - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); + ((IVRSystem*)params->linux_side)->ResetSeatedZeroPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); } -uint32_t cppIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +void cppIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)params->eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)params->punTrackedDeviceIndexArray, (uint32_t)params->unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)params->unRelativeToTrackedDeviceIndex); } -EDeviceActivityLevel cppIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) +void cppIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel_params *params ) { - EDeviceActivityLevel _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)params->unDeviceId); } -void cppIVRSystem_IVRSystem_015_ApplyTransform(void *linux_side, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void cppIVRSystem_IVRSystem_015_ApplyTransform( struct cppIVRSystem_IVRSystem_015_ApplyTransform_params *params ) { - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); + ((IVRSystem*)params->linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)params->pOutputPose, (const vr::TrackedDevicePose_t *)params->pTrackedDevicePose, (const vr::HmdMatrix34_t *)params->pTransform); } -TrackedDeviceIndex_t cppIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole(void *linux_side, ETrackedControllerRole unDeviceType) +void cppIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)unDeviceType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)params->unDeviceType); } -ETrackedControllerRole cppIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex_params *params ) { - ETrackedControllerRole _ret; - _ret = ((IVRSystem*)linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -ETrackedDeviceClass cppIVRSystem_IVRSystem_015_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_015_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_015_GetTrackedDeviceClass_params *params ) { - ETrackedDeviceClass _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_015_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_015_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_015_IsTrackedDeviceConnected_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -float cppIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty_params *params ) { - float _ret; - _ret = ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -int32_t cppIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint64_t cppIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty_params *params ) { - uint64_t _ret; - _ret = ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -HmdMatrix34_t cppIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint32_t cppIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::ETrackedPropertyError *)params->pError); } -const char * cppIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) +void cppIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)params->error); } -bool cppIVRSystem_IVRSystem_015_PollNextEvent(void *linux_side, winVREvent_t_107 *pEvent, uint32_t uncbVREvent) +void cppIVRSystem_IVRSystem_015_PollNextEvent( struct cppIVRSystem_IVRSystem_015_PollNextEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_107_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_107_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_107_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEvent(params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_107_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -bool cppIVRSystem_IVRSystem_015_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, winVREvent_t_107 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_015_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_015_PollNextEventWithPose_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_107_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pEvent) - struct_VREvent_t_107_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_107_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pEvent) + struct_VREvent_t_107_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -const char * cppIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) +void cppIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)params->eType); } -HiddenAreaMesh_t cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh(void *linux_side, EVREye eEye, EHiddenAreaMeshType type) +void cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh_params *params ) { - HiddenAreaMesh_t _ret; - _ret = ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye, (vr::EHiddenAreaMeshType)type); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetHiddenAreaMesh((vr::EVREye)params->eEye, (vr::EHiddenAreaMeshType)params->type); } -bool cppIVRSystem_IVRSystem_015_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_107 *pControllerState, uint32_t unControllerStateSize) +void cppIVRSystem_IVRSystem_015_GetControllerState( struct cppIVRSystem_IVRSystem_015_GetControllerState_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_107_win_to_lin(pControllerState, &lin_pControllerState); - uint32_t lin_unControllerStateSize = unControllerStateSize ? sizeof(lin_pControllerState) : 0; - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize); - if (pControllerState) - struct_VRControllerState001_t_107_lin_to_win(&lin_pControllerState, pControllerState, unControllerStateSize); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_107_win_to_lin( params->pControllerState, &lin_pControllerState ); + uint32_t lin_unControllerStateSize = params->unControllerStateSize ? sizeof(lin_pControllerState) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize); + if (params->pControllerState) + struct_VRControllerState001_t_107_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); } -bool cppIVRSystem_IVRSystem_015_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_107 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_015_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_015_GetControllerStateWithPose_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_107_win_to_lin(pControllerState, &lin_pControllerState); - uint32_t lin_unControllerStateSize = unControllerStateSize ? sizeof(lin_pControllerState) : 0; - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pControllerState) - struct_VRControllerState001_t_107_lin_to_win(&lin_pControllerState, pControllerState, unControllerStateSize); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_107_win_to_lin( params->pControllerState, &lin_pControllerState ); + uint32_t lin_unControllerStateSize = params->unControllerStateSize ? sizeof(lin_pControllerState) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pControllerState) + struct_VRControllerState001_t_107_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); } -void cppIVRSystem_IVRSystem_015_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void cppIVRSystem_IVRSystem_015_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_015_TriggerHapticPulse_params *params ) { - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); + ((IVRSystem*)params->linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, (uint32_t)params->unAxisId, (unsigned short)params->usDurationMicroSec); } -const char * cppIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) +void cppIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)params->eButtonId); } -const char * cppIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) +void cppIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)params->eAxisType); } -bool cppIVRSystem_IVRSystem_015_CaptureInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_015_CaptureInputFocus( struct cppIVRSystem_IVRSystem_015_CaptureInputFocus_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->CaptureInputFocus(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->CaptureInputFocus(); } -void cppIVRSystem_IVRSystem_015_ReleaseInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_015_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_015_ReleaseInputFocus_params *params ) { - ((IVRSystem*)linux_side)->ReleaseInputFocus(); + ((IVRSystem*)params->linux_side)->ReleaseInputFocus(); } -bool cppIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess(void *linux_side) +void cppIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsInputFocusCapturedByAnotherProcess(); } -uint32_t cppIVRSystem_IVRSystem_015_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +void cppIVRSystem_IVRSystem_015_DriverDebugRequest( struct cppIVRSystem_IVRSystem_015_DriverDebugRequest_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchRequest, (char *)params->pchResponseBuffer, (uint32_t)params->unResponseBufferSize); } -EVRFirmwareError cppIVRSystem_IVRSystem_015_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_015_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_015_PerformFirmwareUpdate_params *params ) { - EVRFirmwareError _ret; - _ret = ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -void cppIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting(void *linux_side) +void cppIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting_params *params ) { - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); + ((IVRSystem*)params->linux_side)->AcknowledgeQuit_Exiting(); } -void cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt(void *linux_side) +void cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt_params *params ) { - ((IVRSystem*)linux_side)->AcknowledgeQuit_UserPrompt(); + ((IVRSystem*)params->linux_side)->AcknowledgeQuit_UserPrompt(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.h index f5055246..81d73443 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.h @@ -1,50 +1,387 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_015_GetProjectionMatrix(void *, EVREye, float, float); -extern void cppIVRSystem_IVRSystem_015_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern bool cppIVRSystem_IVRSystem_015_ComputeDistortion(void *, EVREye, float, float, DistortionCoordinates_t *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_015_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_015_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_015_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_015_GetDXGIOutputInfo(void *, int32_t *); -extern bool cppIVRSystem_IVRSystem_015_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_015_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_015_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_015_ApplyTransform(void *, TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t *); -extern TrackedDeviceIndex_t cppIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole(void *, ETrackedControllerRole); -extern ETrackedControllerRole cppIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(void *, TrackedDeviceIndex_t); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_015_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_015_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_015_PollNextEvent(void *, winVREvent_t_107 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_015_PollNextEventWithPose(void *, ETrackingUniverseOrigin, winVREvent_t_107 *, uint32_t, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh(void *, EVREye, EHiddenAreaMeshType); -extern bool cppIVRSystem_IVRSystem_015_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_107 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_015_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_107 *, uint32_t, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_015_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_015_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_015_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess(void *); -extern uint32_t cppIVRSystem_IVRSystem_015_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); -extern EVRFirmwareError cppIVRSystem_IVRSystem_015_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting(void *); -extern void cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt(void *); +struct cppIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + EVREye eEye; + float fNearZ; + float fFarZ; +}; +extern void cppIVRSystem_IVRSystem_015_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_015_GetProjectionMatrix_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetProjectionRaw_params +{ + void *linux_side; + EVREye eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; +extern void cppIVRSystem_IVRSystem_015_GetProjectionRaw( struct cppIVRSystem_IVRSystem_015_GetProjectionRaw_params *params ); + +struct cppIVRSystem_IVRSystem_015_ComputeDistortion_params +{ + void *linux_side; + bool _ret; + EVREye eEye; + float fU; + float fV; + DistortionCoordinates_t *pDistortionCoordinates; +}; +extern void cppIVRSystem_IVRSystem_015_ComputeDistortion( struct cppIVRSystem_IVRSystem_015_ComputeDistortion_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + EVREye eEye; +}; +extern void cppIVRSystem_IVRSystem_015_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_015_GetEyeToHeadTransform_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetTimeSinceLastVsync_params +{ + void *linux_side; + bool _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; +extern void cppIVRSystem_IVRSystem_015_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_015_GetTimeSinceLastVsync_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; +extern void cppIVRSystem_IVRSystem_015_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_015_GetD3D9AdapterIndex_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; +extern void cppIVRSystem_IVRSystem_015_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_015_GetDXGIOutputInfo_params *params ); + +struct cppIVRSystem_IVRSystem_015_IsDisplayOnDesktop_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_015_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_015_IsDisplayOnDesktop_params *params ); + +struct cppIVRSystem_IVRSystem_015_SetDisplayVisibility_params +{ + void *linux_side; + bool _ret; + bool bIsVisibleOnDesktop; +}; +extern void cppIVRSystem_IVRSystem_015_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_015_SetDisplayVisibility_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; +extern void cppIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_015_ResetSeatedZeroPose_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_015_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_015_ResetSeatedZeroPose_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + ETrackedDeviceClass eTrackedDeviceClass; + TrackedDeviceIndex_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + EDeviceActivityLevel _ret; + TrackedDeviceIndex_t unDeviceId; +}; +extern void cppIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel_params *params ); + +struct cppIVRSystem_IVRSystem_015_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; +extern void cppIVRSystem_IVRSystem_015_ApplyTransform( struct cppIVRSystem_IVRSystem_015_ApplyTransform_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; + ETrackedControllerRole unDeviceType; +}; +extern void cppIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex_params +{ + void *linux_side; + ETrackedControllerRole _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetTrackedDeviceClass_params +{ + void *linux_side; + ETrackedDeviceClass _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_015_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_015_GetTrackedDeviceClass_params *params ); + +struct cppIVRSystem_IVRSystem_015_IsTrackedDeviceConnected_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_015_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_015_IsTrackedDeviceConnected_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + char *pchValue; + uint32_t unBufferSize; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + ETrackedPropertyError error; +}; +extern void cppIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_015_PollNextEvent_params +{ + void *linux_side; + bool _ret; + winVREvent_t_107 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVRSystem_IVRSystem_015_PollNextEvent( struct cppIVRSystem_IVRSystem_015_PollNextEvent_params *params ); + +struct cppIVRSystem_IVRSystem_015_PollNextEventWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + winVREvent_t_107 *pEvent; + uint32_t uncbVREvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_015_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_015_PollNextEventWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVREventType eType; +}; +extern void cppIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh_params +{ + void *linux_side; + HiddenAreaMesh_t *_ret; + EVREye eEye; + EHiddenAreaMeshType type; +}; +extern void cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetControllerState_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_107 *pControllerState; + uint32_t unControllerStateSize; +}; +extern void cppIVRSystem_IVRSystem_015_GetControllerState( struct cppIVRSystem_IVRSystem_015_GetControllerState_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetControllerStateWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_107 *pControllerState; + uint32_t unControllerStateSize; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_015_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_015_GetControllerStateWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_015_TriggerHapticPulse_params +{ + void *linux_side; + TrackedDeviceIndex_t unControllerDeviceIndex; + uint32_t unAxisId; + unsigned short usDurationMicroSec; +}; +extern void cppIVRSystem_IVRSystem_015_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_015_TriggerHapticPulse_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRButtonId eButtonId; +}; +extern void cppIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRControllerAxisType eAxisType; +}; +extern void cppIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_015_CaptureInputFocus_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_015_CaptureInputFocus( struct cppIVRSystem_IVRSystem_015_CaptureInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_015_ReleaseInputFocus_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_015_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_015_ReleaseInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess_params *params ); + +struct cppIVRSystem_IVRSystem_015_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; +extern void cppIVRSystem_IVRSystem_015_DriverDebugRequest( struct cppIVRSystem_IVRSystem_015_DriverDebugRequest_params *params ); + +struct cppIVRSystem_IVRSystem_015_PerformFirmwareUpdate_params +{ + void *linux_side; + EVRFirmwareError _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_015_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_015_PerformFirmwareUpdate_params *params ); + +struct cppIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting_params *params ); + +struct cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.cpp index 42d2561f..ae1d09cf 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.cpp @@ -9,321 +9,253 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize(void *linux_side, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize_params *params ) { - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetRecommendedRenderTargetSize((uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -HmdMatrix44_t cppIVRSystem_IVRSystem_016_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ) +void cppIVRSystem_IVRSystem_016_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_016_GetProjectionMatrix_params *params ) { - HmdMatrix44_t _ret; - _ret = ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetProjectionMatrix((vr::EVREye)params->eEye, (float)params->fNearZ, (float)params->fFarZ); } -void cppIVRSystem_IVRSystem_016_GetProjectionRaw(void *linux_side, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void cppIVRSystem_IVRSystem_016_GetProjectionRaw( struct cppIVRSystem_IVRSystem_016_GetProjectionRaw_params *params ) { - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); + ((IVRSystem*)params->linux_side)->GetProjectionRaw((vr::EVREye)params->eEye, (float *)params->pfLeft, (float *)params->pfRight, (float *)params->pfTop, (float *)params->pfBottom); } -bool cppIVRSystem_IVRSystem_016_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +void cppIVRSystem_IVRSystem_016_ComputeDistortion( struct cppIVRSystem_IVRSystem_016_ComputeDistortion_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV, (vr::DistortionCoordinates_t *)pDistortionCoordinates); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->ComputeDistortion((vr::EVREye)params->eEye, (float)params->fU, (float)params->fV, (vr::DistortionCoordinates_t *)params->pDistortionCoordinates); } -HmdMatrix34_t cppIVRSystem_IVRSystem_016_GetEyeToHeadTransform(void *linux_side, EVREye eEye) +void cppIVRSystem_IVRSystem_016_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_016_GetEyeToHeadTransform_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetEyeToHeadTransform((vr::EVREye)params->eEye); } -bool cppIVRSystem_IVRSystem_016_GetTimeSinceLastVsync(void *linux_side, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +void cppIVRSystem_IVRSystem_016_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_016_GetTimeSinceLastVsync_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTimeSinceLastVsync((float *)params->pfSecondsSinceLastVsync, (uint64_t *)params->pulFrameCounter); } -int32_t cppIVRSystem_IVRSystem_016_GetD3D9AdapterIndex(void *linux_side) +void cppIVRSystem_IVRSystem_016_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_016_GetD3D9AdapterIndex_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetD3D9AdapterIndex(); } -void cppIVRSystem_IVRSystem_016_GetDXGIOutputInfo(void *linux_side, int32_t *pnAdapterIndex) +void cppIVRSystem_IVRSystem_016_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_016_GetDXGIOutputInfo_params *params ) { - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); + ((IVRSystem*)params->linux_side)->GetDXGIOutputInfo((int32_t *)params->pnAdapterIndex); } -void cppIVRSystem_IVRSystem_016_GetOutputDevice(void *linux_side, uint64_t *pnDevice, ETextureType textureType) +void cppIVRSystem_IVRSystem_016_GetOutputDevice( struct cppIVRSystem_IVRSystem_016_GetOutputDevice_params *params ) { - ((IVRSystem*)linux_side)->GetOutputDevice((uint64_t *)pnDevice, (vr::ETextureType)textureType); + ((IVRSystem*)params->linux_side)->GetOutputDevice((uint64_t *)params->pnDevice, (vr::ETextureType)params->textureType); } -bool cppIVRSystem_IVRSystem_016_IsDisplayOnDesktop(void *linux_side) +void cppIVRSystem_IVRSystem_016_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_016_IsDisplayOnDesktop_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsDisplayOnDesktop(); } -bool cppIVRSystem_IVRSystem_016_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) +void cppIVRSystem_IVRSystem_016_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_016_SetDisplayVisibility_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->SetDisplayVisibility((bool)params->bIsVisibleOnDesktop); } -void cppIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void cppIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose_params *params ) { - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); + ((IVRSystem*)params->linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)params->eOrigin, (float)params->fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)params->pTrackedDevicePoseArray, (uint32_t)params->unTrackedDevicePoseArrayCount); } -void cppIVRSystem_IVRSystem_016_ResetSeatedZeroPose(void *linux_side) +void cppIVRSystem_IVRSystem_016_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_016_ResetSeatedZeroPose_params *params ) { - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); + ((IVRSystem*)params->linux_side)->ResetSeatedZeroPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); } -uint32_t cppIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +void cppIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)params->eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)params->punTrackedDeviceIndexArray, (uint32_t)params->unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)params->unRelativeToTrackedDeviceIndex); } -EDeviceActivityLevel cppIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) +void cppIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel_params *params ) { - EDeviceActivityLevel _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)params->unDeviceId); } -void cppIVRSystem_IVRSystem_016_ApplyTransform(void *linux_side, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void cppIVRSystem_IVRSystem_016_ApplyTransform( struct cppIVRSystem_IVRSystem_016_ApplyTransform_params *params ) { - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); + ((IVRSystem*)params->linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)params->pOutputPose, (const vr::TrackedDevicePose_t *)params->pTrackedDevicePose, (const vr::HmdMatrix34_t *)params->pTransform); } -TrackedDeviceIndex_t cppIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole(void *linux_side, ETrackedControllerRole unDeviceType) +void cppIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)unDeviceType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)params->unDeviceType); } -ETrackedControllerRole cppIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex_params *params ) { - ETrackedControllerRole _ret; - _ret = ((IVRSystem*)linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -ETrackedDeviceClass cppIVRSystem_IVRSystem_016_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_016_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_016_GetTrackedDeviceClass_params *params ) { - ETrackedDeviceClass _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_016_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_016_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_016_IsTrackedDeviceConnected_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -float cppIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty_params *params ) { - float _ret; - _ret = ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -int32_t cppIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint64_t cppIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty_params *params ) { - uint64_t _ret; - _ret = ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -HmdMatrix34_t cppIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint32_t cppIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::ETrackedPropertyError *)params->pError); } -const char * cppIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) +void cppIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)params->error); } -bool cppIVRSystem_IVRSystem_016_PollNextEvent(void *linux_side, winVREvent_t_109 *pEvent, uint32_t uncbVREvent) +void cppIVRSystem_IVRSystem_016_PollNextEvent( struct cppIVRSystem_IVRSystem_016_PollNextEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_109_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_109_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_109_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEvent(params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_109_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -bool cppIVRSystem_IVRSystem_016_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, winVREvent_t_109 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_016_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_016_PollNextEventWithPose_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_109_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pEvent) - struct_VREvent_t_109_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_109_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pEvent) + struct_VREvent_t_109_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -const char * cppIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) +void cppIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)params->eType); } -HiddenAreaMesh_t cppIVRSystem_IVRSystem_016_GetHiddenAreaMesh(void *linux_side, EVREye eEye, EHiddenAreaMeshType type) +void cppIVRSystem_IVRSystem_016_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_016_GetHiddenAreaMesh_params *params ) { - HiddenAreaMesh_t _ret; - _ret = ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye, (vr::EHiddenAreaMeshType)type); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetHiddenAreaMesh((vr::EVREye)params->eEye, (vr::EHiddenAreaMeshType)params->type); } -bool cppIVRSystem_IVRSystem_016_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_109 *pControllerState, uint32_t unControllerStateSize) +void cppIVRSystem_IVRSystem_016_GetControllerState( struct cppIVRSystem_IVRSystem_016_GetControllerState_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_109_win_to_lin(pControllerState, &lin_pControllerState); - uint32_t lin_unControllerStateSize = unControllerStateSize ? sizeof(lin_pControllerState) : 0; - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize); - if (pControllerState) - struct_VRControllerState001_t_109_lin_to_win(&lin_pControllerState, pControllerState, unControllerStateSize); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_109_win_to_lin( params->pControllerState, &lin_pControllerState ); + uint32_t lin_unControllerStateSize = params->unControllerStateSize ? sizeof(lin_pControllerState) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize); + if (params->pControllerState) + struct_VRControllerState001_t_109_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); } -bool cppIVRSystem_IVRSystem_016_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_109 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_016_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_016_GetControllerStateWithPose_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_109_win_to_lin(pControllerState, &lin_pControllerState); - uint32_t lin_unControllerStateSize = unControllerStateSize ? sizeof(lin_pControllerState) : 0; - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pControllerState) - struct_VRControllerState001_t_109_lin_to_win(&lin_pControllerState, pControllerState, unControllerStateSize); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_109_win_to_lin( params->pControllerState, &lin_pControllerState ); + uint32_t lin_unControllerStateSize = params->unControllerStateSize ? sizeof(lin_pControllerState) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pControllerState) + struct_VRControllerState001_t_109_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); } -void cppIVRSystem_IVRSystem_016_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void cppIVRSystem_IVRSystem_016_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_016_TriggerHapticPulse_params *params ) { - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); + ((IVRSystem*)params->linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, (uint32_t)params->unAxisId, (unsigned short)params->usDurationMicroSec); } -const char * cppIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) +void cppIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)params->eButtonId); } -const char * cppIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) +void cppIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)params->eAxisType); } -bool cppIVRSystem_IVRSystem_016_CaptureInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_016_CaptureInputFocus( struct cppIVRSystem_IVRSystem_016_CaptureInputFocus_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->CaptureInputFocus(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->CaptureInputFocus(); } -void cppIVRSystem_IVRSystem_016_ReleaseInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_016_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_016_ReleaseInputFocus_params *params ) { - ((IVRSystem*)linux_side)->ReleaseInputFocus(); + ((IVRSystem*)params->linux_side)->ReleaseInputFocus(); } -bool cppIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess(void *linux_side) +void cppIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsInputFocusCapturedByAnotherProcess(); } -uint32_t cppIVRSystem_IVRSystem_016_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +void cppIVRSystem_IVRSystem_016_DriverDebugRequest( struct cppIVRSystem_IVRSystem_016_DriverDebugRequest_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchRequest, (char *)params->pchResponseBuffer, (uint32_t)params->unResponseBufferSize); } -EVRFirmwareError cppIVRSystem_IVRSystem_016_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_016_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_016_PerformFirmwareUpdate_params *params ) { - EVRFirmwareError _ret; - _ret = ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -void cppIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting(void *linux_side) +void cppIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting_params *params ) { - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); + ((IVRSystem*)params->linux_side)->AcknowledgeQuit_Exiting(); } -void cppIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt(void *linux_side) +void cppIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt_params *params ) { - ((IVRSystem*)linux_side)->AcknowledgeQuit_UserPrompt(); + ((IVRSystem*)params->linux_side)->AcknowledgeQuit_UserPrompt(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.h index e37fcf52..d66435c7 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.h @@ -1,51 +1,395 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_016_GetProjectionMatrix(void *, EVREye, float, float); -extern void cppIVRSystem_IVRSystem_016_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern bool cppIVRSystem_IVRSystem_016_ComputeDistortion(void *, EVREye, float, float, DistortionCoordinates_t *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_016_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_016_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_016_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_016_GetDXGIOutputInfo(void *, int32_t *); -extern void cppIVRSystem_IVRSystem_016_GetOutputDevice(void *, uint64_t *, ETextureType); -extern bool cppIVRSystem_IVRSystem_016_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_016_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_016_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_016_ApplyTransform(void *, TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t *); -extern TrackedDeviceIndex_t cppIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole(void *, ETrackedControllerRole); -extern ETrackedControllerRole cppIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(void *, TrackedDeviceIndex_t); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_016_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_016_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_016_PollNextEvent(void *, winVREvent_t_109 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_016_PollNextEventWithPose(void *, ETrackingUniverseOrigin, winVREvent_t_109 *, uint32_t, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_016_GetHiddenAreaMesh(void *, EVREye, EHiddenAreaMeshType); -extern bool cppIVRSystem_IVRSystem_016_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_109 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_016_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_109 *, uint32_t, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_016_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_016_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_016_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess(void *); -extern uint32_t cppIVRSystem_IVRSystem_016_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); -extern EVRFirmwareError cppIVRSystem_IVRSystem_016_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting(void *); -extern void cppIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt(void *); +struct cppIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + EVREye eEye; + float fNearZ; + float fFarZ; +}; +extern void cppIVRSystem_IVRSystem_016_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_016_GetProjectionMatrix_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetProjectionRaw_params +{ + void *linux_side; + EVREye eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; +extern void cppIVRSystem_IVRSystem_016_GetProjectionRaw( struct cppIVRSystem_IVRSystem_016_GetProjectionRaw_params *params ); + +struct cppIVRSystem_IVRSystem_016_ComputeDistortion_params +{ + void *linux_side; + bool _ret; + EVREye eEye; + float fU; + float fV; + DistortionCoordinates_t *pDistortionCoordinates; +}; +extern void cppIVRSystem_IVRSystem_016_ComputeDistortion( struct cppIVRSystem_IVRSystem_016_ComputeDistortion_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + EVREye eEye; +}; +extern void cppIVRSystem_IVRSystem_016_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_016_GetEyeToHeadTransform_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetTimeSinceLastVsync_params +{ + void *linux_side; + bool _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; +extern void cppIVRSystem_IVRSystem_016_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_016_GetTimeSinceLastVsync_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; +extern void cppIVRSystem_IVRSystem_016_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_016_GetD3D9AdapterIndex_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; +extern void cppIVRSystem_IVRSystem_016_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_016_GetDXGIOutputInfo_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetOutputDevice_params +{ + void *linux_side; + uint64_t *pnDevice; + ETextureType textureType; +}; +extern void cppIVRSystem_IVRSystem_016_GetOutputDevice( struct cppIVRSystem_IVRSystem_016_GetOutputDevice_params *params ); + +struct cppIVRSystem_IVRSystem_016_IsDisplayOnDesktop_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_016_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_016_IsDisplayOnDesktop_params *params ); + +struct cppIVRSystem_IVRSystem_016_SetDisplayVisibility_params +{ + void *linux_side; + bool _ret; + bool bIsVisibleOnDesktop; +}; +extern void cppIVRSystem_IVRSystem_016_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_016_SetDisplayVisibility_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; +extern void cppIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_016_ResetSeatedZeroPose_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_016_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_016_ResetSeatedZeroPose_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + ETrackedDeviceClass eTrackedDeviceClass; + TrackedDeviceIndex_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + EDeviceActivityLevel _ret; + TrackedDeviceIndex_t unDeviceId; +}; +extern void cppIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel_params *params ); + +struct cppIVRSystem_IVRSystem_016_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; +extern void cppIVRSystem_IVRSystem_016_ApplyTransform( struct cppIVRSystem_IVRSystem_016_ApplyTransform_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; + ETrackedControllerRole unDeviceType; +}; +extern void cppIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex_params +{ + void *linux_side; + ETrackedControllerRole _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetTrackedDeviceClass_params +{ + void *linux_side; + ETrackedDeviceClass _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_016_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_016_GetTrackedDeviceClass_params *params ); + +struct cppIVRSystem_IVRSystem_016_IsTrackedDeviceConnected_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_016_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_016_IsTrackedDeviceConnected_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + char *pchValue; + uint32_t unBufferSize; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + ETrackedPropertyError error; +}; +extern void cppIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_016_PollNextEvent_params +{ + void *linux_side; + bool _ret; + winVREvent_t_109 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVRSystem_IVRSystem_016_PollNextEvent( struct cppIVRSystem_IVRSystem_016_PollNextEvent_params *params ); + +struct cppIVRSystem_IVRSystem_016_PollNextEventWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + winVREvent_t_109 *pEvent; + uint32_t uncbVREvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_016_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_016_PollNextEventWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVREventType eType; +}; +extern void cppIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetHiddenAreaMesh_params +{ + void *linux_side; + HiddenAreaMesh_t *_ret; + EVREye eEye; + EHiddenAreaMeshType type; +}; +extern void cppIVRSystem_IVRSystem_016_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_016_GetHiddenAreaMesh_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetControllerState_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_109 *pControllerState; + uint32_t unControllerStateSize; +}; +extern void cppIVRSystem_IVRSystem_016_GetControllerState( struct cppIVRSystem_IVRSystem_016_GetControllerState_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetControllerStateWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_109 *pControllerState; + uint32_t unControllerStateSize; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_016_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_016_GetControllerStateWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_016_TriggerHapticPulse_params +{ + void *linux_side; + TrackedDeviceIndex_t unControllerDeviceIndex; + uint32_t unAxisId; + unsigned short usDurationMicroSec; +}; +extern void cppIVRSystem_IVRSystem_016_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_016_TriggerHapticPulse_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRButtonId eButtonId; +}; +extern void cppIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRControllerAxisType eAxisType; +}; +extern void cppIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_016_CaptureInputFocus_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_016_CaptureInputFocus( struct cppIVRSystem_IVRSystem_016_CaptureInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_016_ReleaseInputFocus_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_016_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_016_ReleaseInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess_params *params ); + +struct cppIVRSystem_IVRSystem_016_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; +extern void cppIVRSystem_IVRSystem_016_DriverDebugRequest( struct cppIVRSystem_IVRSystem_016_DriverDebugRequest_params *params ); + +struct cppIVRSystem_IVRSystem_016_PerformFirmwareUpdate_params +{ + void *linux_side; + EVRFirmwareError _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_016_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_016_PerformFirmwareUpdate_params *params ); + +struct cppIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting_params *params ); + +struct cppIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.cpp index 9112be2b..520c41ef 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.cpp @@ -9,321 +9,253 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize(void *linux_side, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize_params *params ) { - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetRecommendedRenderTargetSize((uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -HmdMatrix44_t cppIVRSystem_IVRSystem_017_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ) +void cppIVRSystem_IVRSystem_017_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_017_GetProjectionMatrix_params *params ) { - HmdMatrix44_t _ret; - _ret = ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetProjectionMatrix((vr::EVREye)params->eEye, (float)params->fNearZ, (float)params->fFarZ); } -void cppIVRSystem_IVRSystem_017_GetProjectionRaw(void *linux_side, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void cppIVRSystem_IVRSystem_017_GetProjectionRaw( struct cppIVRSystem_IVRSystem_017_GetProjectionRaw_params *params ) { - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); + ((IVRSystem*)params->linux_side)->GetProjectionRaw((vr::EVREye)params->eEye, (float *)params->pfLeft, (float *)params->pfRight, (float *)params->pfTop, (float *)params->pfBottom); } -bool cppIVRSystem_IVRSystem_017_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +void cppIVRSystem_IVRSystem_017_ComputeDistortion( struct cppIVRSystem_IVRSystem_017_ComputeDistortion_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV, (vr::DistortionCoordinates_t *)pDistortionCoordinates); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->ComputeDistortion((vr::EVREye)params->eEye, (float)params->fU, (float)params->fV, (vr::DistortionCoordinates_t *)params->pDistortionCoordinates); } -HmdMatrix34_t cppIVRSystem_IVRSystem_017_GetEyeToHeadTransform(void *linux_side, EVREye eEye) +void cppIVRSystem_IVRSystem_017_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_017_GetEyeToHeadTransform_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetEyeToHeadTransform((vr::EVREye)params->eEye); } -bool cppIVRSystem_IVRSystem_017_GetTimeSinceLastVsync(void *linux_side, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +void cppIVRSystem_IVRSystem_017_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_017_GetTimeSinceLastVsync_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTimeSinceLastVsync((float *)params->pfSecondsSinceLastVsync, (uint64_t *)params->pulFrameCounter); } -int32_t cppIVRSystem_IVRSystem_017_GetD3D9AdapterIndex(void *linux_side) +void cppIVRSystem_IVRSystem_017_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_017_GetD3D9AdapterIndex_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetD3D9AdapterIndex(); } -void cppIVRSystem_IVRSystem_017_GetDXGIOutputInfo(void *linux_side, int32_t *pnAdapterIndex) +void cppIVRSystem_IVRSystem_017_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_017_GetDXGIOutputInfo_params *params ) { - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); + ((IVRSystem*)params->linux_side)->GetDXGIOutputInfo((int32_t *)params->pnAdapterIndex); } -void cppIVRSystem_IVRSystem_017_GetOutputDevice(void *linux_side, uint64_t *pnDevice, ETextureType textureType, VkInstance_T *pInstance) +void cppIVRSystem_IVRSystem_017_GetOutputDevice( struct cppIVRSystem_IVRSystem_017_GetOutputDevice_params *params ) { - ((IVRSystem*)linux_side)->GetOutputDevice((uint64_t *)pnDevice, (vr::ETextureType)textureType, (VkInstance_T *)pInstance); + ((IVRSystem*)params->linux_side)->GetOutputDevice((uint64_t *)params->pnDevice, (vr::ETextureType)params->textureType, (VkInstance_T *)params->pInstance); } -bool cppIVRSystem_IVRSystem_017_IsDisplayOnDesktop(void *linux_side) +void cppIVRSystem_IVRSystem_017_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_017_IsDisplayOnDesktop_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsDisplayOnDesktop(); } -bool cppIVRSystem_IVRSystem_017_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) +void cppIVRSystem_IVRSystem_017_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_017_SetDisplayVisibility_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->SetDisplayVisibility((bool)params->bIsVisibleOnDesktop); } -void cppIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void cppIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose_params *params ) { - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); + ((IVRSystem*)params->linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)params->eOrigin, (float)params->fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)params->pTrackedDevicePoseArray, (uint32_t)params->unTrackedDevicePoseArrayCount); } -void cppIVRSystem_IVRSystem_017_ResetSeatedZeroPose(void *linux_side) +void cppIVRSystem_IVRSystem_017_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_017_ResetSeatedZeroPose_params *params ) { - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); + ((IVRSystem*)params->linux_side)->ResetSeatedZeroPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); } -uint32_t cppIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +void cppIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)params->eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)params->punTrackedDeviceIndexArray, (uint32_t)params->unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)params->unRelativeToTrackedDeviceIndex); } -EDeviceActivityLevel cppIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) +void cppIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel_params *params ) { - EDeviceActivityLevel _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)params->unDeviceId); } -void cppIVRSystem_IVRSystem_017_ApplyTransform(void *linux_side, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void cppIVRSystem_IVRSystem_017_ApplyTransform( struct cppIVRSystem_IVRSystem_017_ApplyTransform_params *params ) { - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); + ((IVRSystem*)params->linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)params->pOutputPose, (const vr::TrackedDevicePose_t *)params->pTrackedDevicePose, (const vr::HmdMatrix34_t *)params->pTransform); } -TrackedDeviceIndex_t cppIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole(void *linux_side, ETrackedControllerRole unDeviceType) +void cppIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)unDeviceType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)params->unDeviceType); } -ETrackedControllerRole cppIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex_params *params ) { - ETrackedControllerRole _ret; - _ret = ((IVRSystem*)linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -ETrackedDeviceClass cppIVRSystem_IVRSystem_017_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_017_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_017_GetTrackedDeviceClass_params *params ) { - ETrackedDeviceClass _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_017_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_017_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_017_IsTrackedDeviceConnected_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -float cppIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty_params *params ) { - float _ret; - _ret = ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -int32_t cppIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint64_t cppIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty_params *params ) { - uint64_t _ret; - _ret = ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -HmdMatrix34_t cppIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint32_t cppIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::ETrackedPropertyError *)params->pError); } -const char * cppIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) +void cppIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)params->error); } -bool cppIVRSystem_IVRSystem_017_PollNextEvent(void *linux_side, winVREvent_t_1011 *pEvent, uint32_t uncbVREvent) +void cppIVRSystem_IVRSystem_017_PollNextEvent( struct cppIVRSystem_IVRSystem_017_PollNextEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_1011_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_1011_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_1011_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEvent(params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_1011_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -bool cppIVRSystem_IVRSystem_017_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, winVREvent_t_1011 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_017_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_017_PollNextEventWithPose_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_1011_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pEvent) - struct_VREvent_t_1011_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_1011_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pEvent) + struct_VREvent_t_1011_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -const char * cppIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) +void cppIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)params->eType); } -HiddenAreaMesh_t cppIVRSystem_IVRSystem_017_GetHiddenAreaMesh(void *linux_side, EVREye eEye, EHiddenAreaMeshType type) +void cppIVRSystem_IVRSystem_017_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_017_GetHiddenAreaMesh_params *params ) { - HiddenAreaMesh_t _ret; - _ret = ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye, (vr::EHiddenAreaMeshType)type); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetHiddenAreaMesh((vr::EVREye)params->eEye, (vr::EHiddenAreaMeshType)params->type); } -bool cppIVRSystem_IVRSystem_017_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1011 *pControllerState, uint32_t unControllerStateSize) +void cppIVRSystem_IVRSystem_017_GetControllerState( struct cppIVRSystem_IVRSystem_017_GetControllerState_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_1011_win_to_lin(pControllerState, &lin_pControllerState); - uint32_t lin_unControllerStateSize = unControllerStateSize ? sizeof(lin_pControllerState) : 0; - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize); - if (pControllerState) - struct_VRControllerState001_t_1011_lin_to_win(&lin_pControllerState, pControllerState, unControllerStateSize); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_1011_win_to_lin( params->pControllerState, &lin_pControllerState ); + uint32_t lin_unControllerStateSize = params->unControllerStateSize ? sizeof(lin_pControllerState) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize); + if (params->pControllerState) + struct_VRControllerState001_t_1011_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); } -bool cppIVRSystem_IVRSystem_017_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1011 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_017_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_017_GetControllerStateWithPose_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_1011_win_to_lin(pControllerState, &lin_pControllerState); - uint32_t lin_unControllerStateSize = unControllerStateSize ? sizeof(lin_pControllerState) : 0; - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pControllerState) - struct_VRControllerState001_t_1011_lin_to_win(&lin_pControllerState, pControllerState, unControllerStateSize); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_1011_win_to_lin( params->pControllerState, &lin_pControllerState ); + uint32_t lin_unControllerStateSize = params->unControllerStateSize ? sizeof(lin_pControllerState) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pControllerState) + struct_VRControllerState001_t_1011_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); } -void cppIVRSystem_IVRSystem_017_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void cppIVRSystem_IVRSystem_017_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_017_TriggerHapticPulse_params *params ) { - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); + ((IVRSystem*)params->linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, (uint32_t)params->unAxisId, (unsigned short)params->usDurationMicroSec); } -const char * cppIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) +void cppIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)params->eButtonId); } -const char * cppIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) +void cppIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)params->eAxisType); } -bool cppIVRSystem_IVRSystem_017_CaptureInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_017_CaptureInputFocus( struct cppIVRSystem_IVRSystem_017_CaptureInputFocus_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->CaptureInputFocus(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->CaptureInputFocus(); } -void cppIVRSystem_IVRSystem_017_ReleaseInputFocus(void *linux_side) +void cppIVRSystem_IVRSystem_017_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_017_ReleaseInputFocus_params *params ) { - ((IVRSystem*)linux_side)->ReleaseInputFocus(); + ((IVRSystem*)params->linux_side)->ReleaseInputFocus(); } -bool cppIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess(void *linux_side) +void cppIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsInputFocusCapturedByAnotherProcess(); } -uint32_t cppIVRSystem_IVRSystem_017_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +void cppIVRSystem_IVRSystem_017_DriverDebugRequest( struct cppIVRSystem_IVRSystem_017_DriverDebugRequest_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchRequest, (char *)params->pchResponseBuffer, (uint32_t)params->unResponseBufferSize); } -EVRFirmwareError cppIVRSystem_IVRSystem_017_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_017_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_017_PerformFirmwareUpdate_params *params ) { - EVRFirmwareError _ret; - _ret = ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -void cppIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting(void *linux_side) +void cppIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting_params *params ) { - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); + ((IVRSystem*)params->linux_side)->AcknowledgeQuit_Exiting(); } -void cppIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt(void *linux_side) +void cppIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt_params *params ) { - ((IVRSystem*)linux_side)->AcknowledgeQuit_UserPrompt(); + ((IVRSystem*)params->linux_side)->AcknowledgeQuit_UserPrompt(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.h index af320107..44699854 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.h @@ -1,51 +1,396 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_017_GetProjectionMatrix(void *, EVREye, float, float); -extern void cppIVRSystem_IVRSystem_017_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern bool cppIVRSystem_IVRSystem_017_ComputeDistortion(void *, EVREye, float, float, DistortionCoordinates_t *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_017_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_017_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_017_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_017_GetDXGIOutputInfo(void *, int32_t *); -extern void cppIVRSystem_IVRSystem_017_GetOutputDevice(void *, uint64_t *, ETextureType, VkInstance_T *); -extern bool cppIVRSystem_IVRSystem_017_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_017_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_017_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_017_ApplyTransform(void *, TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t *); -extern TrackedDeviceIndex_t cppIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole(void *, ETrackedControllerRole); -extern ETrackedControllerRole cppIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(void *, TrackedDeviceIndex_t); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_017_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_017_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_017_PollNextEvent(void *, winVREvent_t_1011 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_017_PollNextEventWithPose(void *, ETrackingUniverseOrigin, winVREvent_t_1011 *, uint32_t, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_017_GetHiddenAreaMesh(void *, EVREye, EHiddenAreaMeshType); -extern bool cppIVRSystem_IVRSystem_017_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_1011 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_017_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_1011 *, uint32_t, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_017_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_017_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_017_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess(void *); -extern uint32_t cppIVRSystem_IVRSystem_017_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); -extern EVRFirmwareError cppIVRSystem_IVRSystem_017_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting(void *); -extern void cppIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt(void *); +struct cppIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + EVREye eEye; + float fNearZ; + float fFarZ; +}; +extern void cppIVRSystem_IVRSystem_017_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_017_GetProjectionMatrix_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetProjectionRaw_params +{ + void *linux_side; + EVREye eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; +extern void cppIVRSystem_IVRSystem_017_GetProjectionRaw( struct cppIVRSystem_IVRSystem_017_GetProjectionRaw_params *params ); + +struct cppIVRSystem_IVRSystem_017_ComputeDistortion_params +{ + void *linux_side; + bool _ret; + EVREye eEye; + float fU; + float fV; + DistortionCoordinates_t *pDistortionCoordinates; +}; +extern void cppIVRSystem_IVRSystem_017_ComputeDistortion( struct cppIVRSystem_IVRSystem_017_ComputeDistortion_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + EVREye eEye; +}; +extern void cppIVRSystem_IVRSystem_017_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_017_GetEyeToHeadTransform_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetTimeSinceLastVsync_params +{ + void *linux_side; + bool _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; +extern void cppIVRSystem_IVRSystem_017_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_017_GetTimeSinceLastVsync_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; +extern void cppIVRSystem_IVRSystem_017_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_017_GetD3D9AdapterIndex_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; +extern void cppIVRSystem_IVRSystem_017_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_017_GetDXGIOutputInfo_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetOutputDevice_params +{ + void *linux_side; + uint64_t *pnDevice; + ETextureType textureType; + VkInstance_T *pInstance; +}; +extern void cppIVRSystem_IVRSystem_017_GetOutputDevice( struct cppIVRSystem_IVRSystem_017_GetOutputDevice_params *params ); + +struct cppIVRSystem_IVRSystem_017_IsDisplayOnDesktop_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_017_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_017_IsDisplayOnDesktop_params *params ); + +struct cppIVRSystem_IVRSystem_017_SetDisplayVisibility_params +{ + void *linux_side; + bool _ret; + bool bIsVisibleOnDesktop; +}; +extern void cppIVRSystem_IVRSystem_017_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_017_SetDisplayVisibility_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; +extern void cppIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_017_ResetSeatedZeroPose_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_017_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_017_ResetSeatedZeroPose_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + ETrackedDeviceClass eTrackedDeviceClass; + TrackedDeviceIndex_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + EDeviceActivityLevel _ret; + TrackedDeviceIndex_t unDeviceId; +}; +extern void cppIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel_params *params ); + +struct cppIVRSystem_IVRSystem_017_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; +extern void cppIVRSystem_IVRSystem_017_ApplyTransform( struct cppIVRSystem_IVRSystem_017_ApplyTransform_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; + ETrackedControllerRole unDeviceType; +}; +extern void cppIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex_params +{ + void *linux_side; + ETrackedControllerRole _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetTrackedDeviceClass_params +{ + void *linux_side; + ETrackedDeviceClass _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_017_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_017_GetTrackedDeviceClass_params *params ); + +struct cppIVRSystem_IVRSystem_017_IsTrackedDeviceConnected_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_017_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_017_IsTrackedDeviceConnected_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + char *pchValue; + uint32_t unBufferSize; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + ETrackedPropertyError error; +}; +extern void cppIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_017_PollNextEvent_params +{ + void *linux_side; + bool _ret; + winVREvent_t_1011 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVRSystem_IVRSystem_017_PollNextEvent( struct cppIVRSystem_IVRSystem_017_PollNextEvent_params *params ); + +struct cppIVRSystem_IVRSystem_017_PollNextEventWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + winVREvent_t_1011 *pEvent; + uint32_t uncbVREvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_017_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_017_PollNextEventWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVREventType eType; +}; +extern void cppIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetHiddenAreaMesh_params +{ + void *linux_side; + HiddenAreaMesh_t *_ret; + EVREye eEye; + EHiddenAreaMeshType type; +}; +extern void cppIVRSystem_IVRSystem_017_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_017_GetHiddenAreaMesh_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetControllerState_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_1011 *pControllerState; + uint32_t unControllerStateSize; +}; +extern void cppIVRSystem_IVRSystem_017_GetControllerState( struct cppIVRSystem_IVRSystem_017_GetControllerState_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetControllerStateWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_1011 *pControllerState; + uint32_t unControllerStateSize; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_017_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_017_GetControllerStateWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_017_TriggerHapticPulse_params +{ + void *linux_side; + TrackedDeviceIndex_t unControllerDeviceIndex; + uint32_t unAxisId; + unsigned short usDurationMicroSec; +}; +extern void cppIVRSystem_IVRSystem_017_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_017_TriggerHapticPulse_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRButtonId eButtonId; +}; +extern void cppIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRControllerAxisType eAxisType; +}; +extern void cppIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_017_CaptureInputFocus_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_017_CaptureInputFocus( struct cppIVRSystem_IVRSystem_017_CaptureInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_017_ReleaseInputFocus_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_017_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_017_ReleaseInputFocus_params *params ); + +struct cppIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess_params *params ); + +struct cppIVRSystem_IVRSystem_017_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; +extern void cppIVRSystem_IVRSystem_017_DriverDebugRequest( struct cppIVRSystem_IVRSystem_017_DriverDebugRequest_params *params ); + +struct cppIVRSystem_IVRSystem_017_PerformFirmwareUpdate_params +{ + void *linux_side; + EVRFirmwareError _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_017_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_017_PerformFirmwareUpdate_params *params ); + +struct cppIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting_params *params ); + +struct cppIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.cpp index ee8b472c..b51b6d62 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.cpp @@ -9,337 +9,263 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize(void *linux_side, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize_params *params ) { - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetRecommendedRenderTargetSize((uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -HmdMatrix44_t cppIVRSystem_IVRSystem_019_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ) +void cppIVRSystem_IVRSystem_019_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_019_GetProjectionMatrix_params *params ) { - HmdMatrix44_t _ret; - _ret = ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetProjectionMatrix((vr::EVREye)params->eEye, (float)params->fNearZ, (float)params->fFarZ); } -void cppIVRSystem_IVRSystem_019_GetProjectionRaw(void *linux_side, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void cppIVRSystem_IVRSystem_019_GetProjectionRaw( struct cppIVRSystem_IVRSystem_019_GetProjectionRaw_params *params ) { - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); + ((IVRSystem*)params->linux_side)->GetProjectionRaw((vr::EVREye)params->eEye, (float *)params->pfLeft, (float *)params->pfRight, (float *)params->pfTop, (float *)params->pfBottom); } -bool cppIVRSystem_IVRSystem_019_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +void cppIVRSystem_IVRSystem_019_ComputeDistortion( struct cppIVRSystem_IVRSystem_019_ComputeDistortion_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV, (vr::DistortionCoordinates_t *)pDistortionCoordinates); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->ComputeDistortion((vr::EVREye)params->eEye, (float)params->fU, (float)params->fV, (vr::DistortionCoordinates_t *)params->pDistortionCoordinates); } -HmdMatrix34_t cppIVRSystem_IVRSystem_019_GetEyeToHeadTransform(void *linux_side, EVREye eEye) +void cppIVRSystem_IVRSystem_019_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_019_GetEyeToHeadTransform_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetEyeToHeadTransform((vr::EVREye)params->eEye); } -bool cppIVRSystem_IVRSystem_019_GetTimeSinceLastVsync(void *linux_side, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +void cppIVRSystem_IVRSystem_019_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_019_GetTimeSinceLastVsync_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTimeSinceLastVsync((float *)params->pfSecondsSinceLastVsync, (uint64_t *)params->pulFrameCounter); } -int32_t cppIVRSystem_IVRSystem_019_GetD3D9AdapterIndex(void *linux_side) +void cppIVRSystem_IVRSystem_019_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_019_GetD3D9AdapterIndex_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetD3D9AdapterIndex(); } -void cppIVRSystem_IVRSystem_019_GetDXGIOutputInfo(void *linux_side, int32_t *pnAdapterIndex) +void cppIVRSystem_IVRSystem_019_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_019_GetDXGIOutputInfo_params *params ) { - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); + ((IVRSystem*)params->linux_side)->GetDXGIOutputInfo((int32_t *)params->pnAdapterIndex); } -void cppIVRSystem_IVRSystem_019_GetOutputDevice(void *linux_side, uint64_t *pnDevice, ETextureType textureType, VkInstance_T *pInstance) +void cppIVRSystem_IVRSystem_019_GetOutputDevice( struct cppIVRSystem_IVRSystem_019_GetOutputDevice_params *params ) { - ((IVRSystem*)linux_side)->GetOutputDevice((uint64_t *)pnDevice, (vr::ETextureType)textureType, (VkInstance_T *)pInstance); + ((IVRSystem*)params->linux_side)->GetOutputDevice((uint64_t *)params->pnDevice, (vr::ETextureType)params->textureType, (VkInstance_T *)params->pInstance); } -bool cppIVRSystem_IVRSystem_019_IsDisplayOnDesktop(void *linux_side) +void cppIVRSystem_IVRSystem_019_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_019_IsDisplayOnDesktop_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsDisplayOnDesktop(); } -bool cppIVRSystem_IVRSystem_019_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) +void cppIVRSystem_IVRSystem_019_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_019_SetDisplayVisibility_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->SetDisplayVisibility((bool)params->bIsVisibleOnDesktop); } -void cppIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void cppIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose_params *params ) { - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); + ((IVRSystem*)params->linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)params->eOrigin, (float)params->fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)params->pTrackedDevicePoseArray, (uint32_t)params->unTrackedDevicePoseArrayCount); } -void cppIVRSystem_IVRSystem_019_ResetSeatedZeroPose(void *linux_side) +void cppIVRSystem_IVRSystem_019_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_019_ResetSeatedZeroPose_params *params ) { - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); + ((IVRSystem*)params->linux_side)->ResetSeatedZeroPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); } -uint32_t cppIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +void cppIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)params->eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)params->punTrackedDeviceIndexArray, (uint32_t)params->unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)params->unRelativeToTrackedDeviceIndex); } -EDeviceActivityLevel cppIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) +void cppIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel_params *params ) { - EDeviceActivityLevel _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)params->unDeviceId); } -void cppIVRSystem_IVRSystem_019_ApplyTransform(void *linux_side, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void cppIVRSystem_IVRSystem_019_ApplyTransform( struct cppIVRSystem_IVRSystem_019_ApplyTransform_params *params ) { - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); + ((IVRSystem*)params->linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)params->pOutputPose, (const vr::TrackedDevicePose_t *)params->pTrackedDevicePose, (const vr::HmdMatrix34_t *)params->pTransform); } -TrackedDeviceIndex_t cppIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole(void *linux_side, ETrackedControllerRole unDeviceType) +void cppIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)unDeviceType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)params->unDeviceType); } -ETrackedControllerRole cppIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex_params *params ) { - ETrackedControllerRole _ret; - _ret = ((IVRSystem*)linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -ETrackedDeviceClass cppIVRSystem_IVRSystem_019_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_019_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_019_GetTrackedDeviceClass_params *params ) { - ETrackedDeviceClass _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_019_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_019_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_019_IsTrackedDeviceConnected_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -float cppIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty_params *params ) { - float _ret; - _ret = ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -int32_t cppIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint64_t cppIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty_params *params ) { - uint64_t _ret; - _ret = ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -HmdMatrix34_t cppIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint32_t cppIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void *pBuffer, uint32_t unBufferSize, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetArrayTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::PropertyTypeTag_t)propType, (void *)pBuffer, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetArrayTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::PropertyTypeTag_t)params->propType, (void *)params->pBuffer, (uint32_t)params->unBufferSize, (vr::ETrackedPropertyError *)params->pError); } -uint32_t cppIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::ETrackedPropertyError *)params->pError); } -const char * cppIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) +void cppIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)params->error); } -bool cppIVRSystem_IVRSystem_019_PollNextEvent(void *linux_side, winVREvent_t_1418 *pEvent, uint32_t uncbVREvent) +void cppIVRSystem_IVRSystem_019_PollNextEvent( struct cppIVRSystem_IVRSystem_019_PollNextEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_1418_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_1418_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_1418_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEvent(params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_1418_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -bool cppIVRSystem_IVRSystem_019_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, winVREvent_t_1418 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_019_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_019_PollNextEventWithPose_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_1418_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pEvent) - struct_VREvent_t_1418_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_1418_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pEvent) + struct_VREvent_t_1418_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -const char * cppIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) +void cppIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)params->eType); } -HiddenAreaMesh_t cppIVRSystem_IVRSystem_019_GetHiddenAreaMesh(void *linux_side, EVREye eEye, EHiddenAreaMeshType type) +void cppIVRSystem_IVRSystem_019_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_019_GetHiddenAreaMesh_params *params ) { - HiddenAreaMesh_t _ret; - _ret = ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye, (vr::EHiddenAreaMeshType)type); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetHiddenAreaMesh((vr::EVREye)params->eEye, (vr::EHiddenAreaMeshType)params->type); } -bool cppIVRSystem_IVRSystem_019_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1418 *pControllerState, uint32_t unControllerStateSize) +void cppIVRSystem_IVRSystem_019_GetControllerState( struct cppIVRSystem_IVRSystem_019_GetControllerState_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_1418_win_to_lin(pControllerState, &lin_pControllerState); - uint32_t lin_unControllerStateSize = unControllerStateSize ? sizeof(lin_pControllerState) : 0; - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize); - if (pControllerState) - struct_VRControllerState001_t_1418_lin_to_win(&lin_pControllerState, pControllerState, unControllerStateSize); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_1418_win_to_lin( params->pControllerState, &lin_pControllerState ); + uint32_t lin_unControllerStateSize = params->unControllerStateSize ? sizeof(lin_pControllerState) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize); + if (params->pControllerState) + struct_VRControllerState001_t_1418_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); } -bool cppIVRSystem_IVRSystem_019_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1418 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_019_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_019_GetControllerStateWithPose_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_1418_win_to_lin(pControllerState, &lin_pControllerState); - uint32_t lin_unControllerStateSize = unControllerStateSize ? sizeof(lin_pControllerState) : 0; - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pControllerState) - struct_VRControllerState001_t_1418_lin_to_win(&lin_pControllerState, pControllerState, unControllerStateSize); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_1418_win_to_lin( params->pControllerState, &lin_pControllerState ); + uint32_t lin_unControllerStateSize = params->unControllerStateSize ? sizeof(lin_pControllerState) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pControllerState) + struct_VRControllerState001_t_1418_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); } -void cppIVRSystem_IVRSystem_019_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void cppIVRSystem_IVRSystem_019_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_019_TriggerHapticPulse_params *params ) { - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); + ((IVRSystem*)params->linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, (uint32_t)params->unAxisId, (unsigned short)params->usDurationMicroSec); } -const char * cppIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) +void cppIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)params->eButtonId); } -const char * cppIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) +void cppIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)params->eAxisType); } -bool cppIVRSystem_IVRSystem_019_IsInputAvailable(void *linux_side) +void cppIVRSystem_IVRSystem_019_IsInputAvailable( struct cppIVRSystem_IVRSystem_019_IsInputAvailable_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsInputAvailable(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsInputAvailable(); } -bool cppIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers(void *linux_side) +void cppIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers( struct cppIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsSteamVRDrawingControllers(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsSteamVRDrawingControllers(); } -bool cppIVRSystem_IVRSystem_019_ShouldApplicationPause(void *linux_side) +void cppIVRSystem_IVRSystem_019_ShouldApplicationPause( struct cppIVRSystem_IVRSystem_019_ShouldApplicationPause_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->ShouldApplicationPause(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->ShouldApplicationPause(); } -bool cppIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork(void *linux_side) +void cppIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork( struct cppIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->ShouldApplicationReduceRenderingWork(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->ShouldApplicationReduceRenderingWork(); } -uint32_t cppIVRSystem_IVRSystem_019_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +void cppIVRSystem_IVRSystem_019_DriverDebugRequest( struct cppIVRSystem_IVRSystem_019_DriverDebugRequest_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (const char *)params->pchRequest, (char *)params->pchResponseBuffer, (uint32_t)params->unResponseBufferSize); } -EVRFirmwareError cppIVRSystem_IVRSystem_019_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_019_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_019_PerformFirmwareUpdate_params *params ) { - EVRFirmwareError _ret; - _ret = ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -void cppIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting(void *linux_side) +void cppIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting_params *params ) { - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); + ((IVRSystem*)params->linux_side)->AcknowledgeQuit_Exiting(); } -void cppIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt(void *linux_side) +void cppIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt_params *params ) { - ((IVRSystem*)linux_side)->AcknowledgeQuit_UserPrompt(); + ((IVRSystem*)params->linux_side)->AcknowledgeQuit_UserPrompt(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.h index 935d1b9a..cdd54e59 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.h @@ -1,53 +1,417 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_019_GetProjectionMatrix(void *, EVREye, float, float); -extern void cppIVRSystem_IVRSystem_019_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern bool cppIVRSystem_IVRSystem_019_ComputeDistortion(void *, EVREye, float, float, DistortionCoordinates_t *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_019_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_019_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_019_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_019_GetDXGIOutputInfo(void *, int32_t *); -extern void cppIVRSystem_IVRSystem_019_GetOutputDevice(void *, uint64_t *, ETextureType, VkInstance_T *); -extern bool cppIVRSystem_IVRSystem_019_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_019_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_019_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_019_ApplyTransform(void *, TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t *); -extern TrackedDeviceIndex_t cppIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole(void *, ETrackedControllerRole); -extern ETrackedControllerRole cppIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(void *, TrackedDeviceIndex_t); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_019_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_019_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, PropertyTypeTag_t, void *, uint32_t, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_019_PollNextEvent(void *, winVREvent_t_1418 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_019_PollNextEventWithPose(void *, ETrackingUniverseOrigin, winVREvent_t_1418 *, uint32_t, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_019_GetHiddenAreaMesh(void *, EVREye, EHiddenAreaMeshType); -extern bool cppIVRSystem_IVRSystem_019_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_1418 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_019_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_1418 *, uint32_t, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_019_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_019_IsInputAvailable(void *); -extern bool cppIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers(void *); -extern bool cppIVRSystem_IVRSystem_019_ShouldApplicationPause(void *); -extern bool cppIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork(void *); -extern uint32_t cppIVRSystem_IVRSystem_019_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); -extern EVRFirmwareError cppIVRSystem_IVRSystem_019_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting(void *); -extern void cppIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt(void *); +struct cppIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + EVREye eEye; + float fNearZ; + float fFarZ; +}; +extern void cppIVRSystem_IVRSystem_019_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_019_GetProjectionMatrix_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetProjectionRaw_params +{ + void *linux_side; + EVREye eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; +extern void cppIVRSystem_IVRSystem_019_GetProjectionRaw( struct cppIVRSystem_IVRSystem_019_GetProjectionRaw_params *params ); + +struct cppIVRSystem_IVRSystem_019_ComputeDistortion_params +{ + void *linux_side; + bool _ret; + EVREye eEye; + float fU; + float fV; + DistortionCoordinates_t *pDistortionCoordinates; +}; +extern void cppIVRSystem_IVRSystem_019_ComputeDistortion( struct cppIVRSystem_IVRSystem_019_ComputeDistortion_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + EVREye eEye; +}; +extern void cppIVRSystem_IVRSystem_019_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_019_GetEyeToHeadTransform_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetTimeSinceLastVsync_params +{ + void *linux_side; + bool _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; +extern void cppIVRSystem_IVRSystem_019_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_019_GetTimeSinceLastVsync_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; +extern void cppIVRSystem_IVRSystem_019_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_019_GetD3D9AdapterIndex_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; +extern void cppIVRSystem_IVRSystem_019_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_019_GetDXGIOutputInfo_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetOutputDevice_params +{ + void *linux_side; + uint64_t *pnDevice; + ETextureType textureType; + VkInstance_T *pInstance; +}; +extern void cppIVRSystem_IVRSystem_019_GetOutputDevice( struct cppIVRSystem_IVRSystem_019_GetOutputDevice_params *params ); + +struct cppIVRSystem_IVRSystem_019_IsDisplayOnDesktop_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_019_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_019_IsDisplayOnDesktop_params *params ); + +struct cppIVRSystem_IVRSystem_019_SetDisplayVisibility_params +{ + void *linux_side; + bool _ret; + bool bIsVisibleOnDesktop; +}; +extern void cppIVRSystem_IVRSystem_019_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_019_SetDisplayVisibility_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; +extern void cppIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_019_ResetSeatedZeroPose_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_019_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_019_ResetSeatedZeroPose_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + ETrackedDeviceClass eTrackedDeviceClass; + TrackedDeviceIndex_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + EDeviceActivityLevel _ret; + TrackedDeviceIndex_t unDeviceId; +}; +extern void cppIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel_params *params ); + +struct cppIVRSystem_IVRSystem_019_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; +extern void cppIVRSystem_IVRSystem_019_ApplyTransform( struct cppIVRSystem_IVRSystem_019_ApplyTransform_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; + ETrackedControllerRole unDeviceType; +}; +extern void cppIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex_params +{ + void *linux_side; + ETrackedControllerRole _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetTrackedDeviceClass_params +{ + void *linux_side; + ETrackedDeviceClass _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_019_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_019_GetTrackedDeviceClass_params *params ); + +struct cppIVRSystem_IVRSystem_019_IsTrackedDeviceConnected_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_019_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_019_IsTrackedDeviceConnected_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + PropertyTypeTag_t propType; + void *pBuffer; + uint32_t unBufferSize; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + char *pchValue; + uint32_t unBufferSize; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + ETrackedPropertyError error; +}; +extern void cppIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_019_PollNextEvent_params +{ + void *linux_side; + bool _ret; + winVREvent_t_1418 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVRSystem_IVRSystem_019_PollNextEvent( struct cppIVRSystem_IVRSystem_019_PollNextEvent_params *params ); + +struct cppIVRSystem_IVRSystem_019_PollNextEventWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + winVREvent_t_1418 *pEvent; + uint32_t uncbVREvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_019_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_019_PollNextEventWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVREventType eType; +}; +extern void cppIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetHiddenAreaMesh_params +{ + void *linux_side; + HiddenAreaMesh_t *_ret; + EVREye eEye; + EHiddenAreaMeshType type; +}; +extern void cppIVRSystem_IVRSystem_019_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_019_GetHiddenAreaMesh_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetControllerState_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_1418 *pControllerState; + uint32_t unControllerStateSize; +}; +extern void cppIVRSystem_IVRSystem_019_GetControllerState( struct cppIVRSystem_IVRSystem_019_GetControllerState_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetControllerStateWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_1418 *pControllerState; + uint32_t unControllerStateSize; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_019_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_019_GetControllerStateWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_019_TriggerHapticPulse_params +{ + void *linux_side; + TrackedDeviceIndex_t unControllerDeviceIndex; + uint32_t unAxisId; + unsigned short usDurationMicroSec; +}; +extern void cppIVRSystem_IVRSystem_019_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_019_TriggerHapticPulse_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRButtonId eButtonId; +}; +extern void cppIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRControllerAxisType eAxisType; +}; +extern void cppIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_019_IsInputAvailable_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_019_IsInputAvailable( struct cppIVRSystem_IVRSystem_019_IsInputAvailable_params *params ); + +struct cppIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers( struct cppIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers_params *params ); + +struct cppIVRSystem_IVRSystem_019_ShouldApplicationPause_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_019_ShouldApplicationPause( struct cppIVRSystem_IVRSystem_019_ShouldApplicationPause_params *params ); + +struct cppIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork( struct cppIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork_params *params ); + +struct cppIVRSystem_IVRSystem_019_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; +extern void cppIVRSystem_IVRSystem_019_DriverDebugRequest( struct cppIVRSystem_IVRSystem_019_DriverDebugRequest_params *params ); + +struct cppIVRSystem_IVRSystem_019_PerformFirmwareUpdate_params +{ + void *linux_side; + EVRFirmwareError _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_019_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_019_PerformFirmwareUpdate_params *params ); + +struct cppIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting_params *params ); + +struct cppIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.cpp index 3af59a20..e6c3f741 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.cpp @@ -9,344 +9,268 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize(void *linux_side, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize_params *params ) { - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetRecommendedRenderTargetSize((uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -HmdMatrix44_t cppIVRSystem_IVRSystem_020_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ) +void cppIVRSystem_IVRSystem_020_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_020_GetProjectionMatrix_params *params ) { - HmdMatrix44_t _ret; - _ret = ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetProjectionMatrix((vr::EVREye)params->eEye, (float)params->fNearZ, (float)params->fFarZ); } -void cppIVRSystem_IVRSystem_020_GetProjectionRaw(void *linux_side, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void cppIVRSystem_IVRSystem_020_GetProjectionRaw( struct cppIVRSystem_IVRSystem_020_GetProjectionRaw_params *params ) { - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); + ((IVRSystem*)params->linux_side)->GetProjectionRaw((vr::EVREye)params->eEye, (float *)params->pfLeft, (float *)params->pfRight, (float *)params->pfTop, (float *)params->pfBottom); } -bool cppIVRSystem_IVRSystem_020_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +void cppIVRSystem_IVRSystem_020_ComputeDistortion( struct cppIVRSystem_IVRSystem_020_ComputeDistortion_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV, (vr::DistortionCoordinates_t *)pDistortionCoordinates); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->ComputeDistortion((vr::EVREye)params->eEye, (float)params->fU, (float)params->fV, (vr::DistortionCoordinates_t *)params->pDistortionCoordinates); } -HmdMatrix34_t cppIVRSystem_IVRSystem_020_GetEyeToHeadTransform(void *linux_side, EVREye eEye) +void cppIVRSystem_IVRSystem_020_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_020_GetEyeToHeadTransform_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetEyeToHeadTransform((vr::EVREye)params->eEye); } -bool cppIVRSystem_IVRSystem_020_GetTimeSinceLastVsync(void *linux_side, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +void cppIVRSystem_IVRSystem_020_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_020_GetTimeSinceLastVsync_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTimeSinceLastVsync((float *)params->pfSecondsSinceLastVsync, (uint64_t *)params->pulFrameCounter); } -int32_t cppIVRSystem_IVRSystem_020_GetD3D9AdapterIndex(void *linux_side) +void cppIVRSystem_IVRSystem_020_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_020_GetD3D9AdapterIndex_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetD3D9AdapterIndex(); } -void cppIVRSystem_IVRSystem_020_GetDXGIOutputInfo(void *linux_side, int32_t *pnAdapterIndex) +void cppIVRSystem_IVRSystem_020_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_020_GetDXGIOutputInfo_params *params ) { - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); + ((IVRSystem*)params->linux_side)->GetDXGIOutputInfo((int32_t *)params->pnAdapterIndex); } -void cppIVRSystem_IVRSystem_020_GetOutputDevice(void *linux_side, uint64_t *pnDevice, ETextureType textureType, VkInstance_T *pInstance) +void cppIVRSystem_IVRSystem_020_GetOutputDevice( struct cppIVRSystem_IVRSystem_020_GetOutputDevice_params *params ) { - ((IVRSystem*)linux_side)->GetOutputDevice((uint64_t *)pnDevice, (vr::ETextureType)textureType, (VkInstance_T *)pInstance); + ((IVRSystem*)params->linux_side)->GetOutputDevice((uint64_t *)params->pnDevice, (vr::ETextureType)params->textureType, (VkInstance_T *)params->pInstance); } -bool cppIVRSystem_IVRSystem_020_IsDisplayOnDesktop(void *linux_side) +void cppIVRSystem_IVRSystem_020_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_020_IsDisplayOnDesktop_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsDisplayOnDesktop(); } -bool cppIVRSystem_IVRSystem_020_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) +void cppIVRSystem_IVRSystem_020_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_020_SetDisplayVisibility_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->SetDisplayVisibility((bool)params->bIsVisibleOnDesktop); } -void cppIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void cppIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose_params *params ) { - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); + ((IVRSystem*)params->linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)params->eOrigin, (float)params->fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)params->pTrackedDevicePoseArray, (uint32_t)params->unTrackedDevicePoseArrayCount); } -void cppIVRSystem_IVRSystem_020_ResetSeatedZeroPose(void *linux_side) +void cppIVRSystem_IVRSystem_020_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_020_ResetSeatedZeroPose_params *params ) { - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); + ((IVRSystem*)params->linux_side)->ResetSeatedZeroPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); } -uint32_t cppIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +void cppIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)params->eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)params->punTrackedDeviceIndexArray, (uint32_t)params->unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)params->unRelativeToTrackedDeviceIndex); } -EDeviceActivityLevel cppIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) +void cppIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel_params *params ) { - EDeviceActivityLevel _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)params->unDeviceId); } -void cppIVRSystem_IVRSystem_020_ApplyTransform(void *linux_side, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void cppIVRSystem_IVRSystem_020_ApplyTransform( struct cppIVRSystem_IVRSystem_020_ApplyTransform_params *params ) { - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); + ((IVRSystem*)params->linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)params->pOutputPose, (const vr::TrackedDevicePose_t *)params->pTrackedDevicePose, (const vr::HmdMatrix34_t *)params->pTransform); } -TrackedDeviceIndex_t cppIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole(void *linux_side, ETrackedControllerRole unDeviceType) +void cppIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)unDeviceType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)params->unDeviceType); } -ETrackedControllerRole cppIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex_params *params ) { - ETrackedControllerRole _ret; - _ret = ((IVRSystem*)linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -ETrackedDeviceClass cppIVRSystem_IVRSystem_020_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_020_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_020_GetTrackedDeviceClass_params *params ) { - ETrackedDeviceClass _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_020_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_020_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_020_IsTrackedDeviceConnected_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -float cppIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty_params *params ) { - float _ret; - _ret = ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -int32_t cppIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint64_t cppIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty_params *params ) { - uint64_t _ret; - _ret = ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -HmdMatrix34_t cppIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint32_t cppIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void *pBuffer, uint32_t unBufferSize, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetArrayTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::PropertyTypeTag_t)propType, (void *)pBuffer, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetArrayTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::PropertyTypeTag_t)params->propType, (void *)params->pBuffer, (uint32_t)params->unBufferSize, (vr::ETrackedPropertyError *)params->pError); } -uint32_t cppIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::ETrackedPropertyError *)params->pError); } -const char * cppIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) +void cppIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)params->error); } -bool cppIVRSystem_IVRSystem_020_PollNextEvent(void *linux_side, winVREvent_t_1715 *pEvent, uint32_t uncbVREvent) +void cppIVRSystem_IVRSystem_020_PollNextEvent( struct cppIVRSystem_IVRSystem_020_PollNextEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_1715_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_1715_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_1715_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEvent(params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_1715_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -bool cppIVRSystem_IVRSystem_020_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, winVREvent_t_1715 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_020_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_020_PollNextEventWithPose_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_1715_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pEvent) - struct_VREvent_t_1715_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_1715_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pEvent) + struct_VREvent_t_1715_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -const char * cppIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) +void cppIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)params->eType); } -HiddenAreaMesh_t cppIVRSystem_IVRSystem_020_GetHiddenAreaMesh(void *linux_side, EVREye eEye, EHiddenAreaMeshType type) +void cppIVRSystem_IVRSystem_020_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_020_GetHiddenAreaMesh_params *params ) { - HiddenAreaMesh_t _ret; - _ret = ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye, (vr::EHiddenAreaMeshType)type); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetHiddenAreaMesh((vr::EVREye)params->eEye, (vr::EHiddenAreaMeshType)params->type); } -bool cppIVRSystem_IVRSystem_020_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1715 *pControllerState, uint32_t unControllerStateSize) +void cppIVRSystem_IVRSystem_020_GetControllerState( struct cppIVRSystem_IVRSystem_020_GetControllerState_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_1715_win_to_lin(pControllerState, &lin_pControllerState); - uint32_t lin_unControllerStateSize = unControllerStateSize ? sizeof(lin_pControllerState) : 0; - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize); - if (pControllerState) - struct_VRControllerState001_t_1715_lin_to_win(&lin_pControllerState, pControllerState, unControllerStateSize); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_1715_win_to_lin( params->pControllerState, &lin_pControllerState ); + uint32_t lin_unControllerStateSize = params->unControllerStateSize ? sizeof(lin_pControllerState) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize); + if (params->pControllerState) + struct_VRControllerState001_t_1715_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); } -bool cppIVRSystem_IVRSystem_020_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1715 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_020_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_020_GetControllerStateWithPose_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_1715_win_to_lin(pControllerState, &lin_pControllerState); - uint32_t lin_unControllerStateSize = unControllerStateSize ? sizeof(lin_pControllerState) : 0; - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pControllerState) - struct_VRControllerState001_t_1715_lin_to_win(&lin_pControllerState, pControllerState, unControllerStateSize); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_1715_win_to_lin( params->pControllerState, &lin_pControllerState ); + uint32_t lin_unControllerStateSize = params->unControllerStateSize ? sizeof(lin_pControllerState) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pControllerState) + struct_VRControllerState001_t_1715_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); } -void cppIVRSystem_IVRSystem_020_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void cppIVRSystem_IVRSystem_020_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_020_TriggerHapticPulse_params *params ) { - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); + ((IVRSystem*)params->linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, (uint32_t)params->unAxisId, (unsigned short)params->usDurationMicroSec); } -const char * cppIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) +void cppIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)params->eButtonId); } -const char * cppIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) +void cppIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)params->eAxisType); } -bool cppIVRSystem_IVRSystem_020_IsInputAvailable(void *linux_side) +void cppIVRSystem_IVRSystem_020_IsInputAvailable( struct cppIVRSystem_IVRSystem_020_IsInputAvailable_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsInputAvailable(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsInputAvailable(); } -bool cppIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers(void *linux_side) +void cppIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers( struct cppIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsSteamVRDrawingControllers(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsSteamVRDrawingControllers(); } -bool cppIVRSystem_IVRSystem_020_ShouldApplicationPause(void *linux_side) +void cppIVRSystem_IVRSystem_020_ShouldApplicationPause( struct cppIVRSystem_IVRSystem_020_ShouldApplicationPause_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->ShouldApplicationPause(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->ShouldApplicationPause(); } -bool cppIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork(void *linux_side) +void cppIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork( struct cppIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->ShouldApplicationReduceRenderingWork(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->ShouldApplicationReduceRenderingWork(); } -EVRFirmwareError cppIVRSystem_IVRSystem_020_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_020_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_020_PerformFirmwareUpdate_params *params ) { - EVRFirmwareError _ret; - _ret = ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -void cppIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting(void *linux_side) +void cppIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting_params *params ) { - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); + ((IVRSystem*)params->linux_side)->AcknowledgeQuit_Exiting(); } -void cppIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt(void *linux_side) +void cppIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt_params *params ) { - ((IVRSystem*)linux_side)->AcknowledgeQuit_UserPrompt(); + ((IVRSystem*)params->linux_side)->AcknowledgeQuit_UserPrompt(); } -uint32_t cppIVRSystem_IVRSystem_020_GetAppContainerFilePaths(void *linux_side, char *pchBuffer, uint32_t unBufferSize) +void cppIVRSystem_IVRSystem_020_GetAppContainerFilePaths( struct cppIVRSystem_IVRSystem_020_GetAppContainerFilePaths_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetAppContainerFilePaths((char *)pchBuffer, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetAppContainerFilePaths((char *)params->pchBuffer, (uint32_t)params->unBufferSize); } -const char * cppIVRSystem_IVRSystem_020_GetRuntimeVersion(void *linux_side) +void cppIVRSystem_IVRSystem_020_GetRuntimeVersion( struct cppIVRSystem_IVRSystem_020_GetRuntimeVersion_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetRuntimeVersion(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetRuntimeVersion(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.h index 2750f63f..f3f1834f 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.h @@ -1,54 +1,422 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_020_GetProjectionMatrix(void *, EVREye, float, float); -extern void cppIVRSystem_IVRSystem_020_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern bool cppIVRSystem_IVRSystem_020_ComputeDistortion(void *, EVREye, float, float, DistortionCoordinates_t *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_020_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_020_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_020_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_020_GetDXGIOutputInfo(void *, int32_t *); -extern void cppIVRSystem_IVRSystem_020_GetOutputDevice(void *, uint64_t *, ETextureType, VkInstance_T *); -extern bool cppIVRSystem_IVRSystem_020_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_020_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_020_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_020_ApplyTransform(void *, TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t *); -extern TrackedDeviceIndex_t cppIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole(void *, ETrackedControllerRole); -extern ETrackedControllerRole cppIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex(void *, TrackedDeviceIndex_t); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_020_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_020_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, PropertyTypeTag_t, void *, uint32_t, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_020_PollNextEvent(void *, winVREvent_t_1715 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_020_PollNextEventWithPose(void *, ETrackingUniverseOrigin, winVREvent_t_1715 *, uint32_t, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_020_GetHiddenAreaMesh(void *, EVREye, EHiddenAreaMeshType); -extern bool cppIVRSystem_IVRSystem_020_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_1715 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_020_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_1715 *, uint32_t, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_020_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_020_IsInputAvailable(void *); -extern bool cppIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers(void *); -extern bool cppIVRSystem_IVRSystem_020_ShouldApplicationPause(void *); -extern bool cppIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork(void *); -extern EVRFirmwareError cppIVRSystem_IVRSystem_020_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting(void *); -extern void cppIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt(void *); -extern uint32_t cppIVRSystem_IVRSystem_020_GetAppContainerFilePaths(void *, char *, uint32_t); -extern const char * cppIVRSystem_IVRSystem_020_GetRuntimeVersion(void *); +struct cppIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + EVREye eEye; + float fNearZ; + float fFarZ; +}; +extern void cppIVRSystem_IVRSystem_020_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_020_GetProjectionMatrix_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetProjectionRaw_params +{ + void *linux_side; + EVREye eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; +extern void cppIVRSystem_IVRSystem_020_GetProjectionRaw( struct cppIVRSystem_IVRSystem_020_GetProjectionRaw_params *params ); + +struct cppIVRSystem_IVRSystem_020_ComputeDistortion_params +{ + void *linux_side; + bool _ret; + EVREye eEye; + float fU; + float fV; + DistortionCoordinates_t *pDistortionCoordinates; +}; +extern void cppIVRSystem_IVRSystem_020_ComputeDistortion( struct cppIVRSystem_IVRSystem_020_ComputeDistortion_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + EVREye eEye; +}; +extern void cppIVRSystem_IVRSystem_020_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_020_GetEyeToHeadTransform_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetTimeSinceLastVsync_params +{ + void *linux_side; + bool _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; +extern void cppIVRSystem_IVRSystem_020_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_020_GetTimeSinceLastVsync_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; +extern void cppIVRSystem_IVRSystem_020_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_020_GetD3D9AdapterIndex_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; +extern void cppIVRSystem_IVRSystem_020_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_020_GetDXGIOutputInfo_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetOutputDevice_params +{ + void *linux_side; + uint64_t *pnDevice; + ETextureType textureType; + VkInstance_T *pInstance; +}; +extern void cppIVRSystem_IVRSystem_020_GetOutputDevice( struct cppIVRSystem_IVRSystem_020_GetOutputDevice_params *params ); + +struct cppIVRSystem_IVRSystem_020_IsDisplayOnDesktop_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_020_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_020_IsDisplayOnDesktop_params *params ); + +struct cppIVRSystem_IVRSystem_020_SetDisplayVisibility_params +{ + void *linux_side; + bool _ret; + bool bIsVisibleOnDesktop; +}; +extern void cppIVRSystem_IVRSystem_020_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_020_SetDisplayVisibility_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; +extern void cppIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_020_ResetSeatedZeroPose_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_020_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_020_ResetSeatedZeroPose_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + ETrackedDeviceClass eTrackedDeviceClass; + TrackedDeviceIndex_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + EDeviceActivityLevel _ret; + TrackedDeviceIndex_t unDeviceId; +}; +extern void cppIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel_params *params ); + +struct cppIVRSystem_IVRSystem_020_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; +extern void cppIVRSystem_IVRSystem_020_ApplyTransform( struct cppIVRSystem_IVRSystem_020_ApplyTransform_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; + ETrackedControllerRole unDeviceType; +}; +extern void cppIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex_params +{ + void *linux_side; + ETrackedControllerRole _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetTrackedDeviceClass_params +{ + void *linux_side; + ETrackedDeviceClass _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_020_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_020_GetTrackedDeviceClass_params *params ); + +struct cppIVRSystem_IVRSystem_020_IsTrackedDeviceConnected_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_020_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_020_IsTrackedDeviceConnected_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + PropertyTypeTag_t propType; + void *pBuffer; + uint32_t unBufferSize; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + char *pchValue; + uint32_t unBufferSize; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + ETrackedPropertyError error; +}; +extern void cppIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_020_PollNextEvent_params +{ + void *linux_side; + bool _ret; + winVREvent_t_1715 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVRSystem_IVRSystem_020_PollNextEvent( struct cppIVRSystem_IVRSystem_020_PollNextEvent_params *params ); + +struct cppIVRSystem_IVRSystem_020_PollNextEventWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + winVREvent_t_1715 *pEvent; + uint32_t uncbVREvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_020_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_020_PollNextEventWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVREventType eType; +}; +extern void cppIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetHiddenAreaMesh_params +{ + void *linux_side; + HiddenAreaMesh_t *_ret; + EVREye eEye; + EHiddenAreaMeshType type; +}; +extern void cppIVRSystem_IVRSystem_020_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_020_GetHiddenAreaMesh_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetControllerState_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_1715 *pControllerState; + uint32_t unControllerStateSize; +}; +extern void cppIVRSystem_IVRSystem_020_GetControllerState( struct cppIVRSystem_IVRSystem_020_GetControllerState_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetControllerStateWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_1715 *pControllerState; + uint32_t unControllerStateSize; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_020_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_020_GetControllerStateWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_020_TriggerHapticPulse_params +{ + void *linux_side; + TrackedDeviceIndex_t unControllerDeviceIndex; + uint32_t unAxisId; + unsigned short usDurationMicroSec; +}; +extern void cppIVRSystem_IVRSystem_020_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_020_TriggerHapticPulse_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRButtonId eButtonId; +}; +extern void cppIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRControllerAxisType eAxisType; +}; +extern void cppIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_020_IsInputAvailable_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_020_IsInputAvailable( struct cppIVRSystem_IVRSystem_020_IsInputAvailable_params *params ); + +struct cppIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers( struct cppIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers_params *params ); + +struct cppIVRSystem_IVRSystem_020_ShouldApplicationPause_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_020_ShouldApplicationPause( struct cppIVRSystem_IVRSystem_020_ShouldApplicationPause_params *params ); + +struct cppIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork( struct cppIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork_params *params ); + +struct cppIVRSystem_IVRSystem_020_PerformFirmwareUpdate_params +{ + void *linux_side; + EVRFirmwareError _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_020_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_020_PerformFirmwareUpdate_params *params ); + +struct cppIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting_params *params ); + +struct cppIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetAppContainerFilePaths_params +{ + void *linux_side; + uint32_t _ret; + char *pchBuffer; + uint32_t unBufferSize; +}; +extern void cppIVRSystem_IVRSystem_020_GetAppContainerFilePaths( struct cppIVRSystem_IVRSystem_020_GetAppContainerFilePaths_params *params ); + +struct cppIVRSystem_IVRSystem_020_GetRuntimeVersion_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppIVRSystem_IVRSystem_020_GetRuntimeVersion( struct cppIVRSystem_IVRSystem_020_GetRuntimeVersion_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_021.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_021.cpp index dbd82121..f4fe98f8 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_021.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_021.cpp @@ -9,339 +9,263 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize(void *linux_side, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize_params *params ) { - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetRecommendedRenderTargetSize((uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -HmdMatrix44_t cppIVRSystem_IVRSystem_021_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ) +void cppIVRSystem_IVRSystem_021_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_021_GetProjectionMatrix_params *params ) { - HmdMatrix44_t _ret; - _ret = ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetProjectionMatrix((vr::EVREye)params->eEye, (float)params->fNearZ, (float)params->fFarZ); } -void cppIVRSystem_IVRSystem_021_GetProjectionRaw(void *linux_side, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void cppIVRSystem_IVRSystem_021_GetProjectionRaw( struct cppIVRSystem_IVRSystem_021_GetProjectionRaw_params *params ) { - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); + ((IVRSystem*)params->linux_side)->GetProjectionRaw((vr::EVREye)params->eEye, (float *)params->pfLeft, (float *)params->pfRight, (float *)params->pfTop, (float *)params->pfBottom); } -bool cppIVRSystem_IVRSystem_021_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +void cppIVRSystem_IVRSystem_021_ComputeDistortion( struct cppIVRSystem_IVRSystem_021_ComputeDistortion_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV, (vr::DistortionCoordinates_t *)pDistortionCoordinates); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->ComputeDistortion((vr::EVREye)params->eEye, (float)params->fU, (float)params->fV, (vr::DistortionCoordinates_t *)params->pDistortionCoordinates); } -HmdMatrix34_t cppIVRSystem_IVRSystem_021_GetEyeToHeadTransform(void *linux_side, EVREye eEye) +void cppIVRSystem_IVRSystem_021_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_021_GetEyeToHeadTransform_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetEyeToHeadTransform((vr::EVREye)params->eEye); } -bool cppIVRSystem_IVRSystem_021_GetTimeSinceLastVsync(void *linux_side, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +void cppIVRSystem_IVRSystem_021_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_021_GetTimeSinceLastVsync_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTimeSinceLastVsync((float *)params->pfSecondsSinceLastVsync, (uint64_t *)params->pulFrameCounter); } -int32_t cppIVRSystem_IVRSystem_021_GetD3D9AdapterIndex(void *linux_side) +void cppIVRSystem_IVRSystem_021_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_021_GetD3D9AdapterIndex_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetD3D9AdapterIndex(); } -void cppIVRSystem_IVRSystem_021_GetDXGIOutputInfo(void *linux_side, int32_t *pnAdapterIndex) +void cppIVRSystem_IVRSystem_021_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_021_GetDXGIOutputInfo_params *params ) { - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); + ((IVRSystem*)params->linux_side)->GetDXGIOutputInfo((int32_t *)params->pnAdapterIndex); } -void cppIVRSystem_IVRSystem_021_GetOutputDevice(void *linux_side, uint64_t *pnDevice, ETextureType textureType, VkInstance_T *pInstance) +void cppIVRSystem_IVRSystem_021_GetOutputDevice( struct cppIVRSystem_IVRSystem_021_GetOutputDevice_params *params ) { - ((IVRSystem*)linux_side)->GetOutputDevice((uint64_t *)pnDevice, (vr::ETextureType)textureType, (VkInstance_T *)pInstance); + ((IVRSystem*)params->linux_side)->GetOutputDevice((uint64_t *)params->pnDevice, (vr::ETextureType)params->textureType, (VkInstance_T *)params->pInstance); } -bool cppIVRSystem_IVRSystem_021_IsDisplayOnDesktop(void *linux_side) +void cppIVRSystem_IVRSystem_021_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_021_IsDisplayOnDesktop_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsDisplayOnDesktop(); } -bool cppIVRSystem_IVRSystem_021_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) +void cppIVRSystem_IVRSystem_021_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_021_SetDisplayVisibility_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->SetDisplayVisibility((bool)params->bIsVisibleOnDesktop); } -void cppIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void cppIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose_params *params ) { - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); + ((IVRSystem*)params->linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)params->eOrigin, (float)params->fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)params->pTrackedDevicePoseArray, (uint32_t)params->unTrackedDevicePoseArrayCount); } -void cppIVRSystem_IVRSystem_021_ResetSeatedZeroPose(void *linux_side) +void cppIVRSystem_IVRSystem_021_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_021_ResetSeatedZeroPose_params *params ) { - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); + ((IVRSystem*)params->linux_side)->ResetSeatedZeroPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); } -uint32_t cppIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +void cppIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)params->eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)params->punTrackedDeviceIndexArray, (uint32_t)params->unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)params->unRelativeToTrackedDeviceIndex); } -EDeviceActivityLevel cppIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) +void cppIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel_params *params ) { - EDeviceActivityLevel _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)params->unDeviceId); } -void cppIVRSystem_IVRSystem_021_ApplyTransform(void *linux_side, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void cppIVRSystem_IVRSystem_021_ApplyTransform( struct cppIVRSystem_IVRSystem_021_ApplyTransform_params *params ) { - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); + ((IVRSystem*)params->linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)params->pOutputPose, (const vr::TrackedDevicePose_t *)params->pTrackedDevicePose, (const vr::HmdMatrix34_t *)params->pTransform); } -TrackedDeviceIndex_t cppIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole(void *linux_side, ETrackedControllerRole unDeviceType) +void cppIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)unDeviceType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)params->unDeviceType); } -ETrackedControllerRole cppIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex_params *params ) { - ETrackedControllerRole _ret; - _ret = ((IVRSystem*)linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -ETrackedDeviceClass cppIVRSystem_IVRSystem_021_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_021_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_021_GetTrackedDeviceClass_params *params ) { - ETrackedDeviceClass _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_021_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_021_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_021_IsTrackedDeviceConnected_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -float cppIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty_params *params ) { - float _ret; - _ret = ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -int32_t cppIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint64_t cppIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty_params *params ) { - uint64_t _ret; - _ret = ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -HmdMatrix34_t cppIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint32_t cppIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void *pBuffer, uint32_t unBufferSize, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetArrayTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::PropertyTypeTag_t)propType, (void *)pBuffer, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetArrayTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::PropertyTypeTag_t)params->propType, (void *)params->pBuffer, (uint32_t)params->unBufferSize, (vr::ETrackedPropertyError *)params->pError); } -uint32_t cppIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::ETrackedPropertyError *)params->pError); } -const char * cppIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) +void cppIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)params->error); } -bool cppIVRSystem_IVRSystem_021_PollNextEvent(void *linux_side, winVREvent_t_1125 *pEvent, uint32_t uncbVREvent) +void cppIVRSystem_IVRSystem_021_PollNextEvent( struct cppIVRSystem_IVRSystem_021_PollNextEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_1125_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_1125_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_1125_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEvent(params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_1125_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -bool cppIVRSystem_IVRSystem_021_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, winVREvent_t_1125 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_021_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_021_PollNextEventWithPose_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_1125_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pEvent) - struct_VREvent_t_1125_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_1125_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pEvent) + struct_VREvent_t_1125_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -const char * cppIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) +void cppIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)params->eType); } -HiddenAreaMesh_t cppIVRSystem_IVRSystem_021_GetHiddenAreaMesh(void *linux_side, EVREye eEye, EHiddenAreaMeshType type) +void cppIVRSystem_IVRSystem_021_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_021_GetHiddenAreaMesh_params *params ) { - HiddenAreaMesh_t _ret; - _ret = ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye, (vr::EHiddenAreaMeshType)type); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetHiddenAreaMesh((vr::EVREye)params->eEye, (vr::EHiddenAreaMeshType)params->type); } -bool cppIVRSystem_IVRSystem_021_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1125 *pControllerState, uint32_t unControllerStateSize) +void cppIVRSystem_IVRSystem_021_GetControllerState( struct cppIVRSystem_IVRSystem_021_GetControllerState_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_1125_win_to_lin(pControllerState, &lin_pControllerState); - uint32_t lin_unControllerStateSize = unControllerStateSize ? sizeof(lin_pControllerState) : 0; - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize); - if (pControllerState) - struct_VRControllerState001_t_1125_lin_to_win(&lin_pControllerState, pControllerState, unControllerStateSize); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_1125_win_to_lin( params->pControllerState, &lin_pControllerState ); + uint32_t lin_unControllerStateSize = params->unControllerStateSize ? sizeof(lin_pControllerState) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize); + if (params->pControllerState) + struct_VRControllerState001_t_1125_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); } -bool cppIVRSystem_IVRSystem_021_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1125 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_021_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_021_GetControllerStateWithPose_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_1125_win_to_lin(pControllerState, &lin_pControllerState); - uint32_t lin_unControllerStateSize = unControllerStateSize ? sizeof(lin_pControllerState) : 0; - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pControllerState) - struct_VRControllerState001_t_1125_lin_to_win(&lin_pControllerState, pControllerState, unControllerStateSize); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_1125_win_to_lin( params->pControllerState, &lin_pControllerState ); + uint32_t lin_unControllerStateSize = params->unControllerStateSize ? sizeof(lin_pControllerState) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pControllerState) + struct_VRControllerState001_t_1125_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); } -void cppIVRSystem_IVRSystem_021_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void cppIVRSystem_IVRSystem_021_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_021_TriggerHapticPulse_params *params ) { - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); + ((IVRSystem*)params->linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, (uint32_t)params->unAxisId, (unsigned short)params->usDurationMicroSec); } -const char * cppIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) +void cppIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)params->eButtonId); } -const char * cppIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) +void cppIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)params->eAxisType); } -bool cppIVRSystem_IVRSystem_021_IsInputAvailable(void *linux_side) +void cppIVRSystem_IVRSystem_021_IsInputAvailable( struct cppIVRSystem_IVRSystem_021_IsInputAvailable_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsInputAvailable(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsInputAvailable(); } -bool cppIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers(void *linux_side) +void cppIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers( struct cppIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsSteamVRDrawingControllers(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsSteamVRDrawingControllers(); } -bool cppIVRSystem_IVRSystem_021_ShouldApplicationPause(void *linux_side) +void cppIVRSystem_IVRSystem_021_ShouldApplicationPause( struct cppIVRSystem_IVRSystem_021_ShouldApplicationPause_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->ShouldApplicationPause(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->ShouldApplicationPause(); } -bool cppIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork(void *linux_side) +void cppIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork( struct cppIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->ShouldApplicationReduceRenderingWork(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->ShouldApplicationReduceRenderingWork(); } -EVRFirmwareError cppIVRSystem_IVRSystem_021_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_021_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_021_PerformFirmwareUpdate_params *params ) { - EVRFirmwareError _ret; - _ret = ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -void cppIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting(void *linux_side) +void cppIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting_params *params ) { - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); + ((IVRSystem*)params->linux_side)->AcknowledgeQuit_Exiting(); } -uint32_t cppIVRSystem_IVRSystem_021_GetAppContainerFilePaths(void *linux_side, char *pchBuffer, uint32_t unBufferSize) +void cppIVRSystem_IVRSystem_021_GetAppContainerFilePaths( struct cppIVRSystem_IVRSystem_021_GetAppContainerFilePaths_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetAppContainerFilePaths((char *)pchBuffer, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetAppContainerFilePaths((char *)params->pchBuffer, (uint32_t)params->unBufferSize); } -const char * cppIVRSystem_IVRSystem_021_GetRuntimeVersion(void *linux_side) +void cppIVRSystem_IVRSystem_021_GetRuntimeVersion( struct cppIVRSystem_IVRSystem_021_GetRuntimeVersion_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetRuntimeVersion(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetRuntimeVersion(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_021.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_021.h index e085ec6d..3d99f5d0 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_021.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_021.h @@ -1,53 +1,416 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_021_GetProjectionMatrix(void *, EVREye, float, float); -extern void cppIVRSystem_IVRSystem_021_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern bool cppIVRSystem_IVRSystem_021_ComputeDistortion(void *, EVREye, float, float, DistortionCoordinates_t *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_021_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_021_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_021_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_021_GetDXGIOutputInfo(void *, int32_t *); -extern void cppIVRSystem_IVRSystem_021_GetOutputDevice(void *, uint64_t *, ETextureType, VkInstance_T *); -extern bool cppIVRSystem_IVRSystem_021_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_021_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_021_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_021_ApplyTransform(void *, TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t *); -extern TrackedDeviceIndex_t cppIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole(void *, ETrackedControllerRole); -extern ETrackedControllerRole cppIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(void *, TrackedDeviceIndex_t); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_021_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_021_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, PropertyTypeTag_t, void *, uint32_t, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_021_PollNextEvent(void *, winVREvent_t_1125 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_021_PollNextEventWithPose(void *, ETrackingUniverseOrigin, winVREvent_t_1125 *, uint32_t, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_021_GetHiddenAreaMesh(void *, EVREye, EHiddenAreaMeshType); -extern bool cppIVRSystem_IVRSystem_021_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_1125 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_021_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_1125 *, uint32_t, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_021_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_021_IsInputAvailable(void *); -extern bool cppIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers(void *); -extern bool cppIVRSystem_IVRSystem_021_ShouldApplicationPause(void *); -extern bool cppIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork(void *); -extern EVRFirmwareError cppIVRSystem_IVRSystem_021_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting(void *); -extern uint32_t cppIVRSystem_IVRSystem_021_GetAppContainerFilePaths(void *, char *, uint32_t); -extern const char * cppIVRSystem_IVRSystem_021_GetRuntimeVersion(void *); +struct cppIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + EVREye eEye; + float fNearZ; + float fFarZ; +}; +extern void cppIVRSystem_IVRSystem_021_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_021_GetProjectionMatrix_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetProjectionRaw_params +{ + void *linux_side; + EVREye eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; +extern void cppIVRSystem_IVRSystem_021_GetProjectionRaw( struct cppIVRSystem_IVRSystem_021_GetProjectionRaw_params *params ); + +struct cppIVRSystem_IVRSystem_021_ComputeDistortion_params +{ + void *linux_side; + bool _ret; + EVREye eEye; + float fU; + float fV; + DistortionCoordinates_t *pDistortionCoordinates; +}; +extern void cppIVRSystem_IVRSystem_021_ComputeDistortion( struct cppIVRSystem_IVRSystem_021_ComputeDistortion_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + EVREye eEye; +}; +extern void cppIVRSystem_IVRSystem_021_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_021_GetEyeToHeadTransform_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetTimeSinceLastVsync_params +{ + void *linux_side; + bool _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; +extern void cppIVRSystem_IVRSystem_021_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_021_GetTimeSinceLastVsync_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; +extern void cppIVRSystem_IVRSystem_021_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_021_GetD3D9AdapterIndex_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; +extern void cppIVRSystem_IVRSystem_021_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_021_GetDXGIOutputInfo_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetOutputDevice_params +{ + void *linux_side; + uint64_t *pnDevice; + ETextureType textureType; + VkInstance_T *pInstance; +}; +extern void cppIVRSystem_IVRSystem_021_GetOutputDevice( struct cppIVRSystem_IVRSystem_021_GetOutputDevice_params *params ); + +struct cppIVRSystem_IVRSystem_021_IsDisplayOnDesktop_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_021_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_021_IsDisplayOnDesktop_params *params ); + +struct cppIVRSystem_IVRSystem_021_SetDisplayVisibility_params +{ + void *linux_side; + bool _ret; + bool bIsVisibleOnDesktop; +}; +extern void cppIVRSystem_IVRSystem_021_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_021_SetDisplayVisibility_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; +extern void cppIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_021_ResetSeatedZeroPose_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_021_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_021_ResetSeatedZeroPose_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + ETrackedDeviceClass eTrackedDeviceClass; + TrackedDeviceIndex_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + EDeviceActivityLevel _ret; + TrackedDeviceIndex_t unDeviceId; +}; +extern void cppIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel_params *params ); + +struct cppIVRSystem_IVRSystem_021_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; +extern void cppIVRSystem_IVRSystem_021_ApplyTransform( struct cppIVRSystem_IVRSystem_021_ApplyTransform_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; + ETrackedControllerRole unDeviceType; +}; +extern void cppIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex_params +{ + void *linux_side; + ETrackedControllerRole _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetTrackedDeviceClass_params +{ + void *linux_side; + ETrackedDeviceClass _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_021_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_021_GetTrackedDeviceClass_params *params ); + +struct cppIVRSystem_IVRSystem_021_IsTrackedDeviceConnected_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_021_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_021_IsTrackedDeviceConnected_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + PropertyTypeTag_t propType; + void *pBuffer; + uint32_t unBufferSize; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + char *pchValue; + uint32_t unBufferSize; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + ETrackedPropertyError error; +}; +extern void cppIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_021_PollNextEvent_params +{ + void *linux_side; + bool _ret; + winVREvent_t_1125 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVRSystem_IVRSystem_021_PollNextEvent( struct cppIVRSystem_IVRSystem_021_PollNextEvent_params *params ); + +struct cppIVRSystem_IVRSystem_021_PollNextEventWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + winVREvent_t_1125 *pEvent; + uint32_t uncbVREvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_021_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_021_PollNextEventWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVREventType eType; +}; +extern void cppIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetHiddenAreaMesh_params +{ + void *linux_side; + HiddenAreaMesh_t *_ret; + EVREye eEye; + EHiddenAreaMeshType type; +}; +extern void cppIVRSystem_IVRSystem_021_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_021_GetHiddenAreaMesh_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetControllerState_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_1125 *pControllerState; + uint32_t unControllerStateSize; +}; +extern void cppIVRSystem_IVRSystem_021_GetControllerState( struct cppIVRSystem_IVRSystem_021_GetControllerState_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetControllerStateWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_1125 *pControllerState; + uint32_t unControllerStateSize; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_021_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_021_GetControllerStateWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_021_TriggerHapticPulse_params +{ + void *linux_side; + TrackedDeviceIndex_t unControllerDeviceIndex; + uint32_t unAxisId; + unsigned short usDurationMicroSec; +}; +extern void cppIVRSystem_IVRSystem_021_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_021_TriggerHapticPulse_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRButtonId eButtonId; +}; +extern void cppIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRControllerAxisType eAxisType; +}; +extern void cppIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_021_IsInputAvailable_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_021_IsInputAvailable( struct cppIVRSystem_IVRSystem_021_IsInputAvailable_params *params ); + +struct cppIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers( struct cppIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers_params *params ); + +struct cppIVRSystem_IVRSystem_021_ShouldApplicationPause_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_021_ShouldApplicationPause( struct cppIVRSystem_IVRSystem_021_ShouldApplicationPause_params *params ); + +struct cppIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork( struct cppIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork_params *params ); + +struct cppIVRSystem_IVRSystem_021_PerformFirmwareUpdate_params +{ + void *linux_side; + EVRFirmwareError _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_021_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_021_PerformFirmwareUpdate_params *params ); + +struct cppIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetAppContainerFilePaths_params +{ + void *linux_side; + uint32_t _ret; + char *pchBuffer; + uint32_t unBufferSize; +}; +extern void cppIVRSystem_IVRSystem_021_GetAppContainerFilePaths( struct cppIVRSystem_IVRSystem_021_GetAppContainerFilePaths_params *params ); + +struct cppIVRSystem_IVRSystem_021_GetRuntimeVersion_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppIVRSystem_IVRSystem_021_GetRuntimeVersion( struct cppIVRSystem_IVRSystem_021_GetRuntimeVersion_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_022.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_022.cpp index e4bd2baf..643cc283 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_022.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_022.cpp @@ -9,334 +9,258 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -void cppIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize(void *linux_side, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize_params *params ) { - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); + ((IVRSystem*)params->linux_side)->GetRecommendedRenderTargetSize((uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -HmdMatrix44_t cppIVRSystem_IVRSystem_022_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ) +void cppIVRSystem_IVRSystem_022_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_022_GetProjectionMatrix_params *params ) { - HmdMatrix44_t _ret; - _ret = ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetProjectionMatrix((vr::EVREye)params->eEye, (float)params->fNearZ, (float)params->fFarZ); } -void cppIVRSystem_IVRSystem_022_GetProjectionRaw(void *linux_side, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +void cppIVRSystem_IVRSystem_022_GetProjectionRaw( struct cppIVRSystem_IVRSystem_022_GetProjectionRaw_params *params ) { - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); + ((IVRSystem*)params->linux_side)->GetProjectionRaw((vr::EVREye)params->eEye, (float *)params->pfLeft, (float *)params->pfRight, (float *)params->pfTop, (float *)params->pfBottom); } -bool cppIVRSystem_IVRSystem_022_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +void cppIVRSystem_IVRSystem_022_ComputeDistortion( struct cppIVRSystem_IVRSystem_022_ComputeDistortion_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV, (vr::DistortionCoordinates_t *)pDistortionCoordinates); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->ComputeDistortion((vr::EVREye)params->eEye, (float)params->fU, (float)params->fV, (vr::DistortionCoordinates_t *)params->pDistortionCoordinates); } -HmdMatrix34_t cppIVRSystem_IVRSystem_022_GetEyeToHeadTransform(void *linux_side, EVREye eEye) +void cppIVRSystem_IVRSystem_022_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_022_GetEyeToHeadTransform_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetEyeToHeadTransform((vr::EVREye)params->eEye); } -bool cppIVRSystem_IVRSystem_022_GetTimeSinceLastVsync(void *linux_side, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +void cppIVRSystem_IVRSystem_022_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_022_GetTimeSinceLastVsync_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTimeSinceLastVsync((float *)params->pfSecondsSinceLastVsync, (uint64_t *)params->pulFrameCounter); } -int32_t cppIVRSystem_IVRSystem_022_GetD3D9AdapterIndex(void *linux_side) +void cppIVRSystem_IVRSystem_022_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_022_GetD3D9AdapterIndex_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetD3D9AdapterIndex(); } -void cppIVRSystem_IVRSystem_022_GetDXGIOutputInfo(void *linux_side, int32_t *pnAdapterIndex) +void cppIVRSystem_IVRSystem_022_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_022_GetDXGIOutputInfo_params *params ) { - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); + ((IVRSystem*)params->linux_side)->GetDXGIOutputInfo((int32_t *)params->pnAdapterIndex); } -void cppIVRSystem_IVRSystem_022_GetOutputDevice(void *linux_side, uint64_t *pnDevice, ETextureType textureType, VkInstance_T *pInstance) +void cppIVRSystem_IVRSystem_022_GetOutputDevice( struct cppIVRSystem_IVRSystem_022_GetOutputDevice_params *params ) { - ((IVRSystem*)linux_side)->GetOutputDevice((uint64_t *)pnDevice, (vr::ETextureType)textureType, (VkInstance_T *)pInstance); + ((IVRSystem*)params->linux_side)->GetOutputDevice((uint64_t *)params->pnDevice, (vr::ETextureType)params->textureType, (VkInstance_T *)params->pInstance); } -bool cppIVRSystem_IVRSystem_022_IsDisplayOnDesktop(void *linux_side) +void cppIVRSystem_IVRSystem_022_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_022_IsDisplayOnDesktop_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsDisplayOnDesktop(); } -bool cppIVRSystem_IVRSystem_022_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) +void cppIVRSystem_IVRSystem_022_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_022_SetDisplayVisibility_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->SetDisplayVisibility((bool)params->bIsVisibleOnDesktop); } -void cppIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void cppIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose_params *params ) { - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); + ((IVRSystem*)params->linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)params->eOrigin, (float)params->fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)params->pTrackedDevicePoseArray, (uint32_t)params->unTrackedDevicePoseArrayCount); } -HmdMatrix34_t cppIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); } -HmdMatrix34_t cppIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) +void cppIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); } -uint32_t cppIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +void cppIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)params->eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)params->punTrackedDeviceIndexArray, (uint32_t)params->unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)params->unRelativeToTrackedDeviceIndex); } -EDeviceActivityLevel cppIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) +void cppIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel_params *params ) { - EDeviceActivityLevel _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)params->unDeviceId); } -void cppIVRSystem_IVRSystem_022_ApplyTransform(void *linux_side, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +void cppIVRSystem_IVRSystem_022_ApplyTransform( struct cppIVRSystem_IVRSystem_022_ApplyTransform_params *params ) { - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); + ((IVRSystem*)params->linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)params->pOutputPose, (const vr::TrackedDevicePose_t *)params->pTrackedDevicePose, (const vr::HmdMatrix34_t *)params->pTransform); } -TrackedDeviceIndex_t cppIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole(void *linux_side, ETrackedControllerRole unDeviceType) +void cppIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole_params *params ) { - TrackedDeviceIndex_t _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)unDeviceType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)params->unDeviceType); } -ETrackedControllerRole cppIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex_params *params ) { - ETrackedControllerRole _ret; - _ret = ((IVRSystem*)linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -ETrackedDeviceClass cppIVRSystem_IVRSystem_022_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_022_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_022_GetTrackedDeviceClass_params *params ) { - ETrackedDeviceClass _ret; - _ret = ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_022_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_022_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_022_IsTrackedDeviceConnected_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -bool cppIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -float cppIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty_params *params ) { - float _ret; - _ret = ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -int32_t cppIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty_params *params ) { - int32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint64_t cppIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty_params *params ) { - uint64_t _ret; - _ret = ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -HmdMatrix34_t cppIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty_params *params ) { - HmdMatrix34_t _ret; - _ret = ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::ETrackedPropertyError *)params->pError); } -uint32_t cppIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void *pBuffer, uint32_t unBufferSize, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetArrayTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::PropertyTypeTag_t)propType, (void *)pBuffer, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetArrayTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (vr::PropertyTypeTag_t)params->propType, (void *)params->pBuffer, (uint32_t)params->unBufferSize, (vr::ETrackedPropertyError *)params->pError); } -uint32_t cppIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError) +void cppIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)params->unDeviceIndex, (vr::ETrackedDeviceProperty)params->prop, (char *)params->pchValue, (uint32_t)params->unBufferSize, (vr::ETrackedPropertyError *)params->pError); } -const char * cppIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) +void cppIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)params->error); } -bool cppIVRSystem_IVRSystem_022_PollNextEvent(void *linux_side, winVREvent_t_1267 *pEvent, uint32_t uncbVREvent) +void cppIVRSystem_IVRSystem_022_PollNextEvent( struct cppIVRSystem_IVRSystem_022_PollNextEvent_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_1267_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); - if (pEvent) - struct_VREvent_t_1267_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_1267_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEvent(params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent); + if (params->pEvent) + struct_VREvent_t_1267_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -bool cppIVRSystem_IVRSystem_022_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, winVREvent_t_1267 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_022_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_022_PollNextEventWithPose_params *params ) { - bool _ret; VREvent_t lin_pEvent; - if (pEvent) - struct_VREvent_t_1267_win_to_lin(pEvent, &lin_pEvent); - uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin_pEvent) : 0; - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pEvent) - struct_VREvent_t_1267_lin_to_win(&lin_pEvent, pEvent, uncbVREvent); - return _ret; + if (params->pEvent) + struct_VREvent_t_1267_win_to_lin( params->pEvent, &lin_pEvent ); + uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pEvent) + struct_VREvent_t_1267_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent ); } -const char * cppIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) +void cppIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)params->eType); } -HiddenAreaMesh_t cppIVRSystem_IVRSystem_022_GetHiddenAreaMesh(void *linux_side, EVREye eEye, EHiddenAreaMeshType type) +void cppIVRSystem_IVRSystem_022_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_022_GetHiddenAreaMesh_params *params ) { - HiddenAreaMesh_t _ret; - _ret = ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye, (vr::EHiddenAreaMeshType)type); - return _ret; + *params->_ret = ((IVRSystem*)params->linux_side)->GetHiddenAreaMesh((vr::EVREye)params->eEye, (vr::EHiddenAreaMeshType)params->type); } -bool cppIVRSystem_IVRSystem_022_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1267 *pControllerState, uint32_t unControllerStateSize) +void cppIVRSystem_IVRSystem_022_GetControllerState( struct cppIVRSystem_IVRSystem_022_GetControllerState_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_1267_win_to_lin(pControllerState, &lin_pControllerState); - uint32_t lin_unControllerStateSize = unControllerStateSize ? sizeof(lin_pControllerState) : 0; - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize); - if (pControllerState) - struct_VRControllerState001_t_1267_lin_to_win(&lin_pControllerState, pControllerState, unControllerStateSize); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_1267_win_to_lin( params->pControllerState, &lin_pControllerState ); + uint32_t lin_unControllerStateSize = params->unControllerStateSize ? sizeof(lin_pControllerState) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize); + if (params->pControllerState) + struct_VRControllerState001_t_1267_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); } -bool cppIVRSystem_IVRSystem_022_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1267 *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +void cppIVRSystem_IVRSystem_022_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_022_GetControllerStateWithPose_params *params ) { - bool _ret; VRControllerState001_t lin_pControllerState; - if (pControllerState) - struct_VRControllerState001_t_1267_win_to_lin(pControllerState, &lin_pControllerState); - uint32_t lin_unControllerStateSize = unControllerStateSize ? sizeof(lin_pControllerState) : 0; - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if (pControllerState) - struct_VRControllerState001_t_1267_lin_to_win(&lin_pControllerState, pControllerState, unControllerStateSize); - return _ret; + if (params->pControllerState) + struct_VRControllerState001_t_1267_win_to_lin( params->pControllerState, &lin_pControllerState ); + uint32_t lin_unControllerStateSize = params->unControllerStateSize ? sizeof(lin_pControllerState) : 0; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)params->eOrigin, (vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, (vr::TrackedDevicePose_t *)params->pTrackedDevicePose); + if (params->pControllerState) + struct_VRControllerState001_t_1267_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize ); } -void cppIVRSystem_IVRSystem_022_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void cppIVRSystem_IVRSystem_022_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_022_TriggerHapticPulse_params *params ) { - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); + ((IVRSystem*)params->linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)params->unControllerDeviceIndex, (uint32_t)params->unAxisId, (unsigned short)params->usDurationMicroSec); } -const char * cppIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) +void cppIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)params->eButtonId); } -const char * cppIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) +void cppIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)params->eAxisType); } -bool cppIVRSystem_IVRSystem_022_IsInputAvailable(void *linux_side) +void cppIVRSystem_IVRSystem_022_IsInputAvailable( struct cppIVRSystem_IVRSystem_022_IsInputAvailable_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsInputAvailable(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsInputAvailable(); } -bool cppIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers(void *linux_side) +void cppIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers( struct cppIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->IsSteamVRDrawingControllers(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->IsSteamVRDrawingControllers(); } -bool cppIVRSystem_IVRSystem_022_ShouldApplicationPause(void *linux_side) +void cppIVRSystem_IVRSystem_022_ShouldApplicationPause( struct cppIVRSystem_IVRSystem_022_ShouldApplicationPause_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->ShouldApplicationPause(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->ShouldApplicationPause(); } -bool cppIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork(void *linux_side) +void cppIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork( struct cppIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork_params *params ) { - bool _ret; - _ret = ((IVRSystem*)linux_side)->ShouldApplicationReduceRenderingWork(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->ShouldApplicationReduceRenderingWork(); } -EVRFirmwareError cppIVRSystem_IVRSystem_022_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) +void cppIVRSystem_IVRSystem_022_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_022_PerformFirmwareUpdate_params *params ) { - EVRFirmwareError _ret; - _ret = ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)params->unDeviceIndex); } -void cppIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting(void *linux_side) +void cppIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting_params *params ) { - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); + ((IVRSystem*)params->linux_side)->AcknowledgeQuit_Exiting(); } -uint32_t cppIVRSystem_IVRSystem_022_GetAppContainerFilePaths(void *linux_side, char *pchBuffer, uint32_t unBufferSize) +void cppIVRSystem_IVRSystem_022_GetAppContainerFilePaths( struct cppIVRSystem_IVRSystem_022_GetAppContainerFilePaths_params *params ) { - uint32_t _ret; - _ret = ((IVRSystem*)linux_side)->GetAppContainerFilePaths((char *)pchBuffer, (uint32_t)unBufferSize); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetAppContainerFilePaths((char *)params->pchBuffer, (uint32_t)params->unBufferSize); } -const char * cppIVRSystem_IVRSystem_022_GetRuntimeVersion(void *linux_side) +void cppIVRSystem_IVRSystem_022_GetRuntimeVersion( struct cppIVRSystem_IVRSystem_022_GetRuntimeVersion_params *params ) { - const char *_ret; - _ret = ((IVRSystem*)linux_side)->GetRuntimeVersion(); - return _ret; + params->_ret = ((IVRSystem*)params->linux_side)->GetRuntimeVersion(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_022.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_022.h index d7e68fd4..8d529676 100644 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_022.h +++ b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_022.h @@ -1,52 +1,410 @@ #ifdef __cplusplus extern "C" { #endif -extern void cppIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_022_GetProjectionMatrix(void *, EVREye, float, float); -extern void cppIVRSystem_IVRSystem_022_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern bool cppIVRSystem_IVRSystem_022_ComputeDistortion(void *, EVREye, float, float, DistortionCoordinates_t *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_022_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_022_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_022_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_022_GetDXGIOutputInfo(void *, int32_t *); -extern void cppIVRSystem_IVRSystem_022_GetOutputDevice(void *, uint64_t *, ETextureType, VkInstance_T *); -extern bool cppIVRSystem_IVRSystem_022_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_022_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_022_ApplyTransform(void *, TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t *); -extern TrackedDeviceIndex_t cppIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole(void *, ETrackedControllerRole); -extern ETrackedControllerRole cppIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(void *, TrackedDeviceIndex_t); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_022_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_022_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, PropertyTypeTag_t, void *, uint32_t, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_022_PollNextEvent(void *, winVREvent_t_1267 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_022_PollNextEventWithPose(void *, ETrackingUniverseOrigin, winVREvent_t_1267 *, uint32_t, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_022_GetHiddenAreaMesh(void *, EVREye, EHiddenAreaMeshType); -extern bool cppIVRSystem_IVRSystem_022_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_1267 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_022_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_1267 *, uint32_t, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_022_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_022_IsInputAvailable(void *); -extern bool cppIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers(void *); -extern bool cppIVRSystem_IVRSystem_022_ShouldApplicationPause(void *); -extern bool cppIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork(void *); -extern EVRFirmwareError cppIVRSystem_IVRSystem_022_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting(void *); -extern uint32_t cppIVRSystem_IVRSystem_022_GetAppContainerFilePaths(void *, char *, uint32_t); -extern const char * cppIVRSystem_IVRSystem_022_GetRuntimeVersion(void *); +struct cppIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + EVREye eEye; + float fNearZ; + float fFarZ; +}; +extern void cppIVRSystem_IVRSystem_022_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_022_GetProjectionMatrix_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetProjectionRaw_params +{ + void *linux_side; + EVREye eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; +extern void cppIVRSystem_IVRSystem_022_GetProjectionRaw( struct cppIVRSystem_IVRSystem_022_GetProjectionRaw_params *params ); + +struct cppIVRSystem_IVRSystem_022_ComputeDistortion_params +{ + void *linux_side; + bool _ret; + EVREye eEye; + float fU; + float fV; + DistortionCoordinates_t *pDistortionCoordinates; +}; +extern void cppIVRSystem_IVRSystem_022_ComputeDistortion( struct cppIVRSystem_IVRSystem_022_ComputeDistortion_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + EVREye eEye; +}; +extern void cppIVRSystem_IVRSystem_022_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_022_GetEyeToHeadTransform_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetTimeSinceLastVsync_params +{ + void *linux_side; + bool _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; +extern void cppIVRSystem_IVRSystem_022_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_022_GetTimeSinceLastVsync_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; +extern void cppIVRSystem_IVRSystem_022_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_022_GetD3D9AdapterIndex_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; +extern void cppIVRSystem_IVRSystem_022_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_022_GetDXGIOutputInfo_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetOutputDevice_params +{ + void *linux_side; + uint64_t *pnDevice; + ETextureType textureType; + VkInstance_T *pInstance; +}; +extern void cppIVRSystem_IVRSystem_022_GetOutputDevice( struct cppIVRSystem_IVRSystem_022_GetOutputDevice_params *params ); + +struct cppIVRSystem_IVRSystem_022_IsDisplayOnDesktop_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_022_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_022_IsDisplayOnDesktop_params *params ); + +struct cppIVRSystem_IVRSystem_022_SetDisplayVisibility_params +{ + void *linux_side; + bool _ret; + bool bIsVisibleOnDesktop; +}; +extern void cppIVRSystem_IVRSystem_022_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_022_SetDisplayVisibility_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + ETrackingUniverseOrigin eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; +extern void cppIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; +extern void cppIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + ETrackedDeviceClass eTrackedDeviceClass; + TrackedDeviceIndex_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + EDeviceActivityLevel _ret; + TrackedDeviceIndex_t unDeviceId; +}; +extern void cppIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel_params *params ); + +struct cppIVRSystem_IVRSystem_022_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; +extern void cppIVRSystem_IVRSystem_022_ApplyTransform( struct cppIVRSystem_IVRSystem_022_ApplyTransform_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole_params +{ + void *linux_side; + TrackedDeviceIndex_t _ret; + ETrackedControllerRole unDeviceType; +}; +extern void cppIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex_params +{ + void *linux_side; + ETrackedControllerRole _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetTrackedDeviceClass_params +{ + void *linux_side; + ETrackedDeviceClass _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_022_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_022_GetTrackedDeviceClass_params *params ); + +struct cppIVRSystem_IVRSystem_022_IsTrackedDeviceConnected_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_022_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_022_IsTrackedDeviceConnected_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + PropertyTypeTag_t propType; + void *pBuffer; + uint32_t unBufferSize; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + TrackedDeviceIndex_t unDeviceIndex; + ETrackedDeviceProperty prop; + char *pchValue; + uint32_t unBufferSize; + ETrackedPropertyError *pError; +}; +extern void cppIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + ETrackedPropertyError error; +}; +extern void cppIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_022_PollNextEvent_params +{ + void *linux_side; + bool _ret; + winVREvent_t_1267 *pEvent; + uint32_t uncbVREvent; +}; +extern void cppIVRSystem_IVRSystem_022_PollNextEvent( struct cppIVRSystem_IVRSystem_022_PollNextEvent_params *params ); + +struct cppIVRSystem_IVRSystem_022_PollNextEventWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + winVREvent_t_1267 *pEvent; + uint32_t uncbVREvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_022_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_022_PollNextEventWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVREventType eType; +}; +extern void cppIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetHiddenAreaMesh_params +{ + void *linux_side; + HiddenAreaMesh_t *_ret; + EVREye eEye; + EHiddenAreaMeshType type; +}; +extern void cppIVRSystem_IVRSystem_022_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_022_GetHiddenAreaMesh_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetControllerState_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_1267 *pControllerState; + uint32_t unControllerStateSize; +}; +extern void cppIVRSystem_IVRSystem_022_GetControllerState( struct cppIVRSystem_IVRSystem_022_GetControllerState_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetControllerStateWithPose_params +{ + void *linux_side; + bool _ret; + ETrackingUniverseOrigin eOrigin; + TrackedDeviceIndex_t unControllerDeviceIndex; + winVRControllerState001_t_1267 *pControllerState; + uint32_t unControllerStateSize; + TrackedDevicePose_t *pTrackedDevicePose; +}; +extern void cppIVRSystem_IVRSystem_022_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_022_GetControllerStateWithPose_params *params ); + +struct cppIVRSystem_IVRSystem_022_TriggerHapticPulse_params +{ + void *linux_side; + TrackedDeviceIndex_t unControllerDeviceIndex; + uint32_t unAxisId; + unsigned short usDurationMicroSec; +}; +extern void cppIVRSystem_IVRSystem_022_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_022_TriggerHapticPulse_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRButtonId eButtonId; +}; +extern void cppIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRControllerAxisType eAxisType; +}; +extern void cppIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum_params *params ); + +struct cppIVRSystem_IVRSystem_022_IsInputAvailable_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_022_IsInputAvailable( struct cppIVRSystem_IVRSystem_022_IsInputAvailable_params *params ); + +struct cppIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers( struct cppIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers_params *params ); + +struct cppIVRSystem_IVRSystem_022_ShouldApplicationPause_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_022_ShouldApplicationPause( struct cppIVRSystem_IVRSystem_022_ShouldApplicationPause_params *params ); + +struct cppIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork_params +{ + void *linux_side; + bool _ret; +}; +extern void cppIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork( struct cppIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork_params *params ); + +struct cppIVRSystem_IVRSystem_022_PerformFirmwareUpdate_params +{ + void *linux_side; + EVRFirmwareError _ret; + TrackedDeviceIndex_t unDeviceIndex; +}; +extern void cppIVRSystem_IVRSystem_022_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_022_PerformFirmwareUpdate_params *params ); + +struct cppIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; +extern void cppIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetAppContainerFilePaths_params +{ + void *linux_side; + uint32_t _ret; + char *pchBuffer; + uint32_t unBufferSize; +}; +extern void cppIVRSystem_IVRSystem_022_GetAppContainerFilePaths( struct cppIVRSystem_IVRSystem_022_GetAppContainerFilePaths_params *params ); + +struct cppIVRSystem_IVRSystem_022_GetRuntimeVersion_params +{ + void *linux_side; + const char *_ret; +}; +extern void cppIVRSystem_IVRSystem_022_GetRuntimeVersion( struct cppIVRSystem_IVRSystem_022_GetRuntimeVersion_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.cpp b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.cpp index 5a15aa2b..af827c58 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.cpp @@ -9,133 +9,97 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -bool cppIVRTrackedCamera_IVRTrackedCamera_001_HasCamera(void *linux_side, TrackedDeviceIndex_t nDeviceIndex) +void cppIVRTrackedCamera_IVRTrackedCamera_001_HasCamera( struct cppIVRTrackedCamera_IVRTrackedCamera_001_HasCamera_params *params ) { - bool _ret; - _ret = ((IVRTrackedCamera*)linux_side)->HasCamera((vr::TrackedDeviceIndex_t)nDeviceIndex); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->HasCamera((vr::TrackedDeviceIndex_t)params->nDeviceIndex); } -bool cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, char *pBuffer, uint32_t nBufferLen) +void cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription_params *params ) { - bool _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraFirmwareDescription((vr::TrackedDeviceIndex_t)nDeviceIndex, (char *)pBuffer, (uint32_t)nBufferLen); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraFirmwareDescription((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (char *)params->pBuffer, (uint32_t)params->nBufferLen); } -bool cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, ECameraVideoStreamFormat nVideoStreamFormat, uint32_t *pWidth, uint32_t *pHeight) +void cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions_params *params ) { - bool _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraFrameDimensions((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::ECameraVideoStreamFormat)nVideoStreamFormat, (uint32_t *)pWidth, (uint32_t *)pHeight); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraFrameDimensions((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (vr::ECameraVideoStreamFormat)params->nVideoStreamFormat, (uint32_t *)params->pWidth, (uint32_t *)params->pHeight); } -bool cppIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, ECameraVideoStreamFormat nVideoStreamFormat) +void cppIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat( struct cppIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat_params *params ) { - bool _ret; - _ret = ((IVRTrackedCamera*)linux_side)->SetCameraVideoStreamFormat((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::ECameraVideoStreamFormat)nVideoStreamFormat); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->SetCameraVideoStreamFormat((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (vr::ECameraVideoStreamFormat)params->nVideoStreamFormat); } -ECameraVideoStreamFormat cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat(void *linux_side, TrackedDeviceIndex_t nDeviceIndex) +void cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat_params *params ) { - ECameraVideoStreamFormat _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraVideoStreamFormat((vr::TrackedDeviceIndex_t)nDeviceIndex); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraVideoStreamFormat((vr::TrackedDeviceIndex_t)params->nDeviceIndex); } -bool cppIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, bool bEnable) +void cppIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming( struct cppIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming_params *params ) { - bool _ret; - _ret = ((IVRTrackedCamera*)linux_side)->EnableCameraForStreaming((vr::TrackedDeviceIndex_t)nDeviceIndex, (bool)bEnable); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->EnableCameraForStreaming((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (bool)params->bEnable); } -bool cppIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream(void *linux_side, TrackedDeviceIndex_t nDeviceIndex) +void cppIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream( struct cppIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream_params *params ) { - bool _ret; - _ret = ((IVRTrackedCamera*)linux_side)->StartVideoStream((vr::TrackedDeviceIndex_t)nDeviceIndex); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->StartVideoStream((vr::TrackedDeviceIndex_t)params->nDeviceIndex); } -bool cppIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream(void *linux_side, TrackedDeviceIndex_t nDeviceIndex) +void cppIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream( struct cppIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream_params *params ) { - bool _ret; - _ret = ((IVRTrackedCamera*)linux_side)->StopVideoStream((vr::TrackedDeviceIndex_t)nDeviceIndex); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->StopVideoStream((vr::TrackedDeviceIndex_t)params->nDeviceIndex); } -bool cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive(void *linux_side, TrackedDeviceIndex_t nDeviceIndex) +void cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive( struct cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive_params *params ) { - bool _ret; - _ret = ((IVRTrackedCamera*)linux_side)->IsVideoStreamActive((vr::TrackedDeviceIndex_t)nDeviceIndex); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->IsVideoStreamActive((vr::TrackedDeviceIndex_t)params->nDeviceIndex); } -float cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime(void *linux_side, TrackedDeviceIndex_t nDeviceIndex) +void cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime_params *params ) { - float _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamElapsedTime((vr::TrackedDeviceIndex_t)nDeviceIndex); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetVideoStreamElapsedTime((vr::TrackedDeviceIndex_t)params->nDeviceIndex); } -const CameraVideoStreamFrame_t * cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame(void *linux_side, TrackedDeviceIndex_t nDeviceIndex) +void cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame_params *params ) { - const CameraVideoStreamFrame_t *_ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamFrame((vr::TrackedDeviceIndex_t)nDeviceIndex); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetVideoStreamFrame((vr::TrackedDeviceIndex_t)params->nDeviceIndex); } -bool cppIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, const CameraVideoStreamFrame_t *pFrameImage) +void cppIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame( struct cppIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame_params *params ) { - bool _ret; CameraVideoStreamFrame_t lin_pFrameImage; - if (pFrameImage) - struct_CameraVideoStreamFrame_t_0914_win_to_lin(pFrameImage, &lin_pFrameImage); - _ret = ((IVRTrackedCamera*)linux_side)->ReleaseVideoStreamFrame((vr::TrackedDeviceIndex_t)nDeviceIndex, pFrameImage ? &lin_pFrameImage : nullptr); - return _ret; + if (params->pFrameImage) + struct_CameraVideoStreamFrame_t_0914_win_to_lin( params->pFrameImage, &lin_pFrameImage ); + params->_ret = ((IVRTrackedCamera*)params->linux_side)->ReleaseVideoStreamFrame((vr::TrackedDeviceIndex_t)params->nDeviceIndex, params->pFrameImage ? &lin_pFrameImage : nullptr); } -bool cppIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, bool bEnable) +void cppIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure( struct cppIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure_params *params ) { - bool _ret; - _ret = ((IVRTrackedCamera*)linux_side)->SetAutoExposure((vr::TrackedDeviceIndex_t)nDeviceIndex, (bool)bEnable); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->SetAutoExposure((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (bool)params->bEnable); } -bool cppIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream(void *linux_side, TrackedDeviceIndex_t nDeviceIndex) +void cppIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream( struct cppIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream_params *params ) { - bool _ret; - _ret = ((IVRTrackedCamera*)linux_side)->PauseVideoStream((vr::TrackedDeviceIndex_t)nDeviceIndex); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->PauseVideoStream((vr::TrackedDeviceIndex_t)params->nDeviceIndex); } -bool cppIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream(void *linux_side, TrackedDeviceIndex_t nDeviceIndex) +void cppIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream( struct cppIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream_params *params ) { - bool _ret; - _ret = ((IVRTrackedCamera*)linux_side)->ResumeVideoStream((vr::TrackedDeviceIndex_t)nDeviceIndex); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->ResumeVideoStream((vr::TrackedDeviceIndex_t)params->nDeviceIndex); } -bool cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused(void *linux_side, TrackedDeviceIndex_t nDeviceIndex) +void cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused( struct cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused_params *params ) { - bool _ret; - _ret = ((IVRTrackedCamera*)linux_side)->IsVideoStreamPaused((vr::TrackedDeviceIndex_t)nDeviceIndex); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->IsVideoStreamPaused((vr::TrackedDeviceIndex_t)params->nDeviceIndex); } -bool cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, float flInputU, float flInputV, float *pflOutputU, float *pflOutputV) +void cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion_params *params ) { - bool _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraDistortion((vr::TrackedDeviceIndex_t)nDeviceIndex, (float)flInputU, (float)flInputV, (float *)pflOutputU, (float *)pflOutputV); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraDistortion((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (float)params->flInputU, (float)params->flInputV, (float *)params->pflOutputU, (float *)params->pflOutputV); } -bool cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, float flWidthPixels, float flHeightPixels, float flZNear, float flZFar, HmdMatrix44_t *pProjection) +void cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection_params *params ) { - bool _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraProjection((vr::TrackedDeviceIndex_t)nDeviceIndex, (float)flWidthPixels, (float)flHeightPixels, (float)flZNear, (float)flZFar, (vr::HmdMatrix44_t *)pProjection); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraProjection((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (float)params->flWidthPixels, (float)params->flHeightPixels, (float)params->flZNear, (float)params->flZFar, (vr::HmdMatrix44_t *)params->pProjection); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.h b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.h index 045a3b57..ed16da76 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.h +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.h @@ -1,24 +1,168 @@ #ifdef __cplusplus extern "C" { #endif -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_HasCamera(void *, TrackedDeviceIndex_t); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription(void *, TrackedDeviceIndex_t, char *, uint32_t); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions(void *, TrackedDeviceIndex_t, ECameraVideoStreamFormat, uint32_t *, uint32_t *); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat(void *, TrackedDeviceIndex_t, ECameraVideoStreamFormat); -extern ECameraVideoStreamFormat cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat(void *, TrackedDeviceIndex_t); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming(void *, TrackedDeviceIndex_t, bool); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream(void *, TrackedDeviceIndex_t); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream(void *, TrackedDeviceIndex_t); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive(void *, TrackedDeviceIndex_t); -extern float cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime(void *, TrackedDeviceIndex_t); -extern const CameraVideoStreamFrame_t * cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame(void *, TrackedDeviceIndex_t); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame(void *, TrackedDeviceIndex_t, const CameraVideoStreamFrame_t *); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure(void *, TrackedDeviceIndex_t, bool); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream(void *, TrackedDeviceIndex_t); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream(void *, TrackedDeviceIndex_t); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused(void *, TrackedDeviceIndex_t); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion(void *, TrackedDeviceIndex_t, float, float, float *, float *); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection(void *, TrackedDeviceIndex_t, float, float, float, float, HmdMatrix44_t *); +struct cppIVRTrackedCamera_IVRTrackedCamera_001_HasCamera_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t nDeviceIndex; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_001_HasCamera( struct cppIVRTrackedCamera_IVRTrackedCamera_001_HasCamera_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t nDeviceIndex; + char *pBuffer; + uint32_t nBufferLen; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t nDeviceIndex; + ECameraVideoStreamFormat nVideoStreamFormat; + uint32_t *pWidth; + uint32_t *pHeight; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t nDeviceIndex; + ECameraVideoStreamFormat nVideoStreamFormat; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat( struct cppIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat_params +{ + void *linux_side; + ECameraVideoStreamFormat _ret; + TrackedDeviceIndex_t nDeviceIndex; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t nDeviceIndex; + bool bEnable; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming( struct cppIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t nDeviceIndex; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream( struct cppIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t nDeviceIndex; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream( struct cppIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t nDeviceIndex; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive( struct cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime_params +{ + void *linux_side; + float _ret; + TrackedDeviceIndex_t nDeviceIndex; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame_params +{ + void *linux_side; + const CameraVideoStreamFrame_t *_ret; + TrackedDeviceIndex_t nDeviceIndex; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t nDeviceIndex; + const CameraVideoStreamFrame_t *pFrameImage; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame( struct cppIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t nDeviceIndex; + bool bEnable; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure( struct cppIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t nDeviceIndex; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream( struct cppIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t nDeviceIndex; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream( struct cppIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t nDeviceIndex; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused( struct cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t nDeviceIndex; + float flInputU; + float flInputV; + float *pflOutputU; + float *pflOutputV; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection_params +{ + void *linux_side; + bool _ret; + TrackedDeviceIndex_t nDeviceIndex; + float flWidthPixels; + float flHeightPixels; + float flZNear; + float flZFar; + HmdMatrix44_t *pProjection; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection( struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.cpp b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.cpp index 24569a18..3cea1673 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.cpp @@ -9,60 +9,44 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -const char * cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum(void *linux_side, EVRTrackedCameraError eCameraError) +void cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum( struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraErrorNameFromEnum((vr::EVRTrackedCameraError)eCameraError); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraErrorNameFromEnum((vr::EVRTrackedCameraError)params->eCameraError); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_HasCamera(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera) +void cppIVRTrackedCamera_IVRTrackedCamera_002_HasCamera( struct cppIVRTrackedCamera_IVRTrackedCamera_002_HasCamera_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->HasCamera((vr::TrackedDeviceIndex_t)nDeviceIndex, (bool *)pHasCamera); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->HasCamera((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (bool *)params->pHasCamera); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize) +void cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize( struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraFrameSize((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (uint32_t *)pnWidth, (uint32_t *)pnHeight, (uint32_t *)pnFrameBufferSize); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraFrameSize((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (vr::EVRTrackedCameraFrameType)params->eFrameType, (uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight, (uint32_t *)params->pnFrameBufferSize); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) +void cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics( struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraIntrinisics((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::HmdVector2_t *)pFocalLength, (vr::HmdVector2_t *)pCenter); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraIntrinisics((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (vr::EVRTrackedCameraFrameType)params->eFrameType, (vr::HmdVector2_t *)params->pFocalLength, (vr::HmdVector2_t *)params->pCenter); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t *pProjection) +void cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection( struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraProjection((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (float)flZNear, (float)flZFar, (vr::HmdMatrix44_t *)pProjection); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraProjection((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (vr::EVRTrackedCameraFrameType)params->eFrameType, (float)params->flZNear, (float)params->flZFar, (vr::HmdMatrix44_t *)params->pProjection); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t *pHandle) +void cppIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->AcquireVideoStreamingService((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::TrackedCameraHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->AcquireVideoStreamingService((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (vr::TrackedCameraHandle_t *)params->pHandle); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService(void *linux_side, TrackedCameraHandle_t hTrackedCamera) +void cppIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->ReleaseVideoStreamingService((vr::TrackedCameraHandle_t)hTrackedCamera); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->ReleaseVideoStreamingService((vr::TrackedCameraHandle_t)params->hTrackedCamera); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize) +void cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer( struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamFrameBuffer((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (void *)pFrameBuffer, (uint32_t)nFrameBufferSize, (vr::CameraVideoStreamFrameHeader_t *)pFrameHeader, (uint32_t)nFrameHeaderSize); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetVideoStreamFrameBuffer((vr::TrackedCameraHandle_t)params->hTrackedCamera, (vr::EVRTrackedCameraFrameType)params->eFrameType, (void *)params->pFrameBuffer, (uint32_t)params->nFrameBufferSize, (vr::CameraVideoStreamFrameHeader_t *)params->pFrameHeader, (uint32_t)params->nFrameHeaderSize); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.h b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.h index a2d99489..54fb2f80 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.h +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.h @@ -1,14 +1,88 @@ #ifdef __cplusplus extern "C" { #endif -extern const char * cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum(void *, EVRTrackedCameraError); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_HasCamera(void *, TrackedDeviceIndex_t, bool *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, uint32_t *, uint32_t *, uint32_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, HmdVector2_t *, HmdVector2_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, float, float, HmdMatrix44_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService(void *, TrackedDeviceIndex_t, TrackedCameraHandle_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService(void *, TrackedCameraHandle_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, void *, uint32_t, CameraVideoStreamFrameHeader_t *, uint32_t); +struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRTrackedCameraError eCameraError; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum( struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_002_HasCamera_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + bool *pHasCamera; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_002_HasCamera( struct cppIVRTrackedCamera_IVRTrackedCamera_002_HasCamera_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + EVRTrackedCameraFrameType eFrameType; + uint32_t *pnWidth; + uint32_t *pnHeight; + uint32_t *pnFrameBufferSize; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize( struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + EVRTrackedCameraFrameType eFrameType; + HmdVector2_t *pFocalLength; + HmdVector2_t *pCenter; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics( struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + EVRTrackedCameraFrameType eFrameType; + float flZNear; + float flZFar; + HmdMatrix44_t *pProjection; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection( struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + TrackedCameraHandle_t *pHandle; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedCameraHandle_t hTrackedCamera; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedCameraHandle_t hTrackedCamera; + EVRTrackedCameraFrameType eFrameType; + void *pFrameBuffer; + uint32_t nFrameBufferSize; + CameraVideoStreamFrameHeader_t *pFrameHeader; + uint32_t nFrameHeaderSize; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer( struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.cpp b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.cpp index ca3a37b7..2e2842b1 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.cpp @@ -9,88 +9,64 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -const char * cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum(void *linux_side, EVRTrackedCameraError eCameraError) +void cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraErrorNameFromEnum((vr::EVRTrackedCameraError)eCameraError); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraErrorNameFromEnum((vr::EVRTrackedCameraError)params->eCameraError); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_HasCamera(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera) +void cppIVRTrackedCamera_IVRTrackedCamera_003_HasCamera( struct cppIVRTrackedCamera_IVRTrackedCamera_003_HasCamera_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->HasCamera((vr::TrackedDeviceIndex_t)nDeviceIndex, (bool *)pHasCamera); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->HasCamera((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (bool *)params->pHasCamera); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize) +void cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraFrameSize((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (uint32_t *)pnWidth, (uint32_t *)pnHeight, (uint32_t *)pnFrameBufferSize); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraFrameSize((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (vr::EVRTrackedCameraFrameType)params->eFrameType, (uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight, (uint32_t *)params->pnFrameBufferSize); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) +void cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraIntrinsics((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::HmdVector2_t *)pFocalLength, (vr::HmdVector2_t *)pCenter); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraIntrinsics((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (vr::EVRTrackedCameraFrameType)params->eFrameType, (vr::HmdVector2_t *)params->pFocalLength, (vr::HmdVector2_t *)params->pCenter); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t *pProjection) +void cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraProjection((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (float)flZNear, (float)flZFar, (vr::HmdMatrix44_t *)pProjection); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraProjection((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (vr::EVRTrackedCameraFrameType)params->eFrameType, (float)params->flZNear, (float)params->flZFar, (vr::HmdMatrix44_t *)params->pProjection); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t *pHandle) +void cppIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->AcquireVideoStreamingService((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::TrackedCameraHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->AcquireVideoStreamingService((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (vr::TrackedCameraHandle_t *)params->pHandle); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService(void *linux_side, TrackedCameraHandle_t hTrackedCamera) +void cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->ReleaseVideoStreamingService((vr::TrackedCameraHandle_t)hTrackedCamera); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->ReleaseVideoStreamingService((vr::TrackedCameraHandle_t)params->hTrackedCamera); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize) +void cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamFrameBuffer((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (void *)pFrameBuffer, (uint32_t)nFrameBufferSize, (vr::CameraVideoStreamFrameHeader_t *)pFrameHeader, (uint32_t)nFrameHeaderSize); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetVideoStreamFrameBuffer((vr::TrackedCameraHandle_t)params->hTrackedCamera, (vr::EVRTrackedCameraFrameType)params->eFrameType, (void *)params->pFrameBuffer, (uint32_t)params->nFrameBufferSize, (vr::CameraVideoStreamFrameHeader_t *)params->pFrameHeader, (uint32_t)params->nFrameHeaderSize); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t *pTextureBounds, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureSize((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::VRTextureBounds_t *)pTextureBounds, (uint32_t *)pnWidth, (uint32_t *)pnHeight); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetVideoStreamTextureSize((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (vr::EVRTrackedCameraFrameType)params->eFrameType, (vr::VRTextureBounds_t *)params->pTextureBounds, (uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize) +void cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureD3D11((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView, (vr::CameraVideoStreamFrameHeader_t *)pFrameHeader, (uint32_t)nFrameHeaderSize); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetVideoStreamTextureD3D11((vr::TrackedCameraHandle_t)params->hTrackedCamera, (vr::EVRTrackedCameraFrameType)params->eFrameType, (void *)params->pD3D11DeviceOrResource, (void **)params->ppD3D11ShaderResourceView, (vr::CameraVideoStreamFrameHeader_t *)params->pFrameHeader, (uint32_t)params->nFrameHeaderSize); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t *pglTextureId, CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize) +void cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureGL((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::glUInt_t *)pglTextureId, (vr::CameraVideoStreamFrameHeader_t *)pFrameHeader, (uint32_t)nFrameHeaderSize); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetVideoStreamTextureGL((vr::TrackedCameraHandle_t)params->hTrackedCamera, (vr::EVRTrackedCameraFrameType)params->eFrameType, (vr::glUInt_t *)params->pglTextureId, (vr::CameraVideoStreamFrameHeader_t *)params->pFrameHeader, (uint32_t)params->nFrameHeaderSize); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(void *linux_side, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) +void cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->ReleaseVideoStreamTextureGL((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::glUInt_t)glTextureId); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->ReleaseVideoStreamTextureGL((vr::TrackedCameraHandle_t)params->hTrackedCamera, (vr::glUInt_t)params->glTextureId); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.h b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.h index 14a1a7b0..3c067488 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.h +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.h @@ -1,18 +1,134 @@ #ifdef __cplusplus extern "C" { #endif -extern const char * cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum(void *, EVRTrackedCameraError); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_HasCamera(void *, TrackedDeviceIndex_t, bool *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, uint32_t *, uint32_t *, uint32_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, HmdVector2_t *, HmdVector2_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, float, float, HmdMatrix44_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService(void *, TrackedDeviceIndex_t, TrackedCameraHandle_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService(void *, TrackedCameraHandle_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, void *, uint32_t, CameraVideoStreamFrameHeader_t *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, VRTextureBounds_t *, uint32_t *, uint32_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, void *, void **, CameraVideoStreamFrameHeader_t *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, glUInt_t *, CameraVideoStreamFrameHeader_t *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(void *, TrackedCameraHandle_t, glUInt_t); +struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRTrackedCameraError eCameraError; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_003_HasCamera_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + bool *pHasCamera; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_003_HasCamera( struct cppIVRTrackedCamera_IVRTrackedCamera_003_HasCamera_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + EVRTrackedCameraFrameType eFrameType; + uint32_t *pnWidth; + uint32_t *pnHeight; + uint32_t *pnFrameBufferSize; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + EVRTrackedCameraFrameType eFrameType; + HmdVector2_t *pFocalLength; + HmdVector2_t *pCenter; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + EVRTrackedCameraFrameType eFrameType; + float flZNear; + float flZFar; + HmdMatrix44_t *pProjection; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + TrackedCameraHandle_t *pHandle; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedCameraHandle_t hTrackedCamera; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedCameraHandle_t hTrackedCamera; + EVRTrackedCameraFrameType eFrameType; + void *pFrameBuffer; + uint32_t nFrameBufferSize; + CameraVideoStreamFrameHeader_t *pFrameHeader; + uint32_t nFrameHeaderSize; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + EVRTrackedCameraFrameType eFrameType; + VRTextureBounds_t *pTextureBounds; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedCameraHandle_t hTrackedCamera; + EVRTrackedCameraFrameType eFrameType; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; + CameraVideoStreamFrameHeader_t *pFrameHeader; + uint32_t nFrameHeaderSize; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedCameraHandle_t hTrackedCamera; + EVRTrackedCameraFrameType eFrameType; + glUInt_t *pglTextureId; + CameraVideoStreamFrameHeader_t *pFrameHeader; + uint32_t nFrameHeaderSize; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedCameraHandle_t hTrackedCamera; + glUInt_t glTextureId; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.cpp b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.cpp index ffc8da86..c7460051 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.cpp @@ -9,106 +9,82 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -const char * cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum(void *linux_side, EVRTrackedCameraError eCameraError) +void cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraErrorNameFromEnum((vr::EVRTrackedCameraError)eCameraError); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraErrorNameFromEnum((vr::EVRTrackedCameraError)params->eCameraError); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_HasCamera(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera) +void cppIVRTrackedCamera_IVRTrackedCamera_004_HasCamera( struct cppIVRTrackedCamera_IVRTrackedCamera_004_HasCamera_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->HasCamera((vr::TrackedDeviceIndex_t)nDeviceIndex, (bool *)pHasCamera); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->HasCamera((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (bool *)params->pHasCamera); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize) +void cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraFrameSize((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (uint32_t *)pnWidth, (uint32_t *)pnHeight, (uint32_t *)pnFrameBufferSize); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraFrameSize((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (vr::EVRTrackedCameraFrameType)params->eFrameType, (uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight, (uint32_t *)params->pnFrameBufferSize); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) +void cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraIntrinsics((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::HmdVector2_t *)pFocalLength, (vr::HmdVector2_t *)pCenter); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraIntrinsics((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (vr::EVRTrackedCameraFrameType)params->eFrameType, (vr::HmdVector2_t *)params->pFocalLength, (vr::HmdVector2_t *)params->pCenter); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t *pProjection) +void cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraProjection((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (float)flZNear, (float)flZFar, (vr::HmdMatrix44_t *)pProjection); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraProjection((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (vr::EVRTrackedCameraFrameType)params->eFrameType, (float)params->flZNear, (float)params->flZFar, (vr::HmdMatrix44_t *)params->pProjection); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t *pHandle) +void cppIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->AcquireVideoStreamingService((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::TrackedCameraHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->AcquireVideoStreamingService((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (vr::TrackedCameraHandle_t *)params->pHandle); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService(void *linux_side, TrackedCameraHandle_t hTrackedCamera) +void cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->ReleaseVideoStreamingService((vr::TrackedCameraHandle_t)hTrackedCamera); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->ReleaseVideoStreamingService((vr::TrackedCameraHandle_t)params->hTrackedCamera); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) +void cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer_params *params ) { - EVRTrackedCameraError _ret; CameraVideoStreamFrameHeader_t lin_pFrameHeader; - if (pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1017_win_to_lin(pFrameHeader, &lin_pFrameHeader); - uint32_t lin_nFrameHeaderSize = nFrameHeaderSize ? sizeof(lin_pFrameHeader) : 0; - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamFrameBuffer((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (void *)pFrameBuffer, (uint32_t)nFrameBufferSize, pFrameHeader ? &lin_pFrameHeader : nullptr, lin_nFrameHeaderSize); - if (pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win(&lin_pFrameHeader, pFrameHeader, nFrameHeaderSize); - return _ret; + if (params->pFrameHeader) + struct_CameraVideoStreamFrameHeader_t_1017_win_to_lin( params->pFrameHeader, &lin_pFrameHeader ); + uint32_t lin_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(lin_pFrameHeader) : 0; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetVideoStreamFrameBuffer((vr::TrackedCameraHandle_t)params->hTrackedCamera, (vr::EVRTrackedCameraFrameType)params->eFrameType, (void *)params->pFrameBuffer, (uint32_t)params->nFrameBufferSize, params->pFrameHeader ? &lin_pFrameHeader : nullptr, lin_nFrameHeaderSize); + if (params->pFrameHeader) + struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win( &lin_pFrameHeader, params->pFrameHeader, params->nFrameHeaderSize ); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t *pTextureBounds, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureSize((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::VRTextureBounds_t *)pTextureBounds, (uint32_t *)pnWidth, (uint32_t *)pnHeight); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetVideoStreamTextureSize((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (vr::EVRTrackedCameraFrameType)params->eFrameType, (vr::VRTextureBounds_t *)params->pTextureBounds, (uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) +void cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11_params *params ) { - EVRTrackedCameraError _ret; CameraVideoStreamFrameHeader_t lin_pFrameHeader; - if (pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1017_win_to_lin(pFrameHeader, &lin_pFrameHeader); - uint32_t lin_nFrameHeaderSize = nFrameHeaderSize ? sizeof(lin_pFrameHeader) : 0; - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureD3D11((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView, pFrameHeader ? &lin_pFrameHeader : nullptr, lin_nFrameHeaderSize); - if (pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win(&lin_pFrameHeader, pFrameHeader, nFrameHeaderSize); - return _ret; + if (params->pFrameHeader) + struct_CameraVideoStreamFrameHeader_t_1017_win_to_lin( params->pFrameHeader, &lin_pFrameHeader ); + uint32_t lin_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(lin_pFrameHeader) : 0; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetVideoStreamTextureD3D11((vr::TrackedCameraHandle_t)params->hTrackedCamera, (vr::EVRTrackedCameraFrameType)params->eFrameType, (void *)params->pD3D11DeviceOrResource, (void **)params->ppD3D11ShaderResourceView, params->pFrameHeader ? &lin_pFrameHeader : nullptr, lin_nFrameHeaderSize); + if (params->pFrameHeader) + struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win( &lin_pFrameHeader, params->pFrameHeader, params->nFrameHeaderSize ); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t *pglTextureId, winCameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) +void cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL_params *params ) { - EVRTrackedCameraError _ret; CameraVideoStreamFrameHeader_t lin_pFrameHeader; - if (pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1017_win_to_lin(pFrameHeader, &lin_pFrameHeader); - uint32_t lin_nFrameHeaderSize = nFrameHeaderSize ? sizeof(lin_pFrameHeader) : 0; - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureGL((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::glUInt_t *)pglTextureId, pFrameHeader ? &lin_pFrameHeader : nullptr, lin_nFrameHeaderSize); - if (pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win(&lin_pFrameHeader, pFrameHeader, nFrameHeaderSize); - return _ret; + if (params->pFrameHeader) + struct_CameraVideoStreamFrameHeader_t_1017_win_to_lin( params->pFrameHeader, &lin_pFrameHeader ); + uint32_t lin_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(lin_pFrameHeader) : 0; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetVideoStreamTextureGL((vr::TrackedCameraHandle_t)params->hTrackedCamera, (vr::EVRTrackedCameraFrameType)params->eFrameType, (vr::glUInt_t *)params->pglTextureId, params->pFrameHeader ? &lin_pFrameHeader : nullptr, lin_nFrameHeaderSize); + if (params->pFrameHeader) + struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win( &lin_pFrameHeader, params->pFrameHeader, params->nFrameHeaderSize ); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(void *linux_side, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) +void cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->ReleaseVideoStreamTextureGL((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::glUInt_t)glTextureId); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->ReleaseVideoStreamTextureGL((vr::TrackedCameraHandle_t)params->hTrackedCamera, (vr::glUInt_t)params->glTextureId); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.h b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.h index e82fa992..3340acff 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.h +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.h @@ -1,18 +1,134 @@ #ifdef __cplusplus extern "C" { #endif -extern const char * cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum(void *, EVRTrackedCameraError); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_HasCamera(void *, TrackedDeviceIndex_t, bool *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, uint32_t *, uint32_t *, uint32_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, HmdVector2_t *, HmdVector2_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, float, float, HmdMatrix44_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService(void *, TrackedDeviceIndex_t, TrackedCameraHandle_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService(void *, TrackedCameraHandle_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, void *, uint32_t, winCameraVideoStreamFrameHeader_t_1017 *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, VRTextureBounds_t *, uint32_t *, uint32_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, void *, void **, winCameraVideoStreamFrameHeader_t_1017 *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, glUInt_t *, winCameraVideoStreamFrameHeader_t_1017 *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(void *, TrackedCameraHandle_t, glUInt_t); +struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRTrackedCameraError eCameraError; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_004_HasCamera_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + bool *pHasCamera; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_004_HasCamera( struct cppIVRTrackedCamera_IVRTrackedCamera_004_HasCamera_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + EVRTrackedCameraFrameType eFrameType; + uint32_t *pnWidth; + uint32_t *pnHeight; + uint32_t *pnFrameBufferSize; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + EVRTrackedCameraFrameType eFrameType; + HmdVector2_t *pFocalLength; + HmdVector2_t *pCenter; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + EVRTrackedCameraFrameType eFrameType; + float flZNear; + float flZFar; + HmdMatrix44_t *pProjection; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + TrackedCameraHandle_t *pHandle; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedCameraHandle_t hTrackedCamera; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedCameraHandle_t hTrackedCamera; + EVRTrackedCameraFrameType eFrameType; + void *pFrameBuffer; + uint32_t nFrameBufferSize; + winCameraVideoStreamFrameHeader_t_1017 *pFrameHeader; + uint32_t nFrameHeaderSize; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + EVRTrackedCameraFrameType eFrameType; + VRTextureBounds_t *pTextureBounds; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedCameraHandle_t hTrackedCamera; + EVRTrackedCameraFrameType eFrameType; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; + winCameraVideoStreamFrameHeader_t_1017 *pFrameHeader; + uint32_t nFrameHeaderSize; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedCameraHandle_t hTrackedCamera; + EVRTrackedCameraFrameType eFrameType; + glUInt_t *pglTextureId; + winCameraVideoStreamFrameHeader_t_1017 *pFrameHeader; + uint32_t nFrameHeaderSize; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedCameraHandle_t hTrackedCamera; + glUInt_t glTextureId; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.cpp b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.cpp index 15fc1e78..27737db7 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.cpp @@ -9,106 +9,82 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -const char * cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum(void *linux_side, EVRTrackedCameraError eCameraError) +void cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraErrorNameFromEnum((vr::EVRTrackedCameraError)eCameraError); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraErrorNameFromEnum((vr::EVRTrackedCameraError)params->eCameraError); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_HasCamera(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera) +void cppIVRTrackedCamera_IVRTrackedCamera_005_HasCamera( struct cppIVRTrackedCamera_IVRTrackedCamera_005_HasCamera_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->HasCamera((vr::TrackedDeviceIndex_t)nDeviceIndex, (bool *)pHasCamera); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->HasCamera((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (bool *)params->pHasCamera); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize) +void cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraFrameSize((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (uint32_t *)pnWidth, (uint32_t *)pnHeight, (uint32_t *)pnFrameBufferSize); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraFrameSize((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (vr::EVRTrackedCameraFrameType)params->eFrameType, (uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight, (uint32_t *)params->pnFrameBufferSize); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) +void cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraIntrinsics((vr::TrackedDeviceIndex_t)nDeviceIndex, (uint32_t)nCameraIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::HmdVector2_t *)pFocalLength, (vr::HmdVector2_t *)pCenter); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraIntrinsics((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (uint32_t)params->nCameraIndex, (vr::EVRTrackedCameraFrameType)params->eFrameType, (vr::HmdVector2_t *)params->pFocalLength, (vr::HmdVector2_t *)params->pCenter); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t *pProjection) +void cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraProjection((vr::TrackedDeviceIndex_t)nDeviceIndex, (uint32_t)nCameraIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (float)flZNear, (float)flZFar, (vr::HmdMatrix44_t *)pProjection); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraProjection((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (uint32_t)params->nCameraIndex, (vr::EVRTrackedCameraFrameType)params->eFrameType, (float)params->flZNear, (float)params->flZFar, (vr::HmdMatrix44_t *)params->pProjection); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t *pHandle) +void cppIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->AcquireVideoStreamingService((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::TrackedCameraHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->AcquireVideoStreamingService((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (vr::TrackedCameraHandle_t *)params->pHandle); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService(void *linux_side, TrackedCameraHandle_t hTrackedCamera) +void cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->ReleaseVideoStreamingService((vr::TrackedCameraHandle_t)hTrackedCamera); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->ReleaseVideoStreamingService((vr::TrackedCameraHandle_t)params->hTrackedCamera); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1610 *pFrameHeader, uint32_t nFrameHeaderSize) +void cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer_params *params ) { - EVRTrackedCameraError _ret; CameraVideoStreamFrameHeader_t lin_pFrameHeader; - if (pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1610_win_to_lin(pFrameHeader, &lin_pFrameHeader); - uint32_t lin_nFrameHeaderSize = nFrameHeaderSize ? sizeof(lin_pFrameHeader) : 0; - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamFrameBuffer((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (void *)pFrameBuffer, (uint32_t)nFrameBufferSize, pFrameHeader ? &lin_pFrameHeader : nullptr, lin_nFrameHeaderSize); - if (pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win(&lin_pFrameHeader, pFrameHeader, nFrameHeaderSize); - return _ret; + if (params->pFrameHeader) + struct_CameraVideoStreamFrameHeader_t_1610_win_to_lin( params->pFrameHeader, &lin_pFrameHeader ); + uint32_t lin_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(lin_pFrameHeader) : 0; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetVideoStreamFrameBuffer((vr::TrackedCameraHandle_t)params->hTrackedCamera, (vr::EVRTrackedCameraFrameType)params->eFrameType, (void *)params->pFrameBuffer, (uint32_t)params->nFrameBufferSize, params->pFrameHeader ? &lin_pFrameHeader : nullptr, lin_nFrameHeaderSize); + if (params->pFrameHeader) + struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win( &lin_pFrameHeader, params->pFrameHeader, params->nFrameHeaderSize ); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t *pTextureBounds, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureSize((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::VRTextureBounds_t *)pTextureBounds, (uint32_t *)pnWidth, (uint32_t *)pnHeight); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetVideoStreamTextureSize((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (vr::EVRTrackedCameraFrameType)params->eFrameType, (vr::VRTextureBounds_t *)params->pTextureBounds, (uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1610 *pFrameHeader, uint32_t nFrameHeaderSize) +void cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11_params *params ) { - EVRTrackedCameraError _ret; CameraVideoStreamFrameHeader_t lin_pFrameHeader; - if (pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1610_win_to_lin(pFrameHeader, &lin_pFrameHeader); - uint32_t lin_nFrameHeaderSize = nFrameHeaderSize ? sizeof(lin_pFrameHeader) : 0; - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureD3D11((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView, pFrameHeader ? &lin_pFrameHeader : nullptr, lin_nFrameHeaderSize); - if (pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win(&lin_pFrameHeader, pFrameHeader, nFrameHeaderSize); - return _ret; + if (params->pFrameHeader) + struct_CameraVideoStreamFrameHeader_t_1610_win_to_lin( params->pFrameHeader, &lin_pFrameHeader ); + uint32_t lin_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(lin_pFrameHeader) : 0; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetVideoStreamTextureD3D11((vr::TrackedCameraHandle_t)params->hTrackedCamera, (vr::EVRTrackedCameraFrameType)params->eFrameType, (void *)params->pD3D11DeviceOrResource, (void **)params->ppD3D11ShaderResourceView, params->pFrameHeader ? &lin_pFrameHeader : nullptr, lin_nFrameHeaderSize); + if (params->pFrameHeader) + struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win( &lin_pFrameHeader, params->pFrameHeader, params->nFrameHeaderSize ); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t *pglTextureId, winCameraVideoStreamFrameHeader_t_1610 *pFrameHeader, uint32_t nFrameHeaderSize) +void cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL_params *params ) { - EVRTrackedCameraError _ret; CameraVideoStreamFrameHeader_t lin_pFrameHeader; - if (pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1610_win_to_lin(pFrameHeader, &lin_pFrameHeader); - uint32_t lin_nFrameHeaderSize = nFrameHeaderSize ? sizeof(lin_pFrameHeader) : 0; - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureGL((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::glUInt_t *)pglTextureId, pFrameHeader ? &lin_pFrameHeader : nullptr, lin_nFrameHeaderSize); - if (pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win(&lin_pFrameHeader, pFrameHeader, nFrameHeaderSize); - return _ret; + if (params->pFrameHeader) + struct_CameraVideoStreamFrameHeader_t_1610_win_to_lin( params->pFrameHeader, &lin_pFrameHeader ); + uint32_t lin_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(lin_pFrameHeader) : 0; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetVideoStreamTextureGL((vr::TrackedCameraHandle_t)params->hTrackedCamera, (vr::EVRTrackedCameraFrameType)params->eFrameType, (vr::glUInt_t *)params->pglTextureId, params->pFrameHeader ? &lin_pFrameHeader : nullptr, lin_nFrameHeaderSize); + if (params->pFrameHeader) + struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win( &lin_pFrameHeader, params->pFrameHeader, params->nFrameHeaderSize ); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(void *linux_side, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) +void cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->ReleaseVideoStreamTextureGL((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::glUInt_t)glTextureId); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->ReleaseVideoStreamTextureGL((vr::TrackedCameraHandle_t)params->hTrackedCamera, (vr::glUInt_t)params->glTextureId); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.h b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.h index 35e67c4c..0821901a 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.h +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.h @@ -1,18 +1,136 @@ #ifdef __cplusplus extern "C" { #endif -extern const char * cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum(void *, EVRTrackedCameraError); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_HasCamera(void *, TrackedDeviceIndex_t, bool *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, uint32_t *, uint32_t *, uint32_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics(void *, TrackedDeviceIndex_t, uint32_t, EVRTrackedCameraFrameType, HmdVector2_t *, HmdVector2_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection(void *, TrackedDeviceIndex_t, uint32_t, EVRTrackedCameraFrameType, float, float, HmdMatrix44_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService(void *, TrackedDeviceIndex_t, TrackedCameraHandle_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService(void *, TrackedCameraHandle_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, void *, uint32_t, winCameraVideoStreamFrameHeader_t_1610 *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, VRTextureBounds_t *, uint32_t *, uint32_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, void *, void **, winCameraVideoStreamFrameHeader_t_1610 *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, glUInt_t *, winCameraVideoStreamFrameHeader_t_1610 *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(void *, TrackedCameraHandle_t, glUInt_t); +struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRTrackedCameraError eCameraError; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_005_HasCamera_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + bool *pHasCamera; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_005_HasCamera( struct cppIVRTrackedCamera_IVRTrackedCamera_005_HasCamera_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + EVRTrackedCameraFrameType eFrameType; + uint32_t *pnWidth; + uint32_t *pnHeight; + uint32_t *pnFrameBufferSize; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + uint32_t nCameraIndex; + EVRTrackedCameraFrameType eFrameType; + HmdVector2_t *pFocalLength; + HmdVector2_t *pCenter; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + uint32_t nCameraIndex; + EVRTrackedCameraFrameType eFrameType; + float flZNear; + float flZFar; + HmdMatrix44_t *pProjection; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + TrackedCameraHandle_t *pHandle; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedCameraHandle_t hTrackedCamera; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedCameraHandle_t hTrackedCamera; + EVRTrackedCameraFrameType eFrameType; + void *pFrameBuffer; + uint32_t nFrameBufferSize; + winCameraVideoStreamFrameHeader_t_1610 *pFrameHeader; + uint32_t nFrameHeaderSize; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + EVRTrackedCameraFrameType eFrameType; + VRTextureBounds_t *pTextureBounds; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedCameraHandle_t hTrackedCamera; + EVRTrackedCameraFrameType eFrameType; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; + winCameraVideoStreamFrameHeader_t_1610 *pFrameHeader; + uint32_t nFrameHeaderSize; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedCameraHandle_t hTrackedCamera; + EVRTrackedCameraFrameType eFrameType; + glUInt_t *pglTextureId; + winCameraVideoStreamFrameHeader_t_1610 *pFrameHeader; + uint32_t nFrameHeaderSize; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedCameraHandle_t hTrackedCamera; + glUInt_t glTextureId; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.cpp b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.cpp index 806b7530..38fc59a9 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.cpp +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.cpp @@ -9,118 +9,92 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif -const char * cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum(void *linux_side, EVRTrackedCameraError eCameraError) +void cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum_params *params ) { - const char *_ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraErrorNameFromEnum((vr::EVRTrackedCameraError)eCameraError); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraErrorNameFromEnum((vr::EVRTrackedCameraError)params->eCameraError); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_HasCamera(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera) +void cppIVRTrackedCamera_IVRTrackedCamera_006_HasCamera( struct cppIVRTrackedCamera_IVRTrackedCamera_006_HasCamera_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->HasCamera((vr::TrackedDeviceIndex_t)nDeviceIndex, (bool *)pHasCamera); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->HasCamera((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (bool *)params->pHasCamera); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize) +void cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraFrameSize((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (uint32_t *)pnWidth, (uint32_t *)pnHeight, (uint32_t *)pnFrameBufferSize); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraFrameSize((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (vr::EVRTrackedCameraFrameType)params->eFrameType, (uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight, (uint32_t *)params->pnFrameBufferSize); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) +void cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraIntrinsics((vr::TrackedDeviceIndex_t)nDeviceIndex, (uint32_t)nCameraIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::HmdVector2_t *)pFocalLength, (vr::HmdVector2_t *)pCenter); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraIntrinsics((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (uint32_t)params->nCameraIndex, (vr::EVRTrackedCameraFrameType)params->eFrameType, (vr::HmdVector2_t *)params->pFocalLength, (vr::HmdVector2_t *)params->pCenter); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t *pProjection) +void cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraProjection((vr::TrackedDeviceIndex_t)nDeviceIndex, (uint32_t)nCameraIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (float)flZNear, (float)flZFar, (vr::HmdMatrix44_t *)pProjection); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraProjection((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (uint32_t)params->nCameraIndex, (vr::EVRTrackedCameraFrameType)params->eFrameType, (float)params->flZNear, (float)params->flZFar, (vr::HmdMatrix44_t *)params->pProjection); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t *pHandle) +void cppIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->AcquireVideoStreamingService((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::TrackedCameraHandle_t *)pHandle); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->AcquireVideoStreamingService((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (vr::TrackedCameraHandle_t *)params->pHandle); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService(void *linux_side, TrackedCameraHandle_t hTrackedCamera) +void cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->ReleaseVideoStreamingService((vr::TrackedCameraHandle_t)hTrackedCamera); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->ReleaseVideoStreamingService((vr::TrackedCameraHandle_t)params->hTrackedCamera); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1267 *pFrameHeader, uint32_t nFrameHeaderSize) +void cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer_params *params ) { - EVRTrackedCameraError _ret; CameraVideoStreamFrameHeader_t lin_pFrameHeader; - if (pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1267_win_to_lin(pFrameHeader, &lin_pFrameHeader); - uint32_t lin_nFrameHeaderSize = nFrameHeaderSize ? sizeof(lin_pFrameHeader) : 0; - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamFrameBuffer((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (void *)pFrameBuffer, (uint32_t)nFrameBufferSize, pFrameHeader ? &lin_pFrameHeader : nullptr, lin_nFrameHeaderSize); - if (pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1267_lin_to_win(&lin_pFrameHeader, pFrameHeader, nFrameHeaderSize); - return _ret; + if (params->pFrameHeader) + struct_CameraVideoStreamFrameHeader_t_1267_win_to_lin( params->pFrameHeader, &lin_pFrameHeader ); + uint32_t lin_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(lin_pFrameHeader) : 0; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetVideoStreamFrameBuffer((vr::TrackedCameraHandle_t)params->hTrackedCamera, (vr::EVRTrackedCameraFrameType)params->eFrameType, (void *)params->pFrameBuffer, (uint32_t)params->nFrameBufferSize, params->pFrameHeader ? &lin_pFrameHeader : nullptr, lin_nFrameHeaderSize); + if (params->pFrameHeader) + struct_CameraVideoStreamFrameHeader_t_1267_lin_to_win( &lin_pFrameHeader, params->pFrameHeader, params->nFrameHeaderSize ); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t *pTextureBounds, uint32_t *pnWidth, uint32_t *pnHeight) +void cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureSize((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::VRTextureBounds_t *)pTextureBounds, (uint32_t *)pnWidth, (uint32_t *)pnHeight); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetVideoStreamTextureSize((vr::TrackedDeviceIndex_t)params->nDeviceIndex, (vr::EVRTrackedCameraFrameType)params->eFrameType, (vr::VRTextureBounds_t *)params->pTextureBounds, (uint32_t *)params->pnWidth, (uint32_t *)params->pnHeight); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1267 *pFrameHeader, uint32_t nFrameHeaderSize) +void cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11_params *params ) { - EVRTrackedCameraError _ret; CameraVideoStreamFrameHeader_t lin_pFrameHeader; - if (pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1267_win_to_lin(pFrameHeader, &lin_pFrameHeader); - uint32_t lin_nFrameHeaderSize = nFrameHeaderSize ? sizeof(lin_pFrameHeader) : 0; - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureD3D11((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView, pFrameHeader ? &lin_pFrameHeader : nullptr, lin_nFrameHeaderSize); - if (pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1267_lin_to_win(&lin_pFrameHeader, pFrameHeader, nFrameHeaderSize); - return _ret; + if (params->pFrameHeader) + struct_CameraVideoStreamFrameHeader_t_1267_win_to_lin( params->pFrameHeader, &lin_pFrameHeader ); + uint32_t lin_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(lin_pFrameHeader) : 0; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetVideoStreamTextureD3D11((vr::TrackedCameraHandle_t)params->hTrackedCamera, (vr::EVRTrackedCameraFrameType)params->eFrameType, (void *)params->pD3D11DeviceOrResource, (void **)params->ppD3D11ShaderResourceView, params->pFrameHeader ? &lin_pFrameHeader : nullptr, lin_nFrameHeaderSize); + if (params->pFrameHeader) + struct_CameraVideoStreamFrameHeader_t_1267_lin_to_win( &lin_pFrameHeader, params->pFrameHeader, params->nFrameHeaderSize ); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t *pglTextureId, winCameraVideoStreamFrameHeader_t_1267 *pFrameHeader, uint32_t nFrameHeaderSize) +void cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL_params *params ) { - EVRTrackedCameraError _ret; CameraVideoStreamFrameHeader_t lin_pFrameHeader; - if (pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1267_win_to_lin(pFrameHeader, &lin_pFrameHeader); - uint32_t lin_nFrameHeaderSize = nFrameHeaderSize ? sizeof(lin_pFrameHeader) : 0; - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureGL((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::glUInt_t *)pglTextureId, pFrameHeader ? &lin_pFrameHeader : nullptr, lin_nFrameHeaderSize); - if (pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1267_lin_to_win(&lin_pFrameHeader, pFrameHeader, nFrameHeaderSize); - return _ret; + if (params->pFrameHeader) + struct_CameraVideoStreamFrameHeader_t_1267_win_to_lin( params->pFrameHeader, &lin_pFrameHeader ); + uint32_t lin_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(lin_pFrameHeader) : 0; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetVideoStreamTextureGL((vr::TrackedCameraHandle_t)params->hTrackedCamera, (vr::EVRTrackedCameraFrameType)params->eFrameType, (vr::glUInt_t *)params->pglTextureId, params->pFrameHeader ? &lin_pFrameHeader : nullptr, lin_nFrameHeaderSize); + if (params->pFrameHeader) + struct_CameraVideoStreamFrameHeader_t_1267_lin_to_win( &lin_pFrameHeader, params->pFrameHeader, params->nFrameHeaderSize ); } -EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(void *linux_side, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) +void cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL_params *params ) { - EVRTrackedCameraError _ret; - _ret = ((IVRTrackedCamera*)linux_side)->ReleaseVideoStreamTextureGL((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::glUInt_t)glTextureId); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->ReleaseVideoStreamTextureGL((vr::TrackedCameraHandle_t)params->hTrackedCamera, (vr::glUInt_t)params->glTextureId); } -void cppIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace(void *linux_side, ETrackingUniverseOrigin eUniverse) +void cppIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace( struct cppIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace_params *params ) { - ((IVRTrackedCamera*)linux_side)->SetCameraTrackingSpace((vr::ETrackingUniverseOrigin)eUniverse); + ((IVRTrackedCamera*)params->linux_side)->SetCameraTrackingSpace((vr::ETrackingUniverseOrigin)params->eUniverse); } -ETrackingUniverseOrigin cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace(void *linux_side) +void cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace_params *params ) { - ETrackingUniverseOrigin _ret; - _ret = ((IVRTrackedCamera*)linux_side)->GetCameraTrackingSpace(); - return _ret; + params->_ret = ((IVRTrackedCamera*)params->linux_side)->GetCameraTrackingSpace(); } #ifdef __cplusplus diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.h b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.h index fcc586de..2867e40c 100644 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.h +++ b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.h @@ -1,20 +1,150 @@ #ifdef __cplusplus extern "C" { #endif -extern const char * cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum(void *, EVRTrackedCameraError); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_HasCamera(void *, TrackedDeviceIndex_t, bool *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, uint32_t *, uint32_t *, uint32_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics(void *, TrackedDeviceIndex_t, uint32_t, EVRTrackedCameraFrameType, HmdVector2_t *, HmdVector2_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection(void *, TrackedDeviceIndex_t, uint32_t, EVRTrackedCameraFrameType, float, float, HmdMatrix44_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService(void *, TrackedDeviceIndex_t, TrackedCameraHandle_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService(void *, TrackedCameraHandle_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, void *, uint32_t, winCameraVideoStreamFrameHeader_t_1267 *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, VRTextureBounds_t *, uint32_t *, uint32_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, void *, void **, winCameraVideoStreamFrameHeader_t_1267 *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, glUInt_t *, winCameraVideoStreamFrameHeader_t_1267 *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(void *, TrackedCameraHandle_t, glUInt_t); -extern void cppIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace(void *); +struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + EVRTrackedCameraError eCameraError; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_006_HasCamera_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + bool *pHasCamera; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_006_HasCamera( struct cppIVRTrackedCamera_IVRTrackedCamera_006_HasCamera_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + EVRTrackedCameraFrameType eFrameType; + uint32_t *pnWidth; + uint32_t *pnHeight; + uint32_t *pnFrameBufferSize; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + uint32_t nCameraIndex; + EVRTrackedCameraFrameType eFrameType; + HmdVector2_t *pFocalLength; + HmdVector2_t *pCenter; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + uint32_t nCameraIndex; + EVRTrackedCameraFrameType eFrameType; + float flZNear; + float flZFar; + HmdMatrix44_t *pProjection; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + TrackedCameraHandle_t *pHandle; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedCameraHandle_t hTrackedCamera; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService( struct cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedCameraHandle_t hTrackedCamera; + EVRTrackedCameraFrameType eFrameType; + void *pFrameBuffer; + uint32_t nFrameBufferSize; + winCameraVideoStreamFrameHeader_t_1267 *pFrameHeader; + uint32_t nFrameHeaderSize; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedDeviceIndex_t nDeviceIndex; + EVRTrackedCameraFrameType eFrameType; + VRTextureBounds_t *pTextureBounds; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedCameraHandle_t hTrackedCamera; + EVRTrackedCameraFrameType eFrameType; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; + winCameraVideoStreamFrameHeader_t_1267 *pFrameHeader; + uint32_t nFrameHeaderSize; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedCameraHandle_t hTrackedCamera; + EVRTrackedCameraFrameType eFrameType; + glUInt_t *pglTextureId; + winCameraVideoStreamFrameHeader_t_1267 *pFrameHeader; + uint32_t nFrameHeaderSize; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL_params +{ + void *linux_side; + EVRTrackedCameraError _ret; + TrackedCameraHandle_t hTrackedCamera; + glUInt_t glTextureId; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL( struct cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin eUniverse; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace( struct cppIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace_params *params ); + +struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace_params +{ + void *linux_side; + ETrackingUniverseOrigin _ret; +}; +extern void cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace( struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace_params *params ); + #ifdef __cplusplus } #endif diff --git a/vrclient_x64/vrclient_x64/vrclient_main.c b/vrclient_x64/vrclient_x64/vrclient_main.c index acb5d59a..f6414e37 100644 --- a/vrclient_x64/vrclient_x64/vrclient_main.c +++ b/vrclient_x64/vrclient_x64/vrclient_main.c @@ -615,52 +615,64 @@ Texture_t vrclient_translate_texture_dxvk( const Texture_t *texture, struct VRVu EVRInitError __thiscall winIVRClientCore_IVRClientCore_002_Init( struct w_steam_iface *_this, EVRApplicationType eApplicationType ) { - EVRInitError _ret; + struct cppIVRClientCore_IVRClientCore_002_Init_params params = + { + .linux_side = _this->u_iface, + .eApplicationType = eApplicationType, + }; TRACE( "%p\n", _this ); InitializeCriticalSection( &_this->user_data.critical_section ); - _ret = cppIVRClientCore_IVRClientCore_002_Init( _this->u_iface, eApplicationType ); - if (_ret) WARN( "error %#x\n", _ret ); - return _ret; + cppIVRClientCore_IVRClientCore_002_Init( ¶ms ); + if (params._ret) WARN( "error %#x\n", params._ret ); + return params._ret; } void __thiscall winIVRClientCore_IVRClientCore_002_Cleanup( struct w_steam_iface *_this ) { + struct cppIVRClientCore_IVRClientCore_002_Cleanup_params params = + { + .linux_side = _this->u_iface, + }; TRACE( "%p\n", _this ); ivrclientcore_cleanup( &_this->user_data ); - cppIVRClientCore_IVRClientCore_002_Cleanup( _this->u_iface ); + cppIVRClientCore_IVRClientCore_002_Cleanup( ¶ms ); destroy_compositor_data(); } void *__thiscall winIVRClientCore_IVRClientCore_002_GetGenericInterface( struct w_steam_iface *_this, const char *pchNameAndVersion, EVRInitError *peError ) { - const char *cpp_name_and_version = pchNameAndVersion; - void *_ret; + struct cppIVRClientCore_IVRClientCore_002_GetGenericInterface_params params = + { + .linux_side = _this->u_iface, + .pchNameAndVersion = pchNameAndVersion, + .peError = peError, + }; TRACE( "%p\n", _this ); /* In theory we could pass this along, but we'd have to generate a separate * set of thunks for it. Hopefully this will work as it is. */ - if (pchNameAndVersion && !strncmp( pchNameAndVersion, "FnTable:", 8 )) cpp_name_and_version += 8; + if (pchNameAndVersion && !strncmp( pchNameAndVersion, "FnTable:", 8 )) params.pchNameAndVersion += 8; - _ret = cppIVRClientCore_IVRClientCore_002_GetGenericInterface( _this->u_iface, cpp_name_and_version, peError ); + cppIVRClientCore_IVRClientCore_002_GetGenericInterface( ¶ms ); - if (!_ret) + if (!params._ret) { WARN( "Failed to create %s.\n", pchNameAndVersion ); return NULL; } - _ret = ivrclientcore_get_generic_interface( _ret, pchNameAndVersion, &_this->user_data ); - return _ret; + params._ret = ivrclientcore_get_generic_interface( params._ret, pchNameAndVersion, &_this->user_data ); + return params._ret; } bool __thiscall winIVRClientCore_IVRClientCore_002_BIsHmdPresent( struct w_steam_iface *_this ) { - bool _ret; + struct cppIVRClientCore_IVRClientCore_002_BIsHmdPresent_params params = {.linux_side = _this->u_iface}; TRACE( "linux_side %p, compositor_data.client_core_linux_side %p.\n", _this->u_iface, compositor_data.client_core_linux_side ); @@ -669,8 +681,8 @@ bool __thiscall winIVRClientCore_IVRClientCore_002_BIsHmdPresent( struct w_steam * Return true if the value stored by steam.exe helper in registry says the HMD is presnt. */ if (compositor_data.client_core_linux_side || !is_hmd_present_reg()) { - _ret = cppIVRClientCore_IVRClientCore_002_BIsHmdPresent( _this->u_iface ); - return _ret; + cppIVRClientCore_IVRClientCore_002_BIsHmdPresent( ¶ms ); + return params._ret; } return TRUE; @@ -679,69 +691,83 @@ bool __thiscall winIVRClientCore_IVRClientCore_002_BIsHmdPresent( struct w_steam EVRInitError __thiscall winIVRClientCore_IVRClientCore_003_Init( struct w_steam_iface *_this, EVRApplicationType eApplicationType, const char *pStartupInfo ) { + struct cppIVRClientCore_IVRClientCore_003_Init_params params = + { + .linux_side = _this->u_iface, + .eApplicationType = eApplicationType, + .pStartupInfo = pStartupInfo, + }; char *startup_info_converted; - EVRInitError _ret; TRACE( "%p\n", _this ); startup_info_converted = json_convert_startup_info( pStartupInfo ); - if (startup_info_converted) pStartupInfo = startup_info_converted; + if (startup_info_converted) params.pStartupInfo = startup_info_converted; InitializeCriticalSection( &_this->user_data.critical_section ); - _ret = cppIVRClientCore_IVRClientCore_003_Init( _this->u_iface, eApplicationType, pStartupInfo ); + cppIVRClientCore_IVRClientCore_003_Init( ¶ms ); free( startup_info_converted ); - if (_ret) WARN( "error %#x\n", _ret ); - else compositor_data.client_core_linux_side = _this->u_iface; + if (params._ret) WARN( "error %#x\n", params._ret ); + else compositor_data.client_core_linux_side = params.linux_side; - return _ret; + return params._ret; } void __thiscall winIVRClientCore_IVRClientCore_003_Cleanup( struct w_steam_iface *_this ) { + struct cppIVRClientCore_IVRClientCore_003_Cleanup_params params = + { + .linux_side = _this->u_iface, + }; TRACE( "%p\n", _this ); ivrclientcore_cleanup( &_this->user_data ); - cppIVRClientCore_IVRClientCore_003_Cleanup( _this->u_iface ); + cppIVRClientCore_IVRClientCore_003_Cleanup( ¶ms ); destroy_compositor_data(); } void *__thiscall winIVRClientCore_IVRClientCore_003_GetGenericInterface( struct w_steam_iface *_this, const char *pchNameAndVersion, EVRInitError *peError ) { - const char *cpp_name_and_version = pchNameAndVersion; - void *_ret; + struct cppIVRClientCore_IVRClientCore_003_GetGenericInterface_params params = + { + .linux_side = _this->u_iface, + .pchNameAndVersion = pchNameAndVersion, + .peError = peError, + }; TRACE( "%p\n", _this ); /* In theory we could pass this along, but we'd have to generate a separate * set of thunks for it. Hopefully this will work as it is. */ - if (pchNameAndVersion && !strncmp( pchNameAndVersion, "FnTable:", 8 )) cpp_name_and_version += 8; + if (pchNameAndVersion && !strncmp( pchNameAndVersion, "FnTable:", 8 )) params.pchNameAndVersion += 8; - _ret = cppIVRClientCore_IVRClientCore_003_GetGenericInterface( _this->u_iface, cpp_name_and_version, peError ); + cppIVRClientCore_IVRClientCore_003_GetGenericInterface( ¶ms ); - if (!_ret) + if (!params._ret) { WARN( "Failed to create %s.\n", pchNameAndVersion ); return NULL; } - _ret = ivrclientcore_get_generic_interface( _ret, pchNameAndVersion, &_this->user_data ); - return _ret; + params._ret = ivrclientcore_get_generic_interface( params._ret, pchNameAndVersion, &_this->user_data ); + return params._ret; } bool __thiscall winIVRClientCore_IVRClientCore_003_BIsHmdPresent( struct w_steam_iface *_this ) { - bool _ret; + struct cppIVRClientCore_IVRClientCore_003_BIsHmdPresent_params params = {.linux_side = _this->u_iface}; - TRACE( "linux_side %p, compositor_data.client_core_linux_side %p.\n", _this->u_iface, compositor_data.client_core_linux_side ); + TRACE( "linux_side %p, compositor_data.client_core_linux_side %p.\n", _this->u_iface, + compositor_data.client_core_linux_side ); /* BIsHmdPresent() currently always returns FALSE on Linux if called before Init(). * Return true if the value stored by steam.exe helper in registry says the HMD is presnt. */ if (compositor_data.client_core_linux_side || !is_hmd_present_reg()) { - _ret = cppIVRClientCore_IVRClientCore_003_BIsHmdPresent( _this->u_iface ); - return _ret; + cppIVRClientCore_IVRClientCore_003_BIsHmdPresent( ¶ms ); + return params._ret; } return TRUE; @@ -750,13 +776,18 @@ bool __thiscall winIVRClientCore_IVRClientCore_003_BIsHmdPresent( struct w_steam vrmb_typeb __thiscall winIVRMailbox_IVRMailbox_001_undoc3( struct w_steam_iface *_this, vrmb_typea a, const char *b, const char *c ) { - char *converted = json_convert_paths(c); - vrmb_typeb _ret; + struct cppIVRMailbox_IVRMailbox_001_undoc3_params params = + { + .linux_side = _this->u_iface, + .a = a, + .b = b, + .c = json_convert_paths(c), + }; TRACE( "%p\n", _this ); - _ret = cppIVRMailbox_IVRMailbox_001_undoc3( _this->u_iface, a, b, c ); - free(converted); + cppIVRMailbox_IVRMailbox_001_undoc3( ¶ms ); + free( (char *)params.c ); - return _ret; + return params._ret; } diff --git a/vrclient_x64/vrclient_x64/vrcompositor_manual.c b/vrclient_x64/vrclient_x64/vrcompositor_manual.c index 68601789..2064d495 100644 --- a/vrclient_x64/vrclient_x64/vrcompositor_manual.c +++ b/vrclient_x64/vrclient_x64/vrcompositor_manual.c @@ -272,10 +272,16 @@ static void post_present_handoff_init( void *linux_side, unsigned int version ) if (!compositor_data.d3d11_explicit_handoff && version >= 21) { + struct cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode_params params = + { + .linux_side = linux_side, + .bExplicitTimingMode = VRCompositorTimingMode_Explicit_ApplicationPerformsPostPresentHandoff, + }; + /* PostPresentHandoff can be used with d3d11 without SetExplicitTimingMode * (which is Vulkan / d3d12 only), but doing the same with Vulkan results * in lockups and crashes. */ - cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode( linux_side, VRCompositorTimingMode_Explicit_ApplicationPerformsPostPresentHandoff ); + cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode( ¶ms ); compositor_data.d3d11_explicit_handoff = TRUE; } } @@ -315,22 +321,30 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_Submit( struct const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_009_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; TRACE( "%p\n", _this ); compositor_data.handoff_called = FALSE; if (pTexture->eType == TextureType_DirectX) load_compositor_texture_dxvk( eEye, pTexture, nSubmitFlags, &state ); if (pTexture->eType == TextureType_Vulkan) load_compositor_texture_vulkan( eEye, pTexture, nSubmitFlags, &state ); - _ret = cppIVRCompositor_IVRCompositor_009_Submit( _this->u_iface, eEye, state.submit, pBounds, nSubmitFlags ); + params.pTexture = state.submit; + cppIVRCompositor_IVRCompositor_009_Submit( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); - return _ret; + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_009_PostPresentHandoff( struct w_steam_iface *_this ) { + struct cppIVRCompositor_IVRCompositor_009_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; TRACE( "%p\n", _this ); post_present_handoff_init( _this->u_iface, 9 ); - cppIVRCompositor_IVRCompositor_009_PostPresentHandoff( _this->u_iface ); + cppIVRCompositor_IVRCompositor_009_PostPresentHandoff( ¶ms ); post_present_handoff_done(); } @@ -338,12 +352,16 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_SetSkyboxOverri const Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; TRACE( "%p\n", _this ); - pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ); - _ret = cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride( _this->u_iface, pTextures, unTextureCount ); + cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride( ¶ms ); set_skybox_override_done( pTextures, unTextureCount ); - return _ret; + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_Submit( struct w_steam_iface *_this, @@ -351,22 +369,30 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_Submit( struct const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_010_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; TRACE( "%p\n", _this ); compositor_data.handoff_called = FALSE; if (pTexture->eType == TextureType_DirectX) load_compositor_texture_dxvk( eEye, pTexture, nSubmitFlags, &state ); if (pTexture->eType == TextureType_Vulkan) load_compositor_texture_vulkan( eEye, pTexture, nSubmitFlags, &state ); - _ret = cppIVRCompositor_IVRCompositor_010_Submit( _this->u_iface, eEye, state.submit, pBounds, nSubmitFlags ); + params.pTexture = state.submit; + cppIVRCompositor_IVRCompositor_010_Submit( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); - return _ret; + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_010_PostPresentHandoff( struct w_steam_iface *_this ) { + struct cppIVRCompositor_IVRCompositor_010_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; TRACE( "%p\n", _this ); post_present_handoff_init( _this->u_iface, 10 ); - cppIVRCompositor_IVRCompositor_010_PostPresentHandoff( _this->u_iface ); + cppIVRCompositor_IVRCompositor_010_PostPresentHandoff( ¶ms ); post_present_handoff_done(); } @@ -374,12 +400,16 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_SetSkyboxOverri const Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; TRACE( "%p\n", _this ); - pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ); - _ret = cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride( _this->u_iface, pTextures, unTextureCount ); + cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride( ¶ms ); set_skybox_override_done( pTextures, unTextureCount ); - return _ret; + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_Submit( struct w_steam_iface *_this, @@ -387,22 +417,30 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_Submit( struct const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_011_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; TRACE( "%p\n", _this ); compositor_data.handoff_called = FALSE; if (pTexture->eType == TextureType_DirectX) load_compositor_texture_dxvk( eEye, pTexture, nSubmitFlags, &state ); if (pTexture->eType == TextureType_Vulkan) load_compositor_texture_vulkan( eEye, pTexture, nSubmitFlags, &state ); - _ret = cppIVRCompositor_IVRCompositor_011_Submit( _this->u_iface, eEye, state.submit, pBounds, nSubmitFlags ); + params.pTexture = state.submit; + cppIVRCompositor_IVRCompositor_011_Submit( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); - return _ret; + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_011_PostPresentHandoff( struct w_steam_iface *_this ) { + struct cppIVRCompositor_IVRCompositor_011_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; TRACE( "%p\n", _this ); post_present_handoff_init( _this->u_iface, 11 ); - cppIVRCompositor_IVRCompositor_011_PostPresentHandoff( _this->u_iface ); + cppIVRCompositor_IVRCompositor_011_PostPresentHandoff( ¶ms ); post_present_handoff_done(); } @@ -410,12 +448,16 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_SetSkyboxOverri const Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; TRACE( "%p\n", _this ); - pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ); - _ret = cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride( _this->u_iface, pTextures, unTextureCount ); + cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride( ¶ms ); set_skybox_override_done( pTextures, unTextureCount ); - return _ret; + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_Submit( struct w_steam_iface *_this, @@ -423,22 +465,30 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_Submit( struct const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_012_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; TRACE( "%p\n", _this ); compositor_data.handoff_called = FALSE; if (pTexture->eType == TextureType_DirectX) load_compositor_texture_dxvk( eEye, pTexture, nSubmitFlags, &state ); if (pTexture->eType == TextureType_Vulkan) load_compositor_texture_vulkan( eEye, pTexture, nSubmitFlags, &state ); - _ret = cppIVRCompositor_IVRCompositor_012_Submit( _this->u_iface, eEye, state.submit, pBounds, nSubmitFlags ); + params.pTexture = state.submit; + cppIVRCompositor_IVRCompositor_012_Submit( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); - return _ret; + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_012_PostPresentHandoff( struct w_steam_iface *_this ) { + struct cppIVRCompositor_IVRCompositor_012_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; TRACE( "%p\n", _this ); post_present_handoff_init( _this->u_iface, 12 ); - cppIVRCompositor_IVRCompositor_012_PostPresentHandoff( _this->u_iface ); + cppIVRCompositor_IVRCompositor_012_PostPresentHandoff( ¶ms ); post_present_handoff_done(); } @@ -446,12 +496,16 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_SetSkyboxOverri const Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; TRACE( "%p\n", _this ); - pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ); - _ret = cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride( _this->u_iface, pTextures, unTextureCount ); + cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride( ¶ms ); set_skybox_override_done( pTextures, unTextureCount ); - return _ret; + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_Submit( struct w_steam_iface *_this, @@ -459,22 +513,30 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_Submit( struct const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_013_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; TRACE( "%p\n", _this ); compositor_data.handoff_called = FALSE; if (pTexture->eType == TextureType_DirectX) load_compositor_texture_dxvk( eEye, pTexture, nSubmitFlags, &state ); if (pTexture->eType == TextureType_Vulkan) load_compositor_texture_vulkan( eEye, pTexture, nSubmitFlags, &state ); - _ret = cppIVRCompositor_IVRCompositor_013_Submit( _this->u_iface, eEye, state.submit, pBounds, nSubmitFlags ); + params.pTexture = state.submit; + cppIVRCompositor_IVRCompositor_013_Submit( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); - return _ret; + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_013_PostPresentHandoff( struct w_steam_iface *_this ) { + struct cppIVRCompositor_IVRCompositor_013_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; TRACE( "%p\n", _this ); post_present_handoff_init( _this->u_iface, 13 ); - cppIVRCompositor_IVRCompositor_013_PostPresentHandoff( _this->u_iface ); + cppIVRCompositor_IVRCompositor_013_PostPresentHandoff( ¶ms ); post_present_handoff_done(); } @@ -482,12 +544,16 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_SetSkyboxOverri const Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; TRACE( "%p\n", _this ); - pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ); - _ret = cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride( _this->u_iface, pTextures, unTextureCount ); + cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride( ¶ms ); set_skybox_override_done( pTextures, unTextureCount ); - return _ret; + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_Submit( struct w_steam_iface *_this, @@ -495,22 +561,30 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_Submit( struct const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_014_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; TRACE( "%p\n", _this ); compositor_data.handoff_called = FALSE; if (pTexture->eType == TextureType_DirectX) load_compositor_texture_dxvk( eEye, pTexture, nSubmitFlags, &state ); if (pTexture->eType == TextureType_Vulkan) load_compositor_texture_vulkan( eEye, pTexture, nSubmitFlags, &state ); - _ret = cppIVRCompositor_IVRCompositor_014_Submit( _this->u_iface, eEye, state.submit, pBounds, nSubmitFlags ); + params.pTexture = state.submit; + cppIVRCompositor_IVRCompositor_014_Submit( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); - return _ret; + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_014_PostPresentHandoff( struct w_steam_iface *_this ) { + struct cppIVRCompositor_IVRCompositor_014_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; TRACE( "%p\n", _this ); post_present_handoff_init( _this->u_iface, 14 ); - cppIVRCompositor_IVRCompositor_014_PostPresentHandoff( _this->u_iface ); + cppIVRCompositor_IVRCompositor_014_PostPresentHandoff( ¶ms ); post_present_handoff_done(); } @@ -518,12 +592,16 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_SetSkyboxOverri const Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; TRACE( "%p\n", _this ); - pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ); - _ret = cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride( _this->u_iface, pTextures, unTextureCount ); + cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride( ¶ms ); set_skybox_override_done( pTextures, unTextureCount ); - return _ret; + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_Submit( struct w_steam_iface *_this, @@ -531,22 +609,30 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_Submit( struct const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_015_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; TRACE( "%p\n", _this ); compositor_data.handoff_called = FALSE; if (pTexture->eType == TextureType_DirectX) load_compositor_texture_dxvk( eEye, pTexture, nSubmitFlags, &state ); if (pTexture->eType == TextureType_Vulkan) load_compositor_texture_vulkan( eEye, pTexture, nSubmitFlags, &state ); - _ret = cppIVRCompositor_IVRCompositor_015_Submit( _this->u_iface, eEye, state.submit, pBounds, nSubmitFlags ); + params.pTexture = state.submit; + cppIVRCompositor_IVRCompositor_015_Submit( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); - return _ret; + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_015_PostPresentHandoff( struct w_steam_iface *_this ) { + struct cppIVRCompositor_IVRCompositor_015_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; TRACE( "%p\n", _this ); post_present_handoff_init( _this->u_iface, 15 ); - cppIVRCompositor_IVRCompositor_015_PostPresentHandoff( _this->u_iface ); + cppIVRCompositor_IVRCompositor_015_PostPresentHandoff( ¶ms ); post_present_handoff_done(); } @@ -554,25 +640,35 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_SetSkyboxOverri const Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; TRACE( "%p\n", _this ); - pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ); - _ret = cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride( _this->u_iface, pTextures, unTextureCount ); + cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride( ¶ms ); set_skybox_override_done( pTextures, unTextureCount ); - return _ret; + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_016_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE( "%p\n", _this ); wait_get_poses_init( _this->u_iface ); - _ret = cppIVRCompositor_IVRCompositor_016_WaitGetPoses( _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, - pGamePoseArray, unGamePoseArrayCount ); + cppIVRCompositor_IVRCompositor_016_WaitGetPoses( ¶ms ); wait_get_poses_done( _this->u_iface ); - return _ret; + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_Submit( struct w_steam_iface *_this, @@ -580,22 +676,30 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_Submit( struct const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_016_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; TRACE( "%p\n", _this ); compositor_data.handoff_called = FALSE; if (pTexture->eType == TextureType_DirectX) load_compositor_texture_dxvk( eEye, pTexture, nSubmitFlags, &state ); if (pTexture->eType == TextureType_Vulkan) load_compositor_texture_vulkan( eEye, pTexture, nSubmitFlags, &state ); - _ret = cppIVRCompositor_IVRCompositor_016_Submit( _this->u_iface, eEye, state.submit, pBounds, nSubmitFlags ); + params.pTexture = state.submit; + cppIVRCompositor_IVRCompositor_016_Submit( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); - return _ret; + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_016_PostPresentHandoff( struct w_steam_iface *_this ) { + struct cppIVRCompositor_IVRCompositor_016_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; TRACE( "%p\n", _this ); post_present_handoff_init( _this->u_iface, 16 ); - cppIVRCompositor_IVRCompositor_016_PostPresentHandoff( _this->u_iface ); + cppIVRCompositor_IVRCompositor_016_PostPresentHandoff( ¶ms ); post_present_handoff_done(); } @@ -603,25 +707,35 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_SetSkyboxOverri const Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; TRACE( "%p\n", _this ); - pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ); - _ret = cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride( _this->u_iface, pTextures, unTextureCount ); + cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride( ¶ms ); set_skybox_override_done( pTextures, unTextureCount ); - return _ret; + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_017_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE( "%p\n", _this ); wait_get_poses_init( _this->u_iface ); - _ret = cppIVRCompositor_IVRCompositor_017_WaitGetPoses( _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, - pGamePoseArray, unGamePoseArrayCount ); + cppIVRCompositor_IVRCompositor_017_WaitGetPoses( ¶ms ); wait_get_poses_done( _this->u_iface ); - return _ret; + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_Submit( struct w_steam_iface *_this, @@ -629,22 +743,30 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_Submit( struct const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_017_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; TRACE( "%p\n", _this ); compositor_data.handoff_called = FALSE; if (pTexture->eType == TextureType_DirectX) load_compositor_texture_dxvk( eEye, pTexture, nSubmitFlags, &state ); if (pTexture->eType == TextureType_Vulkan) load_compositor_texture_vulkan( eEye, pTexture, nSubmitFlags, &state ); - _ret = cppIVRCompositor_IVRCompositor_017_Submit( _this->u_iface, eEye, state.submit, pBounds, nSubmitFlags ); + params.pTexture = state.submit; + cppIVRCompositor_IVRCompositor_017_Submit( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); - return _ret; + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_017_PostPresentHandoff( struct w_steam_iface *_this ) { + struct cppIVRCompositor_IVRCompositor_017_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; TRACE( "%p\n", _this ); post_present_handoff_init( _this->u_iface, 17 ); - cppIVRCompositor_IVRCompositor_017_PostPresentHandoff( _this->u_iface ); + cppIVRCompositor_IVRCompositor_017_PostPresentHandoff( ¶ms ); post_present_handoff_done(); } @@ -652,25 +774,35 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_SetSkyboxOverri const Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; TRACE( "%p\n", _this ); - pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ); - _ret = cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride( _this->u_iface, pTextures, unTextureCount ); + cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride( ¶ms ); set_skybox_override_done( pTextures, unTextureCount ); - return _ret; + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_018_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE( "%p\n", _this ); wait_get_poses_init( _this->u_iface ); - _ret = cppIVRCompositor_IVRCompositor_018_WaitGetPoses( _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, - pGamePoseArray, unGamePoseArrayCount ); + cppIVRCompositor_IVRCompositor_018_WaitGetPoses( ¶ms ); wait_get_poses_done( _this->u_iface ); - return _ret; + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_Submit( struct w_steam_iface *_this, @@ -678,22 +810,30 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_Submit( struct const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_018_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; TRACE( "%p\n", _this ); compositor_data.handoff_called = FALSE; if (pTexture->eType == TextureType_DirectX) load_compositor_texture_dxvk( eEye, pTexture, nSubmitFlags, &state ); if (pTexture->eType == TextureType_Vulkan) load_compositor_texture_vulkan( eEye, pTexture, nSubmitFlags, &state ); - _ret = cppIVRCompositor_IVRCompositor_018_Submit( _this->u_iface, eEye, state.submit, pBounds, nSubmitFlags ); + params.pTexture = state.submit; + cppIVRCompositor_IVRCompositor_018_Submit( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); - return _ret; + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_018_PostPresentHandoff( struct w_steam_iface *_this ) { + struct cppIVRCompositor_IVRCompositor_018_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; TRACE( "%p\n", _this ); post_present_handoff_init( _this->u_iface, 18 ); - cppIVRCompositor_IVRCompositor_018_PostPresentHandoff( _this->u_iface ); + cppIVRCompositor_IVRCompositor_018_PostPresentHandoff( ¶ms ); post_present_handoff_done(); } @@ -701,25 +841,35 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_SetSkyboxOverri const Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; TRACE( "%p\n", _this ); - pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ); - _ret = cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride( _this->u_iface, pTextures, unTextureCount ); + cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride( ¶ms ); set_skybox_override_done( pTextures, unTextureCount ); - return _ret; + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_019_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE( "%p\n", _this ); wait_get_poses_init( _this->u_iface ); - _ret = cppIVRCompositor_IVRCompositor_019_WaitGetPoses( _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, - pGamePoseArray, unGamePoseArrayCount ); + cppIVRCompositor_IVRCompositor_019_WaitGetPoses( ¶ms ); wait_get_poses_done( _this->u_iface ); - return _ret; + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_Submit( struct w_steam_iface *_this, @@ -727,22 +877,30 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_Submit( struct const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_019_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; TRACE( "%p\n", _this ); compositor_data.handoff_called = FALSE; if (pTexture->eType == TextureType_DirectX) load_compositor_texture_dxvk( eEye, pTexture, nSubmitFlags, &state ); if (pTexture->eType == TextureType_Vulkan) load_compositor_texture_vulkan( eEye, pTexture, nSubmitFlags, &state ); - _ret = cppIVRCompositor_IVRCompositor_019_Submit( _this->u_iface, eEye, state.submit, pBounds, nSubmitFlags ); + params.pTexture = state.submit; + cppIVRCompositor_IVRCompositor_019_Submit( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); - return _ret; + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_019_PostPresentHandoff( struct w_steam_iface *_this ) { + struct cppIVRCompositor_IVRCompositor_019_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; TRACE( "%p\n", _this ); post_present_handoff_init( _this->u_iface, 19 ); - cppIVRCompositor_IVRCompositor_019_PostPresentHandoff( _this->u_iface ); + cppIVRCompositor_IVRCompositor_019_PostPresentHandoff( ¶ms ); post_present_handoff_done(); } @@ -750,35 +908,50 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_SetSkyboxOverri const Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; TRACE( "%p\n", _this ); - pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ); - _ret = cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride( _this->u_iface, pTextures, unTextureCount ); + cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride( ¶ms ); set_skybox_override_done( pTextures, unTextureCount ); - return _ret; + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired( struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize ) { - VkPhysicalDevice_T *native_device = get_native_VkPhysicalDevice( pPhysicalDevice ); - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pPhysicalDevice = get_native_VkPhysicalDevice( pPhysicalDevice ), + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; TRACE( "%p\n", _this ); - _ret = cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired( _this->u_iface, native_device, pchValue, unBufferSize ); - return _ret; + cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_020_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE( "%p\n", _this ); wait_get_poses_init( _this->u_iface ); - _ret = cppIVRCompositor_IVRCompositor_020_WaitGetPoses( _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, - pGamePoseArray, unGamePoseArrayCount ); + cppIVRCompositor_IVRCompositor_020_WaitGetPoses( ¶ms ); wait_get_poses_done( _this->u_iface ); - return _ret; + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_Submit( struct w_steam_iface *_this, @@ -786,22 +959,30 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_Submit( struct const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_020_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; TRACE( "%p\n", _this ); compositor_data.handoff_called = FALSE; if (pTexture->eType == TextureType_DirectX) load_compositor_texture_dxvk( eEye, pTexture, nSubmitFlags, &state ); if (pTexture->eType == TextureType_Vulkan) load_compositor_texture_vulkan( eEye, pTexture, nSubmitFlags, &state ); - _ret = cppIVRCompositor_IVRCompositor_020_Submit( _this->u_iface, eEye, state.submit, pBounds, nSubmitFlags ); + params.pTexture = state.submit; + cppIVRCompositor_IVRCompositor_020_Submit( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); - return _ret; + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_020_PostPresentHandoff( struct w_steam_iface *_this ) { + struct cppIVRCompositor_IVRCompositor_020_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; TRACE( "%p\n", _this ); post_present_handoff_init( _this->u_iface, 20 ); - cppIVRCompositor_IVRCompositor_020_PostPresentHandoff( _this->u_iface ); + cppIVRCompositor_IVRCompositor_020_PostPresentHandoff( ¶ms ); post_present_handoff_done(); } @@ -809,35 +990,50 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_SetSkyboxOverri const Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; TRACE( "%p\n", _this ); - pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ); - _ret = cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride( _this->u_iface, pTextures, unTextureCount ); + cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride( ¶ms ); set_skybox_override_done( pTextures, unTextureCount ); - return _ret; + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired( struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize ) { - VkPhysicalDevice_T *native_device = get_native_VkPhysicalDevice( pPhysicalDevice ); - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pPhysicalDevice = get_native_VkPhysicalDevice( pPhysicalDevice ), + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; TRACE( "%p\n", _this ); - _ret = cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired( _this->u_iface, native_device, pchValue, unBufferSize ); - return _ret; + cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_021_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE( "%p\n", _this ); wait_get_poses_init( _this->u_iface ); - _ret = cppIVRCompositor_IVRCompositor_021_WaitGetPoses( _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, - pGamePoseArray, unGamePoseArrayCount ); + cppIVRCompositor_IVRCompositor_021_WaitGetPoses( ¶ms ); wait_get_poses_done( _this->u_iface ); - return _ret; + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_Submit( struct w_steam_iface *_this, @@ -845,22 +1041,30 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_Submit( struct const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_021_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; TRACE( "%p\n", _this ); compositor_data.handoff_called = FALSE; if (pTexture->eType == TextureType_DirectX) load_compositor_texture_dxvk( eEye, pTexture, nSubmitFlags, &state ); if (pTexture->eType == TextureType_Vulkan) load_compositor_texture_vulkan( eEye, pTexture, nSubmitFlags, &state ); - _ret = cppIVRCompositor_IVRCompositor_021_Submit( _this->u_iface, eEye, state.submit, pBounds, nSubmitFlags ); + params.pTexture = state.submit; + cppIVRCompositor_IVRCompositor_021_Submit( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); - return _ret; + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_021_PostPresentHandoff( struct w_steam_iface *_this ) { + struct cppIVRCompositor_IVRCompositor_021_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; TRACE( "%p\n", _this ); post_present_handoff_init( _this->u_iface, 21 ); - cppIVRCompositor_IVRCompositor_021_PostPresentHandoff( _this->u_iface ); + cppIVRCompositor_IVRCompositor_021_PostPresentHandoff( ¶ms ); post_present_handoff_done(); } @@ -868,35 +1072,50 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_SetSkyboxOverri const Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; TRACE( "%p\n", _this ); - pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ); - _ret = cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride( _this->u_iface, pTextures, unTextureCount ); + cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride( ¶ms ); set_skybox_override_done( pTextures, unTextureCount ); - return _ret; + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired( struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize ) { - VkPhysicalDevice_T *native_device = get_native_VkPhysicalDevice( pPhysicalDevice ); - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pPhysicalDevice = get_native_VkPhysicalDevice( pPhysicalDevice ), + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; TRACE( "%p\n", _this ); - _ret = cppIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired( _this->u_iface, native_device, pchValue, unBufferSize ); - return _ret; + cppIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_022_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE( "%p\n", _this ); wait_get_poses_init( _this->u_iface ); - _ret = cppIVRCompositor_IVRCompositor_022_WaitGetPoses( _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, - pGamePoseArray, unGamePoseArrayCount ); + cppIVRCompositor_IVRCompositor_022_WaitGetPoses( ¶ms ); wait_get_poses_done( _this->u_iface ); - return _ret; + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_Submit( struct w_steam_iface *_this, @@ -904,22 +1123,30 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_Submit( struct const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_022_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; TRACE( "%p\n", _this ); compositor_data.handoff_called = FALSE; if (pTexture->eType == TextureType_DirectX) load_compositor_texture_dxvk( eEye, pTexture, nSubmitFlags, &state ); if (pTexture->eType == TextureType_Vulkan) load_compositor_texture_vulkan( eEye, pTexture, nSubmitFlags, &state ); - _ret = cppIVRCompositor_IVRCompositor_022_Submit( _this->u_iface, eEye, state.submit, pBounds, nSubmitFlags ); + params.pTexture = state.submit; + cppIVRCompositor_IVRCompositor_022_Submit( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); - return _ret; + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_022_PostPresentHandoff( struct w_steam_iface *_this ) { + struct cppIVRCompositor_IVRCompositor_022_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; TRACE( "%p\n", _this ); post_present_handoff_init( _this->u_iface, 22 ); - cppIVRCompositor_IVRCompositor_022_PostPresentHandoff( _this->u_iface ); + cppIVRCompositor_IVRCompositor_022_PostPresentHandoff( ¶ms ); post_present_handoff_done(); } @@ -927,35 +1154,50 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_SetSkyboxOverri const Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; TRACE( "%p\n", _this ); - pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ); - _ret = cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride( _this->u_iface, pTextures, unTextureCount ); + cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride( ¶ms ); set_skybox_override_done( pTextures, unTextureCount ); - return _ret; + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired( struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize ) { - VkPhysicalDevice_T *native_device = get_native_VkPhysicalDevice( pPhysicalDevice ); - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pPhysicalDevice = get_native_VkPhysicalDevice( pPhysicalDevice ), + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; TRACE( "%p\n", _this ); - _ret = cppIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired( _this->u_iface, native_device, pchValue, unBufferSize ); - return _ret; + cppIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_024_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE( "%p\n", _this ); wait_get_poses_init( _this->u_iface ); - _ret = cppIVRCompositor_IVRCompositor_024_WaitGetPoses( _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, - pGamePoseArray, unGamePoseArrayCount ); + cppIVRCompositor_IVRCompositor_024_WaitGetPoses( ¶ms ); wait_get_poses_done( _this->u_iface ); - return _ret; + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_Submit( struct w_steam_iface *_this, @@ -963,22 +1205,30 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_Submit( struct const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_024_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; TRACE( "%p\n", _this ); compositor_data.handoff_called = FALSE; if (pTexture->eType == TextureType_DirectX) load_compositor_texture_dxvk( eEye, pTexture, nSubmitFlags, &state ); if (pTexture->eType == TextureType_Vulkan) load_compositor_texture_vulkan( eEye, pTexture, nSubmitFlags, &state ); - _ret = cppIVRCompositor_IVRCompositor_024_Submit( _this->u_iface, eEye, state.submit, pBounds, nSubmitFlags ); + params.pTexture = state.submit; + cppIVRCompositor_IVRCompositor_024_Submit( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); - return _ret; + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_024_PostPresentHandoff( struct w_steam_iface *_this ) { + struct cppIVRCompositor_IVRCompositor_024_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; TRACE( "%p\n", _this ); post_present_handoff_init( _this->u_iface, 24 ); - cppIVRCompositor_IVRCompositor_024_PostPresentHandoff( _this->u_iface ); + cppIVRCompositor_IVRCompositor_024_PostPresentHandoff( ¶ms ); post_present_handoff_done(); } @@ -986,35 +1236,50 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_SetSkyboxOverri const Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; TRACE( "%p\n", _this ); - pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ); - _ret = cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride( _this->u_iface, pTextures, unTextureCount ); + cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride( ¶ms ); set_skybox_override_done( pTextures, unTextureCount ); - return _ret; + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired( struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize ) { - VkPhysicalDevice_T *native_device = get_native_VkPhysicalDevice( pPhysicalDevice ); - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pPhysicalDevice = get_native_VkPhysicalDevice( pPhysicalDevice ), + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; TRACE( "%p\n", _this ); - _ret = cppIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired( _this->u_iface, native_device, pchValue, unBufferSize ); - return _ret; + cppIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_026_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE( "%p\n", _this ); wait_get_poses_init( _this->u_iface ); - _ret = cppIVRCompositor_IVRCompositor_026_WaitGetPoses( _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, - pGamePoseArray, unGamePoseArrayCount ); + cppIVRCompositor_IVRCompositor_026_WaitGetPoses( ¶ms ); wait_get_poses_done( _this->u_iface ); - return _ret; + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_Submit( struct w_steam_iface *_this, @@ -1022,22 +1287,30 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_Submit( struct const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_026_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; TRACE( "%p\n", _this ); compositor_data.handoff_called = FALSE; if (pTexture->eType == TextureType_DirectX) load_compositor_texture_dxvk( eEye, pTexture, nSubmitFlags, &state ); if (pTexture->eType == TextureType_Vulkan) load_compositor_texture_vulkan( eEye, pTexture, nSubmitFlags, &state ); - _ret = cppIVRCompositor_IVRCompositor_026_Submit( _this->u_iface, eEye, state.submit, pBounds, nSubmitFlags ); + params.pTexture = state.submit; + cppIVRCompositor_IVRCompositor_026_Submit( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); - return _ret; + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_026_PostPresentHandoff( struct w_steam_iface *_this ) { + struct cppIVRCompositor_IVRCompositor_026_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; TRACE( "%p\n", _this ); post_present_handoff_init( _this->u_iface, 26 ); - cppIVRCompositor_IVRCompositor_026_PostPresentHandoff( _this->u_iface ); + cppIVRCompositor_IVRCompositor_026_PostPresentHandoff( ¶ms ); post_present_handoff_done(); } @@ -1045,22 +1318,31 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_SetSkyboxOverri const Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_026_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; TRACE( "%p\n", _this ); - pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ); - _ret = cppIVRCompositor_IVRCompositor_026_SetSkyboxOverride( _this->u_iface, pTextures, unTextureCount ); + cppIVRCompositor_IVRCompositor_026_SetSkyboxOverride( ¶ms ); set_skybox_override_done( pTextures, unTextureCount ); - return _ret; + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired( struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize ) { - VkPhysicalDevice_T *native_device = get_native_VkPhysicalDevice( pPhysicalDevice ); - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pPhysicalDevice = get_native_VkPhysicalDevice( pPhysicalDevice ), + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; TRACE( "%p\n", _this ); - _ret = cppIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired( _this->u_iface, native_device, pchValue, unBufferSize ); - return _ret; + cppIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_Submit( struct w_steam_iface *_this, @@ -1068,22 +1350,30 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_Submit( struct const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags ) { struct submit_state state = {.texture = *pTexture, .submit = &state.texture}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_027_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; TRACE( "%p\n", _this ); compositor_data.handoff_called = FALSE; if (pTexture->eType == TextureType_DirectX) load_compositor_texture_dxvk( eEye, pTexture, nSubmitFlags, &state ); if (pTexture->eType == TextureType_Vulkan) load_compositor_texture_vulkan( eEye, pTexture, nSubmitFlags, &state ); - _ret = cppIVRCompositor_IVRCompositor_027_Submit( _this->u_iface, eEye, state.submit, pBounds, nSubmitFlags ); + params.pTexture = state.submit; + cppIVRCompositor_IVRCompositor_027_Submit( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); - return _ret; + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_027_PostPresentHandoff( struct w_steam_iface *_this ) { + struct cppIVRCompositor_IVRCompositor_027_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; TRACE( "%p\n", _this ); post_present_handoff_init( _this->u_iface, 27 ); - cppIVRCompositor_IVRCompositor_027_PostPresentHandoff( _this->u_iface ); + cppIVRCompositor_IVRCompositor_027_PostPresentHandoff( ¶ms ); post_present_handoff_done(); } @@ -1091,20 +1381,29 @@ EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_SetSkyboxOverri const Texture_t *pTextures, uint32_t unTextureCount ) { struct set_skybox_override_state state = {0}; - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; TRACE( "%p\n", _this ); - pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ); - _ret = cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride( _this->u_iface, pTextures, unTextureCount ); + cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride( ¶ms ); set_skybox_override_done( pTextures, unTextureCount ); - return _ret; + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired( struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize ) { - VkPhysicalDevice_T *native_device = get_native_VkPhysicalDevice( pPhysicalDevice ); - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pPhysicalDevice = get_native_VkPhysicalDevice( pPhysicalDevice ), + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; TRACE( "%p\n", _this ); - _ret = cppIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired( _this->u_iface, native_device, pchValue, unBufferSize ); - return _ret; + cppIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired( ¶ms ); + return params._ret; } diff --git a/vrclient_x64/vrclient_x64/vrinput_manual.c b/vrclient_x64/vrclient_x64/vrinput_manual.c index fd1bbca5..4e49c14f 100644 --- a/vrclient_x64/vrclient_x64/vrinput_manual.c +++ b/vrclient_x64/vrclient_x64/vrinput_manual.c @@ -99,16 +99,22 @@ EVRInputError __thiscall winIVRInput_IVRInput_004_GetDigitalActionData( struct w winInputDigitalActionData_t_1017 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice ) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_004_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE( "%p\n", _this ); - _ret = cppIVRInput_IVRInput_004_GetDigitalActionData( _this->u_iface, action, pActionData, - unActionDataSize, ulRestrictToDevice ); + cppIVRInput_IVRInput_004_GetDigitalActionData( ¶ms ); #ifdef __x86_64__ - return _ret; + return params._ret; #else - if (_ret) return _ret; + if (params._ret) return params._ret; return ivrinput_get_digital_action_data( action, pActionData, unActionDataSize, ulRestrictToDevice, 4 ); #endif } @@ -117,16 +123,22 @@ EVRInputError __thiscall winIVRInput_IVRInput_005_GetDigitalActionData( struct w winInputDigitalActionData_t_1322 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice ) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_005_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE( "%p\n", _this ); - _ret = cppIVRInput_IVRInput_005_GetDigitalActionData( _this->u_iface, action, pActionData, - unActionDataSize, ulRestrictToDevice ); + cppIVRInput_IVRInput_005_GetDigitalActionData( ¶ms ); #ifdef __x86_64__ - return _ret; + return params._ret; #else - if (_ret) return _ret; + if (params._ret) return params._ret; return ivrinput_get_digital_action_data( action, pActionData, unActionDataSize, ulRestrictToDevice, 5 ); #endif } @@ -135,16 +147,22 @@ EVRInputError __thiscall winIVRInput_IVRInput_006_GetDigitalActionData( struct w winInputDigitalActionData_t_1418 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice ) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_006_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE( "%p\n", _this ); - _ret = cppIVRInput_IVRInput_006_GetDigitalActionData( _this->u_iface, action, pActionData, - unActionDataSize, ulRestrictToDevice ); + cppIVRInput_IVRInput_006_GetDigitalActionData( ¶ms ); #ifdef __x86_64__ - return _ret; + return params._ret; #else - if (_ret) return _ret; + if (params._ret) return params._ret; return ivrinput_get_digital_action_data( action, pActionData, unActionDataSize, ulRestrictToDevice, 6 ); #endif } @@ -153,16 +171,22 @@ EVRInputError __thiscall winIVRInput_IVRInput_007_GetDigitalActionData( struct w winInputDigitalActionData_t_1916 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice ) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_007_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE( "%p\n", _this ); - _ret = cppIVRInput_IVRInput_007_GetDigitalActionData( _this->u_iface, action, pActionData, - unActionDataSize, ulRestrictToDevice ); + cppIVRInput_IVRInput_007_GetDigitalActionData( ¶ms ); #ifdef __x86_64__ - return _ret; + return params._ret; #else - if (_ret) return _ret; + if (params._ret) return params._ret; return ivrinput_get_digital_action_data( action, pActionData, unActionDataSize, ulRestrictToDevice, 7 ); #endif } @@ -171,16 +195,22 @@ EVRInputError __thiscall winIVRInput_IVRInput_010_GetDigitalActionData( struct w winInputDigitalActionData_t_1267 *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice ) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_010_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE( "%p\n", _this ); - _ret = cppIVRInput_IVRInput_010_GetDigitalActionData( _this->u_iface, action, pActionData, - unActionDataSize, ulRestrictToDevice ); + cppIVRInput_IVRInput_010_GetDigitalActionData( ¶ms ); #ifdef __x86_64__ - return _ret; + return params._ret; #else - if (_ret) return _ret; + if (params._ret) return params._ret; return ivrinput_get_digital_action_data( action, pActionData, unActionDataSize, ulRestrictToDevice, 10 ); #endif } diff --git a/vrclient_x64/vrclient_x64/vroverlay_manual.c b/vrclient_x64/vrclient_x64/vroverlay_manual.c index df86d644..36c65455 100644 --- a/vrclient_x64/vrclient_x64/vroverlay_manual.c +++ b/vrclient_x64/vrclient_x64/vroverlay_manual.c @@ -166,286 +166,376 @@ EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTexture( struc const Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; TRACE( "%p\n", _this ); if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state ); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayTexture( _this->u_iface, ulOverlayHandle, &state.texture ); + cppIVROverlay_IVROverlay_007_SetOverlayTexture( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); - return _ret; + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTexture( struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; TRACE( "%p\n", _this ); if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state ); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayTexture( _this->u_iface, ulOverlayHandle, &state.texture ); + cppIVROverlay_IVROverlay_008_SetOverlayTexture( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); - return _ret; + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTexture( struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; TRACE( "%p\n", _this ); if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state ); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayTexture( _this->u_iface, ulOverlayHandle, &state.texture ); + cppIVROverlay_IVROverlay_010_SetOverlayTexture( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); - return _ret; + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTexture( struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; TRACE( "%p\n", _this ); if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state ); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayTexture( _this->u_iface, ulOverlayHandle, &state.texture ); + cppIVROverlay_IVROverlay_011_SetOverlayTexture( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); - return _ret; + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTexture( struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; TRACE( "%p\n", _this ); if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state ); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayTexture( _this->u_iface, ulOverlayHandle, &state.texture ); + cppIVROverlay_IVROverlay_012_SetOverlayTexture( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); - return _ret; + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTexture( struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; TRACE( "%p\n", _this ); if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state ); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayTexture( _this->u_iface, ulOverlayHandle, &state.texture ); + cppIVROverlay_IVROverlay_013_SetOverlayTexture( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); - return _ret; + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTexture( struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; TRACE( "%p\n", _this ); if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state ); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayTexture( _this->u_iface, ulOverlayHandle, &state.texture ); + cppIVROverlay_IVROverlay_014_SetOverlayTexture( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); - return _ret; + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTexture( struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; TRACE( "%p\n", _this ); if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state ); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayTexture( _this->u_iface, ulOverlayHandle, &state.texture ); + cppIVROverlay_IVROverlay_016_SetOverlayTexture( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); - return _ret; + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTexture( struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; TRACE( "%p\n", _this ); if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state ); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayTexture( _this->u_iface, ulOverlayHandle, &state.texture ); + cppIVROverlay_IVROverlay_017_SetOverlayTexture( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); - return _ret; + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTexture( struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; TRACE( "%p\n", _this ); if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state ); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayTexture( _this->u_iface, ulOverlayHandle, &state.texture ); + cppIVROverlay_IVROverlay_018_SetOverlayTexture( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); - return _ret; + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTexture( struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; TRACE( "%p\n", _this ); if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state ); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayTexture( _this->u_iface, ulOverlayHandle, &state.texture ); + cppIVROverlay_IVROverlay_019_SetOverlayTexture( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); - return _ret; + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTexture( struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; TRACE( "%p\n", _this ); if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state ); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayTexture( _this->u_iface, ulOverlayHandle, &state.texture ); + cppIVROverlay_IVROverlay_020_SetOverlayTexture( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); - return _ret; + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTexture( struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; TRACE( "%p\n", _this ); if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state ); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayTexture( _this->u_iface, ulOverlayHandle, &state.texture ); + cppIVROverlay_IVROverlay_021_SetOverlayTexture( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); - return _ret; + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTexture( struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; TRACE( "%p\n", _this ); if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state ); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayTexture( _this->u_iface, ulOverlayHandle, &state.texture ); + cppIVROverlay_IVROverlay_022_SetOverlayTexture( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); - return _ret; + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTexture( struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; TRACE( "%p\n", _this ); if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state ); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayTexture( _this->u_iface, ulOverlayHandle, &state.texture ); + cppIVROverlay_IVROverlay_024_SetOverlayTexture( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); - return _ret; + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTexture( struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; TRACE( "%p\n", _this ); if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state ); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayTexture( _this->u_iface, ulOverlayHandle, &state.texture ); + cppIVROverlay_IVROverlay_025_SetOverlayTexture( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); - return _ret; + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTexture( struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; TRACE( "%p\n", _this ); if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state ); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayTexture( _this->u_iface, ulOverlayHandle, &state.texture ); + cppIVROverlay_IVROverlay_026_SetOverlayTexture( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); - return _ret; + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTexture( struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture ) { struct set_overlay_texture_state state = {.texture = *pTexture}; - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; TRACE( "%p\n", _this ); if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state ); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayTexture( _this->u_iface, ulOverlayHandle, &state.texture ); + cppIVROverlay_IVROverlay_027_SetOverlayTexture( ¶ms ); if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); - return _ret; + return params._ret; } diff --git a/vrclient_x64/vrclient_x64/vrrendermodels_manual.c b/vrclient_x64/vrclient_x64/vrrendermodels_manual.c index dae8ae49..7783be7e 100644 --- a/vrclient_x64/vrclient_x64/vrrendermodels_manual.c +++ b/vrclient_x64/vrclient_x64/vrrendermodels_manual.c @@ -104,15 +104,22 @@ static EVRRenderModelError load_linux_texture_map_004( void *linux_side, Texture struct winRenderModel_TextureMap_t_1237 **texture_map ) { struct winRenderModel_TextureMap_t_0918 *orig_map; - EVRRenderModelError _ret; - - _ret = cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async( linux_side, texture_id, &orig_map ); - if (_ret) return _ret; - + struct cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async_params load_params = + { + .linux_side = linux_side, + .textureId = texture_id, + .ppTexture = &orig_map, + }; + struct cppIVRRenderModels_IVRRenderModels_004_FreeTexture_params free_params = + { + .linux_side = linux_side, + }; + cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async( &load_params ); + if (load_params._ret) return load_params._ret; *texture_map = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(**texture_map) ); memcpy( *texture_map, orig_map, sizeof(*orig_map) ); - cppIVRRenderModels_IVRRenderModels_004_FreeTexture( linux_side, orig_map ); - + free_params.pTexture = orig_map; + cppIVRRenderModels_IVRRenderModels_004_FreeTexture( &free_params ); return 0; } @@ -125,15 +132,22 @@ static EVRRenderModelError load_linux_texture_map_005( void *linux_side, Texture struct winRenderModel_TextureMap_t_1237 **texture_map ) { struct winRenderModel_TextureMap_t_1015 *orig_map; - EVRRenderModelError _ret; - - _ret = cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async( linux_side, texture_id, &orig_map ); - if (_ret) return _ret; - + struct cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async_params load_params = + { + .linux_side = linux_side, + .textureId = texture_id, + .ppTexture = &orig_map, + }; + struct cppIVRRenderModels_IVRRenderModels_005_FreeTexture_params free_params = + { + .linux_side = linux_side, + }; + cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async( &load_params ); + if (load_params._ret) return load_params._ret; *texture_map = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(**texture_map) ); memcpy( *texture_map, orig_map, sizeof(*orig_map) ); - cppIVRRenderModels_IVRRenderModels_005_FreeTexture( linux_side, orig_map ); - + free_params.pTexture = orig_map; + cppIVRRenderModels_IVRRenderModels_005_FreeTexture( &free_params ); return 0; } @@ -145,16 +159,25 @@ static void free_linux_texture_map_005( void *linux_side, struct winRenderModel_ static EVRRenderModelError load_linux_texture_map_006( void *linux_side, TextureID_t texture_id, struct winRenderModel_TextureMap_t_1237 **texture_map ) { - EVRRenderModelError _ret; - - _ret = cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async( linux_side, texture_id, (struct winRenderModel_TextureMap_t_1267 **)texture_map ); - - return _ret; + struct cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async_params load_params = + { + .linux_side = linux_side, + .textureId = texture_id, + .ppTexture = (struct winRenderModel_TextureMap_t_1267 **)texture_map, + }; + cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async( &load_params ); + return load_params._ret; } static void free_linux_texture_map_006( void *linux_side, struct winRenderModel_TextureMap_t_1237 *texture_map ) { - cppIVRRenderModels_IVRRenderModels_006_FreeTexture( linux_side, (struct winRenderModel_TextureMap_t_1267 *)texture_map ); + struct cppIVRRenderModels_IVRRenderModels_006_FreeTexture_params params = + { + .linux_side = linux_side, + .pTexture = (struct winRenderModel_TextureMap_t_1267 *)texture_map, + }; + + cppIVRRenderModels_IVRRenderModels_006_FreeTexture( ¶ms ); } static EVRRenderModelError ivrrendermodels_load_texture_d3d11_async( void *device, struct winRenderModel_TextureMap_t_1237 *texture_map, void **dst_texture ) diff --git a/vrclient_x64/vrclient_x64/vrsystem_manual.c b/vrclient_x64/vrclient_x64/vrsystem_manual.c index 8174b6e0..d6042e86 100644 --- a/vrclient_x64/vrclient_x64/vrsystem_manual.c +++ b/vrclient_x64/vrclient_x64/vrsystem_manual.c @@ -132,11 +132,17 @@ void __thiscall winIVRSystem_IVRSystem_017_GetDXGIOutputInfo( struct w_steam_ifa void __thiscall winIVRSystem_IVRSystem_017_GetOutputDevice( struct w_steam_iface *_this, uint64_t *pnDevice, ETextureType textureType, VkInstance_T *pInstance ) { - VkInstance_T *native_instance = unwrap_instance( textureType, pInstance ); + struct cppIVRSystem_IVRSystem_017_GetOutputDevice_params params = + { + .linux_side = _this->u_iface, + .pnDevice = pnDevice, + .textureType = textureType, + .pInstance = unwrap_instance( textureType, pInstance ), + }; TRACE( "%p\n", _this ); - cppIVRSystem_IVRSystem_017_GetOutputDevice( _this->u_iface, pnDevice, textureType, native_instance ); + cppIVRSystem_IVRSystem_017_GetOutputDevice( ¶ms ); *pnDevice = wrap_device( textureType, pInstance, *pnDevice ); } @@ -149,11 +155,17 @@ void __thiscall winIVRSystem_IVRSystem_019_GetDXGIOutputInfo( struct w_steam_ifa void __thiscall winIVRSystem_IVRSystem_019_GetOutputDevice( struct w_steam_iface *_this, uint64_t *pnDevice, ETextureType textureType, VkInstance_T *pInstance ) { - VkInstance_T *native_instance = unwrap_instance( textureType, pInstance ); + struct cppIVRSystem_IVRSystem_019_GetOutputDevice_params params = + { + .linux_side = _this->u_iface, + .pnDevice = pnDevice, + .textureType = textureType, + .pInstance = unwrap_instance( textureType, pInstance ), + }; TRACE( "%p\n", _this ); - cppIVRSystem_IVRSystem_019_GetOutputDevice( _this->u_iface, pnDevice, textureType, native_instance ); + cppIVRSystem_IVRSystem_019_GetOutputDevice( ¶ms ); *pnDevice = wrap_device( textureType, pInstance, *pnDevice ); } @@ -166,11 +178,17 @@ void __thiscall winIVRSystem_IVRSystem_020_GetDXGIOutputInfo( struct w_steam_ifa void __thiscall winIVRSystem_IVRSystem_020_GetOutputDevice( struct w_steam_iface *_this, uint64_t *pnDevice, ETextureType textureType, VkInstance_T *pInstance ) { - VkInstance_T *native_instance = unwrap_instance( textureType, pInstance ); + struct cppIVRSystem_IVRSystem_020_GetOutputDevice_params params = + { + .linux_side = _this->u_iface, + .pnDevice = pnDevice, + .textureType = textureType, + .pInstance = unwrap_instance( textureType, pInstance ), + }; TRACE( "%p\n", _this ); - cppIVRSystem_IVRSystem_020_GetOutputDevice( _this->u_iface, pnDevice, textureType, native_instance ); + cppIVRSystem_IVRSystem_020_GetOutputDevice( ¶ms ); *pnDevice = wrap_device( textureType, pInstance, *pnDevice ); } @@ -183,11 +201,17 @@ void __thiscall winIVRSystem_IVRSystem_021_GetDXGIOutputInfo( struct w_steam_ifa void __thiscall winIVRSystem_IVRSystem_021_GetOutputDevice( struct w_steam_iface *_this, uint64_t *pnDevice, ETextureType textureType, VkInstance_T *pInstance ) { - VkInstance_T *native_instance = unwrap_instance( textureType, pInstance ); + struct cppIVRSystem_IVRSystem_021_GetOutputDevice_params params = + { + .linux_side = _this->u_iface, + .pnDevice = pnDevice, + .textureType = textureType, + .pInstance = unwrap_instance( textureType, pInstance ), + }; TRACE( "%p\n", _this ); - cppIVRSystem_IVRSystem_021_GetOutputDevice( _this->u_iface, pnDevice, textureType, native_instance ); + cppIVRSystem_IVRSystem_021_GetOutputDevice( ¶ms ); *pnDevice = wrap_device( textureType, pInstance, *pnDevice ); } @@ -200,10 +224,16 @@ void __thiscall winIVRSystem_IVRSystem_022_GetDXGIOutputInfo( struct w_steam_ifa void __thiscall winIVRSystem_IVRSystem_022_GetOutputDevice( struct w_steam_iface *_this, uint64_t *pnDevice, ETextureType textureType, VkInstance_T *pInstance ) { - VkInstance_T *native_instance = unwrap_instance( textureType, pInstance ); + struct cppIVRSystem_IVRSystem_022_GetOutputDevice_params params = + { + .linux_side = _this->u_iface, + .pnDevice = pnDevice, + .textureType = textureType, + .pInstance = unwrap_instance( textureType, pInstance ), + }; TRACE( "%p\n", _this ); - cppIVRSystem_IVRSystem_022_GetOutputDevice( _this->u_iface, pnDevice, textureType, native_instance ); + cppIVRSystem_IVRSystem_022_GetOutputDevice( ¶ms ); *pnDevice = wrap_device( textureType, pInstance, *pnDevice ); } diff --git a/vrclient_x64/vrclient_x64/winIVRApplications.c b/vrclient_x64/vrclient_x64/winIVRApplications.c index 2acbedcf..a0588679 100644 --- a/vrclient_x64/vrclient_x64/winIVRApplications.c +++ b/vrclient_x64/vrclient_x64/winIVRApplications.c @@ -42,174 +42,271 @@ DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationsTr EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_AddApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath, bool bTemporary) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_001_AddApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + .bTemporary = bTemporary, + }; const char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( pchApplicationManifestFullPath ); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_AddApplicationManifest(_this->u_iface, u_pchApplicationManifestFullPath, bTemporary); + cppIVRApplications_IVRApplications_001_AddApplicationManifest( ¶ms ); vrclient_free_path( u_pchApplicationManifestFullPath ); - return _ret; + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_RemoveApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_001_RemoveApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + }; const char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( pchApplicationManifestFullPath ); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_RemoveApplicationManifest(_this->u_iface, u_pchApplicationManifestFullPath); + cppIVRApplications_IVRApplications_001_RemoveApplicationManifest( ¶ms ); vrclient_free_path( u_pchApplicationManifestFullPath ); - return _ret; + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_001_IsApplicationInstalled(struct w_steam_iface *_this, const char *pchAppKey) { - bool _ret; + struct cppIVRApplications_IVRApplications_001_IsApplicationInstalled_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_IsApplicationInstalled(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_001_IsApplicationInstalled( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationCount(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRApplications_IVRApplications_001_GetApplicationCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetApplicationCount(_this->u_iface); - return _ret; + cppIVRApplications_IVRApplications_001_GetApplicationCount( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetApplicationKeyByIndex(struct w_steam_iface *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_001_GetApplicationKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .unApplicationIndex = unApplicationIndex, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetApplicationKeyByIndex(_this->u_iface, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_001_GetApplicationKeyByIndex( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId(struct w_steam_iface *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId(_this->u_iface, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_LaunchApplication(struct w_steam_iface *_this, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_001_LaunchApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_LaunchApplication(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_001_LaunchApplication( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_LaunchDashboardOverlay(struct w_steam_iface *_this, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_001_LaunchDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_LaunchDashboardOverlay(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_001_LaunchDashboardOverlay( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_IdentifyApplication(struct w_steam_iface *_this, uint32_t unProcessId, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_001_IdentifyApplication_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_IdentifyApplication(_this->u_iface, unProcessId, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_001_IdentifyApplication( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationProcessId(struct w_steam_iface *_this, const char *pchAppKey) { - uint32_t _ret; + struct cppIVRApplications_IVRApplications_001_GetApplicationProcessId_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetApplicationProcessId(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_001_GetApplicationProcessId( ¶ms ); + return params._ret; } const char * __thiscall winIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum(struct w_steam_iface *_this, EVRApplicationError error) { - const char * _ret; + struct cppIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum( ¶ms ); + return params._ret; } 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; + struct cppIVRApplications_IVRApplications_001_GetApplicationPropertyString_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .pchPropertyValueBuffer = pchPropertyValueBuffer, + .unPropertyValueBufferLen = unPropertyValueBufferLen, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetApplicationPropertyString(_this->u_iface, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); - return _ret; + cppIVRApplications_IVRApplications_001_GetApplicationPropertyString( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_001_GetApplicationPropertyBool(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { - bool _ret; + struct cppIVRApplications_IVRApplications_001_GetApplicationPropertyBool_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetApplicationPropertyBool(_this->u_iface, pchAppKey, eProperty, peError); - return _ret; + cppIVRApplications_IVRApplications_001_GetApplicationPropertyBool( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetHomeApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_001_GetHomeApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetHomeApplication(_this->u_iface, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_001_GetHomeApplication( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_SetHomeApplication(struct w_steam_iface *_this, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_001_SetHomeApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_SetHomeApplication(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_001_SetHomeApplication( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_SetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey, bool bAutoLaunch) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_001_SetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .bAutoLaunch = bAutoLaunch, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_SetApplicationAutoLaunch(_this->u_iface, pchAppKey, bAutoLaunch); - return _ret; + cppIVRApplications_IVRApplications_001_SetApplicationAutoLaunch( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_001_GetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey) { - bool _ret; + struct cppIVRApplications_IVRApplications_001_GetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetApplicationAutoLaunch(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_001_GetApplicationAutoLaunch( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetStartingApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_001_GetStartingApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetStartingApplication(_this->u_iface, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_001_GetStartingApplication( ¶ms ); + return params._ret; } EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_001_GetTransitionState(struct w_steam_iface *_this) { - EVRApplicationTransitionState _ret; + struct cppIVRApplications_IVRApplications_001_GetTransitionState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetTransitionState(_this->u_iface); - return _ret; + cppIVRApplications_IVRApplications_001_GetTransitionState( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck(struct w_steam_iface *_this, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck( ¶ms ); + return params._ret; } const char * __thiscall winIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(struct w_steam_iface *_this, EVRApplicationTransitionState state) { - const char * _ret; + struct cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .state = state, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(_this->u_iface, state); - return _ret; + cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum( ¶ms ); + return params._ret; } extern vtable_ptr winIVRApplications_IVRApplications_001_vtable; @@ -328,166 +425,257 @@ DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_IsQuitUserPromptR EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_AddApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath, bool bTemporary) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_002_AddApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + .bTemporary = bTemporary, + }; const char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( pchApplicationManifestFullPath ); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_AddApplicationManifest(_this->u_iface, u_pchApplicationManifestFullPath, bTemporary); + cppIVRApplications_IVRApplications_002_AddApplicationManifest( ¶ms ); vrclient_free_path( u_pchApplicationManifestFullPath ); - return _ret; + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_RemoveApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_002_RemoveApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + }; const char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( pchApplicationManifestFullPath ); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_RemoveApplicationManifest(_this->u_iface, u_pchApplicationManifestFullPath); + cppIVRApplications_IVRApplications_002_RemoveApplicationManifest( ¶ms ); vrclient_free_path( u_pchApplicationManifestFullPath ); - return _ret; + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_002_IsApplicationInstalled(struct w_steam_iface *_this, const char *pchAppKey) { - bool _ret; + struct cppIVRApplications_IVRApplications_002_IsApplicationInstalled_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_IsApplicationInstalled(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_002_IsApplicationInstalled( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationCount(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRApplications_IVRApplications_002_GetApplicationCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_GetApplicationCount(_this->u_iface); - return _ret; + cppIVRApplications_IVRApplications_002_GetApplicationCount( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_GetApplicationKeyByIndex(struct w_steam_iface *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_002_GetApplicationKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .unApplicationIndex = unApplicationIndex, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_GetApplicationKeyByIndex(_this->u_iface, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_002_GetApplicationKeyByIndex( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId(struct w_steam_iface *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId(_this->u_iface, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_LaunchApplication(struct w_steam_iface *_this, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_002_LaunchApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_LaunchApplication(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_002_LaunchApplication( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_LaunchDashboardOverlay(struct w_steam_iface *_this, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_002_LaunchDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_LaunchDashboardOverlay(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_002_LaunchDashboardOverlay( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_IdentifyApplication(struct w_steam_iface *_this, uint32_t unProcessId, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_002_IdentifyApplication_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_IdentifyApplication(_this->u_iface, unProcessId, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_002_IdentifyApplication( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationProcessId(struct w_steam_iface *_this, const char *pchAppKey) { - uint32_t _ret; + struct cppIVRApplications_IVRApplications_002_GetApplicationProcessId_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_GetApplicationProcessId(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_002_GetApplicationProcessId( ¶ms ); + return params._ret; } const char * __thiscall winIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum(struct w_steam_iface *_this, EVRApplicationError error) { - const char * _ret; + struct cppIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum( ¶ms ); + return params._ret; } 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; + struct cppIVRApplications_IVRApplications_002_GetApplicationPropertyString_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .pchPropertyValueBuffer = pchPropertyValueBuffer, + .unPropertyValueBufferLen = unPropertyValueBufferLen, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_GetApplicationPropertyString(_this->u_iface, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); - return _ret; + cppIVRApplications_IVRApplications_002_GetApplicationPropertyString( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_002_GetApplicationPropertyBool(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { - bool _ret; + struct cppIVRApplications_IVRApplications_002_GetApplicationPropertyBool_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_GetApplicationPropertyBool(_this->u_iface, pchAppKey, eProperty, peError); - return _ret; + cppIVRApplications_IVRApplications_002_GetApplicationPropertyBool( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_SetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey, bool bAutoLaunch) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_002_SetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .bAutoLaunch = bAutoLaunch, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_SetApplicationAutoLaunch(_this->u_iface, pchAppKey, bAutoLaunch); - return _ret; + cppIVRApplications_IVRApplications_002_SetApplicationAutoLaunch( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_002_GetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey) { - bool _ret; + struct cppIVRApplications_IVRApplications_002_GetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_GetApplicationAutoLaunch(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_002_GetApplicationAutoLaunch( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_GetStartingApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_002_GetStartingApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_GetStartingApplication(_this->u_iface, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_002_GetStartingApplication( ¶ms ); + return params._ret; } EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_002_GetTransitionState(struct w_steam_iface *_this) { - EVRApplicationTransitionState _ret; + struct cppIVRApplications_IVRApplications_002_GetTransitionState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_GetTransitionState(_this->u_iface); - return _ret; + cppIVRApplications_IVRApplications_002_GetTransitionState( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck(struct w_steam_iface *_this, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck( ¶ms ); + return params._ret; } const char * __thiscall winIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(struct w_steam_iface *_this, EVRApplicationTransitionState state) { - const char * _ret; + struct cppIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .state = state, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(_this->u_iface, state); - return _ret; + cppIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_002_IsQuitUserPromptRequested(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested(_this->u_iface); - return _ret; + cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested( ¶ms ); + return params._ret; } extern vtable_ptr winIVRApplications_IVRApplications_002_vtable; @@ -605,174 +793,271 @@ DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_IsQuitUserPromptR EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_AddApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath, bool bTemporary) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_003_AddApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + .bTemporary = bTemporary, + }; const char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( pchApplicationManifestFullPath ); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_AddApplicationManifest(_this->u_iface, u_pchApplicationManifestFullPath, bTemporary); + cppIVRApplications_IVRApplications_003_AddApplicationManifest( ¶ms ); vrclient_free_path( u_pchApplicationManifestFullPath ); - return _ret; + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_RemoveApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_003_RemoveApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + }; const char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( pchApplicationManifestFullPath ); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_RemoveApplicationManifest(_this->u_iface, u_pchApplicationManifestFullPath); + cppIVRApplications_IVRApplications_003_RemoveApplicationManifest( ¶ms ); vrclient_free_path( u_pchApplicationManifestFullPath ); - return _ret; + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_003_IsApplicationInstalled(struct w_steam_iface *_this, const char *pchAppKey) { - bool _ret; + struct cppIVRApplications_IVRApplications_003_IsApplicationInstalled_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_IsApplicationInstalled(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_003_IsApplicationInstalled( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationCount(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRApplications_IVRApplications_003_GetApplicationCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetApplicationCount(_this->u_iface); - return _ret; + cppIVRApplications_IVRApplications_003_GetApplicationCount( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_GetApplicationKeyByIndex(struct w_steam_iface *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_003_GetApplicationKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .unApplicationIndex = unApplicationIndex, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetApplicationKeyByIndex(_this->u_iface, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_003_GetApplicationKeyByIndex( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId(struct w_steam_iface *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId(_this->u_iface, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_LaunchApplication(struct w_steam_iface *_this, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_003_LaunchApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_LaunchApplication(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_003_LaunchApplication( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_LaunchDashboardOverlay(struct w_steam_iface *_this, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_003_LaunchDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_LaunchDashboardOverlay(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_003_LaunchDashboardOverlay( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_IdentifyApplication(struct w_steam_iface *_this, uint32_t unProcessId, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_003_IdentifyApplication_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_IdentifyApplication(_this->u_iface, unProcessId, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_003_IdentifyApplication( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationProcessId(struct w_steam_iface *_this, const char *pchAppKey) { - uint32_t _ret; + struct cppIVRApplications_IVRApplications_003_GetApplicationProcessId_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetApplicationProcessId(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_003_GetApplicationProcessId( ¶ms ); + return params._ret; } const char * __thiscall winIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum(struct w_steam_iface *_this, EVRApplicationError error) { - const char * _ret; + struct cppIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum( ¶ms ); + return params._ret; } 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; + struct cppIVRApplications_IVRApplications_003_GetApplicationPropertyString_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .pchPropertyValueBuffer = pchPropertyValueBuffer, + .unPropertyValueBufferLen = unPropertyValueBufferLen, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetApplicationPropertyString(_this->u_iface, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); - return _ret; + cppIVRApplications_IVRApplications_003_GetApplicationPropertyString( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_003_GetApplicationPropertyBool(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { - bool _ret; + struct cppIVRApplications_IVRApplications_003_GetApplicationPropertyBool_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetApplicationPropertyBool(_this->u_iface, pchAppKey, eProperty, peError); - return _ret; + cppIVRApplications_IVRApplications_003_GetApplicationPropertyBool( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationPropertyUint64(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { - uint64_t _ret; + struct cppIVRApplications_IVRApplications_003_GetApplicationPropertyUint64_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetApplicationPropertyUint64(_this->u_iface, pchAppKey, eProperty, peError); - return _ret; + cppIVRApplications_IVRApplications_003_GetApplicationPropertyUint64( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_SetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey, bool bAutoLaunch) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_003_SetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .bAutoLaunch = bAutoLaunch, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_SetApplicationAutoLaunch(_this->u_iface, pchAppKey, bAutoLaunch); - return _ret; + cppIVRApplications_IVRApplications_003_SetApplicationAutoLaunch( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_003_GetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey) { - bool _ret; + struct cppIVRApplications_IVRApplications_003_GetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetApplicationAutoLaunch(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_003_GetApplicationAutoLaunch( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_GetStartingApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_003_GetStartingApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetStartingApplication(_this->u_iface, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_003_GetStartingApplication( ¶ms ); + return params._ret; } EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_003_GetTransitionState(struct w_steam_iface *_this) { - EVRApplicationTransitionState _ret; + struct cppIVRApplications_IVRApplications_003_GetTransitionState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetTransitionState(_this->u_iface); - return _ret; + cppIVRApplications_IVRApplications_003_GetTransitionState( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck(struct w_steam_iface *_this, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck( ¶ms ); + return params._ret; } const char * __thiscall winIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(struct w_steam_iface *_this, EVRApplicationTransitionState state) { - const char * _ret; + struct cppIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .state = state, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(_this->u_iface, state); - return _ret; + cppIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_003_IsQuitUserPromptRequested(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested(_this->u_iface); - return _ret; + cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested( ¶ms ); + return params._ret; } extern vtable_ptr winIVRApplications_IVRApplications_003_vtable; @@ -894,190 +1179,297 @@ DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_LaunchInternalPro EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_AddApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath, bool bTemporary) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_004_AddApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + .bTemporary = bTemporary, + }; const char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( pchApplicationManifestFullPath ); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_AddApplicationManifest(_this->u_iface, u_pchApplicationManifestFullPath, bTemporary); + cppIVRApplications_IVRApplications_004_AddApplicationManifest( ¶ms ); vrclient_free_path( u_pchApplicationManifestFullPath ); - return _ret; + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_RemoveApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_004_RemoveApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + }; const char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( pchApplicationManifestFullPath ); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_RemoveApplicationManifest(_this->u_iface, u_pchApplicationManifestFullPath); + cppIVRApplications_IVRApplications_004_RemoveApplicationManifest( ¶ms ); vrclient_free_path( u_pchApplicationManifestFullPath ); - return _ret; + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_004_IsApplicationInstalled(struct w_steam_iface *_this, const char *pchAppKey) { - bool _ret; + struct cppIVRApplications_IVRApplications_004_IsApplicationInstalled_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_IsApplicationInstalled(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_004_IsApplicationInstalled( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationCount(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRApplications_IVRApplications_004_GetApplicationCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetApplicationCount(_this->u_iface); - return _ret; + cppIVRApplications_IVRApplications_004_GetApplicationCount( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_GetApplicationKeyByIndex(struct w_steam_iface *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_004_GetApplicationKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .unApplicationIndex = unApplicationIndex, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetApplicationKeyByIndex(_this->u_iface, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_004_GetApplicationKeyByIndex( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId(struct w_steam_iface *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId(_this->u_iface, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_LaunchApplication(struct w_steam_iface *_this, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_004_LaunchApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_LaunchApplication(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_004_LaunchApplication( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_LaunchDashboardOverlay(struct w_steam_iface *_this, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_004_LaunchDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_LaunchDashboardOverlay(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_004_LaunchDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_004_CancelApplicationLaunch(struct w_steam_iface *_this, const char *pchAppKey) { - bool _ret; + struct cppIVRApplications_IVRApplications_004_CancelApplicationLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_CancelApplicationLaunch(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_004_CancelApplicationLaunch( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_IdentifyApplication(struct w_steam_iface *_this, uint32_t unProcessId, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_004_IdentifyApplication_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_IdentifyApplication(_this->u_iface, unProcessId, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_004_IdentifyApplication( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationProcessId(struct w_steam_iface *_this, const char *pchAppKey) { - uint32_t _ret; + struct cppIVRApplications_IVRApplications_004_GetApplicationProcessId_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetApplicationProcessId(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_004_GetApplicationProcessId( ¶ms ); + return params._ret; } const char * __thiscall winIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum(struct w_steam_iface *_this, EVRApplicationError error) { - const char * _ret; + struct cppIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum( ¶ms ); + return params._ret; } 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; + struct cppIVRApplications_IVRApplications_004_GetApplicationPropertyString_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .pchPropertyValueBuffer = pchPropertyValueBuffer, + .unPropertyValueBufferLen = unPropertyValueBufferLen, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetApplicationPropertyString(_this->u_iface, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); - return _ret; + cppIVRApplications_IVRApplications_004_GetApplicationPropertyString( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_004_GetApplicationPropertyBool(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { - bool _ret; + struct cppIVRApplications_IVRApplications_004_GetApplicationPropertyBool_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetApplicationPropertyBool(_this->u_iface, pchAppKey, eProperty, peError); - return _ret; + cppIVRApplications_IVRApplications_004_GetApplicationPropertyBool( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationPropertyUint64(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { - uint64_t _ret; + struct cppIVRApplications_IVRApplications_004_GetApplicationPropertyUint64_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetApplicationPropertyUint64(_this->u_iface, pchAppKey, eProperty, peError); - return _ret; + cppIVRApplications_IVRApplications_004_GetApplicationPropertyUint64( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_SetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey, bool bAutoLaunch) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_004_SetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .bAutoLaunch = bAutoLaunch, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_SetApplicationAutoLaunch(_this->u_iface, pchAppKey, bAutoLaunch); - return _ret; + cppIVRApplications_IVRApplications_004_SetApplicationAutoLaunch( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_004_GetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey) { - bool _ret; + struct cppIVRApplications_IVRApplications_004_GetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetApplicationAutoLaunch(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_004_GetApplicationAutoLaunch( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_GetStartingApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_004_GetStartingApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetStartingApplication(_this->u_iface, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_004_GetStartingApplication( ¶ms ); + return params._ret; } EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_004_GetTransitionState(struct w_steam_iface *_this) { - EVRApplicationTransitionState _ret; + struct cppIVRApplications_IVRApplications_004_GetTransitionState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetTransitionState(_this->u_iface); - return _ret; + cppIVRApplications_IVRApplications_004_GetTransitionState( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck(struct w_steam_iface *_this, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck( ¶ms ); + return params._ret; } const char * __thiscall winIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(struct w_steam_iface *_this, EVRApplicationTransitionState state) { - const char * _ret; + struct cppIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .state = state, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(_this->u_iface, state); - return _ret; + cppIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_004_IsQuitUserPromptRequested(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRApplications_IVRApplications_004_IsQuitUserPromptRequested_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_IsQuitUserPromptRequested(_this->u_iface); - return _ret; + cppIVRApplications_IVRApplications_004_IsQuitUserPromptRequested( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_LaunchInternalProcess(struct w_steam_iface *_this, const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_004_LaunchInternalProcess_params params = + { + .linux_side = _this->u_iface, + .pchBinaryPath = pchBinaryPath, + .pchArguments = pchArguments, + .pchWorkingDirectory = pchWorkingDirectory, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_004_LaunchInternalProcess(_this->u_iface, pchBinaryPath, pchArguments, pchWorkingDirectory); - return _ret; + cppIVRApplications_IVRApplications_004_LaunchInternalProcess( ¶ms ); + return params._ret; } extern vtable_ptr winIVRApplications_IVRApplications_004_vtable; @@ -1204,198 +1596,312 @@ DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_LaunchInternalPro EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_AddApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath, bool bTemporary) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_005_AddApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + .bTemporary = bTemporary, + }; const char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( pchApplicationManifestFullPath ); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_AddApplicationManifest(_this->u_iface, u_pchApplicationManifestFullPath, bTemporary); + cppIVRApplications_IVRApplications_005_AddApplicationManifest( ¶ms ); vrclient_free_path( u_pchApplicationManifestFullPath ); - return _ret; + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_RemoveApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_005_RemoveApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + }; const char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( pchApplicationManifestFullPath ); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_RemoveApplicationManifest(_this->u_iface, u_pchApplicationManifestFullPath); + cppIVRApplications_IVRApplications_005_RemoveApplicationManifest( ¶ms ); vrclient_free_path( u_pchApplicationManifestFullPath ); - return _ret; + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_005_IsApplicationInstalled(struct w_steam_iface *_this, const char *pchAppKey) { - bool _ret; + struct cppIVRApplications_IVRApplications_005_IsApplicationInstalled_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_IsApplicationInstalled(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_005_IsApplicationInstalled( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationCount(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRApplications_IVRApplications_005_GetApplicationCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetApplicationCount(_this->u_iface); - return _ret; + cppIVRApplications_IVRApplications_005_GetApplicationCount( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_GetApplicationKeyByIndex(struct w_steam_iface *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_005_GetApplicationKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .unApplicationIndex = unApplicationIndex, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetApplicationKeyByIndex(_this->u_iface, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_005_GetApplicationKeyByIndex( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId(struct w_steam_iface *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId(_this->u_iface, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchApplication(struct w_steam_iface *_this, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_005_LaunchApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_LaunchApplication(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_005_LaunchApplication( ¶ms ); + return params._ret; } 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; + struct cppIVRApplications_IVRApplications_005_LaunchTemplateApplication_params params = + { + .linux_side = _this->u_iface, + .pchTemplateAppKey = pchTemplateAppKey, + .pchNewAppKey = pchNewAppKey, + .pKeys = pKeys, + .unKeys = unKeys, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_LaunchTemplateApplication(_this->u_iface, pchTemplateAppKey, pchNewAppKey, pKeys, unKeys); - return _ret; + cppIVRApplications_IVRApplications_005_LaunchTemplateApplication( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchDashboardOverlay(struct w_steam_iface *_this, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_005_LaunchDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_LaunchDashboardOverlay(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_005_LaunchDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_005_CancelApplicationLaunch(struct w_steam_iface *_this, const char *pchAppKey) { - bool _ret; + struct cppIVRApplications_IVRApplications_005_CancelApplicationLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_CancelApplicationLaunch(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_005_CancelApplicationLaunch( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_IdentifyApplication(struct w_steam_iface *_this, uint32_t unProcessId, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_005_IdentifyApplication_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_IdentifyApplication(_this->u_iface, unProcessId, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_005_IdentifyApplication( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationProcessId(struct w_steam_iface *_this, const char *pchAppKey) { - uint32_t _ret; + struct cppIVRApplications_IVRApplications_005_GetApplicationProcessId_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetApplicationProcessId(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_005_GetApplicationProcessId( ¶ms ); + return params._ret; } const char * __thiscall winIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum(struct w_steam_iface *_this, EVRApplicationError error) { - const char * _ret; + struct cppIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum( ¶ms ); + return params._ret; } 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; + struct cppIVRApplications_IVRApplications_005_GetApplicationPropertyString_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .pchPropertyValueBuffer = pchPropertyValueBuffer, + .unPropertyValueBufferLen = unPropertyValueBufferLen, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetApplicationPropertyString(_this->u_iface, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); - return _ret; + cppIVRApplications_IVRApplications_005_GetApplicationPropertyString( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_005_GetApplicationPropertyBool(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { - bool _ret; + struct cppIVRApplications_IVRApplications_005_GetApplicationPropertyBool_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetApplicationPropertyBool(_this->u_iface, pchAppKey, eProperty, peError); - return _ret; + cppIVRApplications_IVRApplications_005_GetApplicationPropertyBool( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationPropertyUint64(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { - uint64_t _ret; + struct cppIVRApplications_IVRApplications_005_GetApplicationPropertyUint64_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetApplicationPropertyUint64(_this->u_iface, pchAppKey, eProperty, peError); - return _ret; + cppIVRApplications_IVRApplications_005_GetApplicationPropertyUint64( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_SetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey, bool bAutoLaunch) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_005_SetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .bAutoLaunch = bAutoLaunch, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_SetApplicationAutoLaunch(_this->u_iface, pchAppKey, bAutoLaunch); - return _ret; + cppIVRApplications_IVRApplications_005_SetApplicationAutoLaunch( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_005_GetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey) { - bool _ret; + struct cppIVRApplications_IVRApplications_005_GetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetApplicationAutoLaunch(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_005_GetApplicationAutoLaunch( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_GetStartingApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_005_GetStartingApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetStartingApplication(_this->u_iface, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_005_GetStartingApplication( ¶ms ); + return params._ret; } EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_005_GetTransitionState(struct w_steam_iface *_this) { - EVRApplicationTransitionState _ret; + struct cppIVRApplications_IVRApplications_005_GetTransitionState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetTransitionState(_this->u_iface); - return _ret; + cppIVRApplications_IVRApplications_005_GetTransitionState( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck(struct w_steam_iface *_this, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck( ¶ms ); + return params._ret; } const char * __thiscall winIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(struct w_steam_iface *_this, EVRApplicationTransitionState state) { - const char * _ret; + struct cppIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .state = state, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(_this->u_iface, state); - return _ret; + cppIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_005_IsQuitUserPromptRequested(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRApplications_IVRApplications_005_IsQuitUserPromptRequested_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_IsQuitUserPromptRequested(_this->u_iface); - return _ret; + cppIVRApplications_IVRApplications_005_IsQuitUserPromptRequested( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchInternalProcess(struct w_steam_iface *_this, const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_005_LaunchInternalProcess_params params = + { + .linux_side = _this->u_iface, + .pchBinaryPath = pchBinaryPath, + .pchArguments = pchArguments, + .pchWorkingDirectory = pchWorkingDirectory, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_005_LaunchInternalProcess(_this->u_iface, pchBinaryPath, pchArguments, pchWorkingDirectory); - return _ret; + cppIVRApplications_IVRApplications_005_LaunchInternalProcess( ¶ms ); + return params._ret; } extern vtable_ptr winIVRApplications_IVRApplications_005_vtable; @@ -1531,254 +2037,405 @@ DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetCurrentScenePr EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_AddApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath, bool bTemporary) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_006_AddApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + .bTemporary = bTemporary, + }; const char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( pchApplicationManifestFullPath ); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_AddApplicationManifest(_this->u_iface, u_pchApplicationManifestFullPath, bTemporary); + cppIVRApplications_IVRApplications_006_AddApplicationManifest( ¶ms ); vrclient_free_path( u_pchApplicationManifestFullPath ); - return _ret; + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_RemoveApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_006_RemoveApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + }; const char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( pchApplicationManifestFullPath ); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_RemoveApplicationManifest(_this->u_iface, u_pchApplicationManifestFullPath); + cppIVRApplications_IVRApplications_006_RemoveApplicationManifest( ¶ms ); vrclient_free_path( u_pchApplicationManifestFullPath ); - return _ret; + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_006_IsApplicationInstalled(struct w_steam_iface *_this, const char *pchAppKey) { - bool _ret; + struct cppIVRApplications_IVRApplications_006_IsApplicationInstalled_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_IsApplicationInstalled(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_006_IsApplicationInstalled( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationCount(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRApplications_IVRApplications_006_GetApplicationCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationCount(_this->u_iface); - return _ret; + cppIVRApplications_IVRApplications_006_GetApplicationCount( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_GetApplicationKeyByIndex(struct w_steam_iface *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_006_GetApplicationKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .unApplicationIndex = unApplicationIndex, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationKeyByIndex(_this->u_iface, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_006_GetApplicationKeyByIndex( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId(struct w_steam_iface *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId(_this->u_iface, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_LaunchApplication(struct w_steam_iface *_this, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_006_LaunchApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_LaunchApplication(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_006_LaunchApplication( ¶ms ); + return params._ret; } 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; + struct cppIVRApplications_IVRApplications_006_LaunchTemplateApplication_params params = + { + .linux_side = _this->u_iface, + .pchTemplateAppKey = pchTemplateAppKey, + .pchNewAppKey = pchNewAppKey, + .pKeys = pKeys, + .unKeys = unKeys, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_LaunchTemplateApplication(_this->u_iface, pchTemplateAppKey, pchNewAppKey, pKeys, unKeys); - return _ret; + cppIVRApplications_IVRApplications_006_LaunchTemplateApplication( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType(struct w_steam_iface *_this, const char *pchMimeType, const char *pchArgs) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType_params params = + { + .linux_side = _this->u_iface, + .pchMimeType = pchMimeType, + .pchArgs = pchArgs, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType(_this->u_iface, pchMimeType, pchArgs); - return _ret; + cppIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_LaunchDashboardOverlay(struct w_steam_iface *_this, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_006_LaunchDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_LaunchDashboardOverlay(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_006_LaunchDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_006_CancelApplicationLaunch(struct w_steam_iface *_this, const char *pchAppKey) { - bool _ret; + struct cppIVRApplications_IVRApplications_006_CancelApplicationLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_CancelApplicationLaunch(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_006_CancelApplicationLaunch( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_IdentifyApplication(struct w_steam_iface *_this, uint32_t unProcessId, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_006_IdentifyApplication_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_IdentifyApplication(_this->u_iface, unProcessId, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_006_IdentifyApplication( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationProcessId(struct w_steam_iface *_this, const char *pchAppKey) { - uint32_t _ret; + struct cppIVRApplications_IVRApplications_006_GetApplicationProcessId_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationProcessId(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_006_GetApplicationProcessId( ¶ms ); + return params._ret; } const char * __thiscall winIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum(struct w_steam_iface *_this, EVRApplicationError error) { - const char * _ret; + struct cppIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum( ¶ms ); + return params._ret; } 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; + struct cppIVRApplications_IVRApplications_006_GetApplicationPropertyString_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .pchPropertyValueBuffer = pchPropertyValueBuffer, + .unPropertyValueBufferLen = unPropertyValueBufferLen, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationPropertyString(_this->u_iface, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); - return _ret; + cppIVRApplications_IVRApplications_006_GetApplicationPropertyString( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_006_GetApplicationPropertyBool(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { - bool _ret; + struct cppIVRApplications_IVRApplications_006_GetApplicationPropertyBool_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationPropertyBool(_this->u_iface, pchAppKey, eProperty, peError); - return _ret; + cppIVRApplications_IVRApplications_006_GetApplicationPropertyBool( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationPropertyUint64(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { - uint64_t _ret; + struct cppIVRApplications_IVRApplications_006_GetApplicationPropertyUint64_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationPropertyUint64(_this->u_iface, pchAppKey, eProperty, peError); - return _ret; + cppIVRApplications_IVRApplications_006_GetApplicationPropertyUint64( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_SetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey, bool bAutoLaunch) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_006_SetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .bAutoLaunch = bAutoLaunch, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_SetApplicationAutoLaunch(_this->u_iface, pchAppKey, bAutoLaunch); - return _ret; + cppIVRApplications_IVRApplications_006_SetApplicationAutoLaunch( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_006_GetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey) { - bool _ret; + struct cppIVRApplications_IVRApplications_006_GetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationAutoLaunch(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_006_GetApplicationAutoLaunch( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType(struct w_steam_iface *_this, const char *pchAppKey, const char *pchMimeType) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .pchMimeType = pchMimeType, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType(_this->u_iface, pchAppKey, pchMimeType); - return _ret; + cppIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType(struct w_steam_iface *_this, const char *pchMimeType, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - bool _ret; + struct cppIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType_params params = + { + .linux_side = _this->u_iface, + .pchMimeType = pchMimeType, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType(_this->u_iface, pchMimeType, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes(struct w_steam_iface *_this, const char *pchAppKey, char *pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) { - bool _ret; + struct cppIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .pchMimeTypesBuffer = pchMimeTypesBuffer, + .unMimeTypesBuffer = unMimeTypesBuffer, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes(_this->u_iface, pchAppKey, pchMimeTypesBuffer, unMimeTypesBuffer); - return _ret; + cppIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType(struct w_steam_iface *_this, const char *pchMimeType, char *pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) { - uint32_t _ret; + struct cppIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType_params params = + { + .linux_side = _this->u_iface, + .pchMimeType = pchMimeType, + .pchAppKeysThatSupportBuffer = pchAppKeysThatSupportBuffer, + .unAppKeysThatSupportBuffer = unAppKeysThatSupportBuffer, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType(_this->u_iface, pchMimeType, pchAppKeysThatSupportBuffer, unAppKeysThatSupportBuffer); - return _ret; + cppIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationLaunchArguments(struct w_steam_iface *_this, uint32_t unHandle, char *pchArgs, uint32_t unArgs) { - uint32_t _ret; + struct cppIVRApplications_IVRApplications_006_GetApplicationLaunchArguments_params params = + { + .linux_side = _this->u_iface, + .unHandle = unHandle, + .pchArgs = pchArgs, + .unArgs = unArgs, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationLaunchArguments(_this->u_iface, unHandle, pchArgs, unArgs); - return _ret; + cppIVRApplications_IVRApplications_006_GetApplicationLaunchArguments( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_GetStartingApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_006_GetStartingApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetStartingApplication(_this->u_iface, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_006_GetStartingApplication( ¶ms ); + return params._ret; } EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_006_GetTransitionState(struct w_steam_iface *_this) { - EVRApplicationTransitionState _ret; + struct cppIVRApplications_IVRApplications_006_GetTransitionState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetTransitionState(_this->u_iface); - return _ret; + cppIVRApplications_IVRApplications_006_GetTransitionState( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck(struct w_steam_iface *_this, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck( ¶ms ); + return params._ret; } const char * __thiscall winIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(struct w_steam_iface *_this, EVRApplicationTransitionState state) { - const char * _ret; + struct cppIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .state = state, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(_this->u_iface, state); - return _ret; + cppIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_006_IsQuitUserPromptRequested(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRApplications_IVRApplications_006_IsQuitUserPromptRequested_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_IsQuitUserPromptRequested(_this->u_iface); - return _ret; + cppIVRApplications_IVRApplications_006_IsQuitUserPromptRequested( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_LaunchInternalProcess(struct w_steam_iface *_this, const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_006_LaunchInternalProcess_params params = + { + .linux_side = _this->u_iface, + .pchBinaryPath = pchBinaryPath, + .pchArguments = pchArguments, + .pchWorkingDirectory = pchWorkingDirectory, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_LaunchInternalProcess(_this->u_iface, pchBinaryPath, pchArguments, pchWorkingDirectory); - return _ret; + cppIVRApplications_IVRApplications_006_LaunchInternalProcess( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRApplications_IVRApplications_006_GetCurrentSceneProcessId(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRApplications_IVRApplications_006_GetCurrentSceneProcessId_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_006_GetCurrentSceneProcessId(_this->u_iface); - return _ret; + cppIVRApplications_IVRApplications_006_GetCurrentSceneProcessId( ¶ms ); + return params._ret; } extern vtable_ptr winIVRApplications_IVRApplications_006_vtable; @@ -1927,246 +2584,394 @@ DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetCurrentScenePr EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_AddApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath, bool bTemporary) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_007_AddApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + .bTemporary = bTemporary, + }; const char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( pchApplicationManifestFullPath ); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_AddApplicationManifest(_this->u_iface, u_pchApplicationManifestFullPath, bTemporary); + cppIVRApplications_IVRApplications_007_AddApplicationManifest( ¶ms ); vrclient_free_path( u_pchApplicationManifestFullPath ); - return _ret; + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_RemoveApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_007_RemoveApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + }; const char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( pchApplicationManifestFullPath ); TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_RemoveApplicationManifest(_this->u_iface, u_pchApplicationManifestFullPath); + cppIVRApplications_IVRApplications_007_RemoveApplicationManifest( ¶ms ); vrclient_free_path( u_pchApplicationManifestFullPath ); - return _ret; + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_007_IsApplicationInstalled(struct w_steam_iface *_this, const char *pchAppKey) { - bool _ret; + struct cppIVRApplications_IVRApplications_007_IsApplicationInstalled_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_IsApplicationInstalled(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_007_IsApplicationInstalled( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationCount(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRApplications_IVRApplications_007_GetApplicationCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationCount(_this->u_iface); - return _ret; + cppIVRApplications_IVRApplications_007_GetApplicationCount( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_GetApplicationKeyByIndex(struct w_steam_iface *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_007_GetApplicationKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .unApplicationIndex = unApplicationIndex, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationKeyByIndex(_this->u_iface, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_007_GetApplicationKeyByIndex( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId(struct w_steam_iface *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId(_this->u_iface, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchApplication(struct w_steam_iface *_this, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_007_LaunchApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_LaunchApplication(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_007_LaunchApplication( ¶ms ); + return params._ret; } 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; + struct cppIVRApplications_IVRApplications_007_LaunchTemplateApplication_params params = + { + .linux_side = _this->u_iface, + .pchTemplateAppKey = pchTemplateAppKey, + .pchNewAppKey = pchNewAppKey, + .pKeys = pKeys, + .unKeys = unKeys, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_LaunchTemplateApplication(_this->u_iface, pchTemplateAppKey, pchNewAppKey, pKeys, unKeys); - return _ret; + cppIVRApplications_IVRApplications_007_LaunchTemplateApplication( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType(struct w_steam_iface *_this, const char *pchMimeType, const char *pchArgs) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType_params params = + { + .linux_side = _this->u_iface, + .pchMimeType = pchMimeType, + .pchArgs = pchArgs, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType(_this->u_iface, pchMimeType, pchArgs); - return _ret; + cppIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchDashboardOverlay(struct w_steam_iface *_this, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_007_LaunchDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_LaunchDashboardOverlay(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_007_LaunchDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_007_CancelApplicationLaunch(struct w_steam_iface *_this, const char *pchAppKey) { - bool _ret; + struct cppIVRApplications_IVRApplications_007_CancelApplicationLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_CancelApplicationLaunch(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_007_CancelApplicationLaunch( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_IdentifyApplication(struct w_steam_iface *_this, uint32_t unProcessId, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_007_IdentifyApplication_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_IdentifyApplication(_this->u_iface, unProcessId, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_007_IdentifyApplication( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationProcessId(struct w_steam_iface *_this, const char *pchAppKey) { - uint32_t _ret; + struct cppIVRApplications_IVRApplications_007_GetApplicationProcessId_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationProcessId(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_007_GetApplicationProcessId( ¶ms ); + return params._ret; } const char * __thiscall winIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum(struct w_steam_iface *_this, EVRApplicationError error) { - const char * _ret; + struct cppIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum( ¶ms ); + return params._ret; } 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; + struct cppIVRApplications_IVRApplications_007_GetApplicationPropertyString_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .pchPropertyValueBuffer = pchPropertyValueBuffer, + .unPropertyValueBufferLen = unPropertyValueBufferLen, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationPropertyString(_this->u_iface, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); - return _ret; + cppIVRApplications_IVRApplications_007_GetApplicationPropertyString( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_007_GetApplicationPropertyBool(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { - bool _ret; + struct cppIVRApplications_IVRApplications_007_GetApplicationPropertyBool_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationPropertyBool(_this->u_iface, pchAppKey, eProperty, peError); - return _ret; + cppIVRApplications_IVRApplications_007_GetApplicationPropertyBool( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationPropertyUint64(struct w_steam_iface *_this, const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError) { - uint64_t _ret; + struct cppIVRApplications_IVRApplications_007_GetApplicationPropertyUint64_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationPropertyUint64(_this->u_iface, pchAppKey, eProperty, peError); - return _ret; + cppIVRApplications_IVRApplications_007_GetApplicationPropertyUint64( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_SetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey, bool bAutoLaunch) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_007_SetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .bAutoLaunch = bAutoLaunch, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_SetApplicationAutoLaunch(_this->u_iface, pchAppKey, bAutoLaunch); - return _ret; + cppIVRApplications_IVRApplications_007_SetApplicationAutoLaunch( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_007_GetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey) { - bool _ret; + struct cppIVRApplications_IVRApplications_007_GetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationAutoLaunch(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_007_GetApplicationAutoLaunch( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType(struct w_steam_iface *_this, const char *pchAppKey, const char *pchMimeType) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .pchMimeType = pchMimeType, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType(_this->u_iface, pchAppKey, pchMimeType); - return _ret; + cppIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType(struct w_steam_iface *_this, const char *pchMimeType, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - bool _ret; + struct cppIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType_params params = + { + .linux_side = _this->u_iface, + .pchMimeType = pchMimeType, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType(_this->u_iface, pchMimeType, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType( ¶ms ); + return params._ret; } bool __thiscall winIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes(struct w_steam_iface *_this, const char *pchAppKey, char *pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) { - bool _ret; + struct cppIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .pchMimeTypesBuffer = pchMimeTypesBuffer, + .unMimeTypesBuffer = unMimeTypesBuffer, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes(_this->u_iface, pchAppKey, pchMimeTypesBuffer, unMimeTypesBuffer); - return _ret; + cppIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType(struct w_steam_iface *_this, const char *pchMimeType, char *pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) { - uint32_t _ret; + struct cppIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType_params params = + { + .linux_side = _this->u_iface, + .pchMimeType = pchMimeType, + .pchAppKeysThatSupportBuffer = pchAppKeysThatSupportBuffer, + .unAppKeysThatSupportBuffer = unAppKeysThatSupportBuffer, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType(_this->u_iface, pchMimeType, pchAppKeysThatSupportBuffer, unAppKeysThatSupportBuffer); - return _ret; + cppIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationLaunchArguments(struct w_steam_iface *_this, uint32_t unHandle, char *pchArgs, uint32_t unArgs) { - uint32_t _ret; + struct cppIVRApplications_IVRApplications_007_GetApplicationLaunchArguments_params params = + { + .linux_side = _this->u_iface, + .unHandle = unHandle, + .pchArgs = pchArgs, + .unArgs = unArgs, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetApplicationLaunchArguments(_this->u_iface, unHandle, pchArgs, unArgs); - return _ret; + cppIVRApplications_IVRApplications_007_GetApplicationLaunchArguments( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_GetStartingApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_007_GetStartingApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetStartingApplication(_this->u_iface, pchAppKeyBuffer, unAppKeyBufferLen); - return _ret; + cppIVRApplications_IVRApplications_007_GetStartingApplication( ¶ms ); + return params._ret; } EVRSceneApplicationState __thiscall winIVRApplications_IVRApplications_007_GetSceneApplicationState(struct w_steam_iface *_this) { - EVRSceneApplicationState _ret; + struct cppIVRApplications_IVRApplications_007_GetSceneApplicationState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetSceneApplicationState(_this->u_iface); - return _ret; + cppIVRApplications_IVRApplications_007_GetSceneApplicationState( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck(struct w_steam_iface *_this, const char *pchAppKey) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck(_this->u_iface, pchAppKey); - return _ret; + cppIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck( ¶ms ); + return params._ret; } const char * __thiscall winIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum(struct w_steam_iface *_this, EVRSceneApplicationState state) { - const char * _ret; + struct cppIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .state = state, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum(_this->u_iface, state); - return _ret; + cppIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchInternalProcess(struct w_steam_iface *_this, const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory) { - EVRApplicationError _ret; + struct cppIVRApplications_IVRApplications_007_LaunchInternalProcess_params params = + { + .linux_side = _this->u_iface, + .pchBinaryPath = pchBinaryPath, + .pchArguments = pchArguments, + .pchWorkingDirectory = pchWorkingDirectory, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_LaunchInternalProcess(_this->u_iface, pchBinaryPath, pchArguments, pchWorkingDirectory); - return _ret; + cppIVRApplications_IVRApplications_007_LaunchInternalProcess( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRApplications_IVRApplications_007_GetCurrentSceneProcessId(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRApplications_IVRApplications_007_GetCurrentSceneProcessId_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRApplications_IVRApplications_007_GetCurrentSceneProcessId(_this->u_iface); - return _ret; + cppIVRApplications_IVRApplications_007_GetCurrentSceneProcessId( ¶ms ); + return params._ret; } extern vtable_ptr winIVRApplications_IVRApplications_007_vtable; diff --git a/vrclient_x64/vrclient_x64/winIVRChaperone.c b/vrclient_x64/vrclient_x64/winIVRChaperone.c index e61e8e06..bb922a64 100644 --- a/vrclient_x64/vrclient_x64/winIVRChaperone.c +++ b/vrclient_x64/vrclient_x64/winIVRChaperone.c @@ -30,66 +30,105 @@ DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_ForceBoundsVisible, 8) ChaperoneCalibrationState __thiscall winIVRChaperone_IVRChaperone_002_GetCalibrationState(struct w_steam_iface *_this) { - ChaperoneCalibrationState _ret; + struct cppIVRChaperone_IVRChaperone_002_GetCalibrationState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_002_GetCalibrationState(_this->u_iface); - return _ret; + cppIVRChaperone_IVRChaperone_002_GetCalibrationState( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo(struct w_steam_iface *_this, ChaperoneSoftBoundsInfo_t *pInfo) { - bool _ret; + struct cppIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pInfo = pInfo, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo(_this->u_iface, pInfo); - return _ret; + cppIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperone_IVRChaperone_002_GetHardBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) { - bool _ret; + struct cppIVRChaperone_IVRChaperone_002_GetHardBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .punQuadsCount = punQuadsCount, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_002_GetHardBoundsInfo(_this->u_iface, pQuadsBuffer, punQuadsCount); - return _ret; + cppIVRChaperone_IVRChaperone_002_GetHardBoundsInfo( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo(struct w_steam_iface *_this, ChaperoneSeatedBoundsInfo_t *pInfo) { - bool _ret; + struct cppIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pInfo = pInfo, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo(_this->u_iface, pInfo); - return _ret; + cppIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo( ¶ms ); + return params._ret; } void __thiscall winIVRChaperone_IVRChaperone_002_ReloadInfo(struct w_steam_iface *_this) { + struct cppIVRChaperone_IVRChaperone_002_ReloadInfo_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_002_ReloadInfo(_this->u_iface); + cppIVRChaperone_IVRChaperone_002_ReloadInfo( ¶ms ); } void __thiscall winIVRChaperone_IVRChaperone_002_SetSceneColor(struct w_steam_iface *_this, HmdColor_t color) { + struct cppIVRChaperone_IVRChaperone_002_SetSceneColor_params params = + { + .linux_side = _this->u_iface, + .color = color, + }; TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_002_SetSceneColor(_this->u_iface, color); + cppIVRChaperone_IVRChaperone_002_SetSceneColor( ¶ms ); } void __thiscall winIVRChaperone_IVRChaperone_002_GetBoundsColor(struct w_steam_iface *_this, HmdColor_t *pOutputColorArray, int nNumOutputColors) { + struct cppIVRChaperone_IVRChaperone_002_GetBoundsColor_params params = + { + .linux_side = _this->u_iface, + .pOutputColorArray = pOutputColorArray, + .nNumOutputColors = nNumOutputColors, + }; TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_002_GetBoundsColor(_this->u_iface, pOutputColorArray, nNumOutputColors); + cppIVRChaperone_IVRChaperone_002_GetBoundsColor( ¶ms ); } bool __thiscall winIVRChaperone_IVRChaperone_002_AreBoundsVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRChaperone_IVRChaperone_002_AreBoundsVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_002_AreBoundsVisible(_this->u_iface); - return _ret; + cppIVRChaperone_IVRChaperone_002_AreBoundsVisible( ¶ms ); + return params._ret; } void __thiscall winIVRChaperone_IVRChaperone_002_ForceBoundsVisible(struct w_steam_iface *_this, bool bForce) { + struct cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible_params params = + { + .linux_side = _this->u_iface, + .bForce = bForce, + }; TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible(_this->u_iface, bForce); + cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible( ¶ms ); } extern vtable_ptr winIVRChaperone_IVRChaperone_002_vtable; @@ -172,58 +211,95 @@ DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_ForceBoundsVisible, 8) ChaperoneCalibrationState __thiscall winIVRChaperone_IVRChaperone_003_GetCalibrationState(struct w_steam_iface *_this) { - ChaperoneCalibrationState _ret; + struct cppIVRChaperone_IVRChaperone_003_GetCalibrationState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_003_GetCalibrationState(_this->u_iface); - return _ret; + cppIVRChaperone_IVRChaperone_003_GetCalibrationState( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperone_IVRChaperone_003_GetPlayAreaSize(struct w_steam_iface *_this, float *pSizeX, float *pSizeZ) { - bool _ret; + struct cppIVRChaperone_IVRChaperone_003_GetPlayAreaSize_params params = + { + .linux_side = _this->u_iface, + .pSizeX = pSizeX, + .pSizeZ = pSizeZ, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_003_GetPlayAreaSize(_this->u_iface, pSizeX, pSizeZ); - return _ret; + cppIVRChaperone_IVRChaperone_003_GetPlayAreaSize( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperone_IVRChaperone_003_GetPlayAreaRect(struct w_steam_iface *_this, HmdQuad_t *rect) { - bool _ret; + struct cppIVRChaperone_IVRChaperone_003_GetPlayAreaRect_params params = + { + .linux_side = _this->u_iface, + .rect = rect, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_003_GetPlayAreaRect(_this->u_iface, rect); - return _ret; + cppIVRChaperone_IVRChaperone_003_GetPlayAreaRect( ¶ms ); + return params._ret; } void __thiscall winIVRChaperone_IVRChaperone_003_ReloadInfo(struct w_steam_iface *_this) { + struct cppIVRChaperone_IVRChaperone_003_ReloadInfo_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_003_ReloadInfo(_this->u_iface); + cppIVRChaperone_IVRChaperone_003_ReloadInfo( ¶ms ); } void __thiscall winIVRChaperone_IVRChaperone_003_SetSceneColor(struct w_steam_iface *_this, HmdColor_t color) { + struct cppIVRChaperone_IVRChaperone_003_SetSceneColor_params params = + { + .linux_side = _this->u_iface, + .color = color, + }; TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_003_SetSceneColor(_this->u_iface, color); + cppIVRChaperone_IVRChaperone_003_SetSceneColor( ¶ms ); } void __thiscall winIVRChaperone_IVRChaperone_003_GetBoundsColor(struct w_steam_iface *_this, HmdColor_t *pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t *pOutputCameraColor) { + struct cppIVRChaperone_IVRChaperone_003_GetBoundsColor_params params = + { + .linux_side = _this->u_iface, + .pOutputColorArray = pOutputColorArray, + .nNumOutputColors = nNumOutputColors, + .flCollisionBoundsFadeDistance = flCollisionBoundsFadeDistance, + .pOutputCameraColor = pOutputCameraColor, + }; TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_003_GetBoundsColor(_this->u_iface, pOutputColorArray, nNumOutputColors, flCollisionBoundsFadeDistance, pOutputCameraColor); + cppIVRChaperone_IVRChaperone_003_GetBoundsColor( ¶ms ); } bool __thiscall winIVRChaperone_IVRChaperone_003_AreBoundsVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRChaperone_IVRChaperone_003_AreBoundsVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_003_AreBoundsVisible(_this->u_iface); - return _ret; + cppIVRChaperone_IVRChaperone_003_AreBoundsVisible( ¶ms ); + return params._ret; } void __thiscall winIVRChaperone_IVRChaperone_003_ForceBoundsVisible(struct w_steam_iface *_this, bool bForce) { + struct cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible_params params = + { + .linux_side = _this->u_iface, + .bForce = bForce, + }; TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible(_this->u_iface, bForce); + cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible( ¶ms ); } extern vtable_ptr winIVRChaperone_IVRChaperone_003_vtable; @@ -305,64 +381,106 @@ DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_ResetZeroPose, 8) ChaperoneCalibrationState __thiscall winIVRChaperone_IVRChaperone_004_GetCalibrationState(struct w_steam_iface *_this) { - ChaperoneCalibrationState _ret; + struct cppIVRChaperone_IVRChaperone_004_GetCalibrationState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_004_GetCalibrationState(_this->u_iface); - return _ret; + cppIVRChaperone_IVRChaperone_004_GetCalibrationState( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperone_IVRChaperone_004_GetPlayAreaSize(struct w_steam_iface *_this, float *pSizeX, float *pSizeZ) { - bool _ret; + struct cppIVRChaperone_IVRChaperone_004_GetPlayAreaSize_params params = + { + .linux_side = _this->u_iface, + .pSizeX = pSizeX, + .pSizeZ = pSizeZ, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_004_GetPlayAreaSize(_this->u_iface, pSizeX, pSizeZ); - return _ret; + cppIVRChaperone_IVRChaperone_004_GetPlayAreaSize( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperone_IVRChaperone_004_GetPlayAreaRect(struct w_steam_iface *_this, HmdQuad_t *rect) { - bool _ret; + struct cppIVRChaperone_IVRChaperone_004_GetPlayAreaRect_params params = + { + .linux_side = _this->u_iface, + .rect = rect, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_004_GetPlayAreaRect(_this->u_iface, rect); - return _ret; + cppIVRChaperone_IVRChaperone_004_GetPlayAreaRect( ¶ms ); + return params._ret; } void __thiscall winIVRChaperone_IVRChaperone_004_ReloadInfo(struct w_steam_iface *_this) { + struct cppIVRChaperone_IVRChaperone_004_ReloadInfo_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_004_ReloadInfo(_this->u_iface); + cppIVRChaperone_IVRChaperone_004_ReloadInfo( ¶ms ); } void __thiscall winIVRChaperone_IVRChaperone_004_SetSceneColor(struct w_steam_iface *_this, HmdColor_t color) { + struct cppIVRChaperone_IVRChaperone_004_SetSceneColor_params params = + { + .linux_side = _this->u_iface, + .color = color, + }; TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_004_SetSceneColor(_this->u_iface, color); + cppIVRChaperone_IVRChaperone_004_SetSceneColor( ¶ms ); } void __thiscall winIVRChaperone_IVRChaperone_004_GetBoundsColor(struct w_steam_iface *_this, HmdColor_t *pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t *pOutputCameraColor) { + struct cppIVRChaperone_IVRChaperone_004_GetBoundsColor_params params = + { + .linux_side = _this->u_iface, + .pOutputColorArray = pOutputColorArray, + .nNumOutputColors = nNumOutputColors, + .flCollisionBoundsFadeDistance = flCollisionBoundsFadeDistance, + .pOutputCameraColor = pOutputCameraColor, + }; TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_004_GetBoundsColor(_this->u_iface, pOutputColorArray, nNumOutputColors, flCollisionBoundsFadeDistance, pOutputCameraColor); + cppIVRChaperone_IVRChaperone_004_GetBoundsColor( ¶ms ); } bool __thiscall winIVRChaperone_IVRChaperone_004_AreBoundsVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRChaperone_IVRChaperone_004_AreBoundsVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperone_IVRChaperone_004_AreBoundsVisible(_this->u_iface); - return _ret; + cppIVRChaperone_IVRChaperone_004_AreBoundsVisible( ¶ms ); + return params._ret; } void __thiscall winIVRChaperone_IVRChaperone_004_ForceBoundsVisible(struct w_steam_iface *_this, bool bForce) { + struct cppIVRChaperone_IVRChaperone_004_ForceBoundsVisible_params params = + { + .linux_side = _this->u_iface, + .bForce = bForce, + }; TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_004_ForceBoundsVisible(_this->u_iface, bForce); + cppIVRChaperone_IVRChaperone_004_ForceBoundsVisible( ¶ms ); } void __thiscall winIVRChaperone_IVRChaperone_004_ResetZeroPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingUniverseOrigin) { + struct cppIVRChaperone_IVRChaperone_004_ResetZeroPose_params params = + { + .linux_side = _this->u_iface, + .eTrackingUniverseOrigin = eTrackingUniverseOrigin, + }; TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_004_ResetZeroPose(_this->u_iface, eTrackingUniverseOrigin); + cppIVRChaperone_IVRChaperone_004_ResetZeroPose( ¶ms ); } extern vtable_ptr winIVRChaperone_IVRChaperone_004_vtable; diff --git a/vrclient_x64/vrclient_x64/winIVRChaperoneSetup.c b/vrclient_x64/vrclient_x64/winIVRChaperoneSetup.c index 6a8e6167..5b6d1dc8 100644 --- a/vrclient_x64/vrclient_x64/winIVRChaperoneSetup.c +++ b/vrclient_x64/vrclient_x64/winIVRChaperoneSetup.c @@ -37,116 +37,193 @@ DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTa bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy(struct w_steam_iface *_this, EChaperoneConfigFile configFile) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy_params params = + { + .linux_side = _this->u_iface, + .configFile = configFile, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy(_this->u_iface, configFile); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy( ¶ms ); + return params._ret; } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy(struct w_steam_iface *_this) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy(_this->u_iface); + cppIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy( ¶ms ); } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize(struct w_steam_iface *_this, float *pSizeX, float *pSizeZ) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize_params params = + { + .linux_side = _this->u_iface, + .pSizeX = pSizeX, + .pSizeZ = pSizeZ, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize(_this->u_iface, pSizeX, pSizeZ); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect(struct w_steam_iface *_this, HmdQuad_t *rect) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect_params params = + { + .linux_side = _this->u_iface, + .rect = rect, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect(_this->u_iface, rect); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .punQuadsCount = punQuadsCount, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(_this->u_iface, pQuadsBuffer, punQuadsCount); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .punQuadsCount = punQuadsCount, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(_this->u_iface, pQuadsBuffer, punQuadsCount); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pmatSeatedZeroPoseToRawTrackingPose = pmatSeatedZeroPoseToRawTrackingPose, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(_this->u_iface, pmatSeatedZeroPoseToRawTrackingPose); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pmatStandingZeroPoseToRawTrackingPose = pmatStandingZeroPoseToRawTrackingPose, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(_this->u_iface, pmatStandingZeroPoseToRawTrackingPose); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose( ¶ms ); + return params._ret; } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(struct w_steam_iface *_this, float sizeX, float sizeZ) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize_params params = + { + .linux_side = _this->u_iface, + .sizeX = sizeX, + .sizeZ = sizeZ, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(_this->u_iface, sizeX, sizeZ); + cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize( ¶ms ); } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .unQuadsCount = unQuadsCount, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(_this->u_iface, pQuadsBuffer, unQuadsCount); + cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo( ¶ms ); } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pMatSeatedZeroPoseToRawTrackingPose = pMatSeatedZeroPoseToRawTrackingPose, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(_this->u_iface, pMatSeatedZeroPoseToRawTrackingPose); + cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose( ¶ms ); } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(struct w_steam_iface *_this, const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pMatStandingZeroPoseToRawTrackingPose = pMatStandingZeroPoseToRawTrackingPose, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(_this->u_iface, pMatStandingZeroPoseToRawTrackingPose); + cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose( ¶ms ); } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk(struct w_steam_iface *_this, EChaperoneConfigFile configFile) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk_params params = + { + .linux_side = _this->u_iface, + .configFile = configFile, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk(_this->u_iface, configFile); + cppIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk( ¶ms ); } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pmatSeatedZeroPoseToRawTrackingPose = pmatSeatedZeroPoseToRawTrackingPose, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(_this->u_iface, pmatSeatedZeroPoseToRawTrackingPose); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose( ¶ms ); + return params._ret; } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo(struct w_steam_iface *_this, uint8_t *pTagsBuffer, uint32_t unTagCount) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo_params params = + { + .linux_side = _this->u_iface, + .pTagsBuffer = pTagsBuffer, + .unTagCount = unTagCount, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo(_this->u_iface, pTagsBuffer, unTagCount); + cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo( ¶ms ); } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo(struct w_steam_iface *_this, uint8_t *pTagsBuffer, uint32_t *punTagCount) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo_params params = + { + .linux_side = _this->u_iface, + .pTagsBuffer = pTagsBuffer, + .punTagCount = punTagCount, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo(_this->u_iface, pTagsBuffer, punTagCount); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo( ¶ms ); + return params._ret; } extern vtable_ptr winIVRChaperoneSetup_IVRChaperoneSetup_004_vtable; @@ -255,148 +332,245 @@ DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBuf bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy(struct w_steam_iface *_this, EChaperoneConfigFile configFile) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy_params params = + { + .linux_side = _this->u_iface, + .configFile = configFile, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy(_this->u_iface, configFile); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy( ¶ms ); + return params._ret; } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy(struct w_steam_iface *_this) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy(_this->u_iface); + cppIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy( ¶ms ); } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize(struct w_steam_iface *_this, float *pSizeX, float *pSizeZ) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize_params params = + { + .linux_side = _this->u_iface, + .pSizeX = pSizeX, + .pSizeZ = pSizeZ, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize(_this->u_iface, pSizeX, pSizeZ); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect(struct w_steam_iface *_this, HmdQuad_t *rect) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect_params params = + { + .linux_side = _this->u_iface, + .rect = rect, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect(_this->u_iface, rect); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .punQuadsCount = punQuadsCount, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo(_this->u_iface, pQuadsBuffer, punQuadsCount); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .punQuadsCount = punQuadsCount, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo(_this->u_iface, pQuadsBuffer, punQuadsCount); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pmatSeatedZeroPoseToRawTrackingPose = pmatSeatedZeroPoseToRawTrackingPose, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose(_this->u_iface, pmatSeatedZeroPoseToRawTrackingPose); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pmatStandingZeroPoseToRawTrackingPose = pmatStandingZeroPoseToRawTrackingPose, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose(_this->u_iface, pmatStandingZeroPoseToRawTrackingPose); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose( ¶ms ); + return params._ret; } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize(struct w_steam_iface *_this, float sizeX, float sizeZ) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize_params params = + { + .linux_side = _this->u_iface, + .sizeX = sizeX, + .sizeZ = sizeZ, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize(_this->u_iface, sizeX, sizeZ); + cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize( ¶ms ); } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .unQuadsCount = unQuadsCount, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo(_this->u_iface, pQuadsBuffer, unQuadsCount); + cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo( ¶ms ); } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pMatSeatedZeroPoseToRawTrackingPose = pMatSeatedZeroPoseToRawTrackingPose, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose(_this->u_iface, pMatSeatedZeroPoseToRawTrackingPose); + cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose( ¶ms ); } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose(struct w_steam_iface *_this, const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pMatStandingZeroPoseToRawTrackingPose = pMatStandingZeroPoseToRawTrackingPose, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose(_this->u_iface, pMatStandingZeroPoseToRawTrackingPose); + cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose( ¶ms ); } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk(struct w_steam_iface *_this, EChaperoneConfigFile configFile) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk_params params = + { + .linux_side = _this->u_iface, + .configFile = configFile, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk(_this->u_iface, configFile); + cppIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk( ¶ms ); } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pmatSeatedZeroPoseToRawTrackingPose = pmatSeatedZeroPoseToRawTrackingPose, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose(_this->u_iface, pmatSeatedZeroPoseToRawTrackingPose); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose( ¶ms ); + return params._ret; } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo(struct w_steam_iface *_this, uint8_t *pTagsBuffer, uint32_t unTagCount) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo_params params = + { + .linux_side = _this->u_iface, + .pTagsBuffer = pTagsBuffer, + .unTagCount = unTagCount, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo(_this->u_iface, pTagsBuffer, unTagCount); + cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo( ¶ms ); } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo(struct w_steam_iface *_this, uint8_t *pTagsBuffer, uint32_t *punTagCount) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo_params params = + { + .linux_side = _this->u_iface, + .pTagsBuffer = pTagsBuffer, + .punTagCount = punTagCount, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo(_this->u_iface, pTagsBuffer, punTagCount); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .unQuadsCount = unQuadsCount, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo(_this->u_iface, pQuadsBuffer, unQuadsCount); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .punQuadsCount = punQuadsCount, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo(_this->u_iface, pQuadsBuffer, punQuadsCount); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer(struct w_steam_iface *_this, char *pBuffer, uint32_t *pnBufferLength) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer_params params = + { + .linux_side = _this->u_iface, + .pBuffer = pBuffer, + .pnBufferLength = pnBufferLength, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer(_this->u_iface, pBuffer, pnBufferLength); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking(struct w_steam_iface *_this, const char *pBuffer, uint32_t nImportFlags) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking_params params = + { + .linux_side = _this->u_iface, + .pBuffer = pBuffer, + .nImportFlags = nImportFlags, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking(_this->u_iface, pBuffer, nImportFlags); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking( ¶ms ); + return params._ret; } extern vtable_ptr winIVRChaperoneSetup_IVRChaperoneSetup_005_vtable; @@ -513,142 +687,236 @@ DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStar bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy(struct w_steam_iface *_this, EChaperoneConfigFile configFile) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy_params params = + { + .linux_side = _this->u_iface, + .configFile = configFile, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy(_this->u_iface, configFile); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy( ¶ms ); + return params._ret; } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy(struct w_steam_iface *_this) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy(_this->u_iface); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy( ¶ms ); } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize(struct w_steam_iface *_this, float *pSizeX, float *pSizeZ) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize_params params = + { + .linux_side = _this->u_iface, + .pSizeX = pSizeX, + .pSizeZ = pSizeZ, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize(_this->u_iface, pSizeX, pSizeZ); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect(struct w_steam_iface *_this, HmdQuad_t *rect) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect_params params = + { + .linux_side = _this->u_iface, + .rect = rect, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect(_this->u_iface, rect); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .punQuadsCount = punQuadsCount, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo(_this->u_iface, pQuadsBuffer, punQuadsCount); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .punQuadsCount = punQuadsCount, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo(_this->u_iface, pQuadsBuffer, punQuadsCount); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pmatSeatedZeroPoseToRawTrackingPose = pmatSeatedZeroPoseToRawTrackingPose, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose(_this->u_iface, pmatSeatedZeroPoseToRawTrackingPose); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pmatStandingZeroPoseToRawTrackingPose = pmatStandingZeroPoseToRawTrackingPose, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose(_this->u_iface, pmatStandingZeroPoseToRawTrackingPose); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose( ¶ms ); + return params._ret; } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize(struct w_steam_iface *_this, float sizeX, float sizeZ) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize_params params = + { + .linux_side = _this->u_iface, + .sizeX = sizeX, + .sizeZ = sizeZ, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize(_this->u_iface, sizeX, sizeZ); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize( ¶ms ); } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .unQuadsCount = unQuadsCount, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo(_this->u_iface, pQuadsBuffer, unQuadsCount); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo( ¶ms ); } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter(struct w_steam_iface *_this, HmdVector2_t *pPointBuffer, uint32_t unPointCount) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter_params params = + { + .linux_side = _this->u_iface, + .pPointBuffer = pPointBuffer, + .unPointCount = unPointCount, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter(_this->u_iface, pPointBuffer, unPointCount); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter( ¶ms ); } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pMatSeatedZeroPoseToRawTrackingPose = pMatSeatedZeroPoseToRawTrackingPose, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose(_this->u_iface, pMatSeatedZeroPoseToRawTrackingPose); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose( ¶ms ); } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose(struct w_steam_iface *_this, const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pMatStandingZeroPoseToRawTrackingPose = pMatStandingZeroPoseToRawTrackingPose, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose(_this->u_iface, pMatStandingZeroPoseToRawTrackingPose); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose( ¶ms ); } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk(struct w_steam_iface *_this, EChaperoneConfigFile configFile) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk_params params = + { + .linux_side = _this->u_iface, + .configFile = configFile, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk(_this->u_iface, configFile); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk( ¶ms ); } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pmatSeatedZeroPoseToRawTrackingPose = pmatSeatedZeroPoseToRawTrackingPose, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose(_this->u_iface, pmatSeatedZeroPoseToRawTrackingPose); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer(struct w_steam_iface *_this, char *pBuffer, uint32_t *pnBufferLength) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer_params params = + { + .linux_side = _this->u_iface, + .pBuffer = pBuffer, + .pnBufferLength = pnBufferLength, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer(_this->u_iface, pBuffer, pnBufferLength); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer( ¶ms ); + return params._ret; } bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking(struct w_steam_iface *_this, const char *pBuffer, uint32_t nImportFlags) { - bool _ret; + struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking_params params = + { + .linux_side = _this->u_iface, + .pBuffer = pBuffer, + .nImportFlags = nImportFlags, + }; TRACE("%p\n", _this); - _ret = cppIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking(_this->u_iface, pBuffer, nImportFlags); - return _ret; + cppIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking( ¶ms ); + return params._ret; } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview(struct w_steam_iface *_this) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview(_this->u_iface); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview( ¶ms ); } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview(struct w_steam_iface *_this) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview(_this->u_iface); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview( ¶ms ); } void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting(struct w_steam_iface *_this) { + struct cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting(_this->u_iface); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting( ¶ms ); } extern vtable_ptr winIVRChaperoneSetup_IVRChaperoneSetup_006_vtable; diff --git a/vrclient_x64/vrclient_x64/winIVRClientCore.c b/vrclient_x64/vrclient_x64/winIVRClientCore.c index 8a082e40..8b9195f1 100644 --- a/vrclient_x64/vrclient_x64/winIVRClientCore.c +++ b/vrclient_x64/vrclient_x64/winIVRClientCore.c @@ -32,10 +32,14 @@ extern void __thiscall winIVRClientCore_IVRClientCore_002_Cleanup(struct w_steam EVRInitError __thiscall winIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid(struct w_steam_iface *_this, const char *pchInterfaceVersion) { - EVRInitError _ret; + struct cppIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid_params params = + { + .linux_side = _this->u_iface, + .pchInterfaceVersion = pchInterfaceVersion, + }; TRACE("%p\n", _this); - _ret = cppIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid(_this->u_iface, pchInterfaceVersion); - return _ret; + cppIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid( ¶ms ); + return params._ret; } extern void * __thiscall winIVRClientCore_IVRClientCore_002_GetGenericInterface(struct w_steam_iface *_this, const char *pchNameAndVersion, EVRInitError *peError); @@ -44,18 +48,26 @@ extern bool __thiscall winIVRClientCore_IVRClientCore_002_BIsHmdPresent(struct w const char * __thiscall winIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError(struct w_steam_iface *_this, EVRInitError eError) { - const char * _ret; + struct cppIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError_params params = + { + .linux_side = _this->u_iface, + .eError = eError, + }; TRACE("%p\n", _this); - _ret = cppIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError(_this->u_iface, eError); - return _ret; + cppIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError( ¶ms ); + return params._ret; } const char * __thiscall winIVRClientCore_IVRClientCore_002_GetIDForVRInitError(struct w_steam_iface *_this, EVRInitError eError) { - const char * _ret; + struct cppIVRClientCore_IVRClientCore_002_GetIDForVRInitError_params params = + { + .linux_side = _this->u_iface, + .eError = eError, + }; TRACE("%p\n", _this); - _ret = cppIVRClientCore_IVRClientCore_002_GetIDForVRInitError(_this->u_iface, eError); - return _ret; + cppIVRClientCore_IVRClientCore_002_GetIDForVRInitError( ¶ms ); + return params._ret; } extern vtable_ptr winIVRClientCore_IVRClientCore_002_vtable; @@ -137,10 +149,14 @@ extern void __thiscall winIVRClientCore_IVRClientCore_003_Cleanup(struct w_steam EVRInitError __thiscall winIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid(struct w_steam_iface *_this, const char *pchInterfaceVersion) { - EVRInitError _ret; + struct cppIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid_params params = + { + .linux_side = _this->u_iface, + .pchInterfaceVersion = pchInterfaceVersion, + }; TRACE("%p\n", _this); - _ret = cppIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid(_this->u_iface, pchInterfaceVersion); - return _ret; + cppIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid( ¶ms ); + return params._ret; } extern void * __thiscall winIVRClientCore_IVRClientCore_003_GetGenericInterface(struct w_steam_iface *_this, const char *pchNameAndVersion, EVRInitError *peError); @@ -149,18 +165,26 @@ extern bool __thiscall winIVRClientCore_IVRClientCore_003_BIsHmdPresent(struct w const char * __thiscall winIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError(struct w_steam_iface *_this, EVRInitError eError) { - const char * _ret; + struct cppIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError_params params = + { + .linux_side = _this->u_iface, + .eError = eError, + }; TRACE("%p\n", _this); - _ret = cppIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError(_this->u_iface, eError); - return _ret; + cppIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError( ¶ms ); + return params._ret; } const char * __thiscall winIVRClientCore_IVRClientCore_003_GetIDForVRInitError(struct w_steam_iface *_this, EVRInitError eError) { - const char * _ret; + struct cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError_params params = + { + .linux_side = _this->u_iface, + .eError = eError, + }; TRACE("%p\n", _this); - _ret = cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError(_this->u_iface, eError); - return _ret; + cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError( ¶ms ); + return params._ret; } extern vtable_ptr winIVRClientCore_IVRClientCore_003_vtable; diff --git a/vrclient_x64/vrclient_x64/winIVRCompositor.c b/vrclient_x64/vrclient_x64/winIVRCompositor.c index 1c51b194..dd5273f8 100644 --- a/vrclient_x64/vrclient_x64/winIVRCompositor.c +++ b/vrclient_x64/vrclient_x64/winIVRCompositor.c @@ -45,162 +45,290 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetTrackingSpace, 4) uint32_t __thiscall winIVRCompositor_IVRCompositor_005_GetLastError(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_005_GetLastError_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_005_GetLastError(_this->u_iface, pchBuffer, unBufferSize); - return _ret; + cppIVRCompositor_IVRCompositor_005_GetLastError( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_005_SetVSync(struct w_steam_iface *_this, bool bVSync) { + struct cppIVRCompositor_IVRCompositor_005_SetVSync_params params = + { + .linux_side = _this->u_iface, + .bVSync = bVSync, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetVSync(_this->u_iface, bVSync); + cppIVRCompositor_IVRCompositor_005_SetVSync( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_005_GetVSync(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_005_GetVSync_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_005_GetVSync(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_005_GetVSync( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_005_SetGamma(struct w_steam_iface *_this, float fGamma) { + struct cppIVRCompositor_IVRCompositor_005_SetGamma_params params = + { + .linux_side = _this->u_iface, + .fGamma = fGamma, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetGamma(_this->u_iface, fGamma); + cppIVRCompositor_IVRCompositor_005_SetGamma( ¶ms ); } float __thiscall winIVRCompositor_IVRCompositor_005_GetGamma(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_005_GetGamma_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_005_GetGamma(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_005_GetGamma( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_005_SetGraphicsDevice(struct w_steam_iface *_this, Compositor_DeviceType eType, void *pDevice) { + struct cppIVRCompositor_IVRCompositor_005_SetGraphicsDevice_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + .pDevice = pDevice, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetGraphicsDevice(_this->u_iface, eType, pDevice); + cppIVRCompositor_IVRCompositor_005_SetGraphicsDevice( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_005_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pPoseArray, uint32_t unPoseArrayCount) { + struct cppIVRCompositor_IVRCompositor_005_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pPoseArray = pPoseArray, + .unPoseArrayCount = unPoseArrayCount, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_WaitGetPoses(_this->u_iface, pPoseArray, unPoseArrayCount); + cppIVRCompositor_IVRCompositor_005_WaitGetPoses( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_005_Submit(struct w_steam_iface *_this, Hmd_Eye eEye, void *pTexture, Compositor_TextureBounds *pBounds) { + struct cppIVRCompositor_IVRCompositor_005_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pTexture = pTexture, + .pBounds = pBounds, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_Submit(_this->u_iface, eEye, pTexture, pBounds); + cppIVRCompositor_IVRCompositor_005_Submit( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame(_this->u_iface); + cppIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_005_GetOverlayDefaults(struct w_steam_iface *_this, Compositor_OverlaySettings *pSettings) { + struct cppIVRCompositor_IVRCompositor_005_GetOverlayDefaults_params params = + { + .linux_side = _this->u_iface, + .pSettings = pSettings, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_GetOverlayDefaults(_this->u_iface, pSettings); + cppIVRCompositor_IVRCompositor_005_GetOverlayDefaults( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlay(struct w_steam_iface *_this, void *pTexture, Compositor_OverlaySettings *pSettings) { + struct cppIVRCompositor_IVRCompositor_005_SetOverlay_params params = + { + .linux_side = _this->u_iface, + .pTexture = pTexture, + .pSettings = pSettings, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetOverlay(_this->u_iface, pTexture, pSettings); + cppIVRCompositor_IVRCompositor_005_SetOverlay( ¶ms ); } 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) { + struct cppIVRCompositor_IVRCompositor_005_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .buffer = buffer, + .width = width, + .height = height, + .depth = depth, + .pSettings = pSettings, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetOverlayRaw(_this->u_iface, buffer, width, height, depth, pSettings); + cppIVRCompositor_IVRCompositor_005_SetOverlayRaw( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlayFromFile(struct w_steam_iface *_this, const char *pchFilePath, Compositor_OverlaySettings *pSettings) { + struct cppIVRCompositor_IVRCompositor_005_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .pchFilePath = pchFilePath, + .pSettings = pSettings, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetOverlayFromFile(_this->u_iface, u_pchFilePath, pSettings); + cppIVRCompositor_IVRCompositor_005_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); } void __thiscall winIVRCompositor_IVRCompositor_005_ClearOverlay(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_005_ClearOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_ClearOverlay(_this->u_iface); + cppIVRCompositor_IVRCompositor_005_ClearOverlay( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_005_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_091 *pTiming, uint32_t unFramesAgo) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_005_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_005_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); - return _ret; + cppIVRCompositor_IVRCompositor_005_GetFrameTiming( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_005_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_005_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_005_FadeToColor( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_005_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { + struct cppIVRCompositor_IVRCompositor_005_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_FadeGrid(_this->u_iface, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_005_FadeGrid( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_005_CompositorBringToFront(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_005_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_CompositorBringToFront(_this->u_iface); + cppIVRCompositor_IVRCompositor_005_CompositorBringToFront( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_005_CompositorGoToBack(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_005_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_CompositorGoToBack(_this->u_iface); + cppIVRCompositor_IVRCompositor_005_CompositorGoToBack( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_005_CompositorQuit(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_005_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_CompositorQuit(_this->u_iface); + cppIVRCompositor_IVRCompositor_005_CompositorQuit( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_005_IsFullscreen(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_005_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_005_IsFullscreen(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_005_IsFullscreen( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .pSettings = pSettings, + .fAspectRatio = fAspectRatio, + .eOrigin = eOrigin, + .vSource = vSource, + .vDirection = vDirection, + .pvecIntersectionUV = pvecIntersectionUV, + .pvecIntersectionTrackingSpace = pvecIntersectionTrackingSpace, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection(_this->u_iface, pSettings, fAspectRatio, eOrigin, vSource, vDirection, pvecIntersectionUV, pvecIntersectionTrackingSpace); - return _ret; + cppIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_005_SetTrackingSpace(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin) { + struct cppIVRCompositor_IVRCompositor_005_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetTrackingSpace(_this->u_iface, eOrigin); + cppIVRCompositor_IVRCompositor_005_SetTrackingSpace( ¶ms ); } TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_005_GetTrackingSpace(struct w_steam_iface *_this) { - TrackingUniverseOrigin _ret; + struct cppIVRCompositor_IVRCompositor_005_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_005_GetTrackingSpace(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_005_GetTrackingSpace( ¶ms ); + return params._ret; } extern vtable_ptr winIVRCompositor_IVRCompositor_005_vtable; @@ -325,142 +453,236 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_CanRenderScene, 4) uint32_t __thiscall winIVRCompositor_IVRCompositor_006_GetLastError(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_006_GetLastError_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_006_GetLastError(_this->u_iface, pchBuffer, unBufferSize); - return _ret; + cppIVRCompositor_IVRCompositor_006_GetLastError( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_006_SetVSync(struct w_steam_iface *_this, bool bVSync) { + struct cppIVRCompositor_IVRCompositor_006_SetVSync_params params = + { + .linux_side = _this->u_iface, + .bVSync = bVSync, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_SetVSync(_this->u_iface, bVSync); + cppIVRCompositor_IVRCompositor_006_SetVSync( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_006_GetVSync(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_006_GetVSync_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_006_GetVSync(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_006_GetVSync( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_006_SetGamma(struct w_steam_iface *_this, float fGamma) { + struct cppIVRCompositor_IVRCompositor_006_SetGamma_params params = + { + .linux_side = _this->u_iface, + .fGamma = fGamma, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_SetGamma(_this->u_iface, fGamma); + cppIVRCompositor_IVRCompositor_006_SetGamma( ¶ms ); } float __thiscall winIVRCompositor_IVRCompositor_006_GetGamma(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_006_GetGamma_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_006_GetGamma(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_006_GetGamma( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_006_SetGraphicsDevice(struct w_steam_iface *_this, Compositor_DeviceType eType, void *pDevice) { + struct cppIVRCompositor_IVRCompositor_006_SetGraphicsDevice_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + .pDevice = pDevice, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_SetGraphicsDevice(_this->u_iface, eType, pDevice); + cppIVRCompositor_IVRCompositor_006_SetGraphicsDevice( ¶ms ); } 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; + struct cppIVRCompositor_IVRCompositor_006_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_006_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_006_WaitGetPoses( ¶ms ); + return params._ret; } VRCompositorError __thiscall winIVRCompositor_IVRCompositor_006_Submit(struct w_steam_iface *_this, Hmd_Eye eEye, void *pTexture, VRTextureBounds_t *pBounds) { - VRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_006_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pTexture = pTexture, + .pBounds = pBounds, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_006_Submit(_this->u_iface, eEye, pTexture, pBounds); - return _ret; + cppIVRCompositor_IVRCompositor_006_Submit( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame(_this->u_iface); + cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_006_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_092 *pTiming, uint32_t unFramesAgo) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_006_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_006_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); - return _ret; + cppIVRCompositor_IVRCompositor_006_GetFrameTiming( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_006_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_006_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_006_FadeToColor( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_006_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { + struct cppIVRCompositor_IVRCompositor_006_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_FadeGrid(_this->u_iface, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_006_FadeGrid( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_006_CompositorBringToFront(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_006_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_CompositorBringToFront(_this->u_iface); + cppIVRCompositor_IVRCompositor_006_CompositorBringToFront( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_006_CompositorGoToBack(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_006_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_CompositorGoToBack(_this->u_iface); + cppIVRCompositor_IVRCompositor_006_CompositorGoToBack( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_006_CompositorQuit(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_006_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_CompositorQuit(_this->u_iface); + cppIVRCompositor_IVRCompositor_006_CompositorQuit( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_006_IsFullscreen(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_006_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_006_IsFullscreen(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_006_IsFullscreen( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_006_SetTrackingSpace(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin) { + struct cppIVRCompositor_IVRCompositor_006_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_SetTrackingSpace(_this->u_iface, eOrigin); + cppIVRCompositor_IVRCompositor_006_SetTrackingSpace( ¶ms ); } TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_006_GetTrackingSpace(struct w_steam_iface *_this) { - TrackingUniverseOrigin _ret; + struct cppIVRCompositor_IVRCompositor_006_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_006_GetTrackingSpace(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_006_GetTrackingSpace( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_006_CanRenderScene(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_006_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_006_CanRenderScene(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_006_CanRenderScene( ¶ms ); + return params._ret; } extern vtable_ptr winIVRCompositor_IVRCompositor_006_vtable; @@ -576,137 +798,226 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_CanRenderScene, 4) uint32_t __thiscall winIVRCompositor_IVRCompositor_007_GetLastError(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_007_GetLastError_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_007_GetLastError(_this->u_iface, pchBuffer, unBufferSize); - return _ret; + cppIVRCompositor_IVRCompositor_007_GetLastError( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_007_SetVSync(struct w_steam_iface *_this, bool bVSync) { + struct cppIVRCompositor_IVRCompositor_007_SetVSync_params params = + { + .linux_side = _this->u_iface, + .bVSync = bVSync, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_SetVSync(_this->u_iface, bVSync); + cppIVRCompositor_IVRCompositor_007_SetVSync( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_007_GetVSync(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_007_GetVSync_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_007_GetVSync(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_007_GetVSync( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_007_SetGamma(struct w_steam_iface *_this, float fGamma) { + struct cppIVRCompositor_IVRCompositor_007_SetGamma_params params = + { + .linux_side = _this->u_iface, + .fGamma = fGamma, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_SetGamma(_this->u_iface, fGamma); + cppIVRCompositor_IVRCompositor_007_SetGamma( ¶ms ); } float __thiscall winIVRCompositor_IVRCompositor_007_GetGamma(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_007_GetGamma_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_007_GetGamma(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_007_GetGamma( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_007_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_007_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_007_WaitGetPoses( ¶ms ); + return params._ret; } VRCompositorError __thiscall winIVRCompositor_IVRCompositor_007_Submit(struct w_steam_iface *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void *pTexture, const VRTextureBounds_t *pBounds) { - VRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_007_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .eTextureType = eTextureType, + .pTexture = pTexture, + .pBounds = pBounds, + }; TRACE("%p\n", _this); if (eTextureType == API_DirectX) FIXME( "Not implemented Direct3D API!\n" ); - _ret = cppIVRCompositor_IVRCompositor_007_Submit(_this->u_iface, eEye, eTextureType, pTexture, pBounds); - return _ret; + cppIVRCompositor_IVRCompositor_007_Submit( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame(_this->u_iface); + cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_007_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_098 *pTiming, uint32_t unFramesAgo) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_007_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_007_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); - return _ret; + cppIVRCompositor_IVRCompositor_007_GetFrameTiming( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_007_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_007_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_007_FadeToColor( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_007_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { + struct cppIVRCompositor_IVRCompositor_007_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_FadeGrid(_this->u_iface, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_007_FadeGrid( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_007_CompositorBringToFront(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_007_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_CompositorBringToFront(_this->u_iface); + cppIVRCompositor_IVRCompositor_007_CompositorBringToFront( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_007_CompositorGoToBack(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_007_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_CompositorGoToBack(_this->u_iface); + cppIVRCompositor_IVRCompositor_007_CompositorGoToBack( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_007_CompositorQuit(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_007_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_CompositorQuit(_this->u_iface); + cppIVRCompositor_IVRCompositor_007_CompositorQuit( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_007_IsFullscreen(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_007_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_007_IsFullscreen(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_007_IsFullscreen( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_007_SetTrackingSpace(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin) { + struct cppIVRCompositor_IVRCompositor_007_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_SetTrackingSpace(_this->u_iface, eOrigin); + cppIVRCompositor_IVRCompositor_007_SetTrackingSpace( ¶ms ); } TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_007_GetTrackingSpace(struct w_steam_iface *_this) { - TrackingUniverseOrigin _ret; + struct cppIVRCompositor_IVRCompositor_007_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_007_GetTrackingSpace(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_007_GetTrackingSpace( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_007_CanRenderScene(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_007_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_007_CanRenderScene(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_007_CanRenderScene( ¶ms ); + return params._ret; } extern vtable_ptr winIVRCompositor_IVRCompositor_007_vtable; @@ -827,184 +1138,307 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer, uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetLastError(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_008_GetLastError_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_008_GetLastError(_this->u_iface, pchBuffer, unBufferSize); - return _ret; + cppIVRCompositor_IVRCompositor_008_GetLastError( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_008_SetVSync(struct w_steam_iface *_this, bool bVSync) { + struct cppIVRCompositor_IVRCompositor_008_SetVSync_params params = + { + .linux_side = _this->u_iface, + .bVSync = bVSync, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_SetVSync(_this->u_iface, bVSync); + cppIVRCompositor_IVRCompositor_008_SetVSync( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_008_GetVSync(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_008_GetVSync_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_008_GetVSync(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_008_GetVSync( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_008_SetGamma(struct w_steam_iface *_this, float fGamma) { + struct cppIVRCompositor_IVRCompositor_008_SetGamma_params params = + { + .linux_side = _this->u_iface, + .fGamma = fGamma, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_SetGamma(_this->u_iface, fGamma); + cppIVRCompositor_IVRCompositor_008_SetGamma( ¶ms ); } float __thiscall winIVRCompositor_IVRCompositor_008_GetGamma(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_008_GetGamma_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_008_GetGamma(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_008_GetGamma( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_008_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_008_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_008_WaitGetPoses( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_008_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .eTextureType = eTextureType, + .pTexture = pTexture, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; TRACE("%p\n", _this); if (eTextureType == API_DirectX) FIXME( "Not implemented Direct3D API!\n" ); - _ret = cppIVRCompositor_IVRCompositor_008_Submit(_this->u_iface, eEye, eTextureType, pTexture, pBounds, nSubmitFlags); - return _ret; + cppIVRCompositor_IVRCompositor_008_Submit( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame(_this->u_iface); + cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_008_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_0910 *pTiming, uint32_t unFramesAgo) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_008_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_008_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); - return _ret; + cppIVRCompositor_IVRCompositor_008_GetFrameTiming( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_008_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_008_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_008_FadeToColor( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_008_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { + struct cppIVRCompositor_IVRCompositor_008_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_FadeGrid(_this->u_iface, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_008_FadeGrid( ¶ms ); } 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) { + struct cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .eTextureType = eTextureType, + .pFront = pFront, + .pBack = pBack, + .pLeft = pLeft, + .pRight = pRight, + .pTop = pTop, + .pBottom = pBottom, + }; TRACE("%p\n", _this); if (eTextureType == API_DirectX) FIXME( "Not implemented Direct3D API!\n" ); - cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride(_this->u_iface, eTextureType, pFront, pBack, pLeft, pRight, pTop, pBottom); + cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_008_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_ClearSkyboxOverride(_this->u_iface); + cppIVRCompositor_IVRCompositor_008_ClearSkyboxOverride( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_008_CompositorBringToFront(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_008_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_CompositorBringToFront(_this->u_iface); + cppIVRCompositor_IVRCompositor_008_CompositorBringToFront( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_008_CompositorGoToBack(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_008_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_CompositorGoToBack(_this->u_iface); + cppIVRCompositor_IVRCompositor_008_CompositorGoToBack( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_008_CompositorQuit(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_008_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_CompositorQuit(_this->u_iface); + cppIVRCompositor_IVRCompositor_008_CompositorQuit( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_008_IsFullscreen(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_008_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_008_IsFullscreen(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_008_IsFullscreen( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_008_SetTrackingSpace(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin) { + struct cppIVRCompositor_IVRCompositor_008_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_SetTrackingSpace(_this->u_iface, eOrigin); + cppIVRCompositor_IVRCompositor_008_SetTrackingSpace( ¶ms ); } TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_008_GetTrackingSpace(struct w_steam_iface *_this) { - TrackingUniverseOrigin _ret; + struct cppIVRCompositor_IVRCompositor_008_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_008_GetTrackingSpace(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_008_GetTrackingSpace( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_008_CanRenderScene(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_008_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_008_CanRenderScene(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_008_CanRenderScene( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_008_ShowMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_008_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_ShowMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_008_ShowMirrorWindow( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_008_HideMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_008_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_HideMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_008_HideMirrorWindow( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_008_CompositorDumpImages(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_008_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_CompositorDumpImages(_this->u_iface); + cppIVRCompositor_IVRCompositor_008_CompositorDumpImages( ¶ms ); } float __thiscall winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer( ¶ms ); + return params._ret; } extern vtable_ptr winIVRCompositor_IVRCompositor_008_vtable; @@ -1137,154 +1571,247 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CompositorDumpImages, void __thiscall winIVRCompositor_IVRCompositor_009_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { + struct cppIVRCompositor_IVRCompositor_009_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_SetTrackingSpace(_this->u_iface, eOrigin); + cppIVRCompositor_IVRCompositor_009_SetTrackingSpace( ¶ms ); } ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_009_GetTrackingSpace(struct w_steam_iface *_this) { - ETrackingUniverseOrigin _ret; + struct cppIVRCompositor_IVRCompositor_009_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_009_GetTrackingSpace(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_009_GetTrackingSpace( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_009_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_009_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_009_WaitGetPoses( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_009_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_009_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_009_GetLastPoses( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(_this->u_iface); + cppIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame( ¶ms ); } extern void __thiscall winIVRCompositor_IVRCompositor_009_PostPresentHandoff(struct w_steam_iface *_this); bool __thiscall winIVRCompositor_IVRCompositor_009_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_0913 *pTiming, uint32_t unFramesAgo) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_009_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_009_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); - return _ret; + cppIVRCompositor_IVRCompositor_009_GetFrameTiming( ¶ms ); + return params._ret; } float __thiscall winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_009_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_009_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_009_FadeToColor( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_009_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { + struct cppIVRCompositor_IVRCompositor_009_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_FadeGrid(_this->u_iface, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_009_FadeGrid( ¶ms ); } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_009_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_ClearSkyboxOverride(_this->u_iface); + cppIVRCompositor_IVRCompositor_009_ClearSkyboxOverride( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_009_CompositorBringToFront(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_009_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_CompositorBringToFront(_this->u_iface); + cppIVRCompositor_IVRCompositor_009_CompositorBringToFront( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_009_CompositorGoToBack(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_009_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_CompositorGoToBack(_this->u_iface); + cppIVRCompositor_IVRCompositor_009_CompositorGoToBack( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_009_CompositorQuit(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_009_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_CompositorQuit(_this->u_iface); + cppIVRCompositor_IVRCompositor_009_CompositorQuit( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_009_IsFullscreen(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_009_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_009_IsFullscreen(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_009_IsFullscreen( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_009_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_009_GetLastFrameRenderer(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_009_GetLastFrameRenderer( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_009_CanRenderScene(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_009_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_009_CanRenderScene(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_009_CanRenderScene( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_009_ShowMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_009_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_ShowMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_009_ShowMirrorWindow( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_009_HideMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_009_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_HideMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_009_HideMirrorWindow( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_009_CompositorDumpImages(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_009_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_CompositorDumpImages(_this->u_iface); + cppIVRCompositor_IVRCompositor_009_CompositorDumpImages( ¶ms ); } extern vtable_ptr winIVRCompositor_IVRCompositor_009_vtable; @@ -1413,154 +1940,247 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CompositorDumpImages, void __thiscall winIVRCompositor_IVRCompositor_010_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { + struct cppIVRCompositor_IVRCompositor_010_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_SetTrackingSpace(_this->u_iface, eOrigin); + cppIVRCompositor_IVRCompositor_010_SetTrackingSpace( ¶ms ); } ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_010_GetTrackingSpace(struct w_steam_iface *_this) { - ETrackingUniverseOrigin _ret; + struct cppIVRCompositor_IVRCompositor_010_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_010_GetTrackingSpace(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_010_GetTrackingSpace( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_010_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_010_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_010_WaitGetPoses( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_010_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_010_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_010_GetLastPoses( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(_this->u_iface); + cppIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame( ¶ms ); } extern void __thiscall winIVRCompositor_IVRCompositor_010_PostPresentHandoff(struct w_steam_iface *_this); bool __thiscall winIVRCompositor_IVRCompositor_010_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_0914 *pTiming, uint32_t unFramesAgo) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_010_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_010_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); - return _ret; + cppIVRCompositor_IVRCompositor_010_GetFrameTiming( ¶ms ); + return params._ret; } float __thiscall winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_010_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_010_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_010_FadeToColor( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_010_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { + struct cppIVRCompositor_IVRCompositor_010_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_FadeGrid(_this->u_iface, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_010_FadeGrid( ¶ms ); } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_010_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_ClearSkyboxOverride(_this->u_iface); + cppIVRCompositor_IVRCompositor_010_ClearSkyboxOverride( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_010_CompositorBringToFront(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_010_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_CompositorBringToFront(_this->u_iface); + cppIVRCompositor_IVRCompositor_010_CompositorBringToFront( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_010_CompositorGoToBack(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_010_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_CompositorGoToBack(_this->u_iface); + cppIVRCompositor_IVRCompositor_010_CompositorGoToBack( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_010_CompositorQuit(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_010_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_CompositorQuit(_this->u_iface); + cppIVRCompositor_IVRCompositor_010_CompositorQuit( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_010_IsFullscreen(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_010_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_010_IsFullscreen(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_010_IsFullscreen( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_010_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_010_GetLastFrameRenderer(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_010_GetLastFrameRenderer( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_010_CanRenderScene(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_010_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_010_CanRenderScene(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_010_CanRenderScene( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_010_ShowMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_010_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_ShowMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_010_ShowMirrorWindow( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_010_HideMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_010_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_HideMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_010_HideMirrorWindow( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_010_CompositorDumpImages(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_010_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_CompositorDumpImages(_this->u_iface); + cppIVRCompositor_IVRCompositor_010_CompositorDumpImages( ¶ms ); } extern vtable_ptr winIVRCompositor_IVRCompositor_010_vtable; @@ -1689,154 +2309,247 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CompositorDumpImages, void __thiscall winIVRCompositor_IVRCompositor_011_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { + struct cppIVRCompositor_IVRCompositor_011_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_SetTrackingSpace(_this->u_iface, eOrigin); + cppIVRCompositor_IVRCompositor_011_SetTrackingSpace( ¶ms ); } ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_011_GetTrackingSpace(struct w_steam_iface *_this) { - ETrackingUniverseOrigin _ret; + struct cppIVRCompositor_IVRCompositor_011_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_011_GetTrackingSpace(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_011_GetTrackingSpace( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_011_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_011_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_011_WaitGetPoses( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_011_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_011_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_011_GetLastPoses( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(_this->u_iface); + cppIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame( ¶ms ); } extern void __thiscall winIVRCompositor_IVRCompositor_011_PostPresentHandoff(struct w_steam_iface *_this); bool __thiscall winIVRCompositor_IVRCompositor_011_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_011_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_011_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); - return _ret; + cppIVRCompositor_IVRCompositor_011_GetFrameTiming( ¶ms ); + return params._ret; } float __thiscall winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_011_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_011_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_011_FadeToColor( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_011_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { + struct cppIVRCompositor_IVRCompositor_011_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_FadeGrid(_this->u_iface, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_011_FadeGrid( ¶ms ); } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_011_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_ClearSkyboxOverride(_this->u_iface); + cppIVRCompositor_IVRCompositor_011_ClearSkyboxOverride( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_011_CompositorBringToFront(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_011_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_CompositorBringToFront(_this->u_iface); + cppIVRCompositor_IVRCompositor_011_CompositorBringToFront( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_011_CompositorGoToBack(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_011_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_CompositorGoToBack(_this->u_iface); + cppIVRCompositor_IVRCompositor_011_CompositorGoToBack( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_011_CompositorQuit(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_011_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_CompositorQuit(_this->u_iface); + cppIVRCompositor_IVRCompositor_011_CompositorQuit( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_011_IsFullscreen(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_011_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_011_IsFullscreen(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_011_IsFullscreen( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_011_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_011_GetLastFrameRenderer(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_011_GetLastFrameRenderer( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_011_CanRenderScene(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_011_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_011_CanRenderScene(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_011_CanRenderScene( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_011_ShowMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_011_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_ShowMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_011_ShowMirrorWindow( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_011_HideMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_011_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_HideMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_011_HideMirrorWindow( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_011_CompositorDumpImages(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_011_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_CompositorDumpImages(_this->u_iface); + cppIVRCompositor_IVRCompositor_011_CompositorDumpImages( ¶ms ); } extern vtable_ptr winIVRCompositor_IVRCompositor_011_vtable; @@ -1967,170 +2680,272 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLo void __thiscall winIVRCompositor_IVRCompositor_012_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { + struct cppIVRCompositor_IVRCompositor_012_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_SetTrackingSpace(_this->u_iface, eOrigin); + cppIVRCompositor_IVRCompositor_012_SetTrackingSpace( ¶ms ); } ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_012_GetTrackingSpace(struct w_steam_iface *_this) { - ETrackingUniverseOrigin _ret; + struct cppIVRCompositor_IVRCompositor_012_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_GetTrackingSpace(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_012_GetTrackingSpace( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_012_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_012_WaitGetPoses( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_012_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_012_GetLastPoses( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); - return _ret; + cppIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(_this->u_iface); + cppIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame( ¶ms ); } extern void __thiscall winIVRCompositor_IVRCompositor_012_PostPresentHandoff(struct w_steam_iface *_this); bool __thiscall winIVRCompositor_IVRCompositor_012_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_012_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); - return _ret; + cppIVRCompositor_IVRCompositor_012_GetFrameTiming( ¶ms ); + return params._ret; } float __thiscall winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_012_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_012_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_012_FadeToColor( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_012_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { + struct cppIVRCompositor_IVRCompositor_012_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_FadeGrid(_this->u_iface, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_012_FadeGrid( ¶ms ); } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_012_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_ClearSkyboxOverride(_this->u_iface); + cppIVRCompositor_IVRCompositor_012_ClearSkyboxOverride( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_012_CompositorBringToFront(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_012_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_CompositorBringToFront(_this->u_iface); + cppIVRCompositor_IVRCompositor_012_CompositorBringToFront( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_012_CompositorGoToBack(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_012_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_CompositorGoToBack(_this->u_iface); + cppIVRCompositor_IVRCompositor_012_CompositorGoToBack( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_012_CompositorQuit(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_012_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_CompositorQuit(_this->u_iface); + cppIVRCompositor_IVRCompositor_012_CompositorQuit( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_012_IsFullscreen(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_012_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_IsFullscreen(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_012_IsFullscreen( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_012_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_GetLastFrameRenderer(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_012_GetLastFrameRenderer( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_012_CanRenderScene(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_012_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_CanRenderScene(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_012_CanRenderScene( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_012_ShowMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_012_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_ShowMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_012_ShowMirrorWindow( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_012_HideMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_012_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_HideMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_012_HideMirrorWindow( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_012_CompositorDumpImages(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_012_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_CompositorDumpImages(_this->u_iface); + cppIVRCompositor_IVRCompositor_012_CompositorDumpImages( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources( ¶ms ); + return params._ret; } extern vtable_ptr winIVRCompositor_IVRCompositor_012_vtable; @@ -2266,176 +3081,283 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ForceInterleavedRepro void __thiscall winIVRCompositor_IVRCompositor_013_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { + struct cppIVRCompositor_IVRCompositor_013_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_SetTrackingSpace(_this->u_iface, eOrigin); + cppIVRCompositor_IVRCompositor_013_SetTrackingSpace( ¶ms ); } ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_013_GetTrackingSpace(struct w_steam_iface *_this) { - ETrackingUniverseOrigin _ret; + struct cppIVRCompositor_IVRCompositor_013_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_GetTrackingSpace(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_013_GetTrackingSpace( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_013_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_013_WaitGetPoses( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_013_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_013_GetLastPoses( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); - return _ret; + cppIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(_this->u_iface); + cppIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame( ¶ms ); } extern void __thiscall winIVRCompositor_IVRCompositor_013_PostPresentHandoff(struct w_steam_iface *_this); bool __thiscall winIVRCompositor_IVRCompositor_013_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_013_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); - return _ret; + cppIVRCompositor_IVRCompositor_013_GetFrameTiming( ¶ms ); + return params._ret; } float __thiscall winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_013_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_013_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_013_FadeToColor( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_013_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { + struct cppIVRCompositor_IVRCompositor_013_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_FadeGrid(_this->u_iface, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_013_FadeGrid( ¶ms ); } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_013_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_ClearSkyboxOverride(_this->u_iface); + cppIVRCompositor_IVRCompositor_013_ClearSkyboxOverride( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_013_CompositorBringToFront(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_013_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_CompositorBringToFront(_this->u_iface); + cppIVRCompositor_IVRCompositor_013_CompositorBringToFront( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_013_CompositorGoToBack(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_013_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_CompositorGoToBack(_this->u_iface); + cppIVRCompositor_IVRCompositor_013_CompositorGoToBack( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_013_CompositorQuit(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_013_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_CompositorQuit(_this->u_iface); + cppIVRCompositor_IVRCompositor_013_CompositorQuit( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_013_IsFullscreen(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_013_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_IsFullscreen(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_013_IsFullscreen( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_013_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_GetLastFrameRenderer(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_013_GetLastFrameRenderer( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_013_CanRenderScene(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_013_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_CanRenderScene(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_013_CanRenderScene( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_013_ShowMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_013_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_ShowMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_013_ShowMirrorWindow( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_013_HideMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_013_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_HideMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_013_HideMirrorWindow( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_013_CompositorDumpImages(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_013_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_CompositorDumpImages(_this->u_iface); + cppIVRCompositor_IVRCompositor_013_CompositorDumpImages( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { + struct cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); + cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn( ¶ms ); } extern vtable_ptr winIVRCompositor_IVRCompositor_013_vtable; @@ -2575,188 +3497,304 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_SuspendRendering, 8) void __thiscall winIVRCompositor_IVRCompositor_014_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { + struct cppIVRCompositor_IVRCompositor_014_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_SetTrackingSpace(_this->u_iface, eOrigin); + cppIVRCompositor_IVRCompositor_014_SetTrackingSpace( ¶ms ); } ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_014_GetTrackingSpace(struct w_steam_iface *_this) { - ETrackingUniverseOrigin _ret; + struct cppIVRCompositor_IVRCompositor_014_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_GetTrackingSpace(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_014_GetTrackingSpace( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_014_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_014_WaitGetPoses( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_014_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_014_GetLastPoses( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); - return _ret; + cppIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(_this->u_iface); + cppIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame( ¶ms ); } extern void __thiscall winIVRCompositor_IVRCompositor_014_PostPresentHandoff(struct w_steam_iface *_this); bool __thiscall winIVRCompositor_IVRCompositor_014_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_014_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); - return _ret; + cppIVRCompositor_IVRCompositor_014_GetFrameTiming( ¶ms ); + return params._ret; } float __thiscall winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_014_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_014_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_014_FadeToColor( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_014_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { + struct cppIVRCompositor_IVRCompositor_014_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_FadeGrid(_this->u_iface, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_014_FadeGrid( ¶ms ); } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_014_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_ClearSkyboxOverride(_this->u_iface); + cppIVRCompositor_IVRCompositor_014_ClearSkyboxOverride( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_014_CompositorBringToFront(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_014_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_CompositorBringToFront(_this->u_iface); + cppIVRCompositor_IVRCompositor_014_CompositorBringToFront( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_014_CompositorGoToBack(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_014_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_CompositorGoToBack(_this->u_iface); + cppIVRCompositor_IVRCompositor_014_CompositorGoToBack( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_014_CompositorQuit(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_014_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_CompositorQuit(_this->u_iface); + cppIVRCompositor_IVRCompositor_014_CompositorQuit( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_014_IsFullscreen(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_014_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_IsFullscreen(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_014_IsFullscreen( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_014_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_GetLastFrameRenderer(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_014_GetLastFrameRenderer( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_014_CanRenderScene(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_014_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_CanRenderScene(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_014_CanRenderScene( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_014_ShowMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_014_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_ShowMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_014_ShowMirrorWindow( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_014_HideMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_014_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_HideMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_014_HideMirrorWindow( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_014_CompositorDumpImages(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_014_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_CompositorDumpImages(_this->u_iface); + cppIVRCompositor_IVRCompositor_014_CompositorDumpImages( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { + struct cppIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); + cppIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_014_ForceReconnectProcess(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_014_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_ForceReconnectProcess(_this->u_iface); + cppIVRCompositor_IVRCompositor_014_ForceReconnectProcess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_014_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { + struct cppIVRCompositor_IVRCompositor_014_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_SuspendRendering(_this->u_iface, bSuspend); + cppIVRCompositor_IVRCompositor_014_SuspendRendering( ¶ms ); } extern vtable_ptr winIVRCompositor_IVRCompositor_014_vtable; @@ -2908,246 +3946,404 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_UnlockGLSharedTexture void __thiscall winIVRCompositor_IVRCompositor_015_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { + struct cppIVRCompositor_IVRCompositor_015_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_SetTrackingSpace(_this->u_iface, eOrigin); + cppIVRCompositor_IVRCompositor_015_SetTrackingSpace( ¶ms ); } ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_015_GetTrackingSpace(struct w_steam_iface *_this) { - ETrackingUniverseOrigin _ret; + struct cppIVRCompositor_IVRCompositor_015_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_GetTrackingSpace(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_015_GetTrackingSpace( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_015_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_015_WaitGetPoses( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_015_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_015_GetLastPoses( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); - return _ret; + cppIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(_this->u_iface); + cppIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame( ¶ms ); } extern void __thiscall winIVRCompositor_IVRCompositor_015_PostPresentHandoff(struct w_steam_iface *_this); bool __thiscall winIVRCompositor_IVRCompositor_015_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_015_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); - return _ret; + cppIVRCompositor_IVRCompositor_015_GetFrameTiming( ¶ms ); + return params._ret; } float __thiscall winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_015_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) { + struct cppIVRCompositor_IVRCompositor_015_GetCumulativeStats_params params = + { + .linux_side = _this->u_iface, + .pStats = pStats, + .nStatsSizeInBytes = nStatsSizeInBytes, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_015_GetCumulativeStats( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_015_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_015_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_015_FadeToColor( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_015_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { + struct cppIVRCompositor_IVRCompositor_015_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_FadeGrid(_this->u_iface, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_015_FadeGrid( ¶ms ); } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_015_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_ClearSkyboxOverride(_this->u_iface); + cppIVRCompositor_IVRCompositor_015_ClearSkyboxOverride( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_015_CompositorBringToFront(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_015_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_CompositorBringToFront(_this->u_iface); + cppIVRCompositor_IVRCompositor_015_CompositorBringToFront( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_015_CompositorGoToBack(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_015_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_CompositorGoToBack(_this->u_iface); + cppIVRCompositor_IVRCompositor_015_CompositorGoToBack( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_015_CompositorQuit(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_015_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_CompositorQuit(_this->u_iface); + cppIVRCompositor_IVRCompositor_015_CompositorQuit( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_015_IsFullscreen(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_015_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_IsFullscreen(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_015_IsFullscreen( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_015_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_GetLastFrameRenderer(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_015_GetLastFrameRenderer( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_015_CanRenderScene(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_015_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_CanRenderScene(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_015_CanRenderScene( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_015_ShowMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_015_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_ShowMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_015_ShowMirrorWindow( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_015_HideMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_015_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_HideMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_015_HideMirrorWindow( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_015_CompositorDumpImages(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_015_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_CompositorDumpImages(_this->u_iface); + cppIVRCompositor_IVRCompositor_015_CompositorDumpImages( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { + struct cppIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); + cppIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_015_ForceReconnectProcess(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_015_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_ForceReconnectProcess(_this->u_iface); + cppIVRCompositor_IVRCompositor_015_ForceReconnectProcess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_015_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { + struct cppIVRCompositor_IVRCompositor_015_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_SuspendRendering(_this->u_iface, bSuspend); + cppIVRCompositor_IVRCompositor_015_SuspendRendering( ¶ms ); } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_RequestScreenshot(struct w_steam_iface *_this, EVRScreenshotType type, const char *pchDestinationFileName, const char *pchVRDestinationFileName) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_015_RequestScreenshot_params params = + { + .linux_side = _this->u_iface, + .type = type, + .pchDestinationFileName = pchDestinationFileName, + .pchVRDestinationFileName = pchVRDestinationFileName, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_RequestScreenshot(_this->u_iface, type, pchDestinationFileName, pchVRDestinationFileName); - return _ret; + cppIVRCompositor_IVRCompositor_015_RequestScreenshot( ¶ms ); + return params._ret; } EVRScreenshotType __thiscall winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType(struct w_steam_iface *_this) { - EVRScreenshotType _ret; + struct cppIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); - return _ret; + cppIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_015_GetMirrorTextureGL_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pglTextureId = pglTextureId, + .pglSharedTextureHandle = pglSharedTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle); - return _ret; + cppIVRCompositor_IVRCompositor_015_GetMirrorTextureGL( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture_params params = + { + .linux_side = _this->u_iface, + .glTextureId = glTextureId, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle); - return _ret; + cppIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { + struct cppIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { + struct cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess( ¶ms ); } extern vtable_ptr winIVRCompositor_IVRCompositor_015_vtable; @@ -3313,224 +4509,366 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_UnlockGLSharedTexture void __thiscall winIVRCompositor_IVRCompositor_016_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { + struct cppIVRCompositor_IVRCompositor_016_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_SetTrackingSpace(_this->u_iface, eOrigin); + cppIVRCompositor_IVRCompositor_016_SetTrackingSpace( ¶ms ); } ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_016_GetTrackingSpace(struct w_steam_iface *_this) { - ETrackingUniverseOrigin _ret; + struct cppIVRCompositor_IVRCompositor_016_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_GetTrackingSpace(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_016_GetTrackingSpace( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_WaitGetPoses(struct w_steam_iface *_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; + struct cppIVRCompositor_IVRCompositor_016_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_016_GetLastPoses( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); - return _ret; + cppIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(_this->u_iface); + cppIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame( ¶ms ); } extern void __thiscall winIVRCompositor_IVRCompositor_016_PostPresentHandoff(struct w_steam_iface *_this); bool __thiscall winIVRCompositor_IVRCompositor_016_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_103 *pTiming, uint32_t unFramesAgo) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_016_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); - return _ret; + cppIVRCompositor_IVRCompositor_016_GetFrameTiming( ¶ms ); + return params._ret; } float __thiscall winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_016_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) { + struct cppIVRCompositor_IVRCompositor_016_GetCumulativeStats_params params = + { + .linux_side = _this->u_iface, + .pStats = pStats, + .nStatsSizeInBytes = nStatsSizeInBytes, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_016_GetCumulativeStats( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_016_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_016_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_016_FadeToColor( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_016_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { + struct cppIVRCompositor_IVRCompositor_016_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_FadeGrid(_this->u_iface, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_016_FadeGrid( ¶ms ); } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_016_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_ClearSkyboxOverride(_this->u_iface); + cppIVRCompositor_IVRCompositor_016_ClearSkyboxOverride( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_016_CompositorBringToFront(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_016_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_CompositorBringToFront(_this->u_iface); + cppIVRCompositor_IVRCompositor_016_CompositorBringToFront( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_016_CompositorGoToBack(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_016_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_CompositorGoToBack(_this->u_iface); + cppIVRCompositor_IVRCompositor_016_CompositorGoToBack( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_016_CompositorQuit(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_016_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_CompositorQuit(_this->u_iface); + cppIVRCompositor_IVRCompositor_016_CompositorQuit( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_016_IsFullscreen(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_016_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_IsFullscreen(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_016_IsFullscreen( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_016_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_GetLastFrameRenderer(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_016_GetLastFrameRenderer( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_016_CanRenderScene(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_016_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_CanRenderScene(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_016_CanRenderScene( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_016_ShowMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_016_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_ShowMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_016_ShowMirrorWindow( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_016_HideMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_016_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_HideMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_016_HideMirrorWindow( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_016_CompositorDumpImages(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_016_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_CompositorDumpImages(_this->u_iface); + cppIVRCompositor_IVRCompositor_016_CompositorDumpImages( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { + struct cppIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); + cppIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_016_ForceReconnectProcess(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_016_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_ForceReconnectProcess(_this->u_iface); + cppIVRCompositor_IVRCompositor_016_ForceReconnectProcess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_016_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { + struct cppIVRCompositor_IVRCompositor_016_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_SuspendRendering(_this->u_iface, bSuspend); + cppIVRCompositor_IVRCompositor_016_SuspendRendering( ¶ms ); } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); - return _ret; + cppIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_016_GetMirrorTextureGL_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pglTextureId = pglTextureId, + .pglSharedTextureHandle = pglSharedTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle); - return _ret; + cppIVRCompositor_IVRCompositor_016_GetMirrorTextureGL( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture_params params = + { + .linux_side = _this->u_iface, + .glTextureId = glTextureId, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle); - return _ret; + cppIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { + struct cppIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { + struct cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess( ¶ms ); } extern vtable_ptr winIVRCompositor_IVRCompositor_016_vtable; @@ -3693,232 +5031,379 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_UnlockGLSharedTexture void __thiscall winIVRCompositor_IVRCompositor_017_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { + struct cppIVRCompositor_IVRCompositor_017_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_SetTrackingSpace(_this->u_iface, eOrigin); + cppIVRCompositor_IVRCompositor_017_SetTrackingSpace( ¶ms ); } ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_017_GetTrackingSpace(struct w_steam_iface *_this) { - ETrackingUniverseOrigin _ret; + struct cppIVRCompositor_IVRCompositor_017_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_GetTrackingSpace(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_017_GetTrackingSpace( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_WaitGetPoses(struct w_steam_iface *_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; + struct cppIVRCompositor_IVRCompositor_017_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_017_GetLastPoses( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); - return _ret; + cppIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame(_this->u_iface); + cppIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame( ¶ms ); } extern void __thiscall winIVRCompositor_IVRCompositor_017_PostPresentHandoff(struct w_steam_iface *_this); bool __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_017_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); - return _ret; + cppIVRCompositor_IVRCompositor_017_GetFrameTiming( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_017_GetFrameTimings_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .nFrames = nFrames, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_GetFrameTimings(_this->u_iface, pTiming, nFrames); - return _ret; + cppIVRCompositor_IVRCompositor_017_GetFrameTimings( ¶ms ); + return params._ret; } float __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_017_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) { + struct cppIVRCompositor_IVRCompositor_017_GetCumulativeStats_params params = + { + .linux_side = _this->u_iface, + .pStats = pStats, + .nStatsSizeInBytes = nStatsSizeInBytes, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_017_GetCumulativeStats( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_017_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_017_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_017_FadeToColor( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_017_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { + struct cppIVRCompositor_IVRCompositor_017_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_FadeGrid(_this->u_iface, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_017_FadeGrid( ¶ms ); } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_017_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_ClearSkyboxOverride(_this->u_iface); + cppIVRCompositor_IVRCompositor_017_ClearSkyboxOverride( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_017_CompositorBringToFront(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_017_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_CompositorBringToFront(_this->u_iface); + cppIVRCompositor_IVRCompositor_017_CompositorBringToFront( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_017_CompositorGoToBack(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_017_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_CompositorGoToBack(_this->u_iface); + cppIVRCompositor_IVRCompositor_017_CompositorGoToBack( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_017_CompositorQuit(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_017_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_CompositorQuit(_this->u_iface); + cppIVRCompositor_IVRCompositor_017_CompositorQuit( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_017_IsFullscreen(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_017_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_IsFullscreen(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_017_IsFullscreen( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_017_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_GetLastFrameRenderer(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_017_GetLastFrameRenderer( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_017_CanRenderScene(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_017_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_CanRenderScene(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_017_CanRenderScene( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_017_ShowMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_017_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_ShowMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_017_ShowMirrorWindow( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_017_HideMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_017_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_HideMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_017_HideMirrorWindow( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_017_CompositorDumpImages(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_017_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_CompositorDumpImages(_this->u_iface); + cppIVRCompositor_IVRCompositor_017_CompositorDumpImages( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { + struct cppIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); + cppIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_017_ForceReconnectProcess(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_017_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_ForceReconnectProcess(_this->u_iface); + cppIVRCompositor_IVRCompositor_017_ForceReconnectProcess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_017_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { + struct cppIVRCompositor_IVRCompositor_017_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_SuspendRendering(_this->u_iface, bSuspend); + cppIVRCompositor_IVRCompositor_017_SuspendRendering( ¶ms ); } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); - return _ret; + cppIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_017_GetMirrorTextureGL_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pglTextureId = pglTextureId, + .pglSharedTextureHandle = pglSharedTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle); - return _ret; + cppIVRCompositor_IVRCompositor_017_GetMirrorTextureGL( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture_params params = + { + .linux_side = _this->u_iface, + .glTextureId = glTextureId, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle); - return _ret; + cppIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { + struct cppIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { + struct cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess( ¶ms ); } extern vtable_ptr winIVRCompositor_IVRCompositor_017_vtable; @@ -4085,247 +5570,403 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_UnlockGLSharedTexture void __thiscall winIVRCompositor_IVRCompositor_018_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { + struct cppIVRCompositor_IVRCompositor_018_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_SetTrackingSpace(_this->u_iface, eOrigin); + cppIVRCompositor_IVRCompositor_018_SetTrackingSpace( ¶ms ); } ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_018_GetTrackingSpace(struct w_steam_iface *_this) { - ETrackingUniverseOrigin _ret; + struct cppIVRCompositor_IVRCompositor_018_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_GetTrackingSpace(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_018_GetTrackingSpace( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_WaitGetPoses(struct w_steam_iface *_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; + struct cppIVRCompositor_IVRCompositor_018_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_018_GetLastPoses( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); - return _ret; + cppIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(_this->u_iface); + cppIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame( ¶ms ); } extern void __thiscall winIVRCompositor_IVRCompositor_018_PostPresentHandoff(struct w_steam_iface *_this); bool __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_018_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); - return _ret; + cppIVRCompositor_IVRCompositor_018_GetFrameTiming( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_018_GetFrameTimings_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .nFrames = nFrames, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_GetFrameTimings(_this->u_iface, pTiming, nFrames); - return _ret; + cppIVRCompositor_IVRCompositor_018_GetFrameTimings( ¶ms ); + return params._ret; } float __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_018_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) { + struct cppIVRCompositor_IVRCompositor_018_GetCumulativeStats_params params = + { + .linux_side = _this->u_iface, + .pStats = pStats, + .nStatsSizeInBytes = nStatsSizeInBytes, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_018_GetCumulativeStats( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_018_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_018_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_018_FadeToColor( ¶ms ); } HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_018_GetCurrentFadeColor_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - *_ret = cppIVRCompositor_IVRCompositor_018_GetCurrentFadeColor(_this->u_iface, bBackground); - return _ret; + cppIVRCompositor_IVRCompositor_018_GetCurrentFadeColor( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_018_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { + struct cppIVRCompositor_IVRCompositor_018_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_FadeGrid(_this->u_iface, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_018_FadeGrid( ¶ms ); } float __thiscall winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_018_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_ClearSkyboxOverride(_this->u_iface); + cppIVRCompositor_IVRCompositor_018_ClearSkyboxOverride( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_018_CompositorBringToFront(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_018_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_CompositorBringToFront(_this->u_iface); + cppIVRCompositor_IVRCompositor_018_CompositorBringToFront( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_018_CompositorGoToBack(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_018_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_CompositorGoToBack(_this->u_iface); + cppIVRCompositor_IVRCompositor_018_CompositorGoToBack( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_018_CompositorQuit(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_018_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_CompositorQuit(_this->u_iface); + cppIVRCompositor_IVRCompositor_018_CompositorQuit( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_018_IsFullscreen(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_018_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_IsFullscreen(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_018_IsFullscreen( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_018_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_GetLastFrameRenderer(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_018_GetLastFrameRenderer( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_018_CanRenderScene(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_018_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_CanRenderScene(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_018_CanRenderScene( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_018_ShowMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_018_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_ShowMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_018_ShowMirrorWindow( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_018_HideMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_018_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_HideMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_018_HideMirrorWindow( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_018_CompositorDumpImages(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_018_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_CompositorDumpImages(_this->u_iface); + cppIVRCompositor_IVRCompositor_018_CompositorDumpImages( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { + struct cppIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); + cppIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_018_ForceReconnectProcess(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_018_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_ForceReconnectProcess(_this->u_iface); + cppIVRCompositor_IVRCompositor_018_ForceReconnectProcess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_018_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { + struct cppIVRCompositor_IVRCompositor_018_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_SuspendRendering(_this->u_iface, bSuspend); + cppIVRCompositor_IVRCompositor_018_SuspendRendering( ¶ms ); } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); - return _ret; + cppIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_018_GetMirrorTextureGL_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pglTextureId = pglTextureId, + .pglSharedTextureHandle = pglSharedTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle); - return _ret; + cppIVRCompositor_IVRCompositor_018_GetMirrorTextureGL( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture_params params = + { + .linux_side = _this->u_iface, + .glTextureId = glTextureId, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle); - return _ret; + cppIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { + struct cppIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { + struct cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess( ¶ms ); } extern vtable_ptr winIVRCompositor_IVRCompositor_018_vtable; @@ -4498,255 +6139,416 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtens void __thiscall winIVRCompositor_IVRCompositor_019_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { + struct cppIVRCompositor_IVRCompositor_019_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_SetTrackingSpace(_this->u_iface, eOrigin); + cppIVRCompositor_IVRCompositor_019_SetTrackingSpace( ¶ms ); } ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_019_GetTrackingSpace(struct w_steam_iface *_this) { - ETrackingUniverseOrigin _ret; + struct cppIVRCompositor_IVRCompositor_019_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetTrackingSpace(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_019_GetTrackingSpace( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_WaitGetPoses(struct w_steam_iface *_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; + struct cppIVRCompositor_IVRCompositor_019_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_019_GetLastPoses( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); - return _ret; + cppIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(_this->u_iface); + cppIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame( ¶ms ); } extern void __thiscall winIVRCompositor_IVRCompositor_019_PostPresentHandoff(struct w_steam_iface *_this); bool __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_019_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); - return _ret; + cppIVRCompositor_IVRCompositor_019_GetFrameTiming( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_019_GetFrameTimings_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .nFrames = nFrames, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetFrameTimings(_this->u_iface, pTiming, nFrames); - return _ret; + cppIVRCompositor_IVRCompositor_019_GetFrameTimings( ¶ms ); + return params._ret; } float __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_019_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) { + struct cppIVRCompositor_IVRCompositor_019_GetCumulativeStats_params params = + { + .linux_side = _this->u_iface, + .pStats = pStats, + .nStatsSizeInBytes = nStatsSizeInBytes, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_019_GetCumulativeStats( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_019_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_019_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_019_FadeToColor( ¶ms ); } HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_019_GetCurrentFadeColor_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - *_ret = cppIVRCompositor_IVRCompositor_019_GetCurrentFadeColor(_this->u_iface, bBackground); - return _ret; + cppIVRCompositor_IVRCompositor_019_GetCurrentFadeColor( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_019_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { + struct cppIVRCompositor_IVRCompositor_019_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_FadeGrid(_this->u_iface, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_019_FadeGrid( ¶ms ); } float __thiscall winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_019_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_ClearSkyboxOverride(_this->u_iface); + cppIVRCompositor_IVRCompositor_019_ClearSkyboxOverride( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_019_CompositorBringToFront(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_019_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_CompositorBringToFront(_this->u_iface); + cppIVRCompositor_IVRCompositor_019_CompositorBringToFront( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_019_CompositorGoToBack(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_019_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_CompositorGoToBack(_this->u_iface); + cppIVRCompositor_IVRCompositor_019_CompositorGoToBack( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_019_CompositorQuit(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_019_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_CompositorQuit(_this->u_iface); + cppIVRCompositor_IVRCompositor_019_CompositorQuit( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_019_IsFullscreen(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_019_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_IsFullscreen(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_019_IsFullscreen( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_019_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetLastFrameRenderer(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_019_GetLastFrameRenderer( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_019_CanRenderScene(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_019_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_CanRenderScene(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_019_CanRenderScene( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_019_ShowMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_019_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_ShowMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_019_ShowMirrorWindow( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_019_HideMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_019_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_HideMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_019_HideMirrorWindow( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_019_CompositorDumpImages(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_019_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_CompositorDumpImages(_this->u_iface); + cppIVRCompositor_IVRCompositor_019_CompositorDumpImages( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { + struct cppIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); + cppIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_019_ForceReconnectProcess(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_019_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_ForceReconnectProcess(_this->u_iface); + cppIVRCompositor_IVRCompositor_019_ForceReconnectProcess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_019_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { + struct cppIVRCompositor_IVRCompositor_019_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_SuspendRendering(_this->u_iface, bSuspend); + cppIVRCompositor_IVRCompositor_019_SuspendRendering( ¶ms ); } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); - return _ret; + cppIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_019_GetMirrorTextureGL_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pglTextureId = pglTextureId, + .pglSharedTextureHandle = pglSharedTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle); - return _ret; + cppIVRCompositor_IVRCompositor_019_GetMirrorTextureGL( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture_params params = + { + .linux_side = _this->u_iface, + .glTextureId = glTextureId, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle); - return _ret; + cppIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { + struct cppIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { + struct cppIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess( ¶ms ); } uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired(_this->u_iface, pchValue, unBufferSize); - return _ret; + cppIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired( ¶ms ); + return params._ret; } extern uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize); @@ -4926,261 +6728,427 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtens void __thiscall winIVRCompositor_IVRCompositor_020_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { + struct cppIVRCompositor_IVRCompositor_020_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_SetTrackingSpace(_this->u_iface, eOrigin); + cppIVRCompositor_IVRCompositor_020_SetTrackingSpace( ¶ms ); } ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_020_GetTrackingSpace(struct w_steam_iface *_this) { - ETrackingUniverseOrigin _ret; + struct cppIVRCompositor_IVRCompositor_020_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetTrackingSpace(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_020_GetTrackingSpace( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_WaitGetPoses(struct w_steam_iface *_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; + struct cppIVRCompositor_IVRCompositor_020_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_020_GetLastPoses( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); - return _ret; + cppIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(_this->u_iface); + cppIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame( ¶ms ); } extern void __thiscall winIVRCompositor_IVRCompositor_020_PostPresentHandoff(struct w_steam_iface *_this); bool __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_020_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); - return _ret; + cppIVRCompositor_IVRCompositor_020_GetFrameTiming( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_020_GetFrameTimings_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .nFrames = nFrames, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetFrameTimings(_this->u_iface, pTiming, nFrames); - return _ret; + cppIVRCompositor_IVRCompositor_020_GetFrameTimings( ¶ms ); + return params._ret; } float __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_020_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) { + struct cppIVRCompositor_IVRCompositor_020_GetCumulativeStats_params params = + { + .linux_side = _this->u_iface, + .pStats = pStats, + .nStatsSizeInBytes = nStatsSizeInBytes, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_020_GetCumulativeStats( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_020_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_020_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_020_FadeToColor( ¶ms ); } HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_020_GetCurrentFadeColor_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - *_ret = cppIVRCompositor_IVRCompositor_020_GetCurrentFadeColor(_this->u_iface, bBackground); - return _ret; + cppIVRCompositor_IVRCompositor_020_GetCurrentFadeColor( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_020_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { + struct cppIVRCompositor_IVRCompositor_020_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_FadeGrid(_this->u_iface, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_020_FadeGrid( ¶ms ); } float __thiscall winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_020_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ClearSkyboxOverride(_this->u_iface); + cppIVRCompositor_IVRCompositor_020_ClearSkyboxOverride( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_020_CompositorBringToFront(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_020_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_CompositorBringToFront(_this->u_iface); + cppIVRCompositor_IVRCompositor_020_CompositorBringToFront( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_020_CompositorGoToBack(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_020_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_CompositorGoToBack(_this->u_iface); + cppIVRCompositor_IVRCompositor_020_CompositorGoToBack( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_020_CompositorQuit(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_020_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_CompositorQuit(_this->u_iface); + cppIVRCompositor_IVRCompositor_020_CompositorQuit( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_020_IsFullscreen(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_020_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_IsFullscreen(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_020_IsFullscreen( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_020_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetLastFrameRenderer(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_020_GetLastFrameRenderer( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_020_CanRenderScene(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_020_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_CanRenderScene(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_020_CanRenderScene( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_020_ShowMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_020_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ShowMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_020_ShowMirrorWindow( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_020_HideMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_020_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_HideMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_020_HideMirrorWindow( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_020_CompositorDumpImages(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_020_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_CompositorDumpImages(_this->u_iface); + cppIVRCompositor_IVRCompositor_020_CompositorDumpImages( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { + struct cppIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); + cppIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_020_ForceReconnectProcess(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_020_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ForceReconnectProcess(_this->u_iface); + cppIVRCompositor_IVRCompositor_020_ForceReconnectProcess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_020_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { + struct cppIVRCompositor_IVRCompositor_020_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_SuspendRendering(_this->u_iface, bSuspend); + cppIVRCompositor_IVRCompositor_020_SuspendRendering( ¶ms ); } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); - return _ret; + cppIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView) { + struct cppIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .pD3D11ShaderResourceView = pD3D11ShaderResourceView, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11(_this->u_iface, pD3D11ShaderResourceView); + cppIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11( ¶ms ); } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_020_GetMirrorTextureGL_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pglTextureId = pglTextureId, + .pglSharedTextureHandle = pglSharedTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle); - return _ret; + cppIVRCompositor_IVRCompositor_020_GetMirrorTextureGL( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture_params params = + { + .linux_side = _this->u_iface, + .glTextureId = glTextureId, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle); - return _ret; + cppIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { + struct cppIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { + struct cppIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess( ¶ms ); } uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired(_this->u_iface, pchValue, unBufferSize); - return _ret; + cppIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired( ¶ms ); + return params._ret; } extern uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize); @@ -5364,277 +7332,451 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingD void __thiscall winIVRCompositor_IVRCompositor_021_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { + struct cppIVRCompositor_IVRCompositor_021_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_SetTrackingSpace(_this->u_iface, eOrigin); + cppIVRCompositor_IVRCompositor_021_SetTrackingSpace( ¶ms ); } ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_021_GetTrackingSpace(struct w_steam_iface *_this) { - ETrackingUniverseOrigin _ret; + struct cppIVRCompositor_IVRCompositor_021_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetTrackingSpace(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_021_GetTrackingSpace( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_WaitGetPoses(struct w_steam_iface *_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; + struct cppIVRCompositor_IVRCompositor_021_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_021_GetLastPoses( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); - return _ret; + cppIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(_this->u_iface); + cppIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame( ¶ms ); } extern void __thiscall winIVRCompositor_IVRCompositor_021_PostPresentHandoff(struct w_steam_iface *_this); bool __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_021_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); - return _ret; + cppIVRCompositor_IVRCompositor_021_GetFrameTiming( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_021_GetFrameTimings_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .nFrames = nFrames, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetFrameTimings(_this->u_iface, pTiming, nFrames); - return _ret; + cppIVRCompositor_IVRCompositor_021_GetFrameTimings( ¶ms ); + return params._ret; } float __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_021_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) { + struct cppIVRCompositor_IVRCompositor_021_GetCumulativeStats_params params = + { + .linux_side = _this->u_iface, + .pStats = pStats, + .nStatsSizeInBytes = nStatsSizeInBytes, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_021_GetCumulativeStats( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_021_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_021_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_021_FadeToColor( ¶ms ); } HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_021_GetCurrentFadeColor_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - *_ret = cppIVRCompositor_IVRCompositor_021_GetCurrentFadeColor(_this->u_iface, bBackground); - return _ret; + cppIVRCompositor_IVRCompositor_021_GetCurrentFadeColor( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_021_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { + struct cppIVRCompositor_IVRCompositor_021_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_FadeGrid(_this->u_iface, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_021_FadeGrid( ¶ms ); } float __thiscall winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_021_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ClearSkyboxOverride(_this->u_iface); + cppIVRCompositor_IVRCompositor_021_ClearSkyboxOverride( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_021_CompositorBringToFront(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_021_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_CompositorBringToFront(_this->u_iface); + cppIVRCompositor_IVRCompositor_021_CompositorBringToFront( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_021_CompositorGoToBack(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_021_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_CompositorGoToBack(_this->u_iface); + cppIVRCompositor_IVRCompositor_021_CompositorGoToBack( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_021_CompositorQuit(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_021_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_CompositorQuit(_this->u_iface); + cppIVRCompositor_IVRCompositor_021_CompositorQuit( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_021_IsFullscreen(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_021_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_IsFullscreen(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_021_IsFullscreen( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_021_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetLastFrameRenderer(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_021_GetLastFrameRenderer( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_021_CanRenderScene(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_021_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_CanRenderScene(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_021_CanRenderScene( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_021_ShowMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_021_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ShowMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_021_ShowMirrorWindow( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_021_HideMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_021_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_HideMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_021_HideMirrorWindow( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_021_CompositorDumpImages(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_021_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_CompositorDumpImages(_this->u_iface); + cppIVRCompositor_IVRCompositor_021_CompositorDumpImages( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { + struct cppIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); + cppIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_021_ForceReconnectProcess(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_021_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ForceReconnectProcess(_this->u_iface); + cppIVRCompositor_IVRCompositor_021_ForceReconnectProcess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_021_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { + struct cppIVRCompositor_IVRCompositor_021_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_SuspendRendering(_this->u_iface, bSuspend); + cppIVRCompositor_IVRCompositor_021_SuspendRendering( ¶ms ); } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); - return _ret; + cppIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView) { + struct cppIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .pD3D11ShaderResourceView = pD3D11ShaderResourceView, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11(_this->u_iface, pD3D11ShaderResourceView); + cppIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11( ¶ms ); } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_021_GetMirrorTextureGL_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pglTextureId = pglTextureId, + .pglSharedTextureHandle = pglSharedTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle); - return _ret; + cppIVRCompositor_IVRCompositor_021_GetMirrorTextureGL( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture_params params = + { + .linux_side = _this->u_iface, + .glTextureId = glTextureId, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle); - return _ret; + cppIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { + struct cppIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { + struct cppIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess( ¶ms ); } uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired(_this->u_iface, pchValue, unBufferSize); - return _ret; + cppIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired( ¶ms ); + return params._ret; } extern uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize); void __thiscall winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode(struct w_steam_iface *_this, bool bExplicitTimingMode) { + struct cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode_params params = + { + .linux_side = _this->u_iface, + .bExplicitTimingMode = bExplicitTimingMode, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode(_this->u_iface, bExplicitTimingMode); + cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode( ¶ms ); } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData(struct w_steam_iface *_this) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData( ¶ms ); + return params._ret; } extern vtable_ptr winIVRCompositor_IVRCompositor_021_vtable; @@ -5823,301 +7965,484 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAp void __thiscall winIVRCompositor_IVRCompositor_022_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { + struct cppIVRCompositor_IVRCompositor_022_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_SetTrackingSpace(_this->u_iface, eOrigin); + cppIVRCompositor_IVRCompositor_022_SetTrackingSpace( ¶ms ); } ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_022_GetTrackingSpace(struct w_steam_iface *_this) { - ETrackingUniverseOrigin _ret; + struct cppIVRCompositor_IVRCompositor_022_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetTrackingSpace(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_022_GetTrackingSpace( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_WaitGetPoses(struct w_steam_iface *_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; + struct cppIVRCompositor_IVRCompositor_022_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_022_GetLastPoses( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); - return _ret; + cppIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(_this->u_iface); + cppIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame( ¶ms ); } extern void __thiscall winIVRCompositor_IVRCompositor_022_PostPresentHandoff(struct w_steam_iface *_this); bool __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_022_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); - return _ret; + cppIVRCompositor_IVRCompositor_022_GetFrameTiming( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_022_GetFrameTimings_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .nFrames = nFrames, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetFrameTimings(_this->u_iface, pTiming, nFrames); - return _ret; + cppIVRCompositor_IVRCompositor_022_GetFrameTimings( ¶ms ); + return params._ret; } float __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_022_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) { + struct cppIVRCompositor_IVRCompositor_022_GetCumulativeStats_params params = + { + .linux_side = _this->u_iface, + .pStats = pStats, + .nStatsSizeInBytes = nStatsSizeInBytes, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_022_GetCumulativeStats( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_022_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_022_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_022_FadeToColor( ¶ms ); } HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_022_GetCurrentFadeColor_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - *_ret = cppIVRCompositor_IVRCompositor_022_GetCurrentFadeColor(_this->u_iface, bBackground); - return _ret; + cppIVRCompositor_IVRCompositor_022_GetCurrentFadeColor( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_022_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { + struct cppIVRCompositor_IVRCompositor_022_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_FadeGrid(_this->u_iface, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_022_FadeGrid( ¶ms ); } float __thiscall winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_022_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ClearSkyboxOverride(_this->u_iface); + cppIVRCompositor_IVRCompositor_022_ClearSkyboxOverride( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_022_CompositorBringToFront(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_022_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_CompositorBringToFront(_this->u_iface); + cppIVRCompositor_IVRCompositor_022_CompositorBringToFront( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_022_CompositorGoToBack(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_022_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_CompositorGoToBack(_this->u_iface); + cppIVRCompositor_IVRCompositor_022_CompositorGoToBack( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_022_CompositorQuit(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_022_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_CompositorQuit(_this->u_iface); + cppIVRCompositor_IVRCompositor_022_CompositorQuit( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_022_IsFullscreen(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_022_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_IsFullscreen(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_022_IsFullscreen( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_022_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetLastFrameRenderer(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_022_GetLastFrameRenderer( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_022_CanRenderScene(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_022_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_CanRenderScene(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_022_CanRenderScene( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_022_ShowMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_022_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ShowMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_022_ShowMirrorWindow( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_022_HideMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_022_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_HideMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_022_HideMirrorWindow( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_022_CompositorDumpImages(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_022_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_CompositorDumpImages(_this->u_iface); + cppIVRCompositor_IVRCompositor_022_CompositorDumpImages( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { + struct cppIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); + cppIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_022_ForceReconnectProcess(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_022_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ForceReconnectProcess(_this->u_iface); + cppIVRCompositor_IVRCompositor_022_ForceReconnectProcess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_022_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { + struct cppIVRCompositor_IVRCompositor_022_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_SuspendRendering(_this->u_iface, bSuspend); + cppIVRCompositor_IVRCompositor_022_SuspendRendering( ¶ms ); } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); - return _ret; + cppIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView) { + struct cppIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .pD3D11ShaderResourceView = pD3D11ShaderResourceView, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11(_this->u_iface, pD3D11ShaderResourceView); + cppIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11( ¶ms ); } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_022_GetMirrorTextureGL_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pglTextureId = pglTextureId, + .pglSharedTextureHandle = pglSharedTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle); - return _ret; + cppIVRCompositor_IVRCompositor_022_GetMirrorTextureGL( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture_params params = + { + .linux_side = _this->u_iface, + .glTextureId = glTextureId, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle); - return _ret; + cppIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { + struct cppIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { + struct cppIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess( ¶ms ); } uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired(_this->u_iface, pchValue, unBufferSize); - return _ret; + cppIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired( ¶ms ); + return params._ret; } extern uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize); void __thiscall winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode(struct w_steam_iface *_this, EVRCompositorTimingMode eTimingMode) { + struct cppIVRCompositor_IVRCompositor_022_SetExplicitTimingMode_params params = + { + .linux_side = _this->u_iface, + .eTimingMode = eTimingMode, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_SetExplicitTimingMode(_this->u_iface, eTimingMode); + cppIVRCompositor_IVRCompositor_022_SetExplicitTimingMode( ¶ms ); } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(struct w_steam_iface *_this) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading( ¶ms ); + return params._ret; } extern vtable_ptr winIVRCompositor_IVRCompositor_022_vtable; @@ -6314,317 +8639,511 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ClearStageOverride, 4 void __thiscall winIVRCompositor_IVRCompositor_024_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { + struct cppIVRCompositor_IVRCompositor_024_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_SetTrackingSpace(_this->u_iface, eOrigin); + cppIVRCompositor_IVRCompositor_024_SetTrackingSpace( ¶ms ); } ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_024_GetTrackingSpace(struct w_steam_iface *_this) { - ETrackingUniverseOrigin _ret; + struct cppIVRCompositor_IVRCompositor_024_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetTrackingSpace(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_024_GetTrackingSpace( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_WaitGetPoses(struct w_steam_iface *_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; + struct cppIVRCompositor_IVRCompositor_024_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_024_GetLastPoses( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); - return _ret; + cppIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame(_this->u_iface); + cppIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame( ¶ms ); } extern void __thiscall winIVRCompositor_IVRCompositor_024_PostPresentHandoff(struct w_steam_iface *_this); bool __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_024_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); - return _ret; + cppIVRCompositor_IVRCompositor_024_GetFrameTiming( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_024_GetFrameTimings_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .nFrames = nFrames, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetFrameTimings(_this->u_iface, pTiming, nFrames); - return _ret; + cppIVRCompositor_IVRCompositor_024_GetFrameTimings( ¶ms ); + return params._ret; } float __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_024_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) { + struct cppIVRCompositor_IVRCompositor_024_GetCumulativeStats_params params = + { + .linux_side = _this->u_iface, + .pStats = pStats, + .nStatsSizeInBytes = nStatsSizeInBytes, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_024_GetCumulativeStats( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_024_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_024_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_024_FadeToColor( ¶ms ); } HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_024_GetCurrentFadeColor_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - *_ret = cppIVRCompositor_IVRCompositor_024_GetCurrentFadeColor(_this->u_iface, bBackground); - return _ret; + cppIVRCompositor_IVRCompositor_024_GetCurrentFadeColor( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_024_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { + struct cppIVRCompositor_IVRCompositor_024_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_FadeGrid(_this->u_iface, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_024_FadeGrid( ¶ms ); } float __thiscall winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_024_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ClearSkyboxOverride(_this->u_iface); + cppIVRCompositor_IVRCompositor_024_ClearSkyboxOverride( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_024_CompositorBringToFront(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_024_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_CompositorBringToFront(_this->u_iface); + cppIVRCompositor_IVRCompositor_024_CompositorBringToFront( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_024_CompositorGoToBack(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_024_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_CompositorGoToBack(_this->u_iface); + cppIVRCompositor_IVRCompositor_024_CompositorGoToBack( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_024_CompositorQuit(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_024_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_CompositorQuit(_this->u_iface); + cppIVRCompositor_IVRCompositor_024_CompositorQuit( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_024_IsFullscreen(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_024_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_IsFullscreen(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_024_IsFullscreen( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_024_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetLastFrameRenderer(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_024_GetLastFrameRenderer( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_024_CanRenderScene(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_024_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_CanRenderScene(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_024_CanRenderScene( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_024_ShowMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_024_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ShowMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_024_ShowMirrorWindow( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_024_HideMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_024_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_HideMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_024_HideMirrorWindow( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_024_CompositorDumpImages(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_024_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_CompositorDumpImages(_this->u_iface); + cppIVRCompositor_IVRCompositor_024_CompositorDumpImages( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { + struct cppIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); + cppIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_024_ForceReconnectProcess(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_024_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ForceReconnectProcess(_this->u_iface); + cppIVRCompositor_IVRCompositor_024_ForceReconnectProcess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_024_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { + struct cppIVRCompositor_IVRCompositor_024_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_SuspendRendering(_this->u_iface, bSuspend); + cppIVRCompositor_IVRCompositor_024_SuspendRendering( ¶ms ); } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); - return _ret; + cppIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView) { + struct cppIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .pD3D11ShaderResourceView = pD3D11ShaderResourceView, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11(_this->u_iface, pD3D11ShaderResourceView); + cppIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11( ¶ms ); } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_024_GetMirrorTextureGL_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pglTextureId = pglTextureId, + .pglSharedTextureHandle = pglSharedTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle); - return _ret; + cppIVRCompositor_IVRCompositor_024_GetMirrorTextureGL( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture_params params = + { + .linux_side = _this->u_iface, + .glTextureId = glTextureId, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle); - return _ret; + cppIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { + struct cppIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { + struct cppIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess( ¶ms ); } uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired(_this->u_iface, pchValue, unBufferSize); - return _ret; + cppIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired( ¶ms ); + return params._ret; } extern uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize); void __thiscall winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode(struct w_steam_iface *_this, EVRCompositorTimingMode eTimingMode) { + struct cppIVRCompositor_IVRCompositor_024_SetExplicitTimingMode_params params = + { + .linux_side = _this->u_iface, + .eTimingMode = eTimingMode, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_SetExplicitTimingMode(_this->u_iface, eTimingMode); + cppIVRCompositor_IVRCompositor_024_SetExplicitTimingMode( ¶ms ); } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData(struct w_steam_iface *_this) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_024_SetStageOverride_Async_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelPath = pchRenderModelPath, + .pTransform = pTransform, + .pRenderSettings = pRenderSettings, + .nSizeOfRenderSettings = nSizeOfRenderSettings, + }; const char *u_pchRenderModelPath = vrclient_dos_to_unix_path( pchRenderModelPath ); TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_024_SetStageOverride_Async(_this->u_iface, u_pchRenderModelPath, pTransform, pRenderSettings, nSizeOfRenderSettings); + cppIVRCompositor_IVRCompositor_024_SetStageOverride_Async( ¶ms ); vrclient_free_path( u_pchRenderModelPath ); - return _ret; + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_024_ClearStageOverride(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_024_ClearStageOverride_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ClearStageOverride(_this->u_iface); + cppIVRCompositor_IVRCompositor_024_ClearStageOverride( ¶ms ); } extern vtable_ptr winIVRCompositor_IVRCompositor_024_vtable; @@ -6828,341 +9347,551 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetPosesForFrame, 16) void __thiscall winIVRCompositor_IVRCompositor_026_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { + struct cppIVRCompositor_IVRCompositor_026_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_SetTrackingSpace(_this->u_iface, eOrigin); + cppIVRCompositor_IVRCompositor_026_SetTrackingSpace( ¶ms ); } ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_026_GetTrackingSpace(struct w_steam_iface *_this) { - ETrackingUniverseOrigin _ret; + struct cppIVRCompositor_IVRCompositor_026_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetTrackingSpace(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_026_GetTrackingSpace( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_WaitGetPoses(struct w_steam_iface *_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; + struct cppIVRCompositor_IVRCompositor_026_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_026_GetLastPoses( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); - return _ret; + cppIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame(_this->u_iface); + cppIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame( ¶ms ); } extern void __thiscall winIVRCompositor_IVRCompositor_026_PostPresentHandoff(struct w_steam_iface *_this); bool __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_026_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); - return _ret; + cppIVRCompositor_IVRCompositor_026_GetFrameTiming( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_026_GetFrameTimings_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .nFrames = nFrames, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetFrameTimings(_this->u_iface, pTiming, nFrames); - return _ret; + cppIVRCompositor_IVRCompositor_026_GetFrameTimings( ¶ms ); + return params._ret; } float __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_026_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) { + struct cppIVRCompositor_IVRCompositor_026_GetCumulativeStats_params params = + { + .linux_side = _this->u_iface, + .pStats = pStats, + .nStatsSizeInBytes = nStatsSizeInBytes, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_026_GetCumulativeStats( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_026_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_026_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_026_FadeToColor( ¶ms ); } HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_026_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_026_GetCurrentFadeColor_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - *_ret = cppIVRCompositor_IVRCompositor_026_GetCurrentFadeColor(_this->u_iface, bBackground); - return _ret; + cppIVRCompositor_IVRCompositor_026_GetCurrentFadeColor( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_026_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn) { + struct cppIVRCompositor_IVRCompositor_026_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_FadeGrid(_this->u_iface, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_026_FadeGrid( ¶ms ); } float __thiscall winIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_026_ClearSkyboxOverride(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_026_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_ClearSkyboxOverride(_this->u_iface); + cppIVRCompositor_IVRCompositor_026_ClearSkyboxOverride( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_026_CompositorBringToFront(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_026_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_CompositorBringToFront(_this->u_iface); + cppIVRCompositor_IVRCompositor_026_CompositorBringToFront( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_026_CompositorGoToBack(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_026_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_CompositorGoToBack(_this->u_iface); + cppIVRCompositor_IVRCompositor_026_CompositorGoToBack( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_026_CompositorQuit(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_026_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_CompositorQuit(_this->u_iface); + cppIVRCompositor_IVRCompositor_026_CompositorQuit( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_026_IsFullscreen(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_026_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_IsFullscreen(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_026_IsFullscreen( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetLastFrameRenderer(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_026_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetLastFrameRenderer(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_026_GetLastFrameRenderer( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_026_CanRenderScene(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_026_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_CanRenderScene(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_026_CanRenderScene( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_026_ShowMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_026_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_ShowMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_026_ShowMirrorWindow( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_026_HideMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_026_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_HideMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_026_HideMirrorWindow( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_026_CompositorDumpImages(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_026_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_CompositorDumpImages(_this->u_iface); + cppIVRCompositor_IVRCompositor_026_CompositorDumpImages( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { + struct cppIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); + cppIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_026_ForceReconnectProcess(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_026_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_ForceReconnectProcess(_this->u_iface); + cppIVRCompositor_IVRCompositor_026_ForceReconnectProcess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_026_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { + struct cppIVRCompositor_IVRCompositor_026_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_SuspendRendering(_this->u_iface, bSuspend); + cppIVRCompositor_IVRCompositor_026_SuspendRendering( ¶ms ); } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); - return _ret; + cppIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView) { + struct cppIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .pD3D11ShaderResourceView = pD3D11ShaderResourceView, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11(_this->u_iface, pD3D11ShaderResourceView); + cppIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11( ¶ms ); } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_026_GetMirrorTextureGL_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pglTextureId = pglTextureId, + .pglSharedTextureHandle = pglSharedTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle); - return _ret; + cppIVRCompositor_IVRCompositor_026_GetMirrorTextureGL( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture_params params = + { + .linux_side = _this->u_iface, + .glTextureId = glTextureId, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle); - return _ret; + cppIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { + struct cppIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { + struct cppIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess( ¶ms ); } uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired(_this->u_iface, pchValue, unBufferSize); - return _ret; + cppIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired( ¶ms ); + return params._ret; } extern uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize); void __thiscall winIVRCompositor_IVRCompositor_026_SetExplicitTimingMode(struct w_steam_iface *_this, EVRCompositorTimingMode eTimingMode) { + struct cppIVRCompositor_IVRCompositor_026_SetExplicitTimingMode_params params = + { + .linux_side = _this->u_iface, + .eTimingMode = eTimingMode, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_SetExplicitTimingMode(_this->u_iface, eTimingMode); + cppIVRCompositor_IVRCompositor_026_SetExplicitTimingMode( ¶ms ); } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData(struct w_steam_iface *_this) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_026_SetStageOverride_Async_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelPath = pchRenderModelPath, + .pTransform = pTransform, + .pRenderSettings = pRenderSettings, + .nSizeOfRenderSettings = nSizeOfRenderSettings, + }; const char *u_pchRenderModelPath = vrclient_dos_to_unix_path( pchRenderModelPath ); TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_SetStageOverride_Async(_this->u_iface, u_pchRenderModelPath, pTransform, pRenderSettings, nSizeOfRenderSettings); + cppIVRCompositor_IVRCompositor_026_SetStageOverride_Async( ¶ms ); vrclient_free_path( u_pchRenderModelPath ); - return _ret; + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_026_ClearStageOverride(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_026_ClearStageOverride_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_ClearStageOverride(_this->u_iface); + cppIVRCompositor_IVRCompositor_026_ClearStageOverride( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults(struct w_steam_iface *_this, Compositor_BenchmarkResults *pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults_params params = + { + .linux_side = _this->u_iface, + .pBenchmarkResults = pBenchmarkResults, + .nSizeOfBenchmarkResults = nSizeOfBenchmarkResults, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults(_this->u_iface, pBenchmarkResults, nSizeOfBenchmarkResults); - return _ret; + cppIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs(struct w_steam_iface *_this, uint32_t *pRenderPosePredictionID, uint32_t *pGamePosePredictionID) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs_params params = + { + .linux_side = _this->u_iface, + .pRenderPosePredictionID = pRenderPosePredictionID, + .pGamePosePredictionID = pGamePosePredictionID, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs(_this->u_iface, pRenderPosePredictionID, pGamePosePredictionID); - return _ret; + cppIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetPosesForFrame(struct w_steam_iface *_this, uint32_t unPosePredictionID, TrackedDevicePose_t *pPoseArray, uint32_t unPoseArrayCount) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_026_GetPosesForFrame_params params = + { + .linux_side = _this->u_iface, + .unPosePredictionID = unPosePredictionID, + .pPoseArray = pPoseArray, + .unPoseArrayCount = unPoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_026_GetPosesForFrame(_this->u_iface, unPosePredictionID, pPoseArray, unPoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_026_GetPosesForFrame( ¶ms ); + return params._ret; } extern vtable_ptr winIVRCompositor_IVRCompositor_026_vtable; @@ -7372,347 +10101,564 @@ DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetPosesForFrame, 16) void __thiscall winIVRCompositor_IVRCompositor_027_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin) { + struct cppIVRCompositor_IVRCompositor_027_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_SetTrackingSpace(_this->u_iface, eOrigin); + cppIVRCompositor_IVRCompositor_027_SetTrackingSpace( ¶ms ); } ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_027_GetTrackingSpace(struct w_steam_iface *_this) { - ETrackingUniverseOrigin _ret; + struct cppIVRCompositor_IVRCompositor_027_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetTrackingSpace(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_027_GetTrackingSpace( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_027_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_027_WaitGetPoses( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_027_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_027_GetLastPoses( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose); - return _ret; + cppIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags); void __thiscall winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame(_this->u_iface); + cppIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame( ¶ms ); } extern void __thiscall winIVRCompositor_IVRCompositor_027_PostPresentHandoff(struct w_steam_iface *_this); bool __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_027_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo); - return _ret; + cppIVRCompositor_IVRCompositor_027_GetFrameTiming( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_027_GetFrameTimings_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .nFrames = nFrames, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetFrameTimings(_this->u_iface, pTiming, nFrames); - return _ret; + cppIVRCompositor_IVRCompositor_027_GetFrameTimings( ¶ms ); + return params._ret; } float __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_027_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes) { + struct cppIVRCompositor_IVRCompositor_027_GetCumulativeStats_params params = + { + .linux_side = _this->u_iface, + .pStats = pStats, + .nStatsSizeInBytes = nStatsSizeInBytes, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_027_GetCumulativeStats( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_027_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_027_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_027_FadeToColor( ¶ms ); } HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground) { + struct cppIVRCompositor_IVRCompositor_027_GetCurrentFadeColor_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .bBackground = bBackground, + }; TRACE("%p\n", _this); - *_ret = cppIVRCompositor_IVRCompositor_027_GetCurrentFadeColor(_this->u_iface, bBackground); - return _ret; + cppIVRCompositor_IVRCompositor_027_GetCurrentFadeColor( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_027_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeGridIn) { + struct cppIVRCompositor_IVRCompositor_027_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeGridIn = bFadeGridIn, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_FadeGrid(_this->u_iface, fSeconds, bFadeGridIn); + cppIVRCompositor_IVRCompositor_027_FadeGrid( ¶ms ); } float __thiscall winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha(struct w_steam_iface *_this) { - float _ret; + struct cppIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha( ¶ms ); + return params._ret; } extern EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount); void __thiscall winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_027_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ClearSkyboxOverride(_this->u_iface); + cppIVRCompositor_IVRCompositor_027_ClearSkyboxOverride( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_027_CompositorBringToFront(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_027_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_CompositorBringToFront(_this->u_iface); + cppIVRCompositor_IVRCompositor_027_CompositorBringToFront( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_027_CompositorGoToBack(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_027_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_CompositorGoToBack(_this->u_iface); + cppIVRCompositor_IVRCompositor_027_CompositorGoToBack( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_027_CompositorQuit(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_027_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_CompositorQuit(_this->u_iface); + cppIVRCompositor_IVRCompositor_027_CompositorQuit( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_027_IsFullscreen(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_027_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_IsFullscreen(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_027_IsFullscreen( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_027_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetLastFrameRenderer(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_027_GetLastFrameRenderer( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_027_CanRenderScene(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_027_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_CanRenderScene(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_027_CanRenderScene( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_027_ShowMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_027_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ShowMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_027_ShowMirrorWindow( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_027_HideMirrorWindow(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_027_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_HideMirrorWindow(_this->u_iface); + cppIVRCompositor_IVRCompositor_027_HideMirrorWindow( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_027_CompositorDumpImages(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_027_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_CompositorDumpImages(_this->u_iface); + cppIVRCompositor_IVRCompositor_027_CompositorDumpImages( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride) { + struct cppIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn(_this->u_iface, bOverride); + cppIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_027_ForceReconnectProcess(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_027_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ForceReconnectProcess(_this->u_iface); + cppIVRCompositor_IVRCompositor_027_ForceReconnectProcess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_027_SuspendRendering(struct w_steam_iface *_this, bool bSuspend) { + struct cppIVRCompositor_IVRCompositor_027_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_SuspendRendering(_this->u_iface, bSuspend); + cppIVRCompositor_IVRCompositor_027_SuspendRendering( ¶ms ); } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); - return _ret; + cppIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView) { + struct cppIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .pD3D11ShaderResourceView = pD3D11ShaderResourceView, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11(_this->u_iface, pD3D11ShaderResourceView); + cppIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11( ¶ms ); } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_027_GetMirrorTextureGL_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pglTextureId = pglTextureId, + .pglSharedTextureHandle = pglSharedTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle); - return _ret; + cppIVRCompositor_IVRCompositor_027_GetMirrorTextureGL( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture_params params = + { + .linux_side = _this->u_iface, + .glTextureId = glTextureId, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle); - return _ret; + cppIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture( ¶ms ); + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { + struct cppIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess( ¶ms ); } void __thiscall winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle) { + struct cppIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess( ¶ms ); } uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize) { - uint32_t _ret; + struct cppIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired(_this->u_iface, pchValue, unBufferSize); - return _ret; + cppIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired( ¶ms ); + return params._ret; } extern uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize); void __thiscall winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode(struct w_steam_iface *_this, EVRCompositorTimingMode eTimingMode) { + struct cppIVRCompositor_IVRCompositor_027_SetExplicitTimingMode_params params = + { + .linux_side = _this->u_iface, + .eTimingMode = eTimingMode, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_SetExplicitTimingMode(_this->u_iface, eTimingMode); + cppIVRCompositor_IVRCompositor_027_SetExplicitTimingMode( ¶ms ); } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData(struct w_steam_iface *_this) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported( ¶ms ); + return params._ret; } bool __thiscall winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading(_this->u_iface); - return _ret; + cppIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading( ¶ms ); + return params._ret; } 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; + struct cppIVRCompositor_IVRCompositor_027_SetStageOverride_Async_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelPath = pchRenderModelPath, + .pTransform = pTransform, + .pRenderSettings = pRenderSettings, + .nSizeOfRenderSettings = nSizeOfRenderSettings, + }; const char *u_pchRenderModelPath = vrclient_dos_to_unix_path( pchRenderModelPath ); TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_SetStageOverride_Async(_this->u_iface, u_pchRenderModelPath, pTransform, pRenderSettings, nSizeOfRenderSettings); + cppIVRCompositor_IVRCompositor_027_SetStageOverride_Async( ¶ms ); vrclient_free_path( u_pchRenderModelPath ); - return _ret; + return params._ret; } void __thiscall winIVRCompositor_IVRCompositor_027_ClearStageOverride(struct w_steam_iface *_this) { + struct cppIVRCompositor_IVRCompositor_027_ClearStageOverride_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ClearStageOverride(_this->u_iface); + cppIVRCompositor_IVRCompositor_027_ClearStageOverride( ¶ms ); } bool __thiscall winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults(struct w_steam_iface *_this, Compositor_BenchmarkResults *pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) { - bool _ret; + struct cppIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults_params params = + { + .linux_side = _this->u_iface, + .pBenchmarkResults = pBenchmarkResults, + .nSizeOfBenchmarkResults = nSizeOfBenchmarkResults, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults(_this->u_iface, pBenchmarkResults, nSizeOfBenchmarkResults); - return _ret; + cppIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs(struct w_steam_iface *_this, uint32_t *pRenderPosePredictionID, uint32_t *pGamePosePredictionID) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs_params params = + { + .linux_side = _this->u_iface, + .pRenderPosePredictionID = pRenderPosePredictionID, + .pGamePosePredictionID = pGamePosePredictionID, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs(_this->u_iface, pRenderPosePredictionID, pGamePosePredictionID); - return _ret; + cppIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetPosesForFrame(struct w_steam_iface *_this, uint32_t unPosePredictionID, TrackedDevicePose_t *pPoseArray, uint32_t unPoseArrayCount) { - EVRCompositorError _ret; + struct cppIVRCompositor_IVRCompositor_027_GetPosesForFrame_params params = + { + .linux_side = _this->u_iface, + .unPosePredictionID = unPosePredictionID, + .pPoseArray = pPoseArray, + .unPoseArrayCount = unPoseArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRCompositor_IVRCompositor_027_GetPosesForFrame(_this->u_iface, unPosePredictionID, pPoseArray, unPoseArrayCount); - return _ret; + cppIVRCompositor_IVRCompositor_027_GetPosesForFrame( ¶ms ); + return params._ret; } extern vtable_ptr winIVRCompositor_IVRCompositor_027_vtable; diff --git a/vrclient_x64/vrclient_x64/winIVRControlPanel.c b/vrclient_x64/vrclient_x64/winIVRControlPanel.c index 8b6716a9..ba4ecc39 100644 --- a/vrclient_x64/vrclient_x64/winIVRControlPanel.c +++ b/vrclient_x64/vrclient_x64/winIVRControlPanel.c @@ -49,212 +49,337 @@ DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc28, 12) uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc1(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRControlPanel_IVRControlPanel_006_undoc1_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc1(_this->u_iface); - return _ret; + cppIVRControlPanel_IVRControlPanel_006_undoc1( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc2(struct w_steam_iface *_this, uint32_t a, char *b, uint32_t c) { - uint32_t _ret; + struct cppIVRControlPanel_IVRControlPanel_006_undoc2_params params = + { + .linux_side = _this->u_iface, + .a = a, + .b = b, + .c = c, + }; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc2(_this->u_iface, a, b, c); - return _ret; + cppIVRControlPanel_IVRControlPanel_006_undoc2( ¶ms ); + return params._ret; } EVRInitError __thiscall winIVRControlPanel_IVRControlPanel_006_undoc3(struct w_steam_iface *_this, const char *a) { - EVRInitError _ret; + struct cppIVRControlPanel_IVRControlPanel_006_undoc3_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc3(_this->u_iface, a); - return _ret; + cppIVRControlPanel_IVRControlPanel_006_undoc3( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc4(struct w_steam_iface *_this, const char *a) { - uint32_t _ret; + struct cppIVRControlPanel_IVRControlPanel_006_undoc4_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc4(_this->u_iface, a); - return _ret; + cppIVRControlPanel_IVRControlPanel_006_undoc4( ¶ms ); + return params._ret; } 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; + struct cppIVRControlPanel_IVRControlPanel_006_undoc5_params params = + { + .linux_side = _this->u_iface, + .a = a, + .b = b, + .c = c, + .d = d, + }; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc5(_this->u_iface, a, b, c, d); - return _ret; + cppIVRControlPanel_IVRControlPanel_006_undoc5( ¶ms ); + return params._ret; } 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; + struct cppIVRControlPanel_IVRControlPanel_006_undoc6_params params = + { + .linux_side = _this->u_iface, + .a = a, + .b = b, + .c = c, + .d = d, + }; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc6(_this->u_iface, a, b, c, d); - return _ret; + cppIVRControlPanel_IVRControlPanel_006_undoc6( ¶ms ); + return params._ret; } 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; + struct cppIVRControlPanel_IVRControlPanel_006_undoc7_params params = + { + .linux_side = _this->u_iface, + .a = a, + .b = b, + .c = c, + .d = d, + }; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc7(_this->u_iface, a, b, c, d); - return _ret; + cppIVRControlPanel_IVRControlPanel_006_undoc7( ¶ms ); + return params._ret; } bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc8(struct w_steam_iface *_this, uint32_t a) { - bool _ret; + struct cppIVRControlPanel_IVRControlPanel_006_undoc8_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc8(_this->u_iface, a); - return _ret; + cppIVRControlPanel_IVRControlPanel_006_undoc8( ¶ms ); + return params._ret; } void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc9(struct w_steam_iface *_this) { + struct cppIVRControlPanel_IVRControlPanel_006_undoc9_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc9(_this->u_iface); + cppIVRControlPanel_IVRControlPanel_006_undoc9( ¶ms ); } void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc10(struct w_steam_iface *_this) { + struct cppIVRControlPanel_IVRControlPanel_006_undoc10_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc10(_this->u_iface); + cppIVRControlPanel_IVRControlPanel_006_undoc10( ¶ms ); } bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc11(struct w_steam_iface *_this, uint32_t a) { - bool _ret; + struct cppIVRControlPanel_IVRControlPanel_006_undoc11_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc11(_this->u_iface, a); - return _ret; + cppIVRControlPanel_IVRControlPanel_006_undoc11( ¶ms ); + return params._ret; } void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc12(struct w_steam_iface *_this) { + struct cppIVRControlPanel_IVRControlPanel_006_undoc12_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc12(_this->u_iface); + cppIVRControlPanel_IVRControlPanel_006_undoc12( ¶ms ); } void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc13(struct w_steam_iface *_this, TrackedDeviceIndex_t a) { + struct cppIVRControlPanel_IVRControlPanel_006_undoc13_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc13(_this->u_iface, a); + cppIVRControlPanel_IVRControlPanel_006_undoc13( ¶ms ); } void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc14(struct w_steam_iface *_this, EVRState a) { + struct cppIVRControlPanel_IVRControlPanel_006_undoc14_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc14(_this->u_iface, a); + cppIVRControlPanel_IVRControlPanel_006_undoc14( ¶ms ); } EVRState __thiscall winIVRControlPanel_IVRControlPanel_006_undoc15(struct w_steam_iface *_this) { - EVRState _ret; + struct cppIVRControlPanel_IVRControlPanel_006_undoc15_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc15(_this->u_iface); - return _ret; + cppIVRControlPanel_IVRControlPanel_006_undoc15( ¶ms ); + return params._ret; } void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc16(struct w_steam_iface *_this, bool a) { + struct cppIVRControlPanel_IVRControlPanel_006_undoc16_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc16(_this->u_iface, a); + cppIVRControlPanel_IVRControlPanel_006_undoc16( ¶ms ); } bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc17(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRControlPanel_IVRControlPanel_006_undoc17_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc17(_this->u_iface); - return _ret; + cppIVRControlPanel_IVRControlPanel_006_undoc17( ¶ms ); + return params._ret; } EVRApplicationError __thiscall winIVRControlPanel_IVRControlPanel_006_undoc18(struct w_steam_iface *_this) { - EVRApplicationError _ret; + struct cppIVRControlPanel_IVRControlPanel_006_undoc18_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc18(_this->u_iface); - return _ret; + cppIVRControlPanel_IVRControlPanel_006_undoc18( ¶ms ); + return params._ret; } void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc19(struct w_steam_iface *_this, bool a) { + struct cppIVRControlPanel_IVRControlPanel_006_undoc19_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc19(_this->u_iface, a); + cppIVRControlPanel_IVRControlPanel_006_undoc19( ¶ms ); } bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc20(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRControlPanel_IVRControlPanel_006_undoc20_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc20(_this->u_iface); - return _ret; + cppIVRControlPanel_IVRControlPanel_006_undoc20( ¶ms ); + return params._ret; } EVRInitError __thiscall winIVRControlPanel_IVRControlPanel_006_undoc21(struct w_steam_iface *_this) { - EVRInitError _ret; + struct cppIVRControlPanel_IVRControlPanel_006_undoc21_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc21(_this->u_iface); - return _ret; + cppIVRControlPanel_IVRControlPanel_006_undoc21( ¶ms ); + return params._ret; } 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) { + struct cppIVRControlPanel_IVRControlPanel_006_undoc22_params params = + { + .linux_side = _this->u_iface, + .a = a, + .b = b, + .c = c, + .d = d, + .e = e, + }; TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc22(_this->u_iface, a, b, c, d, e); + cppIVRControlPanel_IVRControlPanel_006_undoc22( ¶ms ); } bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc23(struct w_steam_iface *_this, const char *a) { - bool _ret; + struct cppIVRControlPanel_IVRControlPanel_006_undoc23_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; const char *u_a = vrclient_dos_to_unix_path( a ); TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc23(_this->u_iface, u_a); + cppIVRControlPanel_IVRControlPanel_006_undoc23( ¶ms ); vrclient_free_path( u_a ); - return _ret; + return params._ret; } bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc24(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRControlPanel_IVRControlPanel_006_undoc24_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc24(_this->u_iface); - return _ret; + cppIVRControlPanel_IVRControlPanel_006_undoc24( ¶ms ); + return params._ret; } bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc25(struct w_steam_iface *_this, bool a) { - bool _ret; + struct cppIVRControlPanel_IVRControlPanel_006_undoc25_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc25(_this->u_iface, a); - return _ret; + cppIVRControlPanel_IVRControlPanel_006_undoc25( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc26(struct w_steam_iface *_this) { - uint64_t _ret; + struct cppIVRControlPanel_IVRControlPanel_006_undoc26_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc26(_this->u_iface); - return _ret; + cppIVRControlPanel_IVRControlPanel_006_undoc26( ¶ms ); + return params._ret; } EVRCompositorError __thiscall winIVRControlPanel_IVRControlPanel_006_undoc27(struct w_steam_iface *_this, const char *a) { - EVRCompositorError _ret; + struct cppIVRControlPanel_IVRControlPanel_006_undoc27_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; const char *u_a = vrclient_dos_to_unix_path( a ); TRACE("%p\n", _this); - _ret = cppIVRControlPanel_IVRControlPanel_006_undoc27(_this->u_iface, u_a); + cppIVRControlPanel_IVRControlPanel_006_undoc27( ¶ms ); vrclient_free_path( u_a ); - return _ret; + return params._ret; } void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc28(struct w_steam_iface *_this, VROverlayHandle_t a) { + struct cppIVRControlPanel_IVRControlPanel_006_undoc28_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc28(_this->u_iface, a); + cppIVRControlPanel_IVRControlPanel_006_undoc28( ¶ms ); } extern vtable_ptr winIVRControlPanel_IVRControlPanel_006_vtable; diff --git a/vrclient_x64/vrclient_x64/winIVRDriverManager.c b/vrclient_x64/vrclient_x64/winIVRDriverManager.c index ba0d1db0..7464e509 100644 --- a/vrclient_x64/vrclient_x64/winIVRDriverManager.c +++ b/vrclient_x64/vrclient_x64/winIVRDriverManager.c @@ -25,34 +25,51 @@ DEFINE_THISCALL_WRAPPER(winIVRDriverManager_IVRDriverManager_001_IsEnabled, 8) uint32_t __thiscall winIVRDriverManager_IVRDriverManager_001_GetDriverCount(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRDriverManager_IVRDriverManager_001_GetDriverCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRDriverManager_IVRDriverManager_001_GetDriverCount(_this->u_iface); - return _ret; + cppIVRDriverManager_IVRDriverManager_001_GetDriverCount( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRDriverManager_IVRDriverManager_001_GetDriverName(struct w_steam_iface *_this, DriverId_t nDriver, char *pchValue, uint32_t unBufferSize) { - uint32_t _ret; + struct cppIVRDriverManager_IVRDriverManager_001_GetDriverName_params params = + { + .linux_side = _this->u_iface, + .nDriver = nDriver, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRDriverManager_IVRDriverManager_001_GetDriverName(_this->u_iface, nDriver, pchValue, unBufferSize); - return _ret; + cppIVRDriverManager_IVRDriverManager_001_GetDriverName( ¶ms ); + return params._ret; } DriverHandle_t __thiscall winIVRDriverManager_IVRDriverManager_001_GetDriverHandle(struct w_steam_iface *_this, const char *pchDriverName) { - DriverHandle_t _ret; + struct cppIVRDriverManager_IVRDriverManager_001_GetDriverHandle_params params = + { + .linux_side = _this->u_iface, + .pchDriverName = pchDriverName, + }; TRACE("%p\n", _this); - _ret = cppIVRDriverManager_IVRDriverManager_001_GetDriverHandle(_this->u_iface, pchDriverName); - return _ret; + cppIVRDriverManager_IVRDriverManager_001_GetDriverHandle( ¶ms ); + return params._ret; } bool __thiscall winIVRDriverManager_IVRDriverManager_001_IsEnabled(struct w_steam_iface *_this, DriverId_t nDriver) { - bool _ret; + struct cppIVRDriverManager_IVRDriverManager_001_IsEnabled_params params = + { + .linux_side = _this->u_iface, + .nDriver = nDriver, + }; TRACE("%p\n", _this); - _ret = cppIVRDriverManager_IVRDriverManager_001_IsEnabled(_this->u_iface, nDriver); - return _ret; + cppIVRDriverManager_IVRDriverManager_001_IsEnabled( ¶ms ); + return params._ret; } extern vtable_ptr winIVRDriverManager_IVRDriverManager_001_vtable; diff --git a/vrclient_x64/vrclient_x64/winIVRExtendedDisplay.c b/vrclient_x64/vrclient_x64/winIVRExtendedDisplay.c index f8ee6a82..d5002f41 100644 --- a/vrclient_x64/vrclient_x64/winIVRExtendedDisplay.c +++ b/vrclient_x64/vrclient_x64/winIVRExtendedDisplay.c @@ -24,20 +24,43 @@ DEFINE_THISCALL_WRAPPER(winIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutp void __thiscall winIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds(struct w_steam_iface *_this, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) { + struct cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds_params params = + { + .linux_side = _this->u_iface, + .pnX = pnX, + .pnY = pnY, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds(_this->u_iface, pnX, pnY, pnWidth, pnHeight); + cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds( ¶ms ); } 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) { + struct cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pnX = pnX, + .pnY = pnY, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport(_this->u_iface, eEye, pnX, pnY, pnWidth, pnHeight); + cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport( ¶ms ); } void __thiscall winIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex) { + struct cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo_params params = + { + .linux_side = _this->u_iface, + .pnAdapterIndex = pnAdapterIndex, + .pnAdapterOutputIndex = pnAdapterOutputIndex, + }; TRACE("%p\n", _this); - cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo(_this->u_iface, pnAdapterIndex, pnAdapterOutputIndex); + cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo( ¶ms ); } extern vtable_ptr winIVRExtendedDisplay_IVRExtendedDisplay_001_vtable; diff --git a/vrclient_x64/vrclient_x64/winIVRHeadsetView.c b/vrclient_x64/vrclient_x64/winIVRHeadsetView.c index 7cdfab7b..cec6995a 100644 --- a/vrclient_x64/vrclient_x64/winIVRHeadsetView.c +++ b/vrclient_x64/vrclient_x64/winIVRHeadsetView.c @@ -30,62 +30,105 @@ DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlend void __thiscall winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize(struct w_steam_iface *_this, uint32_t nWidth, uint32_t nHeight) { + struct cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize_params params = + { + .linux_side = _this->u_iface, + .nWidth = nWidth, + .nHeight = nHeight, + }; TRACE("%p\n", _this); - cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize(_this->u_iface, nWidth, nHeight); + cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize( ¶ms ); } void __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { + struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize(_this->u_iface, pnWidth, pnHeight); + cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize( ¶ms ); } void __thiscall winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode(struct w_steam_iface *_this, HeadsetViewMode_t eHeadsetViewMode) { + struct cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode_params params = + { + .linux_side = _this->u_iface, + .eHeadsetViewMode = eHeadsetViewMode, + }; TRACE("%p\n", _this); - cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode(_this->u_iface, eHeadsetViewMode); + cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode( ¶ms ); } HeadsetViewMode_t __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode(struct w_steam_iface *_this) { - HeadsetViewMode_t _ret; + struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode(_this->u_iface); - return _ret; + cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode( ¶ms ); + return params._ret; } void __thiscall winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped(struct w_steam_iface *_this, bool bCropped) { + struct cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped_params params = + { + .linux_side = _this->u_iface, + .bCropped = bCropped, + }; TRACE("%p\n", _this); - cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped(_this->u_iface, bCropped); + cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped( ¶ms ); } bool __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped(_this->u_iface); - return _ret; + cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped( ¶ms ); + return params._ret; } float __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio(struct w_steam_iface *_this) { - float _ret; + struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio(_this->u_iface); - return _ret; + cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio( ¶ms ); + return params._ret; } void __thiscall winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange(struct w_steam_iface *_this, float flStartPct, float flEndPct) { + struct cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange_params params = + { + .linux_side = _this->u_iface, + .flStartPct = flStartPct, + .flEndPct = flEndPct, + }; TRACE("%p\n", _this); - cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange(_this->u_iface, flStartPct, flEndPct); + cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange( ¶ms ); } void __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange(struct w_steam_iface *_this, float *pStartPct, float *pEndPct) { + struct cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange_params params = + { + .linux_side = _this->u_iface, + .pStartPct = pStartPct, + .pEndPct = pEndPct, + }; TRACE("%p\n", _this); - cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange(_this->u_iface, pStartPct, pEndPct); + cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange( ¶ms ); } extern vtable_ptr winIVRHeadsetView_IVRHeadsetView_001_vtable; diff --git a/vrclient_x64/vrclient_x64/winIVRIOBuffer.c b/vrclient_x64/vrclient_x64/winIVRIOBuffer.c index dd264ff0..b77ad770 100644 --- a/vrclient_x64/vrclient_x64/winIVRIOBuffer.c +++ b/vrclient_x64/vrclient_x64/winIVRIOBuffer.c @@ -26,42 +26,71 @@ DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_PropertyContainer, 12) 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; + struct cppIVRIOBuffer_IVRIOBuffer_001_Open_params params = + { + .linux_side = _this->u_iface, + .pchPath = pchPath, + .mode = mode, + .unElementSize = unElementSize, + .unElements = unElements, + .pulBuffer = pulBuffer, + }; TRACE("%p\n", _this); - _ret = cppIVRIOBuffer_IVRIOBuffer_001_Open(_this->u_iface, pchPath, mode, unElementSize, unElements, pulBuffer); - return _ret; + cppIVRIOBuffer_IVRIOBuffer_001_Open( ¶ms ); + return params._ret; } EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Close(struct w_steam_iface *_this, IOBufferHandle_t ulBuffer) { - EIOBufferError _ret; + struct cppIVRIOBuffer_IVRIOBuffer_001_Close_params params = + { + .linux_side = _this->u_iface, + .ulBuffer = ulBuffer, + }; TRACE("%p\n", _this); - _ret = cppIVRIOBuffer_IVRIOBuffer_001_Close(_this->u_iface, ulBuffer); - return _ret; + cppIVRIOBuffer_IVRIOBuffer_001_Close( ¶ms ); + return params._ret; } EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Read(struct w_steam_iface *_this, IOBufferHandle_t ulBuffer, void *pDst, uint32_t unBytes, uint32_t *punRead) { - EIOBufferError _ret; + struct cppIVRIOBuffer_IVRIOBuffer_001_Read_params params = + { + .linux_side = _this->u_iface, + .ulBuffer = ulBuffer, + .pDst = pDst, + .unBytes = unBytes, + .punRead = punRead, + }; TRACE("%p\n", _this); - _ret = cppIVRIOBuffer_IVRIOBuffer_001_Read(_this->u_iface, ulBuffer, pDst, unBytes, punRead); - return _ret; + cppIVRIOBuffer_IVRIOBuffer_001_Read( ¶ms ); + return params._ret; } EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Write(struct w_steam_iface *_this, IOBufferHandle_t ulBuffer, void *pSrc, uint32_t unBytes) { - EIOBufferError _ret; + struct cppIVRIOBuffer_IVRIOBuffer_001_Write_params params = + { + .linux_side = _this->u_iface, + .ulBuffer = ulBuffer, + .pSrc = pSrc, + .unBytes = unBytes, + }; TRACE("%p\n", _this); - _ret = cppIVRIOBuffer_IVRIOBuffer_001_Write(_this->u_iface, ulBuffer, pSrc, unBytes); - return _ret; + cppIVRIOBuffer_IVRIOBuffer_001_Write( ¶ms ); + return params._ret; } PropertyContainerHandle_t __thiscall winIVRIOBuffer_IVRIOBuffer_001_PropertyContainer(struct w_steam_iface *_this, IOBufferHandle_t ulBuffer) { - PropertyContainerHandle_t _ret; + struct cppIVRIOBuffer_IVRIOBuffer_001_PropertyContainer_params params = + { + .linux_side = _this->u_iface, + .ulBuffer = ulBuffer, + }; TRACE("%p\n", _this); - _ret = cppIVRIOBuffer_IVRIOBuffer_001_PropertyContainer(_this->u_iface, ulBuffer); - return _ret; + cppIVRIOBuffer_IVRIOBuffer_001_PropertyContainer( ¶ms ); + return params._ret; } extern vtable_ptr winIVRIOBuffer_IVRIOBuffer_001_vtable; @@ -134,50 +163,83 @@ DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_002_HasReaders, 12) 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; + struct cppIVRIOBuffer_IVRIOBuffer_002_Open_params params = + { + .linux_side = _this->u_iface, + .pchPath = pchPath, + .mode = mode, + .unElementSize = unElementSize, + .unElements = unElements, + .pulBuffer = pulBuffer, + }; TRACE("%p\n", _this); - _ret = cppIVRIOBuffer_IVRIOBuffer_002_Open(_this->u_iface, pchPath, mode, unElementSize, unElements, pulBuffer); - return _ret; + cppIVRIOBuffer_IVRIOBuffer_002_Open( ¶ms ); + return params._ret; } EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_002_Close(struct w_steam_iface *_this, IOBufferHandle_t ulBuffer) { - EIOBufferError _ret; + struct cppIVRIOBuffer_IVRIOBuffer_002_Close_params params = + { + .linux_side = _this->u_iface, + .ulBuffer = ulBuffer, + }; TRACE("%p\n", _this); - _ret = cppIVRIOBuffer_IVRIOBuffer_002_Close(_this->u_iface, ulBuffer); - return _ret; + cppIVRIOBuffer_IVRIOBuffer_002_Close( ¶ms ); + return params._ret; } EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_002_Read(struct w_steam_iface *_this, IOBufferHandle_t ulBuffer, void *pDst, uint32_t unBytes, uint32_t *punRead) { - EIOBufferError _ret; + struct cppIVRIOBuffer_IVRIOBuffer_002_Read_params params = + { + .linux_side = _this->u_iface, + .ulBuffer = ulBuffer, + .pDst = pDst, + .unBytes = unBytes, + .punRead = punRead, + }; TRACE("%p\n", _this); - _ret = cppIVRIOBuffer_IVRIOBuffer_002_Read(_this->u_iface, ulBuffer, pDst, unBytes, punRead); - return _ret; + cppIVRIOBuffer_IVRIOBuffer_002_Read( ¶ms ); + return params._ret; } EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_002_Write(struct w_steam_iface *_this, IOBufferHandle_t ulBuffer, void *pSrc, uint32_t unBytes) { - EIOBufferError _ret; + struct cppIVRIOBuffer_IVRIOBuffer_002_Write_params params = + { + .linux_side = _this->u_iface, + .ulBuffer = ulBuffer, + .pSrc = pSrc, + .unBytes = unBytes, + }; TRACE("%p\n", _this); - _ret = cppIVRIOBuffer_IVRIOBuffer_002_Write(_this->u_iface, ulBuffer, pSrc, unBytes); - return _ret; + cppIVRIOBuffer_IVRIOBuffer_002_Write( ¶ms ); + return params._ret; } PropertyContainerHandle_t __thiscall winIVRIOBuffer_IVRIOBuffer_002_PropertyContainer(struct w_steam_iface *_this, IOBufferHandle_t ulBuffer) { - PropertyContainerHandle_t _ret; + struct cppIVRIOBuffer_IVRIOBuffer_002_PropertyContainer_params params = + { + .linux_side = _this->u_iface, + .ulBuffer = ulBuffer, + }; TRACE("%p\n", _this); - _ret = cppIVRIOBuffer_IVRIOBuffer_002_PropertyContainer(_this->u_iface, ulBuffer); - return _ret; + cppIVRIOBuffer_IVRIOBuffer_002_PropertyContainer( ¶ms ); + return params._ret; } bool __thiscall winIVRIOBuffer_IVRIOBuffer_002_HasReaders(struct w_steam_iface *_this, IOBufferHandle_t ulBuffer) { - bool _ret; + struct cppIVRIOBuffer_IVRIOBuffer_002_HasReaders_params params = + { + .linux_side = _this->u_iface, + .ulBuffer = ulBuffer, + }; TRACE("%p\n", _this); - _ret = cppIVRIOBuffer_IVRIOBuffer_002_HasReaders(_this->u_iface, ulBuffer); - return _ret; + cppIVRIOBuffer_IVRIOBuffer_002_HasReaders( ¶ms ); + return params._ret; } extern vtable_ptr winIVRIOBuffer_IVRIOBuffer_002_vtable; diff --git a/vrclient_x64/vrclient_x64/winIVRInput.c b/vrclient_x64/vrclient_x64/winIVRInput.c index d2436e5b..5462a5e2 100644 --- a/vrclient_x64/vrclient_x64/winIVRInput.c +++ b/vrclient_x64/vrclient_x64/winIVRInput.c @@ -38,140 +38,251 @@ DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_ShowBindingsForActionSet, 24) EVRInputError __thiscall winIVRInput_IVRInput_003_SetActionManifestPath(struct w_steam_iface *_this, const char *pchActionManifestPath) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_003_SetActionManifestPath_params params = + { + .linux_side = _this->u_iface, + .pchActionManifestPath = pchActionManifestPath, + }; const char *u_pchActionManifestPath = vrclient_dos_to_unix_path( pchActionManifestPath ); TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_SetActionManifestPath(_this->u_iface, u_pchActionManifestPath); + cppIVRInput_IVRInput_003_SetActionManifestPath( ¶ms ); vrclient_free_path( u_pchActionManifestPath ); - return _ret; + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_003_GetActionSetHandle(struct w_steam_iface *_this, const char *pchActionSetName, VRActionSetHandle_t *pHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_003_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionSetName = pchActionSetName, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_GetActionSetHandle(_this->u_iface, pchActionSetName, pHandle); - return _ret; + cppIVRInput_IVRInput_003_GetActionSetHandle( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_003_GetActionHandle(struct w_steam_iface *_this, const char *pchActionName, VRActionHandle_t *pHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_003_GetActionHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionName = pchActionName, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_GetActionHandle(_this->u_iface, pchActionName, pHandle); - return _ret; + cppIVRInput_IVRInput_003_GetActionHandle( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_003_GetInputSourceHandle(struct w_steam_iface *_this, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_003_GetInputSourceHandle_params params = + { + .linux_side = _this->u_iface, + .pchInputSourcePath = pchInputSourcePath, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_GetInputSourceHandle(_this->u_iface, pchInputSourcePath, pHandle); - return _ret; + cppIVRInput_IVRInput_003_GetInputSourceHandle( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_003_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_003_UpdateActionState_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_UpdateActionState(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); - return _ret; + cppIVRInput_IVRInput_003_UpdateActionState( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_003_GetDigitalActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputDigitalActionData_t_1015 *pActionData, uint32_t unActionDataSize) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_003_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_GetDigitalActionData(_this->u_iface, action, pActionData, unActionDataSize); - return _ret; + cppIVRInput_IVRInput_003_GetDigitalActionData( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_003_GetAnalogActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputAnalogActionData_t_1015 *pActionData, uint32_t unActionDataSize) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_003_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_GetAnalogActionData(_this->u_iface, action, pActionData, unActionDataSize); - return _ret; + cppIVRInput_IVRInput_003_GetAnalogActionData( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_003_GetPoseActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eOrigin = eOrigin, + .fPredictedSecondsFromNow = fPredictedSecondsFromNow, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_GetPoseActionData(_this->u_iface, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize); - return _ret; + cppIVRInput_IVRInput_003_GetPoseActionData( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_003_GetSkeletalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eBoneParent = eBoneParent, + .fPredictedSecondsFromNow = fPredictedSecondsFromNow, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_GetSkeletalActionData(_this->u_iface, action, eBoneParent, fPredictedSecondsFromNow, pActionData, unActionDataSize, pTransformArray, unTransformArrayCount); - return _ret; + cppIVRInput_IVRInput_003_GetSkeletalActionData( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_003_GetSkeletalActionDataCompressed_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eBoneParent = eBoneParent, + .fPredictedSecondsFromNow = fPredictedSecondsFromNow, + .pvCompressedData = pvCompressedData, + .unCompressedSize = unCompressedSize, + .punRequiredCompressedSize = punRequiredCompressedSize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_GetSkeletalActionDataCompressed(_this->u_iface, action, eBoneParent, fPredictedSecondsFromNow, pvCompressedData, unCompressedSize, punRequiredCompressedSize); - return _ret; + cppIVRInput_IVRInput_003_GetSkeletalActionDataCompressed( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_003_UncompressSkeletalActionData_params params = + { + .linux_side = _this->u_iface, + .pvCompressedBuffer = pvCompressedBuffer, + .unCompressedBufferSize = unCompressedBufferSize, + .peBoneParent = peBoneParent, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_UncompressSkeletalActionData(_this->u_iface, pvCompressedBuffer, unCompressedBufferSize, peBoneParent, pTransformArray, unTransformArrayCount); - return _ret; + cppIVRInput_IVRInput_003_UncompressSkeletalActionData( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_003_TriggerHapticVibrationAction(struct w_steam_iface *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_003_TriggerHapticVibrationAction_params params = + { + .linux_side = _this->u_iface, + .action = action, + .fStartSecondsFromNow = fStartSecondsFromNow, + .fDurationSeconds = fDurationSeconds, + .fFrequency = fFrequency, + .fAmplitude = fAmplitude, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_TriggerHapticVibrationAction(_this->u_iface, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude); - return _ret; + cppIVRInput_IVRInput_003_TriggerHapticVibrationAction( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_003_GetActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + .originOutCount = originOutCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_GetActionOrigins(_this->u_iface, actionSetHandle, digitalActionHandle, originsOut, originOutCount); - return _ret; + cppIVRInput_IVRInput_003_GetActionOrigins( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_003_GetOriginLocalizedName(struct w_steam_iface *_this, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_003_GetOriginLocalizedName_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pchNameArray = pchNameArray, + .unNameArraySize = unNameArraySize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_GetOriginLocalizedName(_this->u_iface, origin, pchNameArray, unNameArraySize); - return _ret; + cppIVRInput_IVRInput_003_GetOriginLocalizedName( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pOriginInfo = pOriginInfo, + .unOriginInfoSize = unOriginInfoSize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo(_this->u_iface, origin, pOriginInfo, unOriginInfoSize); - return _ret; + cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_003_ShowActionOrigins(struct w_steam_iface *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_003_ShowActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .ulActionHandle = ulActionHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_ShowActionOrigins(_this->u_iface, actionSetHandle, ulActionHandle); - return _ret; + cppIVRInput_IVRInput_003_ShowActionOrigins( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_003_ShowBindingsForActionSet_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + .originToHighlight = originToHighlight, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_003_ShowBindingsForActionSet(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); - return _ret; + cppIVRInput_IVRInput_003_ShowBindingsForActionSet( ¶ms ); + return params._ret; } extern vtable_ptr winIVRInput_IVRInput_003_vtable; @@ -280,142 +391,257 @@ DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_ShowBindingsForActionSet, 24) EVRInputError __thiscall winIVRInput_IVRInput_004_SetActionManifestPath(struct w_steam_iface *_this, const char *pchActionManifestPath) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_004_SetActionManifestPath_params params = + { + .linux_side = _this->u_iface, + .pchActionManifestPath = pchActionManifestPath, + }; const char *u_pchActionManifestPath = vrclient_dos_to_unix_path( pchActionManifestPath ); TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_SetActionManifestPath(_this->u_iface, u_pchActionManifestPath); + cppIVRInput_IVRInput_004_SetActionManifestPath( ¶ms ); vrclient_free_path( u_pchActionManifestPath ); - return _ret; + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_004_GetActionSetHandle(struct w_steam_iface *_this, const char *pchActionSetName, VRActionSetHandle_t *pHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_004_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionSetName = pchActionSetName, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_GetActionSetHandle(_this->u_iface, pchActionSetName, pHandle); - return _ret; + cppIVRInput_IVRInput_004_GetActionSetHandle( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_004_GetActionHandle(struct w_steam_iface *_this, const char *pchActionName, VRActionHandle_t *pHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_004_GetActionHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionName = pchActionName, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_GetActionHandle(_this->u_iface, pchActionName, pHandle); - return _ret; + cppIVRInput_IVRInput_004_GetActionHandle( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_004_GetInputSourceHandle(struct w_steam_iface *_this, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_004_GetInputSourceHandle_params params = + { + .linux_side = _this->u_iface, + .pchInputSourcePath = pchInputSourcePath, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_GetInputSourceHandle(_this->u_iface, pchInputSourcePath, pHandle); - return _ret; + cppIVRInput_IVRInput_004_GetInputSourceHandle( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_004_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_004_UpdateActionState_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_UpdateActionState(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); - return _ret; + cppIVRInput_IVRInput_004_UpdateActionState( ¶ms ); + return params._ret; } extern 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 __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; + struct cppIVRInput_IVRInput_004_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_GetAnalogActionData(_this->u_iface, action, pActionData, unActionDataSize, ulRestrictToDevice); - return _ret; + cppIVRInput_IVRInput_004_GetAnalogActionData( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_004_GetPoseActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eOrigin = eOrigin, + .fPredictedSecondsFromNow = fPredictedSecondsFromNow, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_GetPoseActionData(_this->u_iface, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); - return _ret; + cppIVRInput_IVRInput_004_GetPoseActionData( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_004_GetSkeletalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_GetSkeletalActionData(_this->u_iface, action, pActionData, unActionDataSize, ulRestrictToDevice); - return _ret; + cppIVRInput_IVRInput_004_GetSkeletalActionData( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_004_GetSkeletalBoneData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eTransformSpace = eTransformSpace, + .eMotionRange = eMotionRange, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_GetSkeletalBoneData(_this->u_iface, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount, ulRestrictToDevice); - return _ret; + cppIVRInput_IVRInput_004_GetSkeletalBoneData( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eTransformSpace = eTransformSpace, + .eMotionRange = eMotionRange, + .pvCompressedData = pvCompressedData, + .unCompressedSize = unCompressedSize, + .punRequiredCompressedSize = punRequiredCompressedSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed(_this->u_iface, action, eTransformSpace, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize, ulRestrictToDevice); - return _ret; + cppIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_004_DecompressSkeletalBoneData_params params = + { + .linux_side = _this->u_iface, + .pvCompressedBuffer = pvCompressedBuffer, + .unCompressedBufferSize = unCompressedBufferSize, + .peTransformSpace = peTransformSpace, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_DecompressSkeletalBoneData(_this->u_iface, pvCompressedBuffer, unCompressedBufferSize, peTransformSpace, pTransformArray, unTransformArrayCount); - return _ret; + cppIVRInput_IVRInput_004_DecompressSkeletalBoneData( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_004_TriggerHapticVibrationAction_params params = + { + .linux_side = _this->u_iface, + .action = action, + .fStartSecondsFromNow = fStartSecondsFromNow, + .fDurationSeconds = fDurationSeconds, + .fFrequency = fFrequency, + .fAmplitude = fAmplitude, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_TriggerHapticVibrationAction(_this->u_iface, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); - return _ret; + cppIVRInput_IVRInput_004_TriggerHapticVibrationAction( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_004_GetActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + .originOutCount = originOutCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_GetActionOrigins(_this->u_iface, actionSetHandle, digitalActionHandle, originsOut, originOutCount); - return _ret; + cppIVRInput_IVRInput_004_GetActionOrigins( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_004_GetOriginLocalizedName(struct w_steam_iface *_this, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_004_GetOriginLocalizedName_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pchNameArray = pchNameArray, + .unNameArraySize = unNameArraySize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_GetOriginLocalizedName(_this->u_iface, origin, pchNameArray, unNameArraySize); - return _ret; + cppIVRInput_IVRInput_004_GetOriginLocalizedName( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pOriginInfo = pOriginInfo, + .unOriginInfoSize = unOriginInfoSize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo(_this->u_iface, origin, pOriginInfo, unOriginInfoSize); - return _ret; + cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_004_ShowActionOrigins(struct w_steam_iface *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_004_ShowActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .ulActionHandle = ulActionHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_ShowActionOrigins(_this->u_iface, actionSetHandle, ulActionHandle); - return _ret; + cppIVRInput_IVRInput_004_ShowActionOrigins( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_004_ShowBindingsForActionSet_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + .originToHighlight = originToHighlight, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_004_ShowBindingsForActionSet(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); - return _ret; + cppIVRInput_IVRInput_004_ShowBindingsForActionSet( ¶ms ); + return params._ret; } extern vtable_ptr winIVRInput_IVRInput_004_vtable; @@ -533,198 +759,349 @@ DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_IsUsingLegacyInput, 4) EVRInputError __thiscall winIVRInput_IVRInput_005_SetActionManifestPath(struct w_steam_iface *_this, const char *pchActionManifestPath) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_005_SetActionManifestPath_params params = + { + .linux_side = _this->u_iface, + .pchActionManifestPath = pchActionManifestPath, + }; const char *u_pchActionManifestPath = vrclient_dos_to_unix_path( pchActionManifestPath ); TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_SetActionManifestPath(_this->u_iface, u_pchActionManifestPath); + cppIVRInput_IVRInput_005_SetActionManifestPath( ¶ms ); vrclient_free_path( u_pchActionManifestPath ); - return _ret; + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_005_GetActionSetHandle(struct w_steam_iface *_this, const char *pchActionSetName, VRActionSetHandle_t *pHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_005_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionSetName = pchActionSetName, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetActionSetHandle(_this->u_iface, pchActionSetName, pHandle); - return _ret; + cppIVRInput_IVRInput_005_GetActionSetHandle( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_005_GetActionHandle(struct w_steam_iface *_this, const char *pchActionName, VRActionHandle_t *pHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_005_GetActionHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionName = pchActionName, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetActionHandle(_this->u_iface, pchActionName, pHandle); - return _ret; + cppIVRInput_IVRInput_005_GetActionHandle( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_005_GetInputSourceHandle(struct w_steam_iface *_this, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_005_GetInputSourceHandle_params params = + { + .linux_side = _this->u_iface, + .pchInputSourcePath = pchInputSourcePath, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetInputSourceHandle(_this->u_iface, pchInputSourcePath, pHandle); - return _ret; + cppIVRInput_IVRInput_005_GetInputSourceHandle( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_005_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_005_UpdateActionState_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_UpdateActionState(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); - return _ret; + cppIVRInput_IVRInput_005_UpdateActionState( ¶ms ); + return params._ret; } extern 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 __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; + struct cppIVRInput_IVRInput_005_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetAnalogActionData(_this->u_iface, action, pActionData, unActionDataSize, ulRestrictToDevice); - return _ret; + cppIVRInput_IVRInput_005_GetAnalogActionData( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_005_GetPoseActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eOrigin = eOrigin, + .fPredictedSecondsFromNow = fPredictedSecondsFromNow, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetPoseActionData(_this->u_iface, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); - return _ret; + cppIVRInput_IVRInput_005_GetPoseActionData( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1322 *pActionData, uint32_t unActionDataSize) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_005_GetSkeletalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetSkeletalActionData(_this->u_iface, action, pActionData, unActionDataSize); - return _ret; + cppIVRInput_IVRInput_005_GetSkeletalActionData( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_005_GetBoneCount(struct w_steam_iface *_this, VRActionHandle_t action, uint32_t *pBoneCount) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_005_GetBoneCount_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pBoneCount = pBoneCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetBoneCount(_this->u_iface, action, pBoneCount); - return _ret; + cppIVRInput_IVRInput_005_GetBoneCount( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_005_GetBoneHierarchy(struct w_steam_iface *_this, VRActionHandle_t action, BoneIndex_t *pParentIndices, uint32_t unIndexArayCount) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_005_GetBoneHierarchy_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pParentIndices = pParentIndices, + .unIndexArayCount = unIndexArayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetBoneHierarchy(_this->u_iface, action, pParentIndices, unIndexArayCount); - return _ret; + cppIVRInput_IVRInput_005_GetBoneHierarchy( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_005_GetBoneName(struct w_steam_iface *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char *pchBoneName, uint32_t unNameBufferSize) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_005_GetBoneName_params params = + { + .linux_side = _this->u_iface, + .action = action, + .nBoneIndex = nBoneIndex, + .pchBoneName = pchBoneName, + .unNameBufferSize = unNameBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetBoneName(_this->u_iface, action, nBoneIndex, pchBoneName, unNameBufferSize); - return _ret; + cppIVRInput_IVRInput_005_GetBoneName( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_005_GetSkeletalReferenceTransforms_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eTransformSpace = eTransformSpace, + .eReferencePose = eReferencePose, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetSkeletalReferenceTransforms(_this->u_iface, action, eTransformSpace, eReferencePose, pTransformArray, unTransformArrayCount); - return _ret; + cppIVRInput_IVRInput_005_GetSkeletalReferenceTransforms( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalTrackingLevel(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel *pSkeletalTrackingLevel) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_005_GetSkeletalTrackingLevel_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pSkeletalTrackingLevel = pSkeletalTrackingLevel, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetSkeletalTrackingLevel(_this->u_iface, action, pSkeletalTrackingLevel); - return _ret; + cppIVRInput_IVRInput_005_GetSkeletalTrackingLevel( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_005_GetSkeletalBoneData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eTransformSpace = eTransformSpace, + .eMotionRange = eMotionRange, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetSkeletalBoneData(_this->u_iface, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount); - return _ret; + cppIVRInput_IVRInput_005_GetSkeletalBoneData( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalSummaryData(struct w_steam_iface *_this, VRActionHandle_t action, VRSkeletalSummaryData_t *pSkeletalSummaryData) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_005_GetSkeletalSummaryData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pSkeletalSummaryData = pSkeletalSummaryData, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetSkeletalSummaryData(_this->u_iface, action, pSkeletalSummaryData); - return _ret; + cppIVRInput_IVRInput_005_GetSkeletalSummaryData( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eMotionRange = eMotionRange, + .pvCompressedData = pvCompressedData, + .unCompressedSize = unCompressedSize, + .punRequiredCompressedSize = punRequiredCompressedSize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed(_this->u_iface, action, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize); - return _ret; + cppIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_005_DecompressSkeletalBoneData_params params = + { + .linux_side = _this->u_iface, + .pvCompressedBuffer = pvCompressedBuffer, + .unCompressedBufferSize = unCompressedBufferSize, + .eTransformSpace = eTransformSpace, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_DecompressSkeletalBoneData(_this->u_iface, pvCompressedBuffer, unCompressedBufferSize, eTransformSpace, pTransformArray, unTransformArrayCount); - return _ret; + cppIVRInput_IVRInput_005_DecompressSkeletalBoneData( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_005_TriggerHapticVibrationAction_params params = + { + .linux_side = _this->u_iface, + .action = action, + .fStartSecondsFromNow = fStartSecondsFromNow, + .fDurationSeconds = fDurationSeconds, + .fFrequency = fFrequency, + .fAmplitude = fAmplitude, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_TriggerHapticVibrationAction(_this->u_iface, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); - return _ret; + cppIVRInput_IVRInput_005_TriggerHapticVibrationAction( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_005_GetActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + .originOutCount = originOutCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetActionOrigins(_this->u_iface, actionSetHandle, digitalActionHandle, originsOut, originOutCount); - return _ret; + cppIVRInput_IVRInput_005_GetActionOrigins( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_005_GetOriginLocalizedName(struct w_steam_iface *_this, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_005_GetOriginLocalizedName_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pchNameArray = pchNameArray, + .unNameArraySize = unNameArraySize, + .unStringSectionsToInclude = unStringSectionsToInclude, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetOriginLocalizedName(_this->u_iface, origin, pchNameArray, unNameArraySize, unStringSectionsToInclude); - return _ret; + cppIVRInput_IVRInput_005_GetOriginLocalizedName( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pOriginInfo = pOriginInfo, + .unOriginInfoSize = unOriginInfoSize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo(_this->u_iface, origin, pOriginInfo, unOriginInfoSize); - return _ret; + cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_005_ShowActionOrigins(struct w_steam_iface *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_005_ShowActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .ulActionHandle = ulActionHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_ShowActionOrigins(_this->u_iface, actionSetHandle, ulActionHandle); - return _ret; + cppIVRInput_IVRInput_005_ShowActionOrigins( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_005_ShowBindingsForActionSet_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + .originToHighlight = originToHighlight, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_ShowBindingsForActionSet(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); - return _ret; + cppIVRInput_IVRInput_005_ShowBindingsForActionSet( ¶ms ); + return params._ret; } bool __thiscall winIVRInput_IVRInput_005_IsUsingLegacyInput(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRInput_IVRInput_005_IsUsingLegacyInput_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_005_IsUsingLegacyInput(_this->u_iface); - return _ret; + cppIVRInput_IVRInput_005_IsUsingLegacyInput( ¶ms ); + return params._ret; } extern vtable_ptr winIVRInput_IVRInput_005_vtable; @@ -857,206 +1234,366 @@ DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_IsUsingLegacyInput, 4) EVRInputError __thiscall winIVRInput_IVRInput_006_SetActionManifestPath(struct w_steam_iface *_this, const char *pchActionManifestPath) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_006_SetActionManifestPath_params params = + { + .linux_side = _this->u_iface, + .pchActionManifestPath = pchActionManifestPath, + }; const char *u_pchActionManifestPath = vrclient_dos_to_unix_path( pchActionManifestPath ); TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_SetActionManifestPath(_this->u_iface, u_pchActionManifestPath); + cppIVRInput_IVRInput_006_SetActionManifestPath( ¶ms ); vrclient_free_path( u_pchActionManifestPath ); - return _ret; + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_006_GetActionSetHandle(struct w_steam_iface *_this, const char *pchActionSetName, VRActionSetHandle_t *pHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_006_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionSetName = pchActionSetName, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetActionSetHandle(_this->u_iface, pchActionSetName, pHandle); - return _ret; + cppIVRInput_IVRInput_006_GetActionSetHandle( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_006_GetActionHandle(struct w_steam_iface *_this, const char *pchActionName, VRActionHandle_t *pHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_006_GetActionHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionName = pchActionName, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetActionHandle(_this->u_iface, pchActionName, pHandle); - return _ret; + cppIVRInput_IVRInput_006_GetActionHandle( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_006_GetInputSourceHandle(struct w_steam_iface *_this, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_006_GetInputSourceHandle_params params = + { + .linux_side = _this->u_iface, + .pchInputSourcePath = pchInputSourcePath, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetInputSourceHandle(_this->u_iface, pchInputSourcePath, pHandle); - return _ret; + cppIVRInput_IVRInput_006_GetInputSourceHandle( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_006_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_006_UpdateActionState_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_UpdateActionState(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); - return _ret; + cppIVRInput_IVRInput_006_UpdateActionState( ¶ms ); + return params._ret; } extern 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 __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; + struct cppIVRInput_IVRInput_006_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetAnalogActionData(_this->u_iface, action, pActionData, unActionDataSize, ulRestrictToDevice); - return _ret; + cppIVRInput_IVRInput_006_GetAnalogActionData( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eOrigin = eOrigin, + .fPredictedSecondsFromNow = fPredictedSecondsFromNow, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow(_this->u_iface, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); - return _ret; + cppIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_006_GetPoseActionDataForNextFrame_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eOrigin = eOrigin, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetPoseActionDataForNextFrame(_this->u_iface, action, eOrigin, pActionData, unActionDataSize, ulRestrictToDevice); - return _ret; + cppIVRInput_IVRInput_006_GetPoseActionDataForNextFrame( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1418 *pActionData, uint32_t unActionDataSize) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_006_GetSkeletalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetSkeletalActionData(_this->u_iface, action, pActionData, unActionDataSize); - return _ret; + cppIVRInput_IVRInput_006_GetSkeletalActionData( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_006_GetBoneCount(struct w_steam_iface *_this, VRActionHandle_t action, uint32_t *pBoneCount) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_006_GetBoneCount_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pBoneCount = pBoneCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetBoneCount(_this->u_iface, action, pBoneCount); - return _ret; + cppIVRInput_IVRInput_006_GetBoneCount( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_006_GetBoneHierarchy(struct w_steam_iface *_this, VRActionHandle_t action, BoneIndex_t *pParentIndices, uint32_t unIndexArayCount) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_006_GetBoneHierarchy_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pParentIndices = pParentIndices, + .unIndexArayCount = unIndexArayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetBoneHierarchy(_this->u_iface, action, pParentIndices, unIndexArayCount); - return _ret; + cppIVRInput_IVRInput_006_GetBoneHierarchy( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_006_GetBoneName(struct w_steam_iface *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char *pchBoneName, uint32_t unNameBufferSize) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_006_GetBoneName_params params = + { + .linux_side = _this->u_iface, + .action = action, + .nBoneIndex = nBoneIndex, + .pchBoneName = pchBoneName, + .unNameBufferSize = unNameBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetBoneName(_this->u_iface, action, nBoneIndex, pchBoneName, unNameBufferSize); - return _ret; + cppIVRInput_IVRInput_006_GetBoneName( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_006_GetSkeletalReferenceTransforms_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eTransformSpace = eTransformSpace, + .eReferencePose = eReferencePose, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetSkeletalReferenceTransforms(_this->u_iface, action, eTransformSpace, eReferencePose, pTransformArray, unTransformArrayCount); - return _ret; + cppIVRInput_IVRInput_006_GetSkeletalReferenceTransforms( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalTrackingLevel(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel *pSkeletalTrackingLevel) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_006_GetSkeletalTrackingLevel_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pSkeletalTrackingLevel = pSkeletalTrackingLevel, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetSkeletalTrackingLevel(_this->u_iface, action, pSkeletalTrackingLevel); - return _ret; + cppIVRInput_IVRInput_006_GetSkeletalTrackingLevel( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_006_GetSkeletalBoneData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eTransformSpace = eTransformSpace, + .eMotionRange = eMotionRange, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetSkeletalBoneData(_this->u_iface, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount); - return _ret; + cppIVRInput_IVRInput_006_GetSkeletalBoneData( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalSummaryData(struct w_steam_iface *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t *pSkeletalSummaryData) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_006_GetSkeletalSummaryData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eSummaryType = eSummaryType, + .pSkeletalSummaryData = pSkeletalSummaryData, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetSkeletalSummaryData(_this->u_iface, action, eSummaryType, pSkeletalSummaryData); - return _ret; + cppIVRInput_IVRInput_006_GetSkeletalSummaryData( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eMotionRange = eMotionRange, + .pvCompressedData = pvCompressedData, + .unCompressedSize = unCompressedSize, + .punRequiredCompressedSize = punRequiredCompressedSize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed(_this->u_iface, action, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize); - return _ret; + cppIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_006_DecompressSkeletalBoneData_params params = + { + .linux_side = _this->u_iface, + .pvCompressedBuffer = pvCompressedBuffer, + .unCompressedBufferSize = unCompressedBufferSize, + .eTransformSpace = eTransformSpace, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_DecompressSkeletalBoneData(_this->u_iface, pvCompressedBuffer, unCompressedBufferSize, eTransformSpace, pTransformArray, unTransformArrayCount); - return _ret; + cppIVRInput_IVRInput_006_DecompressSkeletalBoneData( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_006_TriggerHapticVibrationAction_params params = + { + .linux_side = _this->u_iface, + .action = action, + .fStartSecondsFromNow = fStartSecondsFromNow, + .fDurationSeconds = fDurationSeconds, + .fFrequency = fFrequency, + .fAmplitude = fAmplitude, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_TriggerHapticVibrationAction(_this->u_iface, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); - return _ret; + cppIVRInput_IVRInput_006_TriggerHapticVibrationAction( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_006_GetActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + .originOutCount = originOutCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetActionOrigins(_this->u_iface, actionSetHandle, digitalActionHandle, originsOut, originOutCount); - return _ret; + cppIVRInput_IVRInput_006_GetActionOrigins( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_006_GetOriginLocalizedName(struct w_steam_iface *_this, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_006_GetOriginLocalizedName_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pchNameArray = pchNameArray, + .unNameArraySize = unNameArraySize, + .unStringSectionsToInclude = unStringSectionsToInclude, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetOriginLocalizedName(_this->u_iface, origin, pchNameArray, unNameArraySize, unStringSectionsToInclude); - return _ret; + cppIVRInput_IVRInput_006_GetOriginLocalizedName( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pOriginInfo = pOriginInfo, + .unOriginInfoSize = unOriginInfoSize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo(_this->u_iface, origin, pOriginInfo, unOriginInfoSize); - return _ret; + cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_006_ShowActionOrigins(struct w_steam_iface *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_006_ShowActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .ulActionHandle = ulActionHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_ShowActionOrigins(_this->u_iface, actionSetHandle, ulActionHandle); - return _ret; + cppIVRInput_IVRInput_006_ShowActionOrigins( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_006_ShowBindingsForActionSet_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + .originToHighlight = originToHighlight, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_ShowBindingsForActionSet(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); - return _ret; + cppIVRInput_IVRInput_006_ShowBindingsForActionSet( ¶ms ); + return params._ret; } bool __thiscall winIVRInput_IVRInput_006_IsUsingLegacyInput(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRInput_IVRInput_006_IsUsingLegacyInput_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_006_IsUsingLegacyInput(_this->u_iface); - return _ret; + cppIVRInput_IVRInput_006_IsUsingLegacyInput( ¶ms ); + return params._ret; } extern vtable_ptr winIVRInput_IVRInput_006_vtable; @@ -1193,222 +1730,397 @@ DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_OpenBindingUI, 28) EVRInputError __thiscall winIVRInput_IVRInput_007_SetActionManifestPath(struct w_steam_iface *_this, const char *pchActionManifestPath) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_007_SetActionManifestPath_params params = + { + .linux_side = _this->u_iface, + .pchActionManifestPath = pchActionManifestPath, + }; const char *u_pchActionManifestPath = vrclient_dos_to_unix_path( pchActionManifestPath ); TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_SetActionManifestPath(_this->u_iface, u_pchActionManifestPath); + cppIVRInput_IVRInput_007_SetActionManifestPath( ¶ms ); vrclient_free_path( u_pchActionManifestPath ); - return _ret; + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_007_GetActionSetHandle(struct w_steam_iface *_this, const char *pchActionSetName, VRActionSetHandle_t *pHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_007_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionSetName = pchActionSetName, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetActionSetHandle(_this->u_iface, pchActionSetName, pHandle); - return _ret; + cppIVRInput_IVRInput_007_GetActionSetHandle( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_007_GetActionHandle(struct w_steam_iface *_this, const char *pchActionName, VRActionHandle_t *pHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_007_GetActionHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionName = pchActionName, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetActionHandle(_this->u_iface, pchActionName, pHandle); - return _ret; + cppIVRInput_IVRInput_007_GetActionHandle( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_007_GetInputSourceHandle(struct w_steam_iface *_this, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_007_GetInputSourceHandle_params params = + { + .linux_side = _this->u_iface, + .pchInputSourcePath = pchInputSourcePath, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetInputSourceHandle(_this->u_iface, pchInputSourcePath, pHandle); - return _ret; + cppIVRInput_IVRInput_007_GetInputSourceHandle( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_007_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_007_UpdateActionState_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_UpdateActionState(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); - return _ret; + cppIVRInput_IVRInput_007_UpdateActionState( ¶ms ); + return params._ret; } extern 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 __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; + struct cppIVRInput_IVRInput_007_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetAnalogActionData(_this->u_iface, action, pActionData, unActionDataSize, ulRestrictToDevice); - return _ret; + cppIVRInput_IVRInput_007_GetAnalogActionData( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eOrigin = eOrigin, + .fPredictedSecondsFromNow = fPredictedSecondsFromNow, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow(_this->u_iface, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); - return _ret; + cppIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_007_GetPoseActionDataForNextFrame_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eOrigin = eOrigin, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetPoseActionDataForNextFrame(_this->u_iface, action, eOrigin, pActionData, unActionDataSize, ulRestrictToDevice); - return _ret; + cppIVRInput_IVRInput_007_GetPoseActionDataForNextFrame( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1916 *pActionData, uint32_t unActionDataSize) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_007_GetSkeletalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetSkeletalActionData(_this->u_iface, action, pActionData, unActionDataSize); - return _ret; + cppIVRInput_IVRInput_007_GetSkeletalActionData( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_007_GetBoneCount(struct w_steam_iface *_this, VRActionHandle_t action, uint32_t *pBoneCount) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_007_GetBoneCount_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pBoneCount = pBoneCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetBoneCount(_this->u_iface, action, pBoneCount); - return _ret; + cppIVRInput_IVRInput_007_GetBoneCount( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_007_GetBoneHierarchy(struct w_steam_iface *_this, VRActionHandle_t action, BoneIndex_t *pParentIndices, uint32_t unIndexArayCount) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_007_GetBoneHierarchy_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pParentIndices = pParentIndices, + .unIndexArayCount = unIndexArayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetBoneHierarchy(_this->u_iface, action, pParentIndices, unIndexArayCount); - return _ret; + cppIVRInput_IVRInput_007_GetBoneHierarchy( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_007_GetBoneName(struct w_steam_iface *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char *pchBoneName, uint32_t unNameBufferSize) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_007_GetBoneName_params params = + { + .linux_side = _this->u_iface, + .action = action, + .nBoneIndex = nBoneIndex, + .pchBoneName = pchBoneName, + .unNameBufferSize = unNameBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetBoneName(_this->u_iface, action, nBoneIndex, pchBoneName, unNameBufferSize); - return _ret; + cppIVRInput_IVRInput_007_GetBoneName( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_007_GetSkeletalReferenceTransforms_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eTransformSpace = eTransformSpace, + .eReferencePose = eReferencePose, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetSkeletalReferenceTransforms(_this->u_iface, action, eTransformSpace, eReferencePose, pTransformArray, unTransformArrayCount); - return _ret; + cppIVRInput_IVRInput_007_GetSkeletalReferenceTransforms( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalTrackingLevel(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel *pSkeletalTrackingLevel) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_007_GetSkeletalTrackingLevel_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pSkeletalTrackingLevel = pSkeletalTrackingLevel, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetSkeletalTrackingLevel(_this->u_iface, action, pSkeletalTrackingLevel); - return _ret; + cppIVRInput_IVRInput_007_GetSkeletalTrackingLevel( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_007_GetSkeletalBoneData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eTransformSpace = eTransformSpace, + .eMotionRange = eMotionRange, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetSkeletalBoneData(_this->u_iface, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount); - return _ret; + cppIVRInput_IVRInput_007_GetSkeletalBoneData( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalSummaryData(struct w_steam_iface *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t *pSkeletalSummaryData) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_007_GetSkeletalSummaryData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eSummaryType = eSummaryType, + .pSkeletalSummaryData = pSkeletalSummaryData, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetSkeletalSummaryData(_this->u_iface, action, eSummaryType, pSkeletalSummaryData); - return _ret; + cppIVRInput_IVRInput_007_GetSkeletalSummaryData( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eMotionRange = eMotionRange, + .pvCompressedData = pvCompressedData, + .unCompressedSize = unCompressedSize, + .punRequiredCompressedSize = punRequiredCompressedSize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed(_this->u_iface, action, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize); - return _ret; + cppIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_007_DecompressSkeletalBoneData_params params = + { + .linux_side = _this->u_iface, + .pvCompressedBuffer = pvCompressedBuffer, + .unCompressedBufferSize = unCompressedBufferSize, + .eTransformSpace = eTransformSpace, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_DecompressSkeletalBoneData(_this->u_iface, pvCompressedBuffer, unCompressedBufferSize, eTransformSpace, pTransformArray, unTransformArrayCount); - return _ret; + cppIVRInput_IVRInput_007_DecompressSkeletalBoneData( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_007_TriggerHapticVibrationAction_params params = + { + .linux_side = _this->u_iface, + .action = action, + .fStartSecondsFromNow = fStartSecondsFromNow, + .fDurationSeconds = fDurationSeconds, + .fFrequency = fFrequency, + .fAmplitude = fAmplitude, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_TriggerHapticVibrationAction(_this->u_iface, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); - return _ret; + cppIVRInput_IVRInput_007_TriggerHapticVibrationAction( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_007_GetActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + .originOutCount = originOutCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetActionOrigins(_this->u_iface, actionSetHandle, digitalActionHandle, originsOut, originOutCount); - return _ret; + cppIVRInput_IVRInput_007_GetActionOrigins( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_007_GetOriginLocalizedName(struct w_steam_iface *_this, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_007_GetOriginLocalizedName_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pchNameArray = pchNameArray, + .unNameArraySize = unNameArraySize, + .unStringSectionsToInclude = unStringSectionsToInclude, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetOriginLocalizedName(_this->u_iface, origin, pchNameArray, unNameArraySize, unStringSectionsToInclude); - return _ret; + cppIVRInput_IVRInput_007_GetOriginLocalizedName( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pOriginInfo = pOriginInfo, + .unOriginInfoSize = unOriginInfoSize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo(_this->u_iface, origin, pOriginInfo, unOriginInfoSize); - return _ret; + cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_007_GetActionBindingInfo_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pOriginInfo = pOriginInfo, + .unBindingInfoSize = unBindingInfoSize, + .unBindingInfoCount = unBindingInfoCount, + .punReturnedBindingInfoCount = punReturnedBindingInfoCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_GetActionBindingInfo(_this->u_iface, action, pOriginInfo, unBindingInfoSize, unBindingInfoCount, punReturnedBindingInfoCount); - return _ret; + cppIVRInput_IVRInput_007_GetActionBindingInfo( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_007_ShowActionOrigins(struct w_steam_iface *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_007_ShowActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .ulActionHandle = ulActionHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_ShowActionOrigins(_this->u_iface, actionSetHandle, ulActionHandle); - return _ret; + cppIVRInput_IVRInput_007_ShowActionOrigins( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_007_ShowBindingsForActionSet_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + .originToHighlight = originToHighlight, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_ShowBindingsForActionSet(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); - return _ret; + cppIVRInput_IVRInput_007_ShowBindingsForActionSet( ¶ms ); + return params._ret; } bool __thiscall winIVRInput_IVRInput_007_IsUsingLegacyInput(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRInput_IVRInput_007_IsUsingLegacyInput_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_IsUsingLegacyInput(_this->u_iface); - return _ret; + cppIVRInput_IVRInput_007_IsUsingLegacyInput( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_007_OpenBindingUI(struct w_steam_iface *_this, const char *pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_007_OpenBindingUI_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .ulActionSetHandle = ulActionSetHandle, + .ulDeviceHandle = ulDeviceHandle, + .bShowOnDesktop = bShowOnDesktop, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_007_OpenBindingUI(_this->u_iface, pchAppKey, ulActionSetHandle, ulDeviceHandle, bShowOnDesktop); - return _ret; + cppIVRInput_IVRInput_007_OpenBindingUI( ¶ms ); + return params._ret; } extern vtable_ptr winIVRInput_IVRInput_007_vtable; @@ -1553,254 +2265,452 @@ DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetBindingVariant, 20) EVRInputError __thiscall winIVRInput_IVRInput_010_SetActionManifestPath(struct w_steam_iface *_this, const char *pchActionManifestPath) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_010_SetActionManifestPath_params params = + { + .linux_side = _this->u_iface, + .pchActionManifestPath = pchActionManifestPath, + }; const char *u_pchActionManifestPath = vrclient_dos_to_unix_path( pchActionManifestPath ); TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_SetActionManifestPath(_this->u_iface, u_pchActionManifestPath); + cppIVRInput_IVRInput_010_SetActionManifestPath( ¶ms ); vrclient_free_path( u_pchActionManifestPath ); - return _ret; + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_010_GetActionSetHandle(struct w_steam_iface *_this, const char *pchActionSetName, VRActionSetHandle_t *pHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_010_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionSetName = pchActionSetName, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetActionSetHandle(_this->u_iface, pchActionSetName, pHandle); - return _ret; + cppIVRInput_IVRInput_010_GetActionSetHandle( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_010_GetActionHandle(struct w_steam_iface *_this, const char *pchActionName, VRActionHandle_t *pHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_010_GetActionHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionName = pchActionName, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetActionHandle(_this->u_iface, pchActionName, pHandle); - return _ret; + cppIVRInput_IVRInput_010_GetActionHandle( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_010_GetInputSourceHandle(struct w_steam_iface *_this, const char *pchInputSourcePath, VRInputValueHandle_t *pHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_010_GetInputSourceHandle_params params = + { + .linux_side = _this->u_iface, + .pchInputSourcePath = pchInputSourcePath, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetInputSourceHandle(_this->u_iface, pchInputSourcePath, pHandle); - return _ret; + cppIVRInput_IVRInput_010_GetInputSourceHandle( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_010_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_010_UpdateActionState_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_UpdateActionState(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); - return _ret; + cppIVRInput_IVRInput_010_UpdateActionState( ¶ms ); + return params._ret; } extern 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 __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; + struct cppIVRInput_IVRInput_010_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetAnalogActionData(_this->u_iface, action, pActionData, unActionDataSize, ulRestrictToDevice); - return _ret; + cppIVRInput_IVRInput_010_GetAnalogActionData( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eOrigin = eOrigin, + .fPredictedSecondsFromNow = fPredictedSecondsFromNow, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow(_this->u_iface, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); - return _ret; + cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eOrigin = eOrigin, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame(_this->u_iface, action, eOrigin, pActionData, unActionDataSize, ulRestrictToDevice); - return _ret; + cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_010_GetSkeletalActionData(struct w_steam_iface *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1267 *pActionData, uint32_t unActionDataSize) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_010_GetSkeletalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetSkeletalActionData(_this->u_iface, action, pActionData, unActionDataSize); - return _ret; + cppIVRInput_IVRInput_010_GetSkeletalActionData( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_010_GetDominantHand(struct w_steam_iface *_this, ETrackedControllerRole *peDominantHand) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_010_GetDominantHand_params params = + { + .linux_side = _this->u_iface, + .peDominantHand = peDominantHand, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetDominantHand(_this->u_iface, peDominantHand); - return _ret; + cppIVRInput_IVRInput_010_GetDominantHand( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_010_SetDominantHand(struct w_steam_iface *_this, ETrackedControllerRole eDominantHand) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_010_SetDominantHand_params params = + { + .linux_side = _this->u_iface, + .eDominantHand = eDominantHand, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_SetDominantHand(_this->u_iface, eDominantHand); - return _ret; + cppIVRInput_IVRInput_010_SetDominantHand( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_010_GetBoneCount(struct w_steam_iface *_this, VRActionHandle_t action, uint32_t *pBoneCount) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_010_GetBoneCount_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pBoneCount = pBoneCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetBoneCount(_this->u_iface, action, pBoneCount); - return _ret; + cppIVRInput_IVRInput_010_GetBoneCount( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_010_GetBoneHierarchy(struct w_steam_iface *_this, VRActionHandle_t action, BoneIndex_t *pParentIndices, uint32_t unIndexArayCount) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_010_GetBoneHierarchy_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pParentIndices = pParentIndices, + .unIndexArayCount = unIndexArayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetBoneHierarchy(_this->u_iface, action, pParentIndices, unIndexArayCount); - return _ret; + cppIVRInput_IVRInput_010_GetBoneHierarchy( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_010_GetBoneName(struct w_steam_iface *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char *pchBoneName, uint32_t unNameBufferSize) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_010_GetBoneName_params params = + { + .linux_side = _this->u_iface, + .action = action, + .nBoneIndex = nBoneIndex, + .pchBoneName = pchBoneName, + .unNameBufferSize = unNameBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetBoneName(_this->u_iface, action, nBoneIndex, pchBoneName, unNameBufferSize); - return _ret; + cppIVRInput_IVRInput_010_GetBoneName( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_010_GetSkeletalReferenceTransforms_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eTransformSpace = eTransformSpace, + .eReferencePose = eReferencePose, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetSkeletalReferenceTransforms(_this->u_iface, action, eTransformSpace, eReferencePose, pTransformArray, unTransformArrayCount); - return _ret; + cppIVRInput_IVRInput_010_GetSkeletalReferenceTransforms( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_010_GetSkeletalTrackingLevel(struct w_steam_iface *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel *pSkeletalTrackingLevel) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_010_GetSkeletalTrackingLevel_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pSkeletalTrackingLevel = pSkeletalTrackingLevel, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetSkeletalTrackingLevel(_this->u_iface, action, pSkeletalTrackingLevel); - return _ret; + cppIVRInput_IVRInput_010_GetSkeletalTrackingLevel( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_010_GetSkeletalBoneData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eTransformSpace = eTransformSpace, + .eMotionRange = eMotionRange, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetSkeletalBoneData(_this->u_iface, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount); - return _ret; + cppIVRInput_IVRInput_010_GetSkeletalBoneData( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_010_GetSkeletalSummaryData(struct w_steam_iface *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t *pSkeletalSummaryData) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_010_GetSkeletalSummaryData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eSummaryType = eSummaryType, + .pSkeletalSummaryData = pSkeletalSummaryData, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetSkeletalSummaryData(_this->u_iface, action, eSummaryType, pSkeletalSummaryData); - return _ret; + cppIVRInput_IVRInput_010_GetSkeletalSummaryData( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eMotionRange = eMotionRange, + .pvCompressedData = pvCompressedData, + .unCompressedSize = unCompressedSize, + .punRequiredCompressedSize = punRequiredCompressedSize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed(_this->u_iface, action, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize); - return _ret; + cppIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_010_DecompressSkeletalBoneData_params params = + { + .linux_side = _this->u_iface, + .pvCompressedBuffer = pvCompressedBuffer, + .unCompressedBufferSize = unCompressedBufferSize, + .eTransformSpace = eTransformSpace, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_DecompressSkeletalBoneData(_this->u_iface, pvCompressedBuffer, unCompressedBufferSize, eTransformSpace, pTransformArray, unTransformArrayCount); - return _ret; + cppIVRInput_IVRInput_010_DecompressSkeletalBoneData( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_010_TriggerHapticVibrationAction_params params = + { + .linux_side = _this->u_iface, + .action = action, + .fStartSecondsFromNow = fStartSecondsFromNow, + .fDurationSeconds = fDurationSeconds, + .fFrequency = fFrequency, + .fAmplitude = fAmplitude, + .ulRestrictToDevice = ulRestrictToDevice, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_TriggerHapticVibrationAction(_this->u_iface, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); - return _ret; + cppIVRInput_IVRInput_010_TriggerHapticVibrationAction( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_010_GetActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + .originOutCount = originOutCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetActionOrigins(_this->u_iface, actionSetHandle, digitalActionHandle, originsOut, originOutCount); - return _ret; + cppIVRInput_IVRInput_010_GetActionOrigins( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_010_GetOriginLocalizedName(struct w_steam_iface *_this, VRInputValueHandle_t origin, char *pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_010_GetOriginLocalizedName_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pchNameArray = pchNameArray, + .unNameArraySize = unNameArraySize, + .unStringSectionsToInclude = unStringSectionsToInclude, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetOriginLocalizedName(_this->u_iface, origin, pchNameArray, unNameArraySize, unStringSectionsToInclude); - return _ret; + cppIVRInput_IVRInput_010_GetOriginLocalizedName( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pOriginInfo = pOriginInfo, + .unOriginInfoSize = unOriginInfoSize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo(_this->u_iface, origin, pOriginInfo, unOriginInfoSize); - return _ret; + cppIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_010_GetActionBindingInfo_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pOriginInfo = pOriginInfo, + .unBindingInfoSize = unBindingInfoSize, + .unBindingInfoCount = unBindingInfoCount, + .punReturnedBindingInfoCount = punReturnedBindingInfoCount, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetActionBindingInfo(_this->u_iface, action, pOriginInfo, unBindingInfoSize, unBindingInfoCount, punReturnedBindingInfoCount); - return _ret; + cppIVRInput_IVRInput_010_GetActionBindingInfo( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_010_ShowActionOrigins(struct w_steam_iface *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_010_ShowActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .ulActionHandle = ulActionHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_ShowActionOrigins(_this->u_iface, actionSetHandle, ulActionHandle); - return _ret; + cppIVRInput_IVRInput_010_ShowActionOrigins( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_010_ShowBindingsForActionSet_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + .originToHighlight = originToHighlight, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_ShowBindingsForActionSet(_this->u_iface, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); - return _ret; + cppIVRInput_IVRInput_010_ShowBindingsForActionSet( ¶ms ); + return params._ret; } 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; + struct cppIVRInput_IVRInput_010_GetComponentStateForBinding_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + .pOriginInfo = pOriginInfo, + .unBindingInfoSize = unBindingInfoSize, + .unBindingInfoCount = unBindingInfoCount, + .pComponentState = pComponentState, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetComponentStateForBinding(_this->u_iface, pchRenderModelName, pchComponentName, pOriginInfo, unBindingInfoSize, unBindingInfoCount, pComponentState); - return _ret; + cppIVRInput_IVRInput_010_GetComponentStateForBinding( ¶ms ); + return params._ret; } bool __thiscall winIVRInput_IVRInput_010_IsUsingLegacyInput(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRInput_IVRInput_010_IsUsingLegacyInput_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_IsUsingLegacyInput(_this->u_iface); - return _ret; + cppIVRInput_IVRInput_010_IsUsingLegacyInput( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_010_OpenBindingUI(struct w_steam_iface *_this, const char *pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_010_OpenBindingUI_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .ulActionSetHandle = ulActionSetHandle, + .ulDeviceHandle = ulDeviceHandle, + .bShowOnDesktop = bShowOnDesktop, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_OpenBindingUI(_this->u_iface, pchAppKey, ulActionSetHandle, ulDeviceHandle, bShowOnDesktop); - return _ret; + cppIVRInput_IVRInput_010_OpenBindingUI( ¶ms ); + return params._ret; } EVRInputError __thiscall winIVRInput_IVRInput_010_GetBindingVariant(struct w_steam_iface *_this, VRInputValueHandle_t ulDevicePath, char *pchVariantArray, uint32_t unVariantArraySize) { - EVRInputError _ret; + struct cppIVRInput_IVRInput_010_GetBindingVariant_params params = + { + .linux_side = _this->u_iface, + .ulDevicePath = ulDevicePath, + .pchVariantArray = pchVariantArray, + .unVariantArraySize = unVariantArraySize, + }; TRACE("%p\n", _this); - _ret = cppIVRInput_IVRInput_010_GetBindingVariant(_this->u_iface, ulDevicePath, pchVariantArray, unVariantArraySize); - return _ret; + cppIVRInput_IVRInput_010_GetBindingVariant( ¶ms ); + return params._ret; } extern vtable_ptr winIVRInput_IVRInput_010_vtable; diff --git a/vrclient_x64/vrclient_x64/winIVRMailbox.c b/vrclient_x64/vrclient_x64/winIVRMailbox.c index ddd20a8a..fad19490 100644 --- a/vrclient_x64/vrclient_x64/winIVRMailbox.c +++ b/vrclient_x64/vrclient_x64/winIVRMailbox.c @@ -25,28 +25,44 @@ DEFINE_THISCALL_WRAPPER(winIVRMailbox_IVRMailbox_001_undoc4, 24) vrmb_typeb __thiscall winIVRMailbox_IVRMailbox_001_undoc1(struct w_steam_iface *_this, const char *a, vrmb_typea *b) { - vrmb_typeb _ret; + struct cppIVRMailbox_IVRMailbox_001_undoc1_params params = + { + .linux_side = _this->u_iface, + .a = a, + .b = b, + }; TRACE("%p\n", _this); - _ret = cppIVRMailbox_IVRMailbox_001_undoc1(_this->u_iface, a, b); - return _ret; + cppIVRMailbox_IVRMailbox_001_undoc1( ¶ms ); + return params._ret; } vrmb_typeb __thiscall winIVRMailbox_IVRMailbox_001_undoc2(struct w_steam_iface *_this, vrmb_typea a) { - vrmb_typeb _ret; + struct cppIVRMailbox_IVRMailbox_001_undoc2_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; TRACE("%p\n", _this); - _ret = cppIVRMailbox_IVRMailbox_001_undoc2(_this->u_iface, a); - return _ret; + cppIVRMailbox_IVRMailbox_001_undoc2( ¶ms ); + return params._ret; } extern vrmb_typeb __thiscall winIVRMailbox_IVRMailbox_001_undoc3(struct w_steam_iface *_this, vrmb_typea a, const char *b, const char *c); 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; + struct cppIVRMailbox_IVRMailbox_001_undoc4_params params = + { + .linux_side = _this->u_iface, + .a = a, + .b = b, + .c = c, + .d = d, + }; TRACE("%p\n", _this); - _ret = cppIVRMailbox_IVRMailbox_001_undoc4(_this->u_iface, a, b, c, d); - return _ret; + cppIVRMailbox_IVRMailbox_001_undoc4( ¶ms ); + return params._ret; } extern vtable_ptr winIVRMailbox_IVRMailbox_001_vtable; diff --git a/vrclient_x64/vrclient_x64/winIVRNotifications.c b/vrclient_x64/vrclient_x64/winIVRNotifications.c index a23c23bd..08236930 100644 --- a/vrclient_x64/vrclient_x64/winIVRNotifications.c +++ b/vrclient_x64/vrclient_x64/winIVRNotifications.c @@ -24,26 +24,46 @@ DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_001_DismissNotifica uint32_t __thiscall winIVRNotifications_IVRNotifications_001_GetErrorString(struct w_steam_iface *_this, NotificationError_t error, char *pchBuffer, uint32_t unBufferSize) { - uint32_t _ret; + struct cppIVRNotifications_IVRNotifications_001_GetErrorString_params params = + { + .linux_side = _this->u_iface, + .error = error, + .pchBuffer = pchBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRNotifications_IVRNotifications_001_GetErrorString(_this->u_iface, error, pchBuffer, unBufferSize); - return _ret; + cppIVRNotifications_IVRNotifications_001_GetErrorString( ¶ms ); + return params._ret; } 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; + struct cppIVRNotifications_IVRNotifications_001_CreateNotification_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulUserValue = ulUserValue, + .strType = strType, + .strText = strText, + .strCategory = strCategory, + .photo = photo, + .notificationId = notificationId, + }; TRACE("%p\n", _this); - _ret = cppIVRNotifications_IVRNotifications_001_CreateNotification(_this->u_iface, ulOverlayHandle, ulUserValue, strType, strText, strCategory, photo, notificationId); - return _ret; + cppIVRNotifications_IVRNotifications_001_CreateNotification( ¶ms ); + return params._ret; } NotificationError_t __thiscall winIVRNotifications_IVRNotifications_001_DismissNotification(struct w_steam_iface *_this, VRNotificationId notificationId) { - NotificationError_t _ret; + struct cppIVRNotifications_IVRNotifications_001_DismissNotification_params params = + { + .linux_side = _this->u_iface, + .notificationId = notificationId, + }; TRACE("%p\n", _this); - _ret = cppIVRNotifications_IVRNotifications_001_DismissNotification(_this->u_iface, notificationId); - return _ret; + cppIVRNotifications_IVRNotifications_001_DismissNotification( ¶ms ); + return params._ret; } extern vtable_ptr winIVRNotifications_IVRNotifications_001_vtable; @@ -108,18 +128,32 @@ DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_002_RemoveNotificat 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; + struct cppIVRNotifications_IVRNotifications_002_CreateNotification_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulUserValue = ulUserValue, + .type = type, + .pchText = pchText, + .style = style, + .pImage = pImage, + .pNotificationId = pNotificationId, + }; TRACE("%p\n", _this); - _ret = cppIVRNotifications_IVRNotifications_002_CreateNotification(_this->u_iface, ulOverlayHandle, ulUserValue, type, pchText, style, pImage, pNotificationId); - return _ret; + cppIVRNotifications_IVRNotifications_002_CreateNotification( ¶ms ); + return params._ret; } EVRNotificationError __thiscall winIVRNotifications_IVRNotifications_002_RemoveNotification(struct w_steam_iface *_this, VRNotificationId notificationId) { - EVRNotificationError _ret; + struct cppIVRNotifications_IVRNotifications_002_RemoveNotification_params params = + { + .linux_side = _this->u_iface, + .notificationId = notificationId, + }; TRACE("%p\n", _this); - _ret = cppIVRNotifications_IVRNotifications_002_RemoveNotification(_this->u_iface, notificationId); - return _ret; + cppIVRNotifications_IVRNotifications_002_RemoveNotification( ¶ms ); + return params._ret; } extern vtable_ptr winIVRNotifications_IVRNotifications_002_vtable; diff --git a/vrclient_x64/vrclient_x64/winIVROverlay.c b/vrclient_x64/vrclient_x64/winIVROverlay.c index b199b493..a91570dc 100644 --- a/vrclient_x64/vrclient_x64/winIVROverlay.c +++ b/vrclient_x64/vrclient_x64/winIVROverlay.c @@ -61,318 +61,513 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetSystemOverlaySceneProces VROverlayError __thiscall winIVROverlay_IVROverlay_001_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_001_FindOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_001_CreateOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_001_DestroyOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_001_SetHighQualityOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_001_GetHighQualityOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_001_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetHighQualityOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_001_GetHighQualityOverlay( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, VROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_001_SetOverlayFlag( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_001_GetOverlayFlag( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_001_SetOverlayAlpha( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_001_GetOverlayAlpha( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayGamma(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_SetOverlayGamma_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fGamma = fGamma, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayGamma(_this->u_iface, ulOverlayHandle, fGamma); - return _ret; + cppIVROverlay_IVROverlay_001_SetOverlayGamma( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayGamma(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfGamma) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_GetOverlayGamma_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfGamma = pfGamma, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayGamma(_this->u_iface, ulOverlayHandle, pfGamma); - return _ret; + cppIVROverlay_IVROverlay_001_GetOverlayGamma( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_001_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_001_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_001_SetOverlayTextureBounds( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_001_GetOverlayTextureBounds( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_001_GetOverlayTransformType( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayVisibility(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility *peOverlayVisibility) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_GetOverlayVisibility_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peOverlayVisibility = peOverlayVisibility, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayVisibility(_this->u_iface, ulOverlayHandle, peOverlayVisibility); - return _ret; + cppIVROverlay_IVROverlay_001_GetOverlayVisibility( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayVisibility(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility eOverlayVisibility) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_SetOverlayVisibility_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayVisibility = eOverlayVisibility, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayVisibility(_this->u_iface, ulOverlayHandle, eOverlayVisibility); - return _ret; + cppIVROverlay_IVROverlay_001_SetOverlayVisibility( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_001_ShowOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_001_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_001_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_001_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_001_IsOverlayVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_001_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_001_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent); - return _ret; + cppIVROverlay_IVROverlay_001_PollNextOverlayEvent( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_001_GetOverlayInputMethod( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_001_SetOverlayInputMethod( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_001_GetOverlayMouseScale( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_001_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_001_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_001_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_001_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { - bool _ret; + struct cppIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); - return _ret; + cppIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse( ¶ms ); + return params._ret; } extern VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pTexture); 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; + struct cppIVROverlay_IVROverlay_001_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); - return _ret; + cppIVROverlay_IVROverlay_001_SetOverlayRaw( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_001_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_001_IsSystemOverlayVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_001_IsSystemOverlayVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_IsSystemOverlayVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_001_IsSystemOverlayVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_001_IsActiveSystemOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_001_IsActiveSystemOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_IsActiveSystemOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_001_IsActiveSystemOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess( ¶ms ); + return params._ret; } extern vtable_ptr winIVROverlay_IVROverlay_001_vtable; @@ -551,334 +746,544 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetDashboardOverlayScenePro VROverlayError __thiscall winIVROverlay_IVROverlay_002_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_002_FindOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_002_CreateOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_002_DestroyOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_002_SetHighQualityOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_002_GetHighQualityOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_002_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetHighQualityOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_002_GetHighQualityOverlay( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, VROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_002_SetOverlayFlag( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_002_GetOverlayFlag( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); - return _ret; + cppIVROverlay_IVROverlay_002_SetOverlayColor( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); - return _ret; + cppIVROverlay_IVROverlay_002_GetOverlayColor( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_002_SetOverlayAlpha( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_002_GetOverlayAlpha( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayGamma(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_SetOverlayGamma_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fGamma = fGamma, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayGamma(_this->u_iface, ulOverlayHandle, fGamma); - return _ret; + cppIVROverlay_IVROverlay_002_SetOverlayGamma( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayGamma(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfGamma) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_GetOverlayGamma_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfGamma = pfGamma, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayGamma(_this->u_iface, ulOverlayHandle, pfGamma); - return _ret; + cppIVROverlay_IVROverlay_002_GetOverlayGamma( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_002_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_002_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_002_SetOverlayTextureBounds( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_002_GetOverlayTextureBounds( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_002_GetOverlayTransformType( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_002_ShowOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_002_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_002_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_002_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_002_IsOverlayVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_002_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_002_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent); - return _ret; + cppIVROverlay_IVROverlay_002_PollNextOverlayEvent( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_002_GetOverlayInputMethod( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_002_SetOverlayInputMethod( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_002_GetOverlayMouseScale( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_002_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_002_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_002_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_002_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { - bool _ret; + struct cppIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); - return _ret; + cppIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse( ¶ms ); + return params._ret; } extern VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void *pTexture); VROverlayError __thiscall winIVROverlay_IVROverlay_002_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_002_ClearOverlayTexture( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_002_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); - return _ret; + cppIVROverlay_IVROverlay_002_SetOverlayRaw( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_002_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_002_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); - return _ret; + cppIVROverlay_IVROverlay_002_CreateDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_002_IsDashboardVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_002_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_IsDashboardVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_002_IsDashboardVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_002_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_002_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_002_IsActiveDashboardOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } extern vtable_ptr winIVROverlay_IVROverlay_002_vtable; @@ -1065,364 +1470,601 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_ShowDashboard, 8) VROverlayError __thiscall winIVROverlay_IVROverlay_003_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_003_FindOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_003_CreateOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_003_DestroyOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_003_SetHighQualityOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_003_GetHighQualityOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_003_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetHighQualityOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_003_GetHighQualityOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_003_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_003_GetOverlayKey( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_003_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_003_GetOverlayName( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_003_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); - return _ret; + cppIVROverlay_IVROverlay_003_GetOverlayImageData( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, VROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_003_SetOverlayFlag( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_003_GetOverlayFlag( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); - return _ret; + cppIVROverlay_IVROverlay_003_SetOverlayColor( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); - return _ret; + cppIVROverlay_IVROverlay_003_GetOverlayColor( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_003_SetOverlayAlpha( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_003_GetOverlayAlpha( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayGamma(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_SetOverlayGamma_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fGamma = fGamma, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayGamma(_this->u_iface, ulOverlayHandle, fGamma); - return _ret; + cppIVROverlay_IVROverlay_003_SetOverlayGamma( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayGamma(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfGamma) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_GetOverlayGamma_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfGamma = pfGamma, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayGamma(_this->u_iface, ulOverlayHandle, pfGamma); - return _ret; + cppIVROverlay_IVROverlay_003_GetOverlayGamma( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_003_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_003_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_003_SetOverlayTextureBounds( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_003_GetOverlayTextureBounds( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_003_GetOverlayTransformType( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_003_ShowOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_003_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_003_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_003_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_003_IsOverlayVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_003_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_003_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent); - return _ret; + cppIVROverlay_IVROverlay_003_PollNextOverlayEvent( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_003_GetOverlayInputMethod( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_003_SetOverlayInputMethod( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_003_GetOverlayMouseScale( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_003_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_003_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_003_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_003_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { - bool _ret; + struct cppIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); - return _ret; + cppIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse( ¶ms ); + return params._ret; } extern VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void *pTexture); VROverlayError __thiscall winIVROverlay_IVROverlay_003_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_003_ClearOverlayTexture( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_003_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); - return _ret; + cppIVROverlay_IVROverlay_003_SetOverlayRaw( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_003_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_003_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); - return _ret; + cppIVROverlay_IVROverlay_003_CreateDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_003_IsDashboardVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_003_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_IsDashboardVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_003_IsDashboardVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_003_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_003_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_003_IsActiveDashboardOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_003_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { + struct cppIVROverlay_IVROverlay_003_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_003_ShowDashboard(_this->u_iface, pchOverlayToShow); + cppIVROverlay_IVROverlay_003_ShowDashboard( ¶ms ); } extern vtable_ptr winIVROverlay_IVROverlay_003_vtable; @@ -1619,380 +2261,629 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_ShowDashboard, 8) VROverlayError __thiscall winIVROverlay_IVROverlay_004_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_004_FindOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_004_CreateOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_004_DestroyOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_004_SetHighQualityOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_004_GetHighQualityOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_004_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetHighQualityOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_004_GetHighQualityOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_004_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_004_GetOverlayKey( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_004_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_004_GetOverlayName( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_004_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); - return _ret; + cppIVROverlay_IVROverlay_004_GetOverlayImageData( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, VROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_004_SetOverlayFlag( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_004_GetOverlayFlag( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); - return _ret; + cppIVROverlay_IVROverlay_004_SetOverlayColor( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); - return _ret; + cppIVROverlay_IVROverlay_004_GetOverlayColor( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_004_SetOverlayAlpha( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_004_GetOverlayAlpha( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayGamma(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_SetOverlayGamma_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fGamma = fGamma, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayGamma(_this->u_iface, ulOverlayHandle, fGamma); - return _ret; + cppIVROverlay_IVROverlay_004_SetOverlayGamma( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayGamma(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfGamma) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_GetOverlayGamma_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfGamma = pfGamma, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayGamma(_this->u_iface, ulOverlayHandle, pfGamma); - return _ret; + cppIVROverlay_IVROverlay_004_GetOverlayGamma( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_004_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_004_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_004_SetOverlayTextureBounds( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_004_GetOverlayTextureBounds( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_004_GetOverlayTransformType( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_004_ShowOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_004_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_004_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_004_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_004_IsOverlayVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_004_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_004_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent); - return _ret; + cppIVROverlay_IVROverlay_004_PollNextOverlayEvent( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_004_GetOverlayInputMethod( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_004_SetOverlayInputMethod( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_004_GetOverlayMouseScale( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_004_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_004_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_004_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_004_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { - bool _ret; + struct cppIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); - return _ret; + cppIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse( ¶ms ); + return params._ret; } extern VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void *pTexture); VROverlayError __thiscall winIVROverlay_IVROverlay_004_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_004_ClearOverlayTexture( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_004_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); - return _ret; + cppIVROverlay_IVROverlay_004_SetOverlayRaw( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_004_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_004_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); - return _ret; + cppIVROverlay_IVROverlay_004_CreateDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_004_IsDashboardVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_004_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_IsDashboardVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_004_IsDashboardVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_004_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_004_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_004_IsActiveDashboardOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_004_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { + struct cppIVROverlay_IVROverlay_004_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_004_ShowDashboard(_this->u_iface, pchOverlayToShow); + cppIVROverlay_IVROverlay_004_ShowDashboard( ¶ms ); } extern vtable_ptr winIVROverlay_IVROverlay_004_vtable; @@ -2197,410 +3088,681 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_HideKeyboard, 4) VROverlayError __thiscall winIVROverlay_IVROverlay_005_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_005_FindOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_005_CreateOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_005_DestroyOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_005_SetHighQualityOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_005_GetHighQualityOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_005_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetHighQualityOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_005_GetHighQualityOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_005_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_005_GetOverlayKey( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_005_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_005_GetOverlayName( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_005_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); - return _ret; + cppIVROverlay_IVROverlay_005_GetOverlayImageData( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, VROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_005_SetOverlayFlag( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_005_GetOverlayFlag( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); - return _ret; + cppIVROverlay_IVROverlay_005_SetOverlayColor( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); - return _ret; + cppIVROverlay_IVROverlay_005_GetOverlayColor( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_005_SetOverlayAlpha( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_005_GetOverlayAlpha( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayGamma(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_SetOverlayGamma_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fGamma = fGamma, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayGamma(_this->u_iface, ulOverlayHandle, fGamma); - return _ret; + cppIVROverlay_IVROverlay_005_SetOverlayGamma( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayGamma(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfGamma) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_GetOverlayGamma_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfGamma = pfGamma, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayGamma(_this->u_iface, ulOverlayHandle, pfGamma); - return _ret; + cppIVROverlay_IVROverlay_005_GetOverlayGamma( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_005_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_005_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_005_SetOverlayTextureBounds( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_005_GetOverlayTextureBounds( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_005_GetOverlayTransformType( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_005_ShowOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_005_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_005_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_005_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_005_IsOverlayVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_005_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_005_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent); - return _ret; + cppIVROverlay_IVROverlay_005_PollNextOverlayEvent( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_005_GetOverlayInputMethod( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_005_SetOverlayInputMethod( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_005_GetOverlayMouseScale( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_005_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_005_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_005_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_005_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { - bool _ret; + struct cppIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); - return _ret; + cppIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_005_IsFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_005_IsFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_IsFocusOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_005_IsFocusOverlay( ¶ms ); + return params._ret; } extern VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void *pTexture); VROverlayError __thiscall winIVROverlay_IVROverlay_005_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_005_ClearOverlayTexture( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_005_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); - return _ret; + cppIVROverlay_IVROverlay_005_SetOverlayRaw( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_005_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_005_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); - return _ret; + cppIVROverlay_IVROverlay_005_CreateDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_005_IsDashboardVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_005_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_IsDashboardVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_005_IsDashboardVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_005_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_005_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_005_IsActiveDashboardOverlay( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - VROverlayError _ret; + struct cppIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_005_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { + struct cppIVROverlay_IVROverlay_005_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_005_ShowDashboard(_this->u_iface, pchOverlayToShow); + cppIVROverlay_IVROverlay_005_ShowDashboard( ¶ms ); } 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; + struct cppIVROverlay_IVROverlay_005_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode); - return _ret; + cppIVROverlay_IVROverlay_005_ShowKeyboard( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_005_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_005_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_005_GetKeyboardText(_this->u_iface, pchText, cchText); - return _ret; + cppIVROverlay_IVROverlay_005_GetKeyboardText( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_005_HideKeyboard(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_005_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_005_HideKeyboard(_this->u_iface); + cppIVROverlay_IVROverlay_005_HideKeyboard( ¶ms ); } extern vtable_ptr winIVROverlay_IVROverlay_005_vtable; @@ -2818,450 +3980,751 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_HideKeyboard, 4) EVROverlayError __thiscall winIVROverlay_IVROverlay_007_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_007_FindOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_007_CreateOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_007_DestroyOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_007_SetHighQualityOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_007_GetHighQualityOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_007_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetHighQualityOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_007_GetHighQualityOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_007_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_007_GetOverlayKey( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_007_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_007_GetOverlayName( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_007_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); - return _ret; + cppIVROverlay_IVROverlay_007_GetOverlayImageData( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_007_SetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_007_GetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); - return _ret; + cppIVROverlay_IVROverlay_007_SetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); - return _ret; + cppIVROverlay_IVROverlay_007_GetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_007_SetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_007_GetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_007_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_007_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_007_SetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_007_GetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_007_GetOverlayTransformType( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_007_ShowOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_007_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_007_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_007_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_007_IsOverlayVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_007_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_007_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent); - return _ret; + cppIVROverlay_IVROverlay_007_PollNextOverlayEvent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_007_GetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_007_SetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_007_GetOverlayMouseScale( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_007_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_007_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_007_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_007_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { - bool _ret; + struct cppIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); - return _ret; + cppIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_007_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_007_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_007_IsHoverTargetOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_007_GetGamepadFocusOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_007_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetGamepadFocusOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_007_GetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); - return _ret; + cppIVROverlay_IVROverlay_007_SetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); - return _ret; + cppIVROverlay_IVROverlay_007_SetOverlayNeighbor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); - return _ret; + cppIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor( ¶ms ); + return params._ret; } extern EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture); EVROverlayError __thiscall winIVROverlay_IVROverlay_007_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_007_ClearOverlayTexture( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_007_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); - return _ret; + cppIVROverlay_IVROverlay_007_SetOverlayRaw( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_007_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_007_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); - return _ret; + cppIVROverlay_IVROverlay_007_CreateDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_007_IsDashboardVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_007_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_IsDashboardVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_007_IsDashboardVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_007_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_007_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_007_IsActiveDashboardOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_007_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { + struct cppIVROverlay_IVROverlay_007_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_007_ShowDashboard(_this->u_iface, pchOverlayToShow); + cppIVROverlay_IVROverlay_007_ShowDashboard( ¶ms ); } 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; + struct cppIVROverlay_IVROverlay_007_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_007_ShowKeyboard( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_007_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_007_ShowKeyboardForOverlay( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_007_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_007_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_007_GetKeyboardText(_this->u_iface, pchText, cchText); - return _ret; + cppIVROverlay_IVROverlay_007_GetKeyboardText( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_007_HideKeyboard(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_007_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_007_HideKeyboard(_this->u_iface); + cppIVROverlay_IVROverlay_007_HideKeyboard( ¶ms ); } extern vtable_ptr winIVROverlay_IVROverlay_007_vtable; @@ -3492,470 +4955,790 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetKeyboardPositionForOverl EVROverlayError __thiscall winIVROverlay_IVROverlay_008_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_008_FindOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_008_CreateOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_008_DestroyOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_008_SetHighQualityOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_008_GetHighQualityOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_008_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetHighQualityOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_008_GetHighQualityOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_008_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_008_GetOverlayKey( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_008_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_008_GetOverlayName( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_008_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); - return _ret; + cppIVROverlay_IVROverlay_008_GetOverlayImageData( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_008_SetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_008_GetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); - return _ret; + cppIVROverlay_IVROverlay_008_SetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); - return _ret; + cppIVROverlay_IVROverlay_008_GetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_008_SetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_008_GetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_008_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_008_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_008_SetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_008_GetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_008_GetOverlayTransformType( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_008_ShowOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_008_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_008_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_008_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_008_IsOverlayVisible( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); - return _ret; + cppIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_008_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_008_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent); - return _ret; + cppIVROverlay_IVROverlay_008_PollNextOverlayEvent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_008_GetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_008_SetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_008_GetOverlayMouseScale( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_008_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_008_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_008_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_008_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { - bool _ret; + struct cppIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); - return _ret; + cppIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_008_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_008_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_008_IsHoverTargetOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_008_GetGamepadFocusOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_008_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetGamepadFocusOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_008_GetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); - return _ret; + cppIVROverlay_IVROverlay_008_SetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); - return _ret; + cppIVROverlay_IVROverlay_008_SetOverlayNeighbor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); - return _ret; + cppIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor( ¶ms ); + return params._ret; } extern EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture); EVROverlayError __thiscall winIVROverlay_IVROverlay_008_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_008_ClearOverlayTexture( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_008_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); - return _ret; + cppIVROverlay_IVROverlay_008_SetOverlayRaw( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_008_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_008_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); - return _ret; + cppIVROverlay_IVROverlay_008_CreateDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_008_IsDashboardVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_008_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_IsDashboardVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_008_IsDashboardVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_008_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_008_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_008_IsActiveDashboardOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_008_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { + struct cppIVROverlay_IVROverlay_008_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_008_ShowDashboard(_this->u_iface, pchOverlayToShow); + cppIVROverlay_IVROverlay_008_ShowDashboard( ¶ms ); } 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; + struct cppIVROverlay_IVROverlay_008_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_008_ShowKeyboard( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_008_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_008_ShowKeyboardForOverlay( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_008_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_008_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_008_GetKeyboardText(_this->u_iface, pchText, cchText); - return _ret; + cppIVROverlay_IVROverlay_008_GetKeyboardText( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_008_HideKeyboard(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_008_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_008_HideKeyboard(_this->u_iface); + cppIVROverlay_IVROverlay_008_HideKeyboard( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { + struct cppIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { + struct cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay( ¶ms ); } extern vtable_ptr winIVROverlay_IVROverlay_008_vtable; @@ -4195,494 +5978,831 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetKeyboardPositionForOverl EVROverlayError __thiscall winIVROverlay_IVROverlay_010_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_010_FindOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_010_CreateOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_010_DestroyOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_010_SetHighQualityOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_010_GetHighQualityOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_010_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetHighQualityOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_010_GetHighQualityOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_010_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_010_GetOverlayKey( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_010_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_010_GetOverlayName( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_010_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); - return _ret; + cppIVROverlay_IVROverlay_010_GetOverlayImageData( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_010_SetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_010_GetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); - return _ret; + cppIVROverlay_IVROverlay_010_SetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); - return _ret; + cppIVROverlay_IVROverlay_010_GetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_010_SetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_010_GetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_010_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_010_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_010_SetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_010_GetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_010_GetOverlayTransformType( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); - return _ret; + cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); - return _ret; + cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_010_ShowOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_010_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_010_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_010_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_010_IsOverlayVisible( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); - return _ret; + cppIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_010_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_0918 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_010_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); - return _ret; + cppIVROverlay_IVROverlay_010_PollNextOverlayEvent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_010_GetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_010_SetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_010_GetOverlayMouseScale( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_010_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_010_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_010_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_010_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { - bool _ret; + struct cppIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); - return _ret; + cppIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_010_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_010_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_010_IsHoverTargetOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_010_GetGamepadFocusOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_010_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetGamepadFocusOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_010_GetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); - return _ret; + cppIVROverlay_IVROverlay_010_SetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); - return _ret; + cppIVROverlay_IVROverlay_010_SetOverlayNeighbor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); - return _ret; + cppIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor( ¶ms ); + return params._ret; } extern EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture); EVROverlayError __thiscall winIVROverlay_IVROverlay_010_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_010_ClearOverlayTexture( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_010_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); - return _ret; + cppIVROverlay_IVROverlay_010_SetOverlayRaw( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_010_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_010_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); - return _ret; + cppIVROverlay_IVROverlay_010_CreateDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_010_IsDashboardVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_010_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_IsDashboardVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_010_IsDashboardVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_010_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_010_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_010_IsActiveDashboardOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_010_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { + struct cppIVROverlay_IVROverlay_010_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_010_ShowDashboard(_this->u_iface, pchOverlayToShow); + cppIVROverlay_IVROverlay_010_ShowDashboard( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { - TrackedDeviceIndex_t _ret; + struct cppIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_010_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_010_ShowKeyboard( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_010_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_010_ShowKeyboardForOverlay( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_010_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_010_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_010_GetKeyboardText(_this->u_iface, pchText, cchText); - return _ret; + cppIVROverlay_IVROverlay_010_GetKeyboardText( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_010_HideKeyboard(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_010_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_010_HideKeyboard(_this->u_iface); + cppIVROverlay_IVROverlay_010_HideKeyboard( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { + struct cppIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { + struct cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay( ¶ms ); } extern vtable_ptr winIVROverlay_IVROverlay_010_vtable; @@ -4932,526 +7052,888 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetKeyboardPositionForOverl EVROverlayError __thiscall winIVROverlay_IVROverlay_011_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_011_FindOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_011_CreateOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_011_DestroyOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_011_SetHighQualityOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_011_GetHighQualityOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_011_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetHighQualityOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_011_GetHighQualityOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_011_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_011_GetOverlayKey( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_011_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_011_GetOverlayName( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_011_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); - return _ret; + cppIVROverlay_IVROverlay_011_GetOverlayImageData( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); - return _ret; + cppIVROverlay_IVROverlay_011_SetOverlayRenderingPid( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_011_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_011_GetOverlayRenderingPid( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_011_SetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_011_GetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); - return _ret; + cppIVROverlay_IVROverlay_011_SetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); - return _ret; + cppIVROverlay_IVROverlay_011_GetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_011_SetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_011_GetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_011_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_011_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_011_SetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_011_GetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_011_GetOverlayTransformType( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); - return _ret; + cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); - return _ret; + cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_011_ShowOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_011_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_011_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_011_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_011_IsOverlayVisible( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); - return _ret; + cppIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_011_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_0920 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_011_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); - return _ret; + cppIVROverlay_IVROverlay_011_PollNextOverlayEvent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_011_GetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_011_SetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_011_GetOverlayMouseScale( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_011_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_011_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_011_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_011_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { - bool _ret; + struct cppIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); - return _ret; + cppIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_011_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_011_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_011_IsHoverTargetOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_011_GetGamepadFocusOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_011_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetGamepadFocusOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_011_GetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); - return _ret; + cppIVROverlay_IVROverlay_011_SetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); - return _ret; + cppIVROverlay_IVROverlay_011_SetOverlayNeighbor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); - return _ret; + cppIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor( ¶ms ); + return params._ret; } extern EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture); EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_011_ClearOverlayTexture( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_011_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); - return _ret; + cppIVROverlay_IVROverlay_011_SetOverlayRaw( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_011_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_011_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPI = pAPI, + .pColorSpace = pColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPI, pColorSpace); - return _ret; + cppIVROverlay_IVROverlay_011_GetOverlayTexture( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); - return _ret; + cppIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_011_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); - return _ret; + cppIVROverlay_IVROverlay_011_CreateDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_011_IsDashboardVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_011_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_IsDashboardVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_011_IsDashboardVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_011_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_011_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_011_IsActiveDashboardOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_011_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { + struct cppIVROverlay_IVROverlay_011_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_011_ShowDashboard(_this->u_iface, pchOverlayToShow); + cppIVROverlay_IVROverlay_011_ShowDashboard( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { - TrackedDeviceIndex_t _ret; + struct cppIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_011_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_011_ShowKeyboard( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_011_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_011_ShowKeyboardForOverlay( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_011_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_011_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_011_GetKeyboardText(_this->u_iface, pchText, cchText); - return _ret; + cppIVROverlay_IVROverlay_011_GetKeyboardText( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_011_HideKeyboard(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_011_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_011_HideKeyboard(_this->u_iface); + cppIVROverlay_IVROverlay_011_HideKeyboard( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { + struct cppIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { + struct cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay( ¶ms ); } extern vtable_ptr winIVROverlay_IVROverlay_011_vtable; @@ -5710,534 +8192,902 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetKeyboardPositionForOverl EVROverlayError __thiscall winIVROverlay_IVROverlay_012_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_012_FindOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_012_CreateOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_012_DestroyOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_012_SetHighQualityOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_012_GetHighQualityOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_012_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetHighQualityOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_012_GetHighQualityOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_012_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_012_GetOverlayKey( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_012_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_012_GetOverlayName( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_012_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); - return _ret; + cppIVROverlay_IVROverlay_012_GetOverlayImageData( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); - return _ret; + cppIVROverlay_IVROverlay_012_SetOverlayRenderingPid( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_012_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_012_GetOverlayRenderingPid( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_012_SetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_012_GetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); - return _ret; + cppIVROverlay_IVROverlay_012_SetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); - return _ret; + cppIVROverlay_IVROverlay_012_GetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_012_SetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_012_GetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_012_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_012_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_012_SetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_012_GetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_012_GetOverlayTransformType( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); - return _ret; + cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); - return _ret; + cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_012_ShowOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_012_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_012_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_012_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_012_IsOverlayVisible( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); - return _ret; + cppIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_012_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_101 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_012_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); - return _ret; + cppIVROverlay_IVROverlay_012_PollNextOverlayEvent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_012_GetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_012_SetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_012_GetOverlayMouseScale( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_012_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_012_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_012_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_012_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { - bool _ret; + struct cppIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); - return _ret; + cppIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_012_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_012_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_012_IsHoverTargetOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_012_GetGamepadFocusOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_012_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetGamepadFocusOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_012_GetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); - return _ret; + cppIVROverlay_IVROverlay_012_SetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); - return _ret; + cppIVROverlay_IVROverlay_012_SetOverlayNeighbor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); - return _ret; + cppIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor( ¶ms ); + return params._ret; } extern EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture); EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_012_ClearOverlayTexture( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_012_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); - return _ret; + cppIVROverlay_IVROverlay_012_SetOverlayRaw( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_012_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_012_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPI = pAPI, + .pColorSpace = pColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPI, pColorSpace); - return _ret; + cppIVROverlay_IVROverlay_012_GetOverlayTexture( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); - return _ret; + cppIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); - return _ret; + cppIVROverlay_IVROverlay_012_GetOverlayTextureSize( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_012_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); - return _ret; + cppIVROverlay_IVROverlay_012_CreateDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_012_IsDashboardVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_012_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_IsDashboardVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_012_IsDashboardVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_012_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_012_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_012_IsActiveDashboardOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_012_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { + struct cppIVROverlay_IVROverlay_012_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_012_ShowDashboard(_this->u_iface, pchOverlayToShow); + cppIVROverlay_IVROverlay_012_ShowDashboard( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { - TrackedDeviceIndex_t _ret; + struct cppIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_012_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_012_ShowKeyboard( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_012_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_012_ShowKeyboardForOverlay( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_012_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_012_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_012_GetKeyboardText(_this->u_iface, pchText, cchText); - return _ret; + cppIVROverlay_IVROverlay_012_GetKeyboardText( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_012_HideKeyboard(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_012_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_012_HideKeyboard(_this->u_iface); + cppIVROverlay_IVROverlay_012_HideKeyboard( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { + struct cppIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { + struct cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay( ¶ms ); } extern vtable_ptr winIVROverlay_IVROverlay_012_vtable; @@ -6503,574 +9353,969 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayIntersectionMask, EVROverlayError __thiscall winIVROverlay_IVROverlay_013_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_013_FindOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_013_CreateOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_013_DestroyOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_013_SetHighQualityOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_013_GetHighQualityOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_013_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetHighQualityOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_013_GetHighQualityOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_013_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_013_GetOverlayKey( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_013_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_013_GetOverlayName( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_013_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); - return _ret; + cppIVROverlay_IVROverlay_013_GetOverlayImageData( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); - return _ret; + cppIVROverlay_IVROverlay_013_SetOverlayRenderingPid( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_013_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_013_GetOverlayRenderingPid( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_013_SetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_013_GetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); - return _ret; + cppIVROverlay_IVROverlay_013_SetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); - return _ret; + cppIVROverlay_IVROverlay_013_GetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_013_SetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_013_GetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_013_SetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_013_GetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); - return _ret; + cppIVROverlay_IVROverlay_013_SetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); - return _ret; + cppIVROverlay_IVROverlay_013_GetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_013_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_013_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_013_SetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_013_GetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_013_GetOverlayTransformType( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); - return _ret; + cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); - return _ret; + cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_013_ShowOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_013_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_013_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_013_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_013_IsOverlayVisible( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); - return _ret; + cppIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_013_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_104 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_013_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); - return _ret; + cppIVROverlay_IVROverlay_013_PollNextOverlayEvent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_013_GetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_013_SetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_013_GetOverlayMouseScale( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_013_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_013_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_013_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_013_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { - bool _ret; + struct cppIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); - return _ret; + cppIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_013_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_013_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_013_IsHoverTargetOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_013_GetGamepadFocusOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_013_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetGamepadFocusOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_013_GetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); - return _ret; + cppIVROverlay_IVROverlay_013_SetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); - return _ret; + cppIVROverlay_IVROverlay_013_SetOverlayNeighbor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); - return _ret; + cppIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor( ¶ms ); + return params._ret; } extern EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture); EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_013_ClearOverlayTexture( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_013_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); - return _ret; + cppIVROverlay_IVROverlay_013_SetOverlayRaw( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_013_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_013_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPI = pAPI, + .pColorSpace = pColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPI, pColorSpace); - return _ret; + cppIVROverlay_IVROverlay_013_GetOverlayTexture( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); - return _ret; + cppIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); - return _ret; + cppIVROverlay_IVROverlay_013_GetOverlayTextureSize( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_013_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); - return _ret; + cppIVROverlay_IVROverlay_013_CreateDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_013_IsDashboardVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_013_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_IsDashboardVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_013_IsDashboardVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_013_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_013_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_013_IsActiveDashboardOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_013_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { + struct cppIVROverlay_IVROverlay_013_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_013_ShowDashboard(_this->u_iface, pchOverlayToShow); + cppIVROverlay_IVROverlay_013_ShowDashboard( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { - TrackedDeviceIndex_t _ret; + struct cppIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_013_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_013_ShowKeyboard( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_013_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_013_ShowKeyboardForOverlay( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_013_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_013_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_GetKeyboardText(_this->u_iface, pchText, cchText); - return _ret; + cppIVROverlay_IVROverlay_013_GetKeyboardText( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_013_HideKeyboard(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_013_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_013_HideKeyboard(_this->u_iface); + cppIVROverlay_IVROverlay_013_HideKeyboard( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { + struct cppIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { + struct cppIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay( ¶ms ); } 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; + struct cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); - return _ret; + cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask( ¶ms ); + return params._ret; } extern vtable_ptr winIVROverlay_IVROverlay_013_vtable; @@ -7348,590 +10593,1000 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ShowMessageOverlay, 28) EVROverlayError __thiscall winIVROverlay_IVROverlay_014_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_014_FindOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_014_CreateOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_014_DestroyOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_014_SetHighQualityOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_014_GetHighQualityOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_014_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetHighQualityOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_014_GetHighQualityOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_014_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlayKey( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_014_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlayName( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_014_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlayImageData( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); - return _ret; + cppIVROverlay_IVROverlay_014_SetOverlayRenderingPid( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_014_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlayRenderingPid( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_014_SetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); - return _ret; + cppIVROverlay_IVROverlay_014_SetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_014_SetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_014_SetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); - return _ret; + cppIVROverlay_IVROverlay_014_SetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_014_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_014_SetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlayTransformType( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); - return _ret; + cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_014_ShowOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_014_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_014_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_014_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_014_IsOverlayVisible( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); - return _ret; + cppIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_014_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_106 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_014_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); - return _ret; + cppIVROverlay_IVROverlay_014_PollNextOverlayEvent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_014_SetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlayMouseScale( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_014_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_014_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_014_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_014_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { - bool _ret; + struct cppIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); - return _ret; + cppIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_014_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_014_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_014_IsHoverTargetOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_014_GetGamepadFocusOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_014_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetGamepadFocusOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_014_GetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); - return _ret; + cppIVROverlay_IVROverlay_014_SetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); - return _ret; + cppIVROverlay_IVROverlay_014_SetOverlayNeighbor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); - return _ret; + cppIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor( ¶ms ); + return params._ret; } extern EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture); EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_014_ClearOverlayTexture( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_014_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); - return _ret; + cppIVROverlay_IVROverlay_014_SetOverlayRaw( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_014_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_014_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlayTexture( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); - return _ret; + cppIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlayTextureSize( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_014_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); - return _ret; + cppIVROverlay_IVROverlay_014_CreateDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_014_IsDashboardVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_014_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_IsDashboardVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_014_IsDashboardVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_014_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_014_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_014_IsActiveDashboardOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_014_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { + struct cppIVROverlay_IVROverlay_014_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_014_ShowDashboard(_this->u_iface, pchOverlayToShow); + cppIVROverlay_IVROverlay_014_ShowDashboard( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { - TrackedDeviceIndex_t _ret; + struct cppIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_014_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_014_ShowKeyboard( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_014_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_014_ShowKeyboardForOverlay( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_014_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_014_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetKeyboardText(_this->u_iface, pchText, cchText); - return _ret; + cppIVROverlay_IVROverlay_014_GetKeyboardText( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_014_HideKeyboard(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_014_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_014_HideKeyboard(_this->u_iface); + cppIVROverlay_IVROverlay_014_HideKeyboard( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { + struct cppIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { + struct cppIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay( ¶ms ); } 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; + struct cppIVROverlay_IVROverlay_014_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); - return _ret; + cppIVROverlay_IVROverlay_014_SetOverlayIntersectionMask( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_014_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); - return _ret; + cppIVROverlay_IVROverlay_014_GetOverlayFlags( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_014_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_014_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); - return _ret; + cppIVROverlay_IVROverlay_014_ShowMessageOverlay( ¶ms ); + return params._ret; } extern vtable_ptr winIVROverlay_IVROverlay_014_vtable; @@ -8219,636 +11874,1081 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_CloseMessageOverlay, 4) EVROverlayError __thiscall winIVROverlay_IVROverlay_016_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_016_FindOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayName = pchOverlayName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_016_CreateOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_016_DestroyOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_016_SetHighQualityOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_016_GetHighQualityOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_016_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetHighQualityOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_016_GetHighQualityOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_016_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayKey( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_016_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayName( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayName(_this->u_iface, ulOverlayHandle, pchName); - return _ret; + cppIVROverlay_IVROverlay_016_SetOverlayName( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_016_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayImageData( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); - return _ret; + cppIVROverlay_IVROverlay_016_SetOverlayRenderingPid( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_016_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayRenderingPid( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_016_SetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); - return _ret; + cppIVROverlay_IVROverlay_016_SetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_016_SetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_016_SetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); - return _ret; + cppIVROverlay_IVROverlay_016_SetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_016_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_016_SetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayTextureBounds( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_016_GetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pColor = pColor, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayRenderModel( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayRenderModel(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchRenderModel = pchRenderModel, + .pColor = pColor, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchRenderModel, pColor); - return _ret; + cppIVROverlay_IVROverlay_016_SetOverlayRenderModel( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayTransformType( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); - return _ret; + cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_016_ShowOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_016_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_016_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_016_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_016_IsOverlayVisible( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); - return _ret; + cppIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_016_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1010 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_016_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); - return _ret; + cppIVROverlay_IVROverlay_016_PollNextOverlayEvent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_016_SetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayMouseScale( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_016_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_016_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_016_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_016_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { - bool _ret; + struct cppIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); - return _ret; + cppIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_016_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_016_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_016_IsHoverTargetOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_016_GetGamepadFocusOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_016_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetGamepadFocusOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_016_GetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); - return _ret; + cppIVROverlay_IVROverlay_016_SetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); - return _ret; + cppIVROverlay_IVROverlay_016_SetOverlayNeighbor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); - return _ret; + cppIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor( ¶ms ); + return params._ret; } extern EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture); EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_016_ClearOverlayTexture( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_016_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); - return _ret; + cppIVROverlay_IVROverlay_016_SetOverlayRaw( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_016_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_016_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayTexture( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); - return _ret; + cppIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayTextureSize( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_016_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); - return _ret; + cppIVROverlay_IVROverlay_016_CreateDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_016_IsDashboardVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_016_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_IsDashboardVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_016_IsDashboardVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_016_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_016_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_016_IsActiveDashboardOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_016_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { + struct cppIVROverlay_IVROverlay_016_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_016_ShowDashboard(_this->u_iface, pchOverlayToShow); + cppIVROverlay_IVROverlay_016_ShowDashboard( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { - TrackedDeviceIndex_t _ret; + struct cppIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_016_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_016_ShowKeyboard( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_016_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_016_ShowKeyboardForOverlay( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_016_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_016_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetKeyboardText(_this->u_iface, pchText, cchText); - return _ret; + cppIVROverlay_IVROverlay_016_GetKeyboardText( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_016_HideKeyboard(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_016_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_016_HideKeyboard(_this->u_iface); + cppIVROverlay_IVROverlay_016_HideKeyboard( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { + struct cppIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { + struct cppIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay( ¶ms ); } 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; + struct cppIVROverlay_IVROverlay_016_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); - return _ret; + cppIVROverlay_IVROverlay_016_SetOverlayIntersectionMask( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_016_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); - return _ret; + cppIVROverlay_IVROverlay_016_GetOverlayFlags( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_016_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_016_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); - return _ret; + cppIVROverlay_IVROverlay_016_ShowMessageOverlay( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_016_CloseMessageOverlay(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_016_CloseMessageOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_016_CloseMessageOverlay(_this->u_iface); + cppIVROverlay_IVROverlay_016_CloseMessageOverlay( ¶ms ); } extern vtable_ptr winIVROverlay_IVROverlay_016_vtable; @@ -9150,652 +13250,1111 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_CloseMessageOverlay, 4) EVROverlayError __thiscall winIVROverlay_IVROverlay_017_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_017_FindOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayName = pchOverlayName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_017_CreateOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_017_DestroyOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_017_SetHighQualityOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_017_GetHighQualityOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_017_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetHighQualityOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_017_GetHighQualityOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_017_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayKey( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_017_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayName( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayName(_this->u_iface, ulOverlayHandle, pchName); - return _ret; + cppIVROverlay_IVROverlay_017_SetOverlayName( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_017_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayImageData( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); - return _ret; + cppIVROverlay_IVROverlay_017_SetOverlayRenderingPid( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_017_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayRenderingPid( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_017_SetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); - return _ret; + cppIVROverlay_IVROverlay_017_SetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_017_SetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_017_SetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); - return _ret; + cppIVROverlay_IVROverlay_017_SetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_017_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_017_SetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayTextureBounds( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_017_GetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pColor = pColor, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayRenderModel( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayRenderModel(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchRenderModel = pchRenderModel, + .pColor = pColor, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchRenderModel, pColor); - return _ret; + cppIVROverlay_IVROverlay_017_SetOverlayRenderModel( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayTransformType( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); - return _ret; + cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_017_ShowOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_017_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_017_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_017_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_017_IsOverlayVisible( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); - return _ret; + cppIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_017_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1011 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_017_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); - return _ret; + cppIVROverlay_IVROverlay_017_PollNextOverlayEvent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_017_SetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayMouseScale( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_017_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_017_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_017_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_017_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { - bool _ret; + struct cppIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse(_this->u_iface, ulOverlayHandle, unControllerDeviceIndex); - return _ret; + cppIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_017_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_017_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_017_IsHoverTargetOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_017_GetGamepadFocusOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_017_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetGamepadFocusOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_017_GetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); - return _ret; + cppIVROverlay_IVROverlay_017_SetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); - return _ret; + cppIVROverlay_IVROverlay_017_SetOverlayNeighbor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); - return _ret; + cppIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *vCenter, float fRadius) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .vCenter = vCenter, + .fRadius = fRadius, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, vCenter, fRadius); - return _ret; + cppIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .pvCenter = pvCenter, + .pfRadius = pfRadius, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, pvCenter, pfRadius); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform( ¶ms ); + return params._ret; } extern EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture); EVROverlayError __thiscall winIVROverlay_IVROverlay_017_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_017_ClearOverlayTexture( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_017_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); - return _ret; + cppIVROverlay_IVROverlay_017_SetOverlayRaw( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_017_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_017_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayTexture( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); - return _ret; + cppIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayTextureSize( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_017_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); - return _ret; + cppIVROverlay_IVROverlay_017_CreateDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_017_IsDashboardVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_017_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_IsDashboardVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_017_IsDashboardVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_017_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_017_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_017_IsActiveDashboardOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_017_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { + struct cppIVROverlay_IVROverlay_017_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_017_ShowDashboard(_this->u_iface, pchOverlayToShow); + cppIVROverlay_IVROverlay_017_ShowDashboard( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { - TrackedDeviceIndex_t _ret; + struct cppIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_017_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_017_ShowKeyboard( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_017_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_017_ShowKeyboardForOverlay( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_017_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_017_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetKeyboardText(_this->u_iface, pchText, cchText); - return _ret; + cppIVROverlay_IVROverlay_017_GetKeyboardText( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_017_HideKeyboard(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_017_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_017_HideKeyboard(_this->u_iface); + cppIVROverlay_IVROverlay_017_HideKeyboard( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { + struct cppIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { + struct cppIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay( ¶ms ); } 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; + struct cppIVROverlay_IVROverlay_017_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); - return _ret; + cppIVROverlay_IVROverlay_017_SetOverlayIntersectionMask( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_017_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); - return _ret; + cppIVROverlay_IVROverlay_017_GetOverlayFlags( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_017_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_017_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); - return _ret; + cppIVROverlay_IVROverlay_017_ShowMessageOverlay( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_017_CloseMessageOverlay(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_017_CloseMessageOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_017_CloseMessageOverlay(_this->u_iface); + cppIVROverlay_IVROverlay_017_CloseMessageOverlay( ¶ms ); } extern vtable_ptr winIVROverlay_IVROverlay_017_vtable; @@ -10100,644 +14659,1098 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_CloseMessageOverlay, 4) EVROverlayError __thiscall winIVROverlay_IVROverlay_018_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_018_FindOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayName = pchOverlayName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_018_CreateOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_018_DestroyOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_018_SetHighQualityOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_018_GetHighQualityOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_018_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetHighQualityOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_018_GetHighQualityOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_018_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayKey( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_018_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayName( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayName(_this->u_iface, ulOverlayHandle, pchName); - return _ret; + cppIVROverlay_IVROverlay_018_SetOverlayName( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_018_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayImageData( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); - return _ret; + cppIVROverlay_IVROverlay_018_SetOverlayRenderingPid( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_018_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayRenderingPid( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_018_SetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); - return _ret; + cppIVROverlay_IVROverlay_018_SetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_018_SetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_018_SetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); - return _ret; + cppIVROverlay_IVROverlay_018_SetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_018_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_018_SetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayTextureBounds( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_018_GetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pColor = pColor, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayRenderModel( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayRenderModel(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchRenderModel = pchRenderModel, + .pColor = pColor, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchRenderModel, pColor); - return _ret; + cppIVROverlay_IVROverlay_018_SetOverlayRenderModel( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayTransformType( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); - return _ret; + cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_018_ShowOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_018_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_018_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_018_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_018_IsOverlayVisible( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); - return _ret; + cppIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_018_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1017 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_018_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); - return _ret; + cppIVROverlay_IVROverlay_018_PollNextOverlayEvent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_018_SetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayMouseScale( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_018_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_018_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_018_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_018_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_018_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_018_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_018_IsHoverTargetOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_018_GetGamepadFocusOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_018_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetGamepadFocusOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_018_GetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); - return _ret; + cppIVROverlay_IVROverlay_018_SetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); - return _ret; + cppIVROverlay_IVROverlay_018_SetOverlayNeighbor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); - return _ret; + cppIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *vCenter, float fRadius) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .vCenter = vCenter, + .fRadius = fRadius, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, vCenter, fRadius); - return _ret; + cppIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .pvCenter = pvCenter, + .pfRadius = pfRadius, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, pvCenter, pfRadius); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform( ¶ms ); + return params._ret; } extern EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture); EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_018_ClearOverlayTexture( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_018_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); - return _ret; + cppIVROverlay_IVROverlay_018_SetOverlayRaw( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_018_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_018_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayTexture( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); - return _ret; + cppIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayTextureSize( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_018_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); - return _ret; + cppIVROverlay_IVROverlay_018_CreateDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_018_IsDashboardVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_018_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_IsDashboardVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_018_IsDashboardVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_018_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_018_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_018_IsActiveDashboardOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_018_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { + struct cppIVROverlay_IVROverlay_018_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_018_ShowDashboard(_this->u_iface, pchOverlayToShow); + cppIVROverlay_IVROverlay_018_ShowDashboard( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { - TrackedDeviceIndex_t _ret; + struct cppIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_018_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_018_ShowKeyboard( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_018_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_018_ShowKeyboardForOverlay( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_018_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_018_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetKeyboardText(_this->u_iface, pchText, cchText); - return _ret; + cppIVROverlay_IVROverlay_018_GetKeyboardText( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_018_HideKeyboard(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_018_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_018_HideKeyboard(_this->u_iface); + cppIVROverlay_IVROverlay_018_HideKeyboard( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { + struct cppIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { + struct cppIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay( ¶ms ); } 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; + struct cppIVROverlay_IVROverlay_018_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); - return _ret; + cppIVROverlay_IVROverlay_018_SetOverlayIntersectionMask( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_018_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); - return _ret; + cppIVROverlay_IVROverlay_018_GetOverlayFlags( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_018_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_018_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); - return _ret; + cppIVROverlay_IVROverlay_018_ShowMessageOverlay( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_018_CloseMessageOverlay(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_018_CloseMessageOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_018_CloseMessageOverlay(_this->u_iface); + cppIVROverlay_IVROverlay_018_CloseMessageOverlay( ¶ms ); } extern vtable_ptr winIVROverlay_IVROverlay_018_vtable; @@ -11040,644 +16053,1098 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_CloseMessageOverlay, 4) EVROverlayError __thiscall winIVROverlay_IVROverlay_019_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_019_FindOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayName = pchOverlayName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_019_CreateOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_019_DestroyOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetHighQualityOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetHighQualityOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_019_SetHighQualityOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_019_GetHighQualityOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_019_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetHighQualityOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_019_GetHighQualityOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_019_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayKey( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_019_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayName( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayName(_this->u_iface, ulOverlayHandle, pchName); - return _ret; + cppIVROverlay_IVROverlay_019_SetOverlayName( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_019_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayImageData( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); - return _ret; + cppIVROverlay_IVROverlay_019_SetOverlayRenderingPid( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_019_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayRenderingPid( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_019_SetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); - return _ret; + cppIVROverlay_IVROverlay_019_SetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_019_SetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_019_SetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); - return _ret; + cppIVROverlay_IVROverlay_019_SetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_019_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_019_SetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayTextureBounds( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_019_GetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pColor = pColor, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayRenderModel( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayRenderModel(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchRenderModel = pchRenderModel, + .pColor = pColor, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchRenderModel, pColor); - return _ret; + cppIVROverlay_IVROverlay_019_SetOverlayRenderModel( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayTransformType( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); - return _ret; + cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_019_ShowOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_019_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_019_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_019_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_019_IsOverlayVisible( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); - return _ret; + cppIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_019_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1610 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_019_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); - return _ret; + cppIVROverlay_IVROverlay_019_PollNextOverlayEvent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_019_SetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayMouseScale( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_019_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_019_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_019_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_019_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_019_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_019_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_019_IsHoverTargetOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_019_GetGamepadFocusOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_019_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetGamepadFocusOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_019_GetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); - return _ret; + cppIVROverlay_IVROverlay_019_SetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); - return _ret; + cppIVROverlay_IVROverlay_019_SetOverlayNeighbor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); - return _ret; + cppIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *pvCenter, float fRadius) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .pvCenter = pvCenter, + .fRadius = fRadius, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, pvCenter, fRadius); - return _ret; + cppIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .pvCenter = pvCenter, + .pfRadius = pfRadius, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, pvCenter, pfRadius); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform( ¶ms ); + return params._ret; } extern EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture); EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_019_ClearOverlayTexture( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_019_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); - return _ret; + cppIVROverlay_IVROverlay_019_SetOverlayRaw( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_019_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_019_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayTexture( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); - return _ret; + cppIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayTextureSize( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_019_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); - return _ret; + cppIVROverlay_IVROverlay_019_CreateDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_019_IsDashboardVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_019_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_IsDashboardVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_019_IsDashboardVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_019_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_019_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_019_IsActiveDashboardOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_019_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { + struct cppIVROverlay_IVROverlay_019_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_019_ShowDashboard(_this->u_iface, pchOverlayToShow); + cppIVROverlay_IVROverlay_019_ShowDashboard( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { - TrackedDeviceIndex_t _ret; + struct cppIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_019_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_019_ShowKeyboard( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_019_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_019_ShowKeyboardForOverlay( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_019_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_019_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetKeyboardText(_this->u_iface, pchText, cchText); - return _ret; + cppIVROverlay_IVROverlay_019_GetKeyboardText( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_019_HideKeyboard(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_019_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_019_HideKeyboard(_this->u_iface); + cppIVROverlay_IVROverlay_019_HideKeyboard( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { + struct cppIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { + struct cppIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay( ¶ms ); } 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; + struct cppIVROverlay_IVROverlay_019_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); - return _ret; + cppIVROverlay_IVROverlay_019_SetOverlayIntersectionMask( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_019_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); - return _ret; + cppIVROverlay_IVROverlay_019_GetOverlayFlags( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_019_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_019_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); - return _ret; + cppIVROverlay_IVROverlay_019_ShowMessageOverlay( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_019_CloseMessageOverlay(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_019_CloseMessageOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_019_CloseMessageOverlay(_this->u_iface); + cppIVROverlay_IVROverlay_019_CloseMessageOverlay( ¶ms ); } extern vtable_ptr winIVROverlay_IVROverlay_019_vtable; @@ -11978,628 +17445,1075 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_CloseMessageOverlay, 4) EVROverlayError __thiscall winIVROverlay_IVROverlay_020_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_020_FindOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayName = pchOverlayName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_020_CreateOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_020_DestroyOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_020_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayKey( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_020_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayName( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayName(_this->u_iface, ulOverlayHandle, pchName); - return _ret; + cppIVROverlay_IVROverlay_020_SetOverlayName( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_020_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayImageData( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); - return _ret; + cppIVROverlay_IVROverlay_020_SetOverlayRenderingPid( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_020_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayRenderingPid( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_020_SetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); - return _ret; + cppIVROverlay_IVROverlay_020_SetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_020_SetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_020_SetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); - return _ret; + cppIVROverlay_IVROverlay_020_SetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_020_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(_this->u_iface, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_020_SetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayTextureBounds( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_020_GetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pColor = pColor, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayRenderModel( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayRenderModel(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchRenderModel = pchRenderModel, + .pColor = pColor, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchRenderModel, pColor); - return _ret; + cppIVROverlay_IVROverlay_020_SetOverlayRenderModel( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayTransformType( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); - return _ret; + cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_020_ShowOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_020_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_020_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_020_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_020_IsOverlayVisible( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); - return _ret; + cppIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_020_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1715 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_020_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); - return _ret; + cppIVROverlay_IVROverlay_020_PollNextOverlayEvent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_020_SetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayMouseScale( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_020_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_020_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_020_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_020_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_020_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_020_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_020_IsHoverTargetOverlay( ¶ms ); + return params._ret; } VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_020_GetGamepadFocusOverlay(struct w_steam_iface *_this) { - VROverlayHandle_t _ret; + struct cppIVROverlay_IVROverlay_020_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetGamepadFocusOverlay(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_020_GetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetGamepadFocusOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulNewFocusOverlay) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetGamepadFocusOverlay(_this->u_iface, ulNewFocusOverlay); - return _ret; + cppIVROverlay_IVROverlay_020_SetGamepadFocusOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayNeighbor(_this->u_iface, eDirection, ulFrom, ulTo); - return _ret; + cppIVROverlay_IVROverlay_020_SetOverlayNeighbor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor(_this->u_iface, eDirection, ulFrom); - return _ret; + cppIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *pvCenter, float fRadius) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .pvCenter = pvCenter, + .fRadius = fRadius, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, pvCenter, fRadius); - return _ret; + cppIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .pvCenter = pvCenter, + .pfRadius = pfRadius, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, pvCenter, pfRadius); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform( ¶ms ); + return params._ret; } extern EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture); EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_020_ClearOverlayTexture( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_020_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); - return _ret; + cppIVROverlay_IVROverlay_020_SetOverlayRaw( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_020_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_020_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayTexture( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); - return _ret; + cppIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayTextureSize( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_020_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); - return _ret; + cppIVROverlay_IVROverlay_020_CreateDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_020_IsDashboardVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_020_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_IsDashboardVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_020_IsDashboardVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_020_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_020_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_020_IsActiveDashboardOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_020_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { + struct cppIVROverlay_IVROverlay_020_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_020_ShowDashboard(_this->u_iface, pchOverlayToShow); + cppIVROverlay_IVROverlay_020_ShowDashboard( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { - TrackedDeviceIndex_t _ret; + struct cppIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_020_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_020_ShowKeyboard( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_020_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_020_ShowKeyboardForOverlay( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_020_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_020_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetKeyboardText(_this->u_iface, pchText, cchText); - return _ret; + cppIVROverlay_IVROverlay_020_GetKeyboardText( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_020_HideKeyboard(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_020_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_020_HideKeyboard(_this->u_iface); + cppIVROverlay_IVROverlay_020_HideKeyboard( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { + struct cppIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { + struct cppIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay( ¶ms ); } 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; + struct cppIVROverlay_IVROverlay_020_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); - return _ret; + cppIVROverlay_IVROverlay_020_SetOverlayIntersectionMask( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_020_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); - return _ret; + cppIVROverlay_IVROverlay_020_GetOverlayFlags( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_020_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_020_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); - return _ret; + cppIVROverlay_IVROverlay_020_ShowMessageOverlay( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_020_CloseMessageOverlay(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_020_CloseMessageOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_020_CloseMessageOverlay(_this->u_iface); + cppIVROverlay_IVROverlay_020_CloseMessageOverlay( ¶ms ); } extern vtable_ptr winIVROverlay_IVROverlay_020_vtable; @@ -12892,596 +18806,1023 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_CloseMessageOverlay, 4) EVROverlayError __thiscall winIVROverlay_IVROverlay_021_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_021_FindOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayName = pchOverlayName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_021_CreateOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_021_DestroyOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_021_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayKey( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_021_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayName( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_SetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayName(_this->u_iface, ulOverlayHandle, pchName); - return _ret; + cppIVROverlay_IVROverlay_021_SetOverlayName( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_021_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayImageData( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); - return _ret; + cppIVROverlay_IVROverlay_021_SetOverlayRenderingPid( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_021_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayRenderingPid( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_021_SetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); - return _ret; + cppIVROverlay_IVROverlay_021_SetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_021_SetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_021_SetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); - return _ret; + cppIVROverlay_IVROverlay_021_SetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_021_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_SetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fCurvature = fCurvature, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayCurvature(_this->u_iface, ulOverlayHandle, fCurvature); - return _ret; + cppIVROverlay_IVROverlay_021_SetOverlayCurvature( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_GetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfCurvature = pfCurvature, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayCurvature(_this->u_iface, ulOverlayHandle, pfCurvature); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayCurvature( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_021_SetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayTextureBounds( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_021_GetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pColor = pColor, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayRenderModel( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayRenderModel(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_SetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchRenderModel = pchRenderModel, + .pColor = pColor, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchRenderModel, pColor); - return _ret; + cppIVROverlay_IVROverlay_021_SetOverlayRenderModel( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayTransformType( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); - return _ret; + cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_021_ShowOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_021_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_021_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_021_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_021_IsOverlayVisible( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); - return _ret; + cppIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_021_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1819 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_021_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); - return _ret; + cppIVROverlay_IVROverlay_021_PollNextOverlayEvent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_021_SetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayMouseScale( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_021_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_021_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_021_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_021_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_021_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_021_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_021_IsHoverTargetOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *pvCenter, float fRadius) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .pvCenter = pvCenter, + .fRadius = fRadius, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, pvCenter, fRadius); - return _ret; + cppIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .pvCenter = pvCenter, + .pfRadius = pfRadius, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, pvCenter, pfRadius); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform( ¶ms ); + return params._ret; } extern EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture); EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_021_ClearOverlayTexture( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_021_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); - return _ret; + cppIVROverlay_IVROverlay_021_SetOverlayRaw( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_021_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_021_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayTexture( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); - return _ret; + cppIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayTextureSize( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_021_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); - return _ret; + cppIVROverlay_IVROverlay_021_CreateDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_021_IsDashboardVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_021_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_IsDashboardVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_021_IsDashboardVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_021_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_021_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_021_IsActiveDashboardOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_021_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { + struct cppIVROverlay_IVROverlay_021_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_021_ShowDashboard(_this->u_iface, pchOverlayToShow); + cppIVROverlay_IVROverlay_021_ShowDashboard( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { - TrackedDeviceIndex_t _ret; + struct cppIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_021_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_021_ShowKeyboard( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_021_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_021_ShowKeyboardForOverlay( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_021_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_021_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetKeyboardText(_this->u_iface, pchText, cchText); - return _ret; + cppIVROverlay_IVROverlay_021_GetKeyboardText( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_021_HideKeyboard(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_021_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_021_HideKeyboard(_this->u_iface); + cppIVROverlay_IVROverlay_021_HideKeyboard( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { + struct cppIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { + struct cppIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay( ¶ms ); } 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; + struct cppIVROverlay_IVROverlay_021_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); - return _ret; + cppIVROverlay_IVROverlay_021_SetOverlayIntersectionMask( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_021_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); - return _ret; + cppIVROverlay_IVROverlay_021_GetOverlayFlags( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_021_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_021_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); - return _ret; + cppIVROverlay_IVROverlay_021_ShowMessageOverlay( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_021_CloseMessageOverlay(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_021_CloseMessageOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_021_CloseMessageOverlay(_this->u_iface); + cppIVROverlay_IVROverlay_021_CloseMessageOverlay( ¶ms ); } extern vtable_ptr winIVROverlay_IVROverlay_021_vtable; @@ -13772,644 +20113,1102 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_CloseMessageOverlay, 4) EVROverlayError __thiscall winIVROverlay_IVROverlay_022_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_022_FindOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayName = pchOverlayName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_022_CreateOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_022_DestroyOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_022_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayKey( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_022_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayName( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayName(_this->u_iface, ulOverlayHandle, pchName); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayName( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_022_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayImageData( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayRenderingPid( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_022_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayRenderingPid( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayFlags( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fCurvature = fCurvature, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayCurvature(_this->u_iface, ulOverlayHandle, fCurvature); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayCurvature( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_GetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfCurvature = pfCurvature, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayCurvature(_this->u_iface, ulOverlayHandle, pfCurvature); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayCurvature( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayTextureBounds( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_022_GetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pColor = pColor, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayRenderModel( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayRenderModel(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchRenderModel = pchRenderModel, + .pColor = pColor, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayRenderModel(_this->u_iface, ulOverlayHandle, pchRenderModel, pColor); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayRenderModel( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayTransformType( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformCursor(struct w_steam_iface *_this, VROverlayHandle_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayTransformCursor_params params = + { + .linux_side = _this->u_iface, + .ulCursorOverlayHandle = ulCursorOverlayHandle, + .pvHotspot = pvHotspot, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayTransformCursor(_this->u_iface, ulCursorOverlayHandle, pvHotspot); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayTransformCursor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformCursor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvHotspot) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_GetOverlayTransformCursor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvHotspot = pvHotspot, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayTransformCursor(_this->u_iface, ulOverlayHandle, pvHotspot); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayTransformCursor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_022_ShowOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_022_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_022_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_022_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_022_IsOverlayVisible( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); - return _ret; + cppIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_022_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1916 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_022_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); - return _ret; + cppIVROverlay_IVROverlay_022_PollNextOverlayEvent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayMouseScale( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_022_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_022_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_022_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_022_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_022_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_022_IsHoverTargetOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t *pvCenter, float fRadius) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .pvCenter = pvCenter, + .fRadius = fRadius, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, pvCenter, fRadius); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform(struct w_steam_iface *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .pvCenter = pvCenter, + .pfRadius = pfRadius, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform(_this->u_iface, ulOverlay, eWhich, pvCenter, pfRadius); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_022_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayIntersectionMask( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fDurationSeconds = fDurationSeconds, + .fFrequency = fFrequency, + .fAmplitude = fAmplitude, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration(_this->u_iface, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); - return _ret; + cppIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayCursor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayCursor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulCursorHandle = ulCursorHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayCursor(_this->u_iface, ulOverlayHandle, ulCursorHandle); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayCursor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvCursor) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvCursor = pvCursor, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride(_this->u_iface, ulOverlayHandle, pvCursor); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride( ¶ms ); + return params._ret; } extern EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture); EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_022_ClearOverlayTexture( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_022_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unBytesPerPixel = unBytesPerPixel, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); - return _ret; + cppIVROverlay_IVROverlay_022_SetOverlayRaw( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_022_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_022_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayTexture( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); - return _ret; + cppIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); - return _ret; + cppIVROverlay_IVROverlay_022_GetOverlayTextureSize( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_022_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); - return _ret; + cppIVROverlay_IVROverlay_022_CreateDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_022_IsDashboardVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_022_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_IsDashboardVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_022_IsDashboardVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_022_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_022_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_022_IsActiveDashboardOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_022_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { + struct cppIVROverlay_IVROverlay_022_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_022_ShowDashboard(_this->u_iface, pchOverlayToShow); + cppIVROverlay_IVROverlay_022_ShowDashboard( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { - TrackedDeviceIndex_t _ret; + struct cppIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_022_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_022_ShowKeyboard( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_022_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_022_ShowKeyboardForOverlay( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_022_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_022_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_GetKeyboardText(_this->u_iface, pchText, cchText); - return _ret; + cppIVROverlay_IVROverlay_022_GetKeyboardText( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_022_HideKeyboard(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_022_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_022_HideKeyboard(_this->u_iface); + cppIVROverlay_IVROverlay_022_HideKeyboard( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { + struct cppIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { + struct cppIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay( ¶ms ); } 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; + struct cppIVROverlay_IVROverlay_022_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_022_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); - return _ret; + cppIVROverlay_IVROverlay_022_ShowMessageOverlay( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_022_CloseMessageOverlay(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_022_CloseMessageOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_022_CloseMessageOverlay(_this->u_iface); + cppIVROverlay_IVROverlay_022_CloseMessageOverlay( ¶ms ); } extern vtable_ptr winIVROverlay_IVROverlay_022_vtable; @@ -14708,612 +21507,1042 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_CloseMessageOverlay, 4) EVROverlayError __thiscall winIVROverlay_IVROverlay_024_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_024_FindOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayName = pchOverlayName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_024_CreateOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_024_DestroyOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_024_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayKey( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_024_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayName( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayName(_this->u_iface, ulOverlayHandle, pchName); - return _ret; + cppIVROverlay_IVROverlay_024_SetOverlayName( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_024_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayImageData( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); - return _ret; + cppIVROverlay_IVROverlay_024_SetOverlayRenderingPid( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_024_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayRenderingPid( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_024_SetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayFlags( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); - return _ret; + cppIVROverlay_IVROverlay_024_SetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_024_SetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_024_SetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); - return _ret; + cppIVROverlay_IVROverlay_024_SetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_024_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fCurvature = fCurvature, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayCurvature(_this->u_iface, ulOverlayHandle, fCurvature); - return _ret; + cppIVROverlay_IVROverlay_024_SetOverlayCurvature( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_GetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfCurvature = pfCurvature, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayCurvature(_this->u_iface, ulOverlayHandle, pfCurvature); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayCurvature( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_024_SetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayTransformType( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); - return _ret; + cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformCursor(struct w_steam_iface *_this, VROverlayHandle_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetOverlayTransformCursor_params params = + { + .linux_side = _this->u_iface, + .ulCursorOverlayHandle = ulCursorOverlayHandle, + .pvHotspot = pvHotspot, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayTransformCursor(_this->u_iface, ulCursorOverlayHandle, pvHotspot); - return _ret; + cppIVROverlay_IVROverlay_024_SetOverlayTransformCursor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformCursor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvHotspot) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_GetOverlayTransformCursor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvHotspot = pvHotspot, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayTransformCursor(_this->u_iface, ulOverlayHandle, pvHotspot); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayTransformCursor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_024_ShowOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_024_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_024_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_024_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_024_IsOverlayVisible( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); - return _ret; + cppIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_024_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_11415 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_024_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); - return _ret; + cppIVROverlay_IVROverlay_024_PollNextOverlayEvent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_024_SetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayMouseScale( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_024_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_024_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_024_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_024_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_024_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_024_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_024_IsHoverTargetOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_024_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); - return _ret; + cppIVROverlay_IVROverlay_024_SetOverlayIntersectionMask( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fDurationSeconds = fDurationSeconds, + .fFrequency = fFrequency, + .fAmplitude = fAmplitude, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration(_this->u_iface, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); - return _ret; + cppIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayCursor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetOverlayCursor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulCursorHandle = ulCursorHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayCursor(_this->u_iface, ulOverlayHandle, ulCursorHandle); - return _ret; + cppIVROverlay_IVROverlay_024_SetOverlayCursor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvCursor) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvCursor = pvCursor, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride(_this->u_iface, ulOverlayHandle, pvCursor); - return _ret; + cppIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride( ¶ms ); + return params._ret; } extern EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture); EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_024_ClearOverlayTexture( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_024_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unBytesPerPixel = unBytesPerPixel, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); - return _ret; + cppIVROverlay_IVROverlay_024_SetOverlayRaw( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_024_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_024_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayTexture( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); - return _ret; + cppIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); - return _ret; + cppIVROverlay_IVROverlay_024_GetOverlayTextureSize( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_024_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); - return _ret; + cppIVROverlay_IVROverlay_024_CreateDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_024_IsDashboardVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_024_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_IsDashboardVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_024_IsDashboardVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_024_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_024_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_024_IsActiveDashboardOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_024_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { + struct cppIVROverlay_IVROverlay_024_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_024_ShowDashboard(_this->u_iface, pchOverlayToShow); + cppIVROverlay_IVROverlay_024_ShowDashboard( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { - TrackedDeviceIndex_t _ret; + struct cppIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_024_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .unFlags = unFlags, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_024_ShowKeyboard( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_024_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .unFlags = unFlags, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_024_ShowKeyboardForOverlay( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_024_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_024_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_GetKeyboardText(_this->u_iface, pchText, cchText); - return _ret; + cppIVROverlay_IVROverlay_024_GetKeyboardText( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_024_HideKeyboard(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_024_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_024_HideKeyboard(_this->u_iface); + cppIVROverlay_IVROverlay_024_HideKeyboard( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { + struct cppIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { + struct cppIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay( ¶ms ); } 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; + struct cppIVROverlay_IVROverlay_024_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_024_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); - return _ret; + cppIVROverlay_IVROverlay_024_ShowMessageOverlay( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_024_CloseMessageOverlay(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_024_CloseMessageOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_024_CloseMessageOverlay(_this->u_iface); + cppIVROverlay_IVROverlay_024_CloseMessageOverlay( ¶ms ); } extern vtable_ptr winIVROverlay_IVROverlay_024_vtable; @@ -15605,620 +22834,1058 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_CloseMessageOverlay, 4) EVROverlayError __thiscall winIVROverlay_IVROverlay_025_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_025_FindOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayName = pchOverlayName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_025_CreateOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_025_DestroyOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_025_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayKey( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_025_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayName( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayName(_this->u_iface, ulOverlayHandle, pchName); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlayName( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_025_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayImageData( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlayRenderingPid( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_025_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayRenderingPid( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayFlags( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fCurvature = fCurvature, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayCurvature(_this->u_iface, ulOverlayHandle, fCurvature); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlayCurvature( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_GetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfCurvature = pfCurvature, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayCurvature(_this->u_iface, ulOverlayHandle, pfCurvature); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayCurvature( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayTransformType( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformCursor(struct w_steam_iface *_this, VROverlayHandle_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetOverlayTransformCursor_params params = + { + .linux_side = _this->u_iface, + .ulCursorOverlayHandle = ulCursorOverlayHandle, + .pvHotspot = pvHotspot, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayTransformCursor(_this->u_iface, ulCursorOverlayHandle, pvHotspot); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlayTransformCursor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformCursor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvHotspot) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_GetOverlayTransformCursor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvHotspot = pvHotspot, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayTransformCursor(_this->u_iface, ulOverlayHandle, pvHotspot); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayTransformCursor( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_025_SetOverlayTransformProjection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + .pProjection = pProjection, + .eEye = eEye, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayTransformProjection(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform, pProjection, eEye); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlayTransformProjection( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_025_ShowOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_025_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_025_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_025_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_025_IsOverlayVisible( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); - return _ret; + cppIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_025_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1168 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_025_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); - return _ret; + cppIVROverlay_IVROverlay_025_PollNextOverlayEvent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayMouseScale( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_025_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_025_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_025_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_025_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_025_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_025_IsHoverTargetOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_025_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlayIntersectionMask( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fDurationSeconds = fDurationSeconds, + .fFrequency = fFrequency, + .fAmplitude = fAmplitude, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration(_this->u_iface, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); - return _ret; + cppIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayCursor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetOverlayCursor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulCursorHandle = ulCursorHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayCursor(_this->u_iface, ulOverlayHandle, ulCursorHandle); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlayCursor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvCursor) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvCursor = pvCursor, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride(_this->u_iface, ulOverlayHandle, pvCursor); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride( ¶ms ); + return params._ret; } extern EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture); EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_025_ClearOverlayTexture( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_025_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unBytesPerPixel = unBytesPerPixel, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); - return _ret; + cppIVROverlay_IVROverlay_025_SetOverlayRaw( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_025_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_025_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayTexture( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); - return _ret; + cppIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); - return _ret; + cppIVROverlay_IVROverlay_025_GetOverlayTextureSize( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_025_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); - return _ret; + cppIVROverlay_IVROverlay_025_CreateDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_025_IsDashboardVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_025_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_IsDashboardVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_025_IsDashboardVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_025_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_025_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_025_IsActiveDashboardOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_025_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { + struct cppIVROverlay_IVROverlay_025_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_025_ShowDashboard(_this->u_iface, pchOverlayToShow); + cppIVROverlay_IVROverlay_025_ShowDashboard( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { - TrackedDeviceIndex_t _ret; + struct cppIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_025_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .unFlags = unFlags, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_025_ShowKeyboard( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_025_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .unFlags = unFlags, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_025_ShowKeyboardForOverlay( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_025_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_025_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_GetKeyboardText(_this->u_iface, pchText, cchText); - return _ret; + cppIVROverlay_IVROverlay_025_GetKeyboardText( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_025_HideKeyboard(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_025_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_025_HideKeyboard(_this->u_iface); + cppIVROverlay_IVROverlay_025_HideKeyboard( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { + struct cppIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { + struct cppIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay( ¶ms ); } 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; + struct cppIVROverlay_IVROverlay_025_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_025_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); - return _ret; + cppIVROverlay_IVROverlay_025_ShowMessageOverlay( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_025_CloseMessageOverlay(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_025_CloseMessageOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_025_CloseMessageOverlay(_this->u_iface); + cppIVROverlay_IVROverlay_025_CloseMessageOverlay( ¶ms ); } extern vtable_ptr winIVROverlay_IVROverlay_025_vtable; @@ -16515,644 +24182,1096 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_CloseMessageOverlay, 4) EVROverlayError __thiscall winIVROverlay_IVROverlay_026_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_026_FindOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayName = pchOverlayName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_026_CreateOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_026_DestroyOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_026_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayKey( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_026_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayName( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayName(_this->u_iface, ulOverlayHandle, pchName); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayName( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_026_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayImageData( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayRenderingPid( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_026_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayRenderingPid( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayFlags( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fCurvature = fCurvature, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayCurvature(_this->u_iface, ulOverlayHandle, fCurvature); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayCurvature( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_GetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfCurvature = pfCurvature, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayCurvature(_this->u_iface, ulOverlayHandle, pfCurvature); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayCurvature( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRadians) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRadians = fRadians, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch(_this->u_iface, ulOverlayHandle, fRadians); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRadians) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRadians = pfRadians, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch(_this->u_iface, ulOverlayHandle, pfRadians); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayTransformType( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative(_this->u_iface, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformCursor(struct w_steam_iface *_this, VROverlayHandle_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlayTransformCursor_params params = + { + .linux_side = _this->u_iface, + .ulCursorOverlayHandle = ulCursorOverlayHandle, + .pvHotspot = pvHotspot, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayTransformCursor(_this->u_iface, ulCursorOverlayHandle, pvHotspot); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayTransformCursor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformCursor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvHotspot) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_GetOverlayTransformCursor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvHotspot = pvHotspot, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayTransformCursor(_this->u_iface, ulOverlayHandle, pvHotspot); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayTransformCursor( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_026_SetOverlayTransformProjection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + .pProjection = pProjection, + .eEye = eEye, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayTransformProjection(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform, pProjection, eEye); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayTransformProjection( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_026_ShowOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_026_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_026_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_026_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_026_IsOverlayVisible( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); - return _ret; + cppIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_WaitFrameSync(struct w_steam_iface *_this, uint32_t nTimeoutMs) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_WaitFrameSync_params params = + { + .linux_side = _this->u_iface, + .nTimeoutMs = nTimeoutMs, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_WaitFrameSync(_this->u_iface, nTimeoutMs); - return _ret; + cppIVROverlay_IVROverlay_026_WaitFrameSync( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_026_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1237 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_026_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); - return _ret; + cppIVROverlay_IVROverlay_026_PollNextOverlayEvent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayMouseScale( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_026_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_026_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_026_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_026_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_026_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_026_IsHoverTargetOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_026_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayIntersectionMask( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fDurationSeconds = fDurationSeconds, + .fFrequency = fFrequency, + .fAmplitude = fAmplitude, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration(_this->u_iface, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); - return _ret; + cppIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayCursor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlayCursor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulCursorHandle = ulCursorHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayCursor(_this->u_iface, ulOverlayHandle, ulCursorHandle); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayCursor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvCursor) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvCursor = pvCursor, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride(_this->u_iface, ulOverlayHandle, pvCursor); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride( ¶ms ); + return params._ret; } extern EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture); EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_026_ClearOverlayTexture( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_026_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unBytesPerPixel = unBytesPerPixel, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); - return _ret; + cppIVROverlay_IVROverlay_026_SetOverlayRaw( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_026_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_026_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayTexture( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); - return _ret; + cppIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); - return _ret; + cppIVROverlay_IVROverlay_026_GetOverlayTextureSize( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_026_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); - return _ret; + cppIVROverlay_IVROverlay_026_CreateDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_026_IsDashboardVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_026_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_IsDashboardVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_026_IsDashboardVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_026_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_026_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_026_IsActiveDashboardOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_026_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { + struct cppIVROverlay_IVROverlay_026_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_026_ShowDashboard(_this->u_iface, pchOverlayToShow); + cppIVROverlay_IVROverlay_026_ShowDashboard( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { - TrackedDeviceIndex_t _ret; + struct cppIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_026_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .unFlags = unFlags, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_026_ShowKeyboard( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_026_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .unFlags = unFlags, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_026_ShowKeyboardForOverlay( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_026_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_026_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_GetKeyboardText(_this->u_iface, pchText, cchText); - return _ret; + cppIVROverlay_IVROverlay_026_GetKeyboardText( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_026_HideKeyboard(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_026_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_026_HideKeyboard(_this->u_iface); + cppIVROverlay_IVROverlay_026_HideKeyboard( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { + struct cppIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { + struct cppIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay( ¶ms ); } 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; + struct cppIVROverlay_IVROverlay_026_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_026_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); - return _ret; + cppIVROverlay_IVROverlay_026_ShowMessageOverlay( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_026_CloseMessageOverlay(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_026_CloseMessageOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_026_CloseMessageOverlay(_this->u_iface); + cppIVROverlay_IVROverlay_026_CloseMessageOverlay( ¶ms ); } extern vtable_ptr winIVROverlay_IVROverlay_026_vtable; @@ -17453,628 +25572,1068 @@ DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_CloseMessageOverlay, 4) EVROverlayError __thiscall winIVROverlay_IVROverlay_027_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_FindOverlay(_this->u_iface, pchOverlayKey, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_027_FindOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayName = pchOverlayName, + .pOverlayHandle = pOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_CreateOverlay(_this->u_iface, pchOverlayKey, pchOverlayName, pOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_027_CreateOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_DestroyOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_DestroyOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_027_DestroyOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_027_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayKey(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayKey( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_027_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayName(_this->u_iface, ulOverlayHandle, pchValue, unBufferSize, pError); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayName( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayName(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchName = pchName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayName(_this->u_iface, ulOverlayHandle, pchName); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlayName( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_027_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayImageData(_this->u_iface, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayImageData( ¶ms ); + return params._ret; } const char * __thiscall winIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, EVROverlayError error) { - const char * _ret; + struct cppIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayRenderingPid(_this->u_iface, ulOverlayHandle, unPID); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlayRenderingPid( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayRenderingPid(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_027_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayRenderingPid(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayRenderingPid( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, bEnabled); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayFlag(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayFlag(_this->u_iface, ulOverlayHandle, eOverlayFlag, pbEnabled); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayFlag( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayFlags(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayFlags(_this->u_iface, ulOverlayHandle, pFlags); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayFlags( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayColor(_this->u_iface, ulOverlayHandle, fRed, fGreen, fBlue); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayColor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayColor(_this->u_iface, ulOverlayHandle, pfRed, pfGreen, pfBlue); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayColor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayAlpha(_this->u_iface, ulOverlayHandle, fAlpha); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayAlpha(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfAlpha) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayAlpha(_this->u_iface, ulOverlayHandle, pfAlpha); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayAlpha( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, fTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTexelAspect(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayTexelAspect(_this->u_iface, ulOverlayHandle, pfTexelAspect); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayTexelAspect( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlaySortOrder(_this->u_iface, ulOverlayHandle, unSortOrder); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlaySortOrder(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlaySortOrder(_this->u_iface, ulOverlayHandle, punSortOrder); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlaySortOrder( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, fWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayWidthInMeters(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayWidthInMeters(_this->u_iface, ulOverlayHandle, pfWidthInMeters); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayWidthInMeters( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fCurvature = fCurvature, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayCurvature(_this->u_iface, ulOverlayHandle, fCurvature); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlayCurvature( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayCurvature(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfCurvature) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_GetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfCurvature = pfCurvature, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayCurvature(_this->u_iface, ulOverlayHandle, pfCurvature); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayCurvature( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fRadians) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRadians = fRadians, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch(_this->u_iface, ulOverlayHandle, fRadians); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float *pfRadians) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRadians = pfRadians, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch(_this->u_iface, ulOverlayHandle, pfRadians); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, eTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace(_this->u_iface, ulOverlayHandle, peTextureColorSpace); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTextureBounds(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayTextureBounds(_this->u_iface, ulOverlayHandle, pOverlayTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayTextureBounds( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformType(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayTransformType(_this->u_iface, ulOverlayHandle, peTransformType); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayTransformType( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute(_this->u_iface, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative(_this->u_iface, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, unDeviceIndex, pchComponentName); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent(_this->u_iface, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformCursor(struct w_steam_iface *_this, VROverlayHandle_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetOverlayTransformCursor_params params = + { + .linux_side = _this->u_iface, + .ulCursorOverlayHandle = ulCursorOverlayHandle, + .pvHotspot = pvHotspot, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayTransformCursor(_this->u_iface, ulCursorOverlayHandle, pvHotspot); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlayTransformCursor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformCursor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvHotspot) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_GetOverlayTransformCursor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvHotspot = pvHotspot, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayTransformCursor(_this->u_iface, ulOverlayHandle, pvHotspot); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayTransformCursor( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_027_SetOverlayTransformProjection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + .pProjection = pProjection, + .eEye = eEye, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayTransformProjection(_this->u_iface, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform, pProjection, eEye); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlayTransformProjection( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ShowOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_ShowOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_027_ShowOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_HideOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_HideOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_027_HideOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_027_IsOverlayVisible(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_027_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_IsOverlayVisible(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_027_IsOverlayVisible( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates(_this->u_iface, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); - return _ret; + cppIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_WaitFrameSync(struct w_steam_iface *_this, uint32_t nTimeoutMs) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_WaitFrameSync_params params = + { + .linux_side = _this->u_iface, + .nTimeoutMs = nTimeoutMs, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_WaitFrameSync(_this->u_iface, nTimeoutMs); - return _ret; + cppIVROverlay_IVROverlay_027_WaitFrameSync( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_027_PollNextOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1267 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVROverlay_IVROverlay_027_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_PollNextOverlayEvent(_this->u_iface, ulOverlayHandle, pEvent, uncbVREvent); - return _ret; + cppIVROverlay_IVROverlay_027_PollNextOverlayEvent( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayInputMethod(_this->u_iface, ulOverlayHandle, peInputMethod); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayInputMethod(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayInputMethod(_this->u_iface, ulOverlayHandle, eInputMethod); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlayInputMethod( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayMouseScale( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayMouseScale(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayMouseScale(_this->u_iface, ulOverlayHandle, pvecMouseScale); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlayMouseScale( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_027_ComputeOverlayIntersection(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) { - bool _ret; + struct cppIVROverlay_IVROverlay_027_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_ComputeOverlayIntersection(_this->u_iface, ulOverlayHandle, pParams, pResults); - return _ret; + cppIVROverlay_IVROverlay_027_ComputeOverlayIntersection( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_027_IsHoverTargetOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_027_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_IsHoverTargetOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_027_IsHoverTargetOverlay( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_027_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayIntersectionMask(_this->u_iface, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlayIntersectionMask( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fDurationSeconds = fDurationSeconds, + .fFrequency = fFrequency, + .fAmplitude = fAmplitude, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration(_this->u_iface, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); - return _ret; + cppIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayCursor(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetOverlayCursor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulCursorHandle = ulCursorHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayCursor(_this->u_iface, ulOverlayHandle, ulCursorHandle); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlayCursor( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvCursor) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvCursor = pvCursor, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride(_this->u_iface, ulOverlayHandle, pvCursor); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride( ¶ms ); + return params._ret; } extern EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture); EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ClearOverlayTexture(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_ClearOverlayTexture(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_027_ClearOverlayTexture( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_027_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unBytesPerPixel = unBytesPerPixel, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayRaw(_this->u_iface, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); - return _ret; + cppIVROverlay_IVROverlay_027_SetOverlayRaw( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayFromFile(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const char *pchFilePath) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; const char *u_pchFilePath = vrclient_dos_to_unix_path( pchFilePath ); TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetOverlayFromFile(_this->u_iface, ulOverlayHandle, u_pchFilePath); + cppIVROverlay_IVROverlay_027_SetOverlayFromFile( ¶ms ); vrclient_free_path( u_pchFilePath ); - return _ret; + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_027_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayTexture(_this->u_iface, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayTexture( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle(_this->u_iface, ulOverlayHandle, pNativeTextureHandle); - return _ret; + cppIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTextureSize(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetOverlayTextureSize(_this->u_iface, ulOverlayHandle, pWidth, pHeight); - return _ret; + cppIVROverlay_IVROverlay_027_GetOverlayTextureSize( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_027_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_CreateDashboardOverlay(_this->u_iface, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); - return _ret; + cppIVROverlay_IVROverlay_027_CreateDashboardOverlay( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_027_IsDashboardVisible(struct w_steam_iface *_this) { - bool _ret; + struct cppIVROverlay_IVROverlay_027_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_IsDashboardVisible(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_027_IsDashboardVisible( ¶ms ); + return params._ret; } bool __thiscall winIVROverlay_IVROverlay_027_IsActiveDashboardOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlay_IVROverlay_027_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_IsActiveDashboardOverlay(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlay_IVROverlay_027_IsActiveDashboardOverlay( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, unProcessId); - return _ret; + cppIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId) { - EVROverlayError _ret; + struct cppIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess(_this->u_iface, ulOverlayHandle, punProcessId); - return _ret; + cppIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_027_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) { + struct cppIVROverlay_IVROverlay_027_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_027_ShowDashboard(_this->u_iface, pchOverlayToShow); + cppIVROverlay_IVROverlay_027_ShowDashboard( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice(struct w_steam_iface *_this) { - TrackedDeviceIndex_t _ret; + struct cppIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice(_this->u_iface); - return _ret; + cppIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_027_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .unFlags = unFlags, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_ShowKeyboard(_this->u_iface, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_027_ShowKeyboard( ¶ms ); + return params._ret; } 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; + struct cppIVROverlay_IVROverlay_027_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .unFlags = unFlags, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .uUserValue = uUserValue, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_ShowKeyboardForOverlay(_this->u_iface, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); - return _ret; + cppIVROverlay_IVROverlay_027_ShowKeyboardForOverlay( ¶ms ); + return params._ret; } uint32_t __thiscall winIVROverlay_IVROverlay_027_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { - uint32_t _ret; + struct cppIVROverlay_IVROverlay_027_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_GetKeyboardText(_this->u_iface, pchText, cchText); - return _ret; + cppIVROverlay_IVROverlay_027_GetKeyboardText( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_027_HideKeyboard(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_027_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_027_HideKeyboard(_this->u_iface); + cppIVROverlay_IVROverlay_027_HideKeyboard( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) { + struct cppIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute(_this->u_iface, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute( ¶ms ); } void __thiscall winIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { + struct cppIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay(_this->u_iface, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay( ¶ms ); } 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; + struct cppIVROverlay_IVROverlay_027_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; TRACE("%p\n", _this); - _ret = cppIVROverlay_IVROverlay_027_ShowMessageOverlay(_this->u_iface, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); - return _ret; + cppIVROverlay_IVROverlay_027_ShowMessageOverlay( ¶ms ); + return params._ret; } void __thiscall winIVROverlay_IVROverlay_027_CloseMessageOverlay(struct w_steam_iface *_this) { + struct cppIVROverlay_IVROverlay_027_CloseMessageOverlay_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_027_CloseMessageOverlay(_this->u_iface); + cppIVROverlay_IVROverlay_027_CloseMessageOverlay( ¶ms ); } extern vtable_ptr winIVROverlay_IVROverlay_027_vtable; diff --git a/vrclient_x64/vrclient_x64/winIVROverlayView.c b/vrclient_x64/vrclient_x64/winIVROverlayView.c index c92a4ea7..071788ed 100644 --- a/vrclient_x64/vrclient_x64/winIVROverlayView.c +++ b/vrclient_x64/vrclient_x64/winIVROverlayView.c @@ -25,32 +25,53 @@ DEFINE_THISCALL_WRAPPER(winIVROverlayView_IVROverlayView_003_IsViewingPermitted, 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; + struct cppIVROverlayView_IVROverlayView_003_AcquireOverlayView_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeDevice = pNativeDevice, + .pOverlayView = pOverlayView, + .unOverlayViewSize = unOverlayViewSize, + }; TRACE("%p\n", _this); - _ret = cppIVROverlayView_IVROverlayView_003_AcquireOverlayView(_this->u_iface, ulOverlayHandle, pNativeDevice, pOverlayView, unOverlayViewSize); - return _ret; + cppIVROverlayView_IVROverlayView_003_AcquireOverlayView( ¶ms ); + return params._ret; } EVROverlayError __thiscall winIVROverlayView_IVROverlayView_003_ReleaseOverlayView(struct w_steam_iface *_this, VROverlayView_t *pOverlayView) { - EVROverlayError _ret; + struct cppIVROverlayView_IVROverlayView_003_ReleaseOverlayView_params params = + { + .linux_side = _this->u_iface, + .pOverlayView = pOverlayView, + }; TRACE("%p\n", _this); - _ret = cppIVROverlayView_IVROverlayView_003_ReleaseOverlayView(_this->u_iface, pOverlayView); - return _ret; + cppIVROverlayView_IVROverlayView_003_ReleaseOverlayView( ¶ms ); + return params._ret; } void __thiscall winIVROverlayView_IVROverlayView_003_PostOverlayEvent(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle, const VREvent_t *pvrEvent) { + struct cppIVROverlayView_IVROverlayView_003_PostOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvrEvent = pvrEvent, + }; TRACE("%p\n", _this); - cppIVROverlayView_IVROverlayView_003_PostOverlayEvent(_this->u_iface, ulOverlayHandle, pvrEvent); + cppIVROverlayView_IVROverlayView_003_PostOverlayEvent( ¶ms ); } bool __thiscall winIVROverlayView_IVROverlayView_003_IsViewingPermitted(struct w_steam_iface *_this, VROverlayHandle_t ulOverlayHandle) { - bool _ret; + struct cppIVROverlayView_IVROverlayView_003_IsViewingPermitted_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; TRACE("%p\n", _this); - _ret = cppIVROverlayView_IVROverlayView_003_IsViewingPermitted(_this->u_iface, ulOverlayHandle); - return _ret; + cppIVROverlayView_IVROverlayView_003_IsViewingPermitted( ¶ms ); + return params._ret; } extern vtable_ptr winIVROverlayView_IVROverlayView_003_vtable; diff --git a/vrclient_x64/vrclient_x64/winIVRRenderModels.c b/vrclient_x64/vrclient_x64/winIVRRenderModels.c index 34f64a40..de32ad55 100644 --- a/vrclient_x64/vrclient_x64/winIVRRenderModels.c +++ b/vrclient_x64/vrclient_x64/winIVRRenderModels.c @@ -25,32 +25,51 @@ DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_GetRenderModelCou bool __thiscall winIVRRenderModels_IVRRenderModels_001_LoadRenderModel(struct w_steam_iface *_this, const char *pchRenderModelName, winRenderModel_t_0910 *pRenderModel) { - bool _ret; + struct cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pRenderModel = pRenderModel, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel(_this->u_iface, pchRenderModelName, pRenderModel); - return _ret; + cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel( ¶ms ); + return params._ret; } void __thiscall winIVRRenderModels_IVRRenderModels_001_FreeRenderModel(struct w_steam_iface *_this, winRenderModel_t_0910 *pRenderModel) { + struct cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel_params params = + { + .linux_side = _this->u_iface, + .pRenderModel = pRenderModel, + }; TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel(_this->u_iface, pRenderModel); + cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel( ¶ms ); } uint32_t __thiscall winIVRRenderModels_IVRRenderModels_001_GetRenderModelName(struct w_steam_iface *_this, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) { - uint32_t _ret; + struct cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName_params params = + { + .linux_side = _this->u_iface, + .unRenderModelIndex = unRenderModelIndex, + .pchRenderModelName = pchRenderModelName, + .unRenderModelNameLen = unRenderModelNameLen, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName(_this->u_iface, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); - return _ret; + cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount(_this->u_iface); - return _ret; + cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount( ¶ms ); + return params._ret; } extern vtable_ptr winIVRRenderModels_IVRRenderModels_001_vtable; @@ -127,94 +146,158 @@ DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_RenderModelHasCom bool __thiscall winIVRRenderModels_IVRRenderModels_002_LoadRenderModel(struct w_steam_iface *_this, const char *pchRenderModelName, winRenderModel_t_0915 **ppRenderModel) { - bool _ret; + struct cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .ppRenderModel = ppRenderModel, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel(_this->u_iface, pchRenderModelName, ppRenderModel); - return _ret; + cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel( ¶ms ); + return params._ret; } void __thiscall winIVRRenderModels_IVRRenderModels_002_FreeRenderModel(struct w_steam_iface *_this, winRenderModel_t_0915 *pRenderModel) { + struct cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel_params params = + { + .linux_side = _this->u_iface, + .pRenderModel = pRenderModel, + }; TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel(_this->u_iface, pRenderModel); + cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel( ¶ms ); } bool __thiscall winIVRRenderModels_IVRRenderModels_002_LoadTexture(struct w_steam_iface *_this, TextureID_t textureId, winRenderModel_TextureMap_t_0915 **ppTexture) { - bool _ret; + struct cppIVRRenderModels_IVRRenderModels_002_LoadTexture_params params = + { + .linux_side = _this->u_iface, + .textureId = textureId, + .ppTexture = ppTexture, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_002_LoadTexture(_this->u_iface, textureId, ppTexture); - return _ret; + cppIVRRenderModels_IVRRenderModels_002_LoadTexture( ¶ms ); + return params._ret; } void __thiscall winIVRRenderModels_IVRRenderModels_002_FreeTexture(struct w_steam_iface *_this, winRenderModel_TextureMap_t_0915 *pTexture) { + struct cppIVRRenderModels_IVRRenderModels_002_FreeTexture_params params = + { + .linux_side = _this->u_iface, + .pTexture = pTexture, + }; TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_002_FreeTexture(_this->u_iface, pTexture); + cppIVRRenderModels_IVRRenderModels_002_FreeTexture( ¶ms ); } uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetRenderModelName(struct w_steam_iface *_this, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) { - uint32_t _ret; + struct cppIVRRenderModels_IVRRenderModels_002_GetRenderModelName_params params = + { + .linux_side = _this->u_iface, + .unRenderModelIndex = unRenderModelIndex, + .pchRenderModelName = pchRenderModelName, + .unRenderModelNameLen = unRenderModelNameLen, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_002_GetRenderModelName(_this->u_iface, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); - return _ret; + cppIVRRenderModels_IVRRenderModels_002_GetRenderModelName( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetRenderModelCount(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRRenderModels_IVRRenderModels_002_GetRenderModelCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_002_GetRenderModelCount(_this->u_iface); - return _ret; + cppIVRRenderModels_IVRRenderModels_002_GetRenderModelCount( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentCount(struct w_steam_iface *_this, const char *pchRenderModelName) { - uint32_t _ret; + struct cppIVRRenderModels_IVRRenderModels_002_GetComponentCount_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_002_GetComponentCount(_this->u_iface, pchRenderModelName); - return _ret; + cppIVRRenderModels_IVRRenderModels_002_GetComponentCount( ¶ms ); + return params._ret; } 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; + struct cppIVRRenderModels_IVRRenderModels_002_GetComponentName_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .unComponentIndex = unComponentIndex, + .pchComponentName = pchComponentName, + .unComponentNameLen = unComponentNameLen, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_002_GetComponentName(_this->u_iface, pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); - return _ret; + cppIVRRenderModels_IVRRenderModels_002_GetComponentName( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) { - uint64_t _ret; + struct cppIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask(_this->u_iface, pchRenderModelName, pchComponentName); - return _ret; + cppIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask( ¶ms ); + return params._ret; } 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; + struct cppIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + .pchComponentRenderModelName = pchComponentRenderModelName, + .unComponentRenderModelNameLen = unComponentRenderModelNameLen, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName(_this->u_iface, pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); - return _ret; + cppIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName( ¶ms ); + return params._ret; } 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; + struct cppIVRRenderModels_IVRRenderModels_002_GetComponentState_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + .pControllerState = pControllerState, + .pComponentState = pComponentState, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_002_GetComponentState(_this->u_iface, pchRenderModelName, pchComponentName, pControllerState, pComponentState); - return _ret; + cppIVRRenderModels_IVRRenderModels_002_GetComponentState( ¶ms ); + return params._ret; } bool __thiscall winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) { - bool _ret; + struct cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent(_this->u_iface, pchRenderModelName, pchComponentName); - return _ret; + cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent( ¶ms ); + return params._ret; } extern vtable_ptr winIVRRenderModels_IVRRenderModels_002_vtable; @@ -309,30 +392,50 @@ DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_RenderModelHasCom EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async(struct w_steam_iface *_this, const char *pchRenderModelName, winRenderModel_t_0918 **ppRenderModel) { - EVRRenderModelError _ret; + struct cppIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .ppRenderModel = ppRenderModel, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async(_this->u_iface, pchRenderModelName, ppRenderModel); - return _ret; + cppIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async( ¶ms ); + return params._ret; } void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeRenderModel(struct w_steam_iface *_this, winRenderModel_t_0918 *pRenderModel) { + struct cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel_params params = + { + .linux_side = _this->u_iface, + .pRenderModel = pRenderModel, + }; TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel(_this->u_iface, pRenderModel); + cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel( ¶ms ); } EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async(struct w_steam_iface *_this, TextureID_t textureId, winRenderModel_TextureMap_t_0918 **ppTexture) { - EVRRenderModelError _ret; + struct cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async_params params = + { + .linux_side = _this->u_iface, + .textureId = textureId, + .ppTexture = ppTexture, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async(_this->u_iface, textureId, ppTexture); - return _ret; + cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async( ¶ms ); + return params._ret; } void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeTexture(struct w_steam_iface *_this, winRenderModel_TextureMap_t_0918 *pTexture) { + struct cppIVRRenderModels_IVRRenderModels_004_FreeTexture_params params = + { + .linux_side = _this->u_iface, + .pTexture = pTexture, + }; TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_004_FreeTexture(_this->u_iface, pTexture); + cppIVRRenderModels_IVRRenderModels_004_FreeTexture( ¶ms ); } extern EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async(struct w_steam_iface *_this, TextureID_t textureId, void *pD3D11Device, void **ppD3D11Texture2D); @@ -341,66 +444,111 @@ extern void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11(s uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetRenderModelName(struct w_steam_iface *_this, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) { - uint32_t _ret; + struct cppIVRRenderModels_IVRRenderModels_004_GetRenderModelName_params params = + { + .linux_side = _this->u_iface, + .unRenderModelIndex = unRenderModelIndex, + .pchRenderModelName = pchRenderModelName, + .unRenderModelNameLen = unRenderModelNameLen, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_004_GetRenderModelName(_this->u_iface, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); - return _ret; + cppIVRRenderModels_IVRRenderModels_004_GetRenderModelName( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetRenderModelCount(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRRenderModels_IVRRenderModels_004_GetRenderModelCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_004_GetRenderModelCount(_this->u_iface); - return _ret; + cppIVRRenderModels_IVRRenderModels_004_GetRenderModelCount( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentCount(struct w_steam_iface *_this, const char *pchRenderModelName) { - uint32_t _ret; + struct cppIVRRenderModels_IVRRenderModels_004_GetComponentCount_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_004_GetComponentCount(_this->u_iface, pchRenderModelName); - return _ret; + cppIVRRenderModels_IVRRenderModels_004_GetComponentCount( ¶ms ); + return params._ret; } 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; + struct cppIVRRenderModels_IVRRenderModels_004_GetComponentName_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .unComponentIndex = unComponentIndex, + .pchComponentName = pchComponentName, + .unComponentNameLen = unComponentNameLen, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_004_GetComponentName(_this->u_iface, pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); - return _ret; + cppIVRRenderModels_IVRRenderModels_004_GetComponentName( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) { - uint64_t _ret; + struct cppIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask(_this->u_iface, pchRenderModelName, pchComponentName); - return _ret; + cppIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask( ¶ms ); + return params._ret; } 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; + struct cppIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + .pchComponentRenderModelName = pchComponentRenderModelName, + .unComponentRenderModelNameLen = unComponentRenderModelNameLen, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName(_this->u_iface, pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); - return _ret; + cppIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName( ¶ms ); + return params._ret; } 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; + struct cppIVRRenderModels_IVRRenderModels_004_GetComponentState_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + .pControllerState = pControllerState, + .pState = pState, + .pComponentState = pComponentState, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_004_GetComponentState(_this->u_iface, pchRenderModelName, pchComponentName, pControllerState, pState, pComponentState); - return _ret; + cppIVRRenderModels_IVRRenderModels_004_GetComponentState( ¶ms ); + return params._ret; } bool __thiscall winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) { - bool _ret; + struct cppIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent(_this->u_iface, pchRenderModelName, pchComponentName); - return _ret; + cppIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent( ¶ms ); + return params._ret; } extern vtable_ptr winIVRRenderModels_IVRRenderModels_004_vtable; @@ -503,30 +651,50 @@ DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelErr EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async(struct w_steam_iface *_this, const char *pchRenderModelName, winRenderModel_t_1015 **ppRenderModel) { - EVRRenderModelError _ret; + struct cppIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .ppRenderModel = ppRenderModel, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async(_this->u_iface, pchRenderModelName, ppRenderModel); - return _ret; + cppIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async( ¶ms ); + return params._ret; } void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeRenderModel(struct w_steam_iface *_this, winRenderModel_t_1015 *pRenderModel) { + struct cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel_params params = + { + .linux_side = _this->u_iface, + .pRenderModel = pRenderModel, + }; TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel(_this->u_iface, pRenderModel); + cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel( ¶ms ); } EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async(struct w_steam_iface *_this, TextureID_t textureId, winRenderModel_TextureMap_t_1015 **ppTexture) { - EVRRenderModelError _ret; + struct cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async_params params = + { + .linux_side = _this->u_iface, + .textureId = textureId, + .ppTexture = ppTexture, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async(_this->u_iface, textureId, ppTexture); - return _ret; + cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async( ¶ms ); + return params._ret; } void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeTexture(struct w_steam_iface *_this, winRenderModel_TextureMap_t_1015 *pTexture) { + struct cppIVRRenderModels_IVRRenderModels_005_FreeTexture_params params = + { + .linux_side = _this->u_iface, + .pTexture = pTexture, + }; TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_005_FreeTexture(_this->u_iface, pTexture); + cppIVRRenderModels_IVRRenderModels_005_FreeTexture( ¶ms ); } extern EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async(struct w_steam_iface *_this, TextureID_t textureId, void *pD3D11Device, void **ppD3D11Texture2D); @@ -537,90 +705,153 @@ extern void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11(s uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelName(struct w_steam_iface *_this, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) { - uint32_t _ret; + struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelName_params params = + { + .linux_side = _this->u_iface, + .unRenderModelIndex = unRenderModelIndex, + .pchRenderModelName = pchRenderModelName, + .unRenderModelNameLen = unRenderModelNameLen, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_GetRenderModelName(_this->u_iface, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); - return _ret; + cppIVRRenderModels_IVRRenderModels_005_GetRenderModelName( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelCount(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_GetRenderModelCount(_this->u_iface); - return _ret; + cppIVRRenderModels_IVRRenderModels_005_GetRenderModelCount( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentCount(struct w_steam_iface *_this, const char *pchRenderModelName) { - uint32_t _ret; + struct cppIVRRenderModels_IVRRenderModels_005_GetComponentCount_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_GetComponentCount(_this->u_iface, pchRenderModelName); - return _ret; + cppIVRRenderModels_IVRRenderModels_005_GetComponentCount( ¶ms ); + return params._ret; } 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; + struct cppIVRRenderModels_IVRRenderModels_005_GetComponentName_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .unComponentIndex = unComponentIndex, + .pchComponentName = pchComponentName, + .unComponentNameLen = unComponentNameLen, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_GetComponentName(_this->u_iface, pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); - return _ret; + cppIVRRenderModels_IVRRenderModels_005_GetComponentName( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) { - uint64_t _ret; + struct cppIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask(_this->u_iface, pchRenderModelName, pchComponentName); - return _ret; + cppIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask( ¶ms ); + return params._ret; } 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; + struct cppIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + .pchComponentRenderModelName = pchComponentRenderModelName, + .unComponentRenderModelNameLen = unComponentRenderModelNameLen, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName(_this->u_iface, pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); - return _ret; + cppIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName( ¶ms ); + return params._ret; } 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; + struct cppIVRRenderModels_IVRRenderModels_005_GetComponentState_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + .pControllerState = pControllerState, + .pState = pState, + .pComponentState = pComponentState, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_GetComponentState(_this->u_iface, pchRenderModelName, pchComponentName, pControllerState, pState, pComponentState); - return _ret; + cppIVRRenderModels_IVRRenderModels_005_GetComponentState( ¶ms ); + return params._ret; } bool __thiscall winIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) { - bool _ret; + struct cppIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent(_this->u_iface, pchRenderModelName, pchComponentName); - return _ret; + cppIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent( ¶ms ); + return params._ret; } 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; + struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchThumbnailURL = pchThumbnailURL, + .unThumbnailURLLen = unThumbnailURLLen, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL(_this->u_iface, pchRenderModelName, pchThumbnailURL, unThumbnailURLLen, peError); - return _ret; + cppIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL( ¶ms ); + return params._ret; } 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; + struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchOriginalPath = pchOriginalPath, + .unOriginalPathLen = unOriginalPathLen, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath(_this->u_iface, pchRenderModelName, pchOriginalPath, unOriginalPathLen, peError); - return _ret; + cppIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath( ¶ms ); + return params._ret; } const char * __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum(struct w_steam_iface *_this, EVRRenderModelError error) { - const char * _ret; + struct cppIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum( ¶ms ); + return params._ret; } extern vtable_ptr winIVRRenderModels_IVRRenderModels_005_vtable; @@ -732,30 +963,50 @@ DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetRenderModelErr EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async(struct w_steam_iface *_this, const char *pchRenderModelName, winRenderModel_t_1267 **ppRenderModel) { - EVRRenderModelError _ret; + struct cppIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .ppRenderModel = ppRenderModel, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async(_this->u_iface, pchRenderModelName, ppRenderModel); - return _ret; + cppIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async( ¶ms ); + return params._ret; } void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeRenderModel(struct w_steam_iface *_this, winRenderModel_t_1267 *pRenderModel) { + struct cppIVRRenderModels_IVRRenderModels_006_FreeRenderModel_params params = + { + .linux_side = _this->u_iface, + .pRenderModel = pRenderModel, + }; TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_006_FreeRenderModel(_this->u_iface, pRenderModel); + cppIVRRenderModels_IVRRenderModels_006_FreeRenderModel( ¶ms ); } EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_006_LoadTexture_Async(struct w_steam_iface *_this, TextureID_t textureId, winRenderModel_TextureMap_t_1267 **ppTexture) { - EVRRenderModelError _ret; + struct cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async_params params = + { + .linux_side = _this->u_iface, + .textureId = textureId, + .ppTexture = ppTexture, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async(_this->u_iface, textureId, ppTexture); - return _ret; + cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async( ¶ms ); + return params._ret; } void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeTexture(struct w_steam_iface *_this, winRenderModel_TextureMap_t_1267 *pTexture) { + struct cppIVRRenderModels_IVRRenderModels_006_FreeTexture_params params = + { + .linux_side = _this->u_iface, + .pTexture = pTexture, + }; TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_006_FreeTexture(_this->u_iface, pTexture); + cppIVRRenderModels_IVRRenderModels_006_FreeTexture( ¶ms ); } extern EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async(struct w_steam_iface *_this, TextureID_t textureId, void *pD3D11Device, void **ppD3D11Texture2D); @@ -766,98 +1017,169 @@ extern void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11(s uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelName(struct w_steam_iface *_this, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) { - uint32_t _ret; + struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelName_params params = + { + .linux_side = _this->u_iface, + .unRenderModelIndex = unRenderModelIndex, + .pchRenderModelName = pchRenderModelName, + .unRenderModelNameLen = unRenderModelNameLen, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_GetRenderModelName(_this->u_iface, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); - return _ret; + cppIVRRenderModels_IVRRenderModels_006_GetRenderModelName( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelCount(struct w_steam_iface *_this) { - uint32_t _ret; + struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_GetRenderModelCount(_this->u_iface); - return _ret; + cppIVRRenderModels_IVRRenderModels_006_GetRenderModelCount( ¶ms ); + return params._ret; } uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentCount(struct w_steam_iface *_this, const char *pchRenderModelName) { - uint32_t _ret; + struct cppIVRRenderModels_IVRRenderModels_006_GetComponentCount_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_GetComponentCount(_this->u_iface, pchRenderModelName); - return _ret; + cppIVRRenderModels_IVRRenderModels_006_GetComponentCount( ¶ms ); + return params._ret; } 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; + struct cppIVRRenderModels_IVRRenderModels_006_GetComponentName_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .unComponentIndex = unComponentIndex, + .pchComponentName = pchComponentName, + .unComponentNameLen = unComponentNameLen, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_GetComponentName(_this->u_iface, pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); - return _ret; + cppIVRRenderModels_IVRRenderModels_006_GetComponentName( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) { - uint64_t _ret; + struct cppIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask(_this->u_iface, pchRenderModelName, pchComponentName); - return _ret; + cppIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask( ¶ms ); + return params._ret; } 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; + struct cppIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + .pchComponentRenderModelName = pchComponentRenderModelName, + .unComponentRenderModelNameLen = unComponentRenderModelNameLen, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName(_this->u_iface, pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); - return _ret; + cppIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName( ¶ms ); + return params._ret; } 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; + struct cppIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + .devicePath = devicePath, + .pState = pState, + .pComponentState = pComponentState, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath(_this->u_iface, pchRenderModelName, pchComponentName, devicePath, pState, pComponentState); - return _ret; + cppIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath( ¶ms ); + return params._ret; } 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; + struct cppIVRRenderModels_IVRRenderModels_006_GetComponentState_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + .pControllerState = pControllerState, + .pState = pState, + .pComponentState = pComponentState, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_GetComponentState(_this->u_iface, pchRenderModelName, pchComponentName, pControllerState, pState, pComponentState); - return _ret; + cppIVRRenderModels_IVRRenderModels_006_GetComponentState( ¶ms ); + return params._ret; } bool __thiscall winIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) { - bool _ret; + struct cppIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent(_this->u_iface, pchRenderModelName, pchComponentName); - return _ret; + cppIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent( ¶ms ); + return params._ret; } 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; + struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchThumbnailURL = pchThumbnailURL, + .unThumbnailURLLen = unThumbnailURLLen, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL(_this->u_iface, pchRenderModelName, pchThumbnailURL, unThumbnailURLLen, peError); - return _ret; + cppIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL( ¶ms ); + return params._ret; } 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; + struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchOriginalPath = pchOriginalPath, + .unOriginalPathLen = unOriginalPathLen, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath(_this->u_iface, pchRenderModelName, pchOriginalPath, unOriginalPathLen, peError); - return _ret; + cppIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath( ¶ms ); + return params._ret; } const char * __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum(struct w_steam_iface *_this, EVRRenderModelError error) { - const char * _ret; + struct cppIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum( ¶ms ); + return params._ret; } extern vtable_ptr winIVRRenderModels_IVRRenderModels_006_vtable; diff --git a/vrclient_x64/vrclient_x64/winIVRResources.c b/vrclient_x64/vrclient_x64/winIVRResources.c index 47f370a4..812ae925 100644 --- a/vrclient_x64/vrclient_x64/winIVRResources.c +++ b/vrclient_x64/vrclient_x64/winIVRResources.c @@ -23,18 +23,31 @@ DEFINE_THISCALL_WRAPPER(winIVRResources_IVRResources_001_GetResourceFullPath, 20 uint32_t __thiscall winIVRResources_IVRResources_001_LoadSharedResource(struct w_steam_iface *_this, const char *pchResourceName, char *pchBuffer, uint32_t unBufferLen) { - uint32_t _ret; + struct cppIVRResources_IVRResources_001_LoadSharedResource_params params = + { + .linux_side = _this->u_iface, + .pchResourceName = pchResourceName, + .pchBuffer = pchBuffer, + .unBufferLen = unBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRResources_IVRResources_001_LoadSharedResource(_this->u_iface, pchResourceName, pchBuffer, unBufferLen); - return _ret; + cppIVRResources_IVRResources_001_LoadSharedResource( ¶ms ); + return params._ret; } 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; + struct cppIVRResources_IVRResources_001_GetResourceFullPath_params params = + { + .linux_side = _this->u_iface, + .pchResourceName = pchResourceName, + .pchResourceTypeDirectory = pchResourceTypeDirectory, + .pchPathBuffer = pchPathBuffer, + .unBufferLen = unBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRResources_IVRResources_001_GetResourceFullPath(_this->u_iface, pchResourceName, pchResourceTypeDirectory, pchPathBuffer, unBufferLen); - return _ret; + cppIVRResources_IVRResources_001_GetResourceFullPath( ¶ms ); + return params._ret; } extern vtable_ptr winIVRResources_IVRResources_001_vtable; diff --git a/vrclient_x64/vrclient_x64/winIVRScreenshots.c b/vrclient_x64/vrclient_x64/winIVRScreenshots.c index 873678cc..92a87650 100644 --- a/vrclient_x64/vrclient_x64/winIVRScreenshots.c +++ b/vrclient_x64/vrclient_x64/winIVRScreenshots.c @@ -28,71 +28,114 @@ DEFINE_THISCALL_WRAPPER(winIVRScreenshots_IVRScreenshots_001_SubmitScreenshot, 2 EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_RequestScreenshot(struct w_steam_iface *_this, ScreenshotHandle_t *pOutScreenshotHandle, EVRScreenshotType type, const char *pchPreviewFilename, const char *pchVRFilename) { - EVRScreenshotError _ret; + struct cppIVRScreenshots_IVRScreenshots_001_RequestScreenshot_params params = + { + .linux_side = _this->u_iface, + .pOutScreenshotHandle = pOutScreenshotHandle, + .type = type, + .pchPreviewFilename = pchPreviewFilename, + .pchVRFilename = pchVRFilename, + }; const char *u_pchPreviewFilename = vrclient_dos_to_unix_path( pchPreviewFilename ); const char *u_pchVRFilename = vrclient_dos_to_unix_path( pchVRFilename ); TRACE("%p\n", _this); - _ret = cppIVRScreenshots_IVRScreenshots_001_RequestScreenshot(_this->u_iface, pOutScreenshotHandle, type, u_pchPreviewFilename, u_pchVRFilename); + cppIVRScreenshots_IVRScreenshots_001_RequestScreenshot( ¶ms ); vrclient_free_path( u_pchPreviewFilename ); vrclient_free_path( u_pchVRFilename ); - return _ret; + return params._ret; } EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_HookScreenshot(struct w_steam_iface *_this, const EVRScreenshotType *pSupportedTypes, int numTypes) { - EVRScreenshotError _ret; + struct cppIVRScreenshots_IVRScreenshots_001_HookScreenshot_params params = + { + .linux_side = _this->u_iface, + .pSupportedTypes = pSupportedTypes, + .numTypes = numTypes, + }; TRACE("%p\n", _this); - _ret = cppIVRScreenshots_IVRScreenshots_001_HookScreenshot(_this->u_iface, pSupportedTypes, numTypes); - return _ret; + cppIVRScreenshots_IVRScreenshots_001_HookScreenshot( ¶ms ); + return params._ret; } EVRScreenshotType __thiscall winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType(struct w_steam_iface *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotError *pError) { - EVRScreenshotType _ret; + struct cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType_params params = + { + .linux_side = _this->u_iface, + .screenshotHandle = screenshotHandle, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType(_this->u_iface, screenshotHandle, pError); - return _ret; + cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType( ¶ms ); + return params._ret; } 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; + struct cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename_params params = + { + .linux_side = _this->u_iface, + .screenshotHandle = screenshotHandle, + .filenameType = filenameType, + .pchFilename = pchFilename, + .cchFilename = cchFilename, + .pError = pError, + }; TRACE("%p\n", _this); - _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; + cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename( ¶ms ); + params._ret = vrclient_unix_path_to_dos_path( params._ret, pchFilename, pchFilename, cchFilename ); + return params._ret; } EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress(struct w_steam_iface *_this, ScreenshotHandle_t screenshotHandle, float flProgress) { - EVRScreenshotError _ret; + struct cppIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress_params params = + { + .linux_side = _this->u_iface, + .screenshotHandle = screenshotHandle, + .flProgress = flProgress, + }; TRACE("%p\n", _this); - _ret = cppIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress(_this->u_iface, screenshotHandle, flProgress); - return _ret; + cppIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress( ¶ms ); + return params._ret; } EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot(struct w_steam_iface *_this, ScreenshotHandle_t *pOutScreenshotHandle, const char *pchPreviewFilename, const char *pchVRFilename) { - EVRScreenshotError _ret; + struct cppIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot_params params = + { + .linux_side = _this->u_iface, + .pOutScreenshotHandle = pOutScreenshotHandle, + .pchPreviewFilename = pchPreviewFilename, + .pchVRFilename = pchVRFilename, + }; const char *u_pchPreviewFilename = vrclient_dos_to_unix_path( pchPreviewFilename ); const char *u_pchVRFilename = vrclient_dos_to_unix_path( pchVRFilename ); TRACE("%p\n", _this); - _ret = cppIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot(_this->u_iface, pOutScreenshotHandle, u_pchPreviewFilename, u_pchVRFilename); + cppIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot( ¶ms ); vrclient_free_path( u_pchPreviewFilename ); vrclient_free_path( u_pchVRFilename ); - return _ret; + return params._ret; } EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_SubmitScreenshot(struct w_steam_iface *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotType type, const char *pchSourcePreviewFilename, const char *pchSourceVRFilename) { - EVRScreenshotError _ret; + struct cppIVRScreenshots_IVRScreenshots_001_SubmitScreenshot_params params = + { + .linux_side = _this->u_iface, + .screenshotHandle = screenshotHandle, + .type = type, + .pchSourcePreviewFilename = pchSourcePreviewFilename, + .pchSourceVRFilename = pchSourceVRFilename, + }; const char *u_pchSourcePreviewFilename = vrclient_dos_to_unix_path( pchSourcePreviewFilename ); const char *u_pchSourceVRFilename = vrclient_dos_to_unix_path( pchSourceVRFilename ); TRACE("%p\n", _this); - _ret = cppIVRScreenshots_IVRScreenshots_001_SubmitScreenshot(_this->u_iface, screenshotHandle, type, u_pchSourcePreviewFilename, u_pchSourceVRFilename); + cppIVRScreenshots_IVRScreenshots_001_SubmitScreenshot( ¶ms ); vrclient_free_path( u_pchSourcePreviewFilename ); vrclient_free_path( u_pchSourceVRFilename ); - return _ret; + return params._ret; } extern vtable_ptr winIVRScreenshots_IVRScreenshots_001_vtable; diff --git a/vrclient_x64/vrclient_x64/winIVRSettings.c b/vrclient_x64/vrclient_x64/winIVRSettings.c index 5e2eec2d..7adb6dbb 100644 --- a/vrclient_x64/vrclient_x64/winIVRSettings.c +++ b/vrclient_x64/vrclient_x64/winIVRSettings.c @@ -33,84 +33,169 @@ DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_RemoveKeyInSection, 16) const char * __thiscall winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum(struct w_steam_iface *_this, EVRSettingsError eError) { - const char * _ret; + struct cppIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eError = eError, + }; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum(_this->u_iface, eError); - return _ret; + cppIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSettings_IVRSettings_001_Sync(struct w_steam_iface *_this, bool bForce, EVRSettingsError *peError) { - bool _ret; + struct cppIVRSettings_IVRSettings_001_Sync_params params = + { + .linux_side = _this->u_iface, + .bForce = bForce, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_001_Sync(_this->u_iface, bForce, peError); - return _ret; + cppIVRSettings_IVRSettings_001_Sync( ¶ms ); + return params._ret; } bool __thiscall winIVRSettings_IVRSettings_001_GetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, bool bDefaultValue, EVRSettingsError *peError) { - bool _ret; + struct cppIVRSettings_IVRSettings_001_GetBool_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .bDefaultValue = bDefaultValue, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_001_GetBool(_this->u_iface, pchSection, pchSettingsKey, bDefaultValue, peError); - return _ret; + cppIVRSettings_IVRSettings_001_GetBool( ¶ms ); + return params._ret; } void __thiscall winIVRSettings_IVRSettings_001_SetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, bool bValue, EVRSettingsError *peError) { + struct cppIVRSettings_IVRSettings_001_SetBool_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .bValue = bValue, + .peError = peError, + }; TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_SetBool(_this->u_iface, pchSection, pchSettingsKey, bValue, peError); + cppIVRSettings_IVRSettings_001_SetBool( ¶ms ); } 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; + struct cppIVRSettings_IVRSettings_001_GetInt32_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .nDefaultValue = nDefaultValue, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_001_GetInt32(_this->u_iface, pchSection, pchSettingsKey, nDefaultValue, peError); - return _ret; + cppIVRSettings_IVRSettings_001_GetInt32( ¶ms ); + return params._ret; } void __thiscall winIVRSettings_IVRSettings_001_SetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, int32_t nValue, EVRSettingsError *peError) { + struct cppIVRSettings_IVRSettings_001_SetInt32_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .nValue = nValue, + .peError = peError, + }; TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_SetInt32(_this->u_iface, pchSection, pchSettingsKey, nValue, peError); + cppIVRSettings_IVRSettings_001_SetInt32( ¶ms ); } float __thiscall winIVRSettings_IVRSettings_001_GetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, float flDefaultValue, EVRSettingsError *peError) { - float _ret; + struct cppIVRSettings_IVRSettings_001_GetFloat_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .flDefaultValue = flDefaultValue, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_001_GetFloat(_this->u_iface, pchSection, pchSettingsKey, flDefaultValue, peError); - return _ret; + cppIVRSettings_IVRSettings_001_GetFloat( ¶ms ); + return params._ret; } void __thiscall winIVRSettings_IVRSettings_001_SetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, float flValue, EVRSettingsError *peError) { + struct cppIVRSettings_IVRSettings_001_SetFloat_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .flValue = flValue, + .peError = peError, + }; TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_SetFloat(_this->u_iface, pchSection, pchSettingsKey, flValue, peError); + cppIVRSettings_IVRSettings_001_SetFloat( ¶ms ); } 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) { + struct cppIVRSettings_IVRSettings_001_GetString_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .pchValue = pchValue, + .unValueLen = unValueLen, + .pchDefaultValue = pchDefaultValue, + .peError = peError, + }; TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_GetString(_this->u_iface, pchSection, pchSettingsKey, pchValue, unValueLen, pchDefaultValue, peError); + cppIVRSettings_IVRSettings_001_GetString( ¶ms ); } void __thiscall winIVRSettings_IVRSettings_001_SetString(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, const char *pchValue, EVRSettingsError *peError) { + struct cppIVRSettings_IVRSettings_001_SetString_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .pchValue = pchValue, + .peError = peError, + }; TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_SetString(_this->u_iface, pchSection, pchSettingsKey, pchValue, peError); + cppIVRSettings_IVRSettings_001_SetString( ¶ms ); } void __thiscall winIVRSettings_IVRSettings_001_RemoveSection(struct w_steam_iface *_this, const char *pchSection, EVRSettingsError *peError) { + struct cppIVRSettings_IVRSettings_001_RemoveSection_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .peError = peError, + }; TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_RemoveSection(_this->u_iface, pchSection, peError); + cppIVRSettings_IVRSettings_001_RemoveSection( ¶ms ); } void __thiscall winIVRSettings_IVRSettings_001_RemoveKeyInSection(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) { + struct cppIVRSettings_IVRSettings_001_RemoveKeyInSection_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .peError = peError, + }; TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_RemoveKeyInSection(_this->u_iface, pchSection, pchSettingsKey, peError); + cppIVRSettings_IVRSettings_001_RemoveKeyInSection( ¶ms ); } extern vtable_ptr winIVRSettings_IVRSettings_001_vtable; @@ -203,84 +288,165 @@ DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_RemoveKeyInSection, 16) const char * __thiscall winIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum(struct w_steam_iface *_this, EVRSettingsError eError) { - const char * _ret; + struct cppIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eError = eError, + }; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum(_this->u_iface, eError); - return _ret; + cppIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSettings_IVRSettings_002_Sync(struct w_steam_iface *_this, bool bForce, EVRSettingsError *peError) { - bool _ret; + struct cppIVRSettings_IVRSettings_002_Sync_params params = + { + .linux_side = _this->u_iface, + .bForce = bForce, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_002_Sync(_this->u_iface, bForce, peError); - return _ret; + cppIVRSettings_IVRSettings_002_Sync( ¶ms ); + return params._ret; } void __thiscall winIVRSettings_IVRSettings_002_SetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, bool bValue, EVRSettingsError *peError) { + struct cppIVRSettings_IVRSettings_002_SetBool_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .bValue = bValue, + .peError = peError, + }; TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_002_SetBool(_this->u_iface, pchSection, pchSettingsKey, bValue, peError); + cppIVRSettings_IVRSettings_002_SetBool( ¶ms ); } void __thiscall winIVRSettings_IVRSettings_002_SetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, int32_t nValue, EVRSettingsError *peError) { + struct cppIVRSettings_IVRSettings_002_SetInt32_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .nValue = nValue, + .peError = peError, + }; TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_002_SetInt32(_this->u_iface, pchSection, pchSettingsKey, nValue, peError); + cppIVRSettings_IVRSettings_002_SetInt32( ¶ms ); } void __thiscall winIVRSettings_IVRSettings_002_SetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, float flValue, EVRSettingsError *peError) { + struct cppIVRSettings_IVRSettings_002_SetFloat_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .flValue = flValue, + .peError = peError, + }; TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_002_SetFloat(_this->u_iface, pchSection, pchSettingsKey, flValue, peError); + cppIVRSettings_IVRSettings_002_SetFloat( ¶ms ); } void __thiscall winIVRSettings_IVRSettings_002_SetString(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, const char *pchValue, EVRSettingsError *peError) { + struct cppIVRSettings_IVRSettings_002_SetString_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .pchValue = pchValue, + .peError = peError, + }; TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_002_SetString(_this->u_iface, pchSection, pchSettingsKey, pchValue, peError); + cppIVRSettings_IVRSettings_002_SetString( ¶ms ); } bool __thiscall winIVRSettings_IVRSettings_002_GetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) { - bool _ret; + struct cppIVRSettings_IVRSettings_002_GetBool_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_002_GetBool(_this->u_iface, pchSection, pchSettingsKey, peError); - return _ret; + cppIVRSettings_IVRSettings_002_GetBool( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSettings_IVRSettings_002_GetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) { - int32_t _ret; + struct cppIVRSettings_IVRSettings_002_GetInt32_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_002_GetInt32(_this->u_iface, pchSection, pchSettingsKey, peError); - return _ret; + cppIVRSettings_IVRSettings_002_GetInt32( ¶ms ); + return params._ret; } float __thiscall winIVRSettings_IVRSettings_002_GetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) { - float _ret; + struct cppIVRSettings_IVRSettings_002_GetFloat_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_002_GetFloat(_this->u_iface, pchSection, pchSettingsKey, peError); - return _ret; + cppIVRSettings_IVRSettings_002_GetFloat( ¶ms ); + return params._ret; } void __thiscall winIVRSettings_IVRSettings_002_GetString(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, char *pchValue, uint32_t unValueLen, EVRSettingsError *peError) { + struct cppIVRSettings_IVRSettings_002_GetString_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .pchValue = pchValue, + .unValueLen = unValueLen, + .peError = peError, + }; TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_002_GetString(_this->u_iface, pchSection, pchSettingsKey, pchValue, unValueLen, peError); + cppIVRSettings_IVRSettings_002_GetString( ¶ms ); } void __thiscall winIVRSettings_IVRSettings_002_RemoveSection(struct w_steam_iface *_this, const char *pchSection, EVRSettingsError *peError) { + struct cppIVRSettings_IVRSettings_002_RemoveSection_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .peError = peError, + }; TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_002_RemoveSection(_this->u_iface, pchSection, peError); + cppIVRSettings_IVRSettings_002_RemoveSection( ¶ms ); } void __thiscall winIVRSettings_IVRSettings_002_RemoveKeyInSection(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) { + struct cppIVRSettings_IVRSettings_002_RemoveKeyInSection_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .peError = peError, + }; TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_002_RemoveKeyInSection(_this->u_iface, pchSection, pchSettingsKey, peError); + cppIVRSettings_IVRSettings_002_RemoveKeyInSection( ¶ms ); } extern vtable_ptr winIVRSettings_IVRSettings_002_vtable; @@ -372,76 +538,152 @@ DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_RemoveKeyInSection, 16) const char * __thiscall winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum(struct w_steam_iface *_this, EVRSettingsError eError) { - const char * _ret; + struct cppIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eError = eError, + }; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum(_this->u_iface, eError); - return _ret; + cppIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum( ¶ms ); + return params._ret; } void __thiscall winIVRSettings_IVRSettings_003_SetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, bool bValue, EVRSettingsError *peError) { + struct cppIVRSettings_IVRSettings_003_SetBool_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .bValue = bValue, + .peError = peError, + }; TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_SetBool(_this->u_iface, pchSection, pchSettingsKey, bValue, peError); + cppIVRSettings_IVRSettings_003_SetBool( ¶ms ); } void __thiscall winIVRSettings_IVRSettings_003_SetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, int32_t nValue, EVRSettingsError *peError) { + struct cppIVRSettings_IVRSettings_003_SetInt32_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .nValue = nValue, + .peError = peError, + }; TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_SetInt32(_this->u_iface, pchSection, pchSettingsKey, nValue, peError); + cppIVRSettings_IVRSettings_003_SetInt32( ¶ms ); } void __thiscall winIVRSettings_IVRSettings_003_SetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, float flValue, EVRSettingsError *peError) { + struct cppIVRSettings_IVRSettings_003_SetFloat_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .flValue = flValue, + .peError = peError, + }; TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_SetFloat(_this->u_iface, pchSection, pchSettingsKey, flValue, peError); + cppIVRSettings_IVRSettings_003_SetFloat( ¶ms ); } void __thiscall winIVRSettings_IVRSettings_003_SetString(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, const char *pchValue, EVRSettingsError *peError) { + struct cppIVRSettings_IVRSettings_003_SetString_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .pchValue = pchValue, + .peError = peError, + }; TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_SetString(_this->u_iface, pchSection, pchSettingsKey, pchValue, peError); + cppIVRSettings_IVRSettings_003_SetString( ¶ms ); } bool __thiscall winIVRSettings_IVRSettings_003_GetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) { - bool _ret; + struct cppIVRSettings_IVRSettings_003_GetBool_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_003_GetBool(_this->u_iface, pchSection, pchSettingsKey, peError); - return _ret; + cppIVRSettings_IVRSettings_003_GetBool( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSettings_IVRSettings_003_GetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) { - int32_t _ret; + struct cppIVRSettings_IVRSettings_003_GetInt32_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_003_GetInt32(_this->u_iface, pchSection, pchSettingsKey, peError); - return _ret; + cppIVRSettings_IVRSettings_003_GetInt32( ¶ms ); + return params._ret; } float __thiscall winIVRSettings_IVRSettings_003_GetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) { - float _ret; + struct cppIVRSettings_IVRSettings_003_GetFloat_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .peError = peError, + }; TRACE("%p\n", _this); - _ret = cppIVRSettings_IVRSettings_003_GetFloat(_this->u_iface, pchSection, pchSettingsKey, peError); - return _ret; + cppIVRSettings_IVRSettings_003_GetFloat( ¶ms ); + return params._ret; } void __thiscall winIVRSettings_IVRSettings_003_GetString(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, char *pchValue, uint32_t unValueLen, EVRSettingsError *peError) { + struct cppIVRSettings_IVRSettings_003_GetString_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .pchValue = pchValue, + .unValueLen = unValueLen, + .peError = peError, + }; TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_GetString(_this->u_iface, pchSection, pchSettingsKey, pchValue, unValueLen, peError); + cppIVRSettings_IVRSettings_003_GetString( ¶ms ); } void __thiscall winIVRSettings_IVRSettings_003_RemoveSection(struct w_steam_iface *_this, const char *pchSection, EVRSettingsError *peError) { + struct cppIVRSettings_IVRSettings_003_RemoveSection_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .peError = peError, + }; TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_RemoveSection(_this->u_iface, pchSection, peError); + cppIVRSettings_IVRSettings_003_RemoveSection( ¶ms ); } void __thiscall winIVRSettings_IVRSettings_003_RemoveKeyInSection(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError) { + struct cppIVRSettings_IVRSettings_003_RemoveKeyInSection_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .peError = peError, + }; TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_RemoveKeyInSection(_this->u_iface, pchSection, pchSettingsKey, peError); + cppIVRSettings_IVRSettings_003_RemoveKeyInSection( ¶ms ); } extern vtable_ptr winIVRSettings_IVRSettings_003_vtable; diff --git a/vrclient_x64/vrclient_x64/winIVRSystem.c b/vrclient_x64/vrclient_x64/winIVRSystem.c index c5f597ba..cd7e56ac 100644 --- a/vrclient_x64/vrclient_x64/winIVRSystem.c +++ b/vrclient_x64/vrclient_x64/winIVRSystem.c @@ -59,276 +59,487 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnother void __thiscall winIVRSystem_IVRSystem_003_GetWindowBounds(struct w_steam_iface *_this, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) { + struct cppIVRSystem_IVRSystem_003_GetWindowBounds_params params = + { + .linux_side = _this->u_iface, + .pnX = pnX, + .pnY = pnY, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_GetWindowBounds(_this->u_iface, pnX, pnY, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_003_GetWindowBounds( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { + struct cppIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize( ¶ms ); } 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) { + struct cppIVRSystem_IVRSystem_003_GetEyeOutputViewport_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pnX = pnX, + .pnY = pnY, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_GetEyeOutputViewport(_this->u_iface, eEye, pnX, pnY, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_003_GetEyeOutputViewport( ¶ms ); } HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_003_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) { + struct cppIVRSystem_IVRSystem_003_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + .eProjType = eProjType, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_003_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ, eProjType); - return _ret; + cppIVRSystem_IVRSystem_003_GetProjectionMatrix( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_003_GetProjectionRaw(struct w_steam_iface *_this, Hmd_Eye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { + struct cppIVRSystem_IVRSystem_003_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_003_GetProjectionRaw( ¶ms ); } DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_003_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, Hmd_Eye eEye, float fU, float fV) { + struct cppIVRSystem_IVRSystem_003_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fU = fU, + .fV = fV, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_003_ComputeDistortion(_this->u_iface, eEye, fU, fV); - return _ret; + cppIVRSystem_IVRSystem_003_ComputeDistortion( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_003_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, Hmd_Eye eEye) { + struct cppIVRSystem_IVRSystem_003_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_003_GetEyeToHeadTransform(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_003_GetEyeToHeadTransform( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_003_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { - bool _ret; + struct cppIVRSystem_IVRSystem_003_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); - return _ret; + cppIVRSystem_IVRSystem_003_GetTimeSinceLastVsync( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_003_GetD3D9AdapterIndex(struct w_steam_iface *_this) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_003_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetD3D9AdapterIndex(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_003_GetD3D9AdapterIndex( ¶ms ); + return params._ret; } extern void __thiscall winIVRSystem_IVRSystem_003_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex); bool __thiscall winIVRSystem_IVRSystem_003_AttachToWindow(struct w_steam_iface *_this, void *hWnd) { - bool _ret; + struct cppIVRSystem_IVRSystem_003_AttachToWindow_params params = + { + .linux_side = _this->u_iface, + .hWnd = hWnd, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_AttachToWindow(_this->u_iface, hWnd); - return _ret; + cppIVRSystem_IVRSystem_003_AttachToWindow( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { + struct cppIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_003_ResetSeatedZeroPose(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_003_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_ResetSeatedZeroPose(_this->u_iface); + cppIVRSystem_IVRSystem_003_ResetSeatedZeroPose( ¶ms ); } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_003_LoadRenderModel(struct w_steam_iface *_this, const char *pchRenderModelName, winRenderModel_t_091 *pRenderModel) { - bool _ret; + struct cppIVRSystem_IVRSystem_003_LoadRenderModel_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pRenderModel = pRenderModel, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_LoadRenderModel(_this->u_iface, pchRenderModelName, pRenderModel); - return _ret; + cppIVRSystem_IVRSystem_003_LoadRenderModel( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_003_FreeRenderModel(struct w_steam_iface *_this, winRenderModel_t_091 *pRenderModel) { + struct cppIVRSystem_IVRSystem_003_FreeRenderModel_params params = + { + .linux_side = _this->u_iface, + .pRenderModel = pRenderModel, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_FreeRenderModel(_this->u_iface, pRenderModel); + cppIVRSystem_IVRSystem_003_FreeRenderModel( ¶ms ); } TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_003_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - TrackedDeviceClass _ret; + struct cppIVRSystem_IVRSystem_003_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_003_GetTrackedDeviceClass( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_003_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - bool _ret; + struct cppIVRSystem_IVRSystem_003_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_003_IsTrackedDeviceConnected( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { - bool _ret; + struct cppIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty( ¶ms ); + return params._ret; } float __thiscall winIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { - float _ret; + struct cppIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { - uint64_t _ret; + struct cppIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { + struct cppIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); - return _ret; + cppIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum(struct w_steam_iface *_this, TrackedPropertyError error) { - const char * _ret; + struct cppIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_003_PollNextEvent(struct w_steam_iface *_this, VREvent_t *pEvent) { - bool _ret; + struct cppIVRSystem_IVRSystem_003_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_PollNextEvent(_this->u_iface, pEvent); - return _ret; + cppIVRSystem_IVRSystem_003_PollNextEvent( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_003_PollNextEventWithPose(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) { - bool _ret; + struct cppIVRSystem_IVRSystem_003_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_003_PollNextEventWithPose( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum(_this->u_iface, eType); - return _ret; + cppIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum( ¶ms ); + return params._ret; } HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_003_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, Hmd_Eye eEye) { + struct cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_003_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_091 *pControllerState) { - bool _ret; + struct cppIVRSystem_IVRSystem_003_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState); - return _ret; + cppIVRSystem_IVRSystem_003_GetControllerState( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_003_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_003_GetControllerStateWithPose( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_003_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { + struct cppIVRSystem_IVRSystem_003_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_003_TriggerHapticPulse( ¶ms ); } const char * __thiscall winIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { - const char * _ret; + struct cppIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); - return _ret; + cppIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); - return _ret; + cppIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .overlaySettings = overlaySettings, + .vecWindowClientPositionOnScreen = vecWindowClientPositionOnScreen, + .vecWindowClientSize = vecWindowClientSize, + .unControllerDeviceIndex = unControllerDeviceIndex, + .eOutputType = eOutputType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse(_this->u_iface, overlaySettings, vecWindowClientPositionOnScreen, vecWindowClientSize, unControllerDeviceIndex, eOutputType); - return _ret; + cppIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_003_CaptureInputFocus(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_003_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_CaptureInputFocus(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_003_CaptureInputFocus( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_003_ReleaseInputFocus(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_003_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_ReleaseInputFocus(_this->u_iface); + cppIVRSystem_IVRSystem_003_ReleaseInputFocus( ¶ms ); } bool __thiscall winIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess( ¶ms ); + return params._ret; } extern vtable_ptr winIVRSystem_IVRSystem_003_vtable; @@ -497,262 +708,462 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_DriverDebugRequest, 20) void __thiscall winIVRSystem_IVRSystem_004_GetWindowBounds(struct w_steam_iface *_this, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) { + struct cppIVRSystem_IVRSystem_004_GetWindowBounds_params params = + { + .linux_side = _this->u_iface, + .pnX = pnX, + .pnY = pnY, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_GetWindowBounds(_this->u_iface, pnX, pnY, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_004_GetWindowBounds( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { + struct cppIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize( ¶ms ); } 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) { + struct cppIVRSystem_IVRSystem_004_GetEyeOutputViewport_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pnX = pnX, + .pnY = pnY, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_GetEyeOutputViewport(_this->u_iface, eEye, pnX, pnY, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_004_GetEyeOutputViewport( ¶ms ); } HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_004_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) { + struct cppIVRSystem_IVRSystem_004_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + .eProjType = eProjType, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_004_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ, eProjType); - return _ret; + cppIVRSystem_IVRSystem_004_GetProjectionMatrix( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_004_GetProjectionRaw(struct w_steam_iface *_this, Hmd_Eye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { + struct cppIVRSystem_IVRSystem_004_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_004_GetProjectionRaw( ¶ms ); } DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_004_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, Hmd_Eye eEye, float fU, float fV) { + struct cppIVRSystem_IVRSystem_004_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fU = fU, + .fV = fV, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_004_ComputeDistortion(_this->u_iface, eEye, fU, fV); - return _ret; + cppIVRSystem_IVRSystem_004_ComputeDistortion( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_004_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, Hmd_Eye eEye) { + struct cppIVRSystem_IVRSystem_004_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_004_GetEyeToHeadTransform(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_004_GetEyeToHeadTransform( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_004_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { - bool _ret; + struct cppIVRSystem_IVRSystem_004_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); - return _ret; + cppIVRSystem_IVRSystem_004_GetTimeSinceLastVsync( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_004_GetD3D9AdapterIndex(struct w_steam_iface *_this) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_004_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetD3D9AdapterIndex(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_004_GetD3D9AdapterIndex( ¶ms ); + return params._ret; } extern void __thiscall winIVRSystem_IVRSystem_004_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex); bool __thiscall winIVRSystem_IVRSystem_004_AttachToWindow(struct w_steam_iface *_this, void *hWnd) { - bool _ret; + struct cppIVRSystem_IVRSystem_004_AttachToWindow_params params = + { + .linux_side = _this->u_iface, + .hWnd = hWnd, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_AttachToWindow(_this->u_iface, hWnd); - return _ret; + cppIVRSystem_IVRSystem_004_AttachToWindow( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { + struct cppIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_004_ResetSeatedZeroPose(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_004_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_ResetSeatedZeroPose(_this->u_iface); + cppIVRSystem_IVRSystem_004_ResetSeatedZeroPose( ¶ms ); } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_004_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - TrackedDeviceClass _ret; + struct cppIVRSystem_IVRSystem_004_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_004_GetTrackedDeviceClass( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_004_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - bool _ret; + struct cppIVRSystem_IVRSystem_004_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_004_IsTrackedDeviceConnected( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { - bool _ret; + struct cppIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty( ¶ms ); + return params._ret; } float __thiscall winIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { - float _ret; + struct cppIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { - uint64_t _ret; + struct cppIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { + struct cppIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); - return _ret; + cppIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum(struct w_steam_iface *_this, TrackedPropertyError error) { - const char * _ret; + struct cppIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_004_PollNextEvent(struct w_steam_iface *_this, VREvent_t *pEvent) { - bool _ret; + struct cppIVRSystem_IVRSystem_004_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_PollNextEvent(_this->u_iface, pEvent); - return _ret; + cppIVRSystem_IVRSystem_004_PollNextEvent( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_004_PollNextEventWithPose(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) { - bool _ret; + struct cppIVRSystem_IVRSystem_004_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_004_PollNextEventWithPose( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum(_this->u_iface, eType); - return _ret; + cppIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum( ¶ms ); + return params._ret; } HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_004_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, Hmd_Eye eEye) { + struct cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_004_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_092 *pControllerState) { - bool _ret; + struct cppIVRSystem_IVRSystem_004_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState); - return _ret; + cppIVRSystem_IVRSystem_004_GetControllerState( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_004_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_004_GetControllerStateWithPose( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_004_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { + struct cppIVRSystem_IVRSystem_004_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_004_TriggerHapticPulse( ¶ms ); } const char * __thiscall winIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { - const char * _ret; + struct cppIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); - return _ret; + cppIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); - return _ret; + cppIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_004_CaptureInputFocus(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_004_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_CaptureInputFocus(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_004_CaptureInputFocus( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_004_ReleaseInputFocus(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_004_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_ReleaseInputFocus(_this->u_iface); + cppIVRSystem_IVRSystem_004_ReleaseInputFocus( ¶ms ); } bool __thiscall winIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_004_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_004_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); - return _ret; + cppIVRSystem_IVRSystem_004_DriverDebugRequest( ¶ms ); + return params._ret; } extern vtable_ptr winIVRSystem_IVRSystem_004_vtable; @@ -918,270 +1329,477 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_DriverDebugRequest, 20) void __thiscall winIVRSystem_IVRSystem_005_GetWindowBounds(struct w_steam_iface *_this, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) { + struct cppIVRSystem_IVRSystem_005_GetWindowBounds_params params = + { + .linux_side = _this->u_iface, + .pnX = pnX, + .pnY = pnY, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_GetWindowBounds(_this->u_iface, pnX, pnY, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_005_GetWindowBounds( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { + struct cppIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize( ¶ms ); } 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) { + struct cppIVRSystem_IVRSystem_005_GetEyeOutputViewport_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pnX = pnX, + .pnY = pnY, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_GetEyeOutputViewport(_this->u_iface, eEye, pnX, pnY, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_005_GetEyeOutputViewport( ¶ms ); } HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_005_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) { + struct cppIVRSystem_IVRSystem_005_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + .eProjType = eProjType, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_005_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ, eProjType); - return _ret; + cppIVRSystem_IVRSystem_005_GetProjectionMatrix( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_005_GetProjectionRaw(struct w_steam_iface *_this, Hmd_Eye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { + struct cppIVRSystem_IVRSystem_005_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_005_GetProjectionRaw( ¶ms ); } DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_005_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, Hmd_Eye eEye, float fU, float fV) { + struct cppIVRSystem_IVRSystem_005_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fU = fU, + .fV = fV, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_005_ComputeDistortion(_this->u_iface, eEye, fU, fV); - return _ret; + cppIVRSystem_IVRSystem_005_ComputeDistortion( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_005_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, Hmd_Eye eEye) { + struct cppIVRSystem_IVRSystem_005_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_005_GetEyeToHeadTransform(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_005_GetEyeToHeadTransform( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_005_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { - bool _ret; + struct cppIVRSystem_IVRSystem_005_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); - return _ret; + cppIVRSystem_IVRSystem_005_GetTimeSinceLastVsync( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_005_GetD3D9AdapterIndex(struct w_steam_iface *_this) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_005_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetD3D9AdapterIndex(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_005_GetD3D9AdapterIndex( ¶ms ); + return params._ret; } extern void __thiscall winIVRSystem_IVRSystem_005_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex); bool __thiscall winIVRSystem_IVRSystem_005_AttachToWindow(struct w_steam_iface *_this, void *hWnd) { - bool _ret; + struct cppIVRSystem_IVRSystem_005_AttachToWindow_params params = + { + .linux_side = _this->u_iface, + .hWnd = hWnd, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_AttachToWindow(_this->u_iface, hWnd); - return _ret; + cppIVRSystem_IVRSystem_005_AttachToWindow( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { + struct cppIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_005_ResetSeatedZeroPose(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_005_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_ResetSeatedZeroPose(_this->u_iface); + cppIVRSystem_IVRSystem_005_ResetSeatedZeroPose( ¶ms ); } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass( ¶ms ); + return params._ret; } TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_005_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - TrackedDeviceClass _ret; + struct cppIVRSystem_IVRSystem_005_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_005_GetTrackedDeviceClass( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_005_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - bool _ret; + struct cppIVRSystem_IVRSystem_005_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_005_IsTrackedDeviceConnected( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { - bool _ret; + struct cppIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty( ¶ms ); + return params._ret; } float __thiscall winIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { - float _ret; + struct cppIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { - uint64_t _ret; + struct cppIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { + struct cppIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); - return _ret; + cppIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum(struct w_steam_iface *_this, TrackedPropertyError error) { - const char * _ret; + struct cppIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_005_PollNextEvent(struct w_steam_iface *_this, VREvent_t *pEvent) { - bool _ret; + struct cppIVRSystem_IVRSystem_005_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_PollNextEvent(_this->u_iface, pEvent); - return _ret; + cppIVRSystem_IVRSystem_005_PollNextEvent( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_005_PollNextEventWithPose(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) { - bool _ret; + struct cppIVRSystem_IVRSystem_005_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_005_PollNextEventWithPose( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum(_this->u_iface, eType); - return _ret; + cppIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum( ¶ms ); + return params._ret; } HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_005_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, Hmd_Eye eEye) { + struct cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_005_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_098 *pControllerState) { - bool _ret; + struct cppIVRSystem_IVRSystem_005_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState); - return _ret; + cppIVRSystem_IVRSystem_005_GetControllerState( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_005_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_005_GetControllerStateWithPose( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_005_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { + struct cppIVRSystem_IVRSystem_005_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_005_TriggerHapticPulse( ¶ms ); } const char * __thiscall winIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { - const char * _ret; + struct cppIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); - return _ret; + cppIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); - return _ret; + cppIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_005_CaptureInputFocus(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_005_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_CaptureInputFocus(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_005_CaptureInputFocus( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_005_ReleaseInputFocus(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_005_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_ReleaseInputFocus(_this->u_iface); + cppIVRSystem_IVRSystem_005_ReleaseInputFocus( ¶ms ); } bool __thiscall winIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_005_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_005_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); - return _ret; + cppIVRSystem_IVRSystem_005_DriverDebugRequest( ¶ms ); + return params._ret; } extern vtable_ptr winIVRSystem_IVRSystem_005_vtable; @@ -1354,309 +1972,536 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_SetDisplayVisibility, 8) void __thiscall winIVRSystem_IVRSystem_006_GetWindowBounds(struct w_steam_iface *_this, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) { + struct cppIVRSystem_IVRSystem_006_GetWindowBounds_params params = + { + .linux_side = _this->u_iface, + .pnX = pnX, + .pnY = pnY, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_GetWindowBounds(_this->u_iface, pnX, pnY, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_006_GetWindowBounds( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { + struct cppIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize( ¶ms ); } 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) { + struct cppIVRSystem_IVRSystem_006_GetEyeOutputViewport_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pnX = pnX, + .pnY = pnY, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_GetEyeOutputViewport(_this->u_iface, eEye, pnX, pnY, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_006_GetEyeOutputViewport( ¶ms ); } HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_006_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) { + struct cppIVRSystem_IVRSystem_006_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + .eProjType = eProjType, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_006_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ, eProjType); - return _ret; + cppIVRSystem_IVRSystem_006_GetProjectionMatrix( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_006_GetProjectionRaw(struct w_steam_iface *_this, Hmd_Eye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { + struct cppIVRSystem_IVRSystem_006_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_006_GetProjectionRaw( ¶ms ); } DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_006_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, Hmd_Eye eEye, float fU, float fV) { + struct cppIVRSystem_IVRSystem_006_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fU = fU, + .fV = fV, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_006_ComputeDistortion(_this->u_iface, eEye, fU, fV); - return _ret; + cppIVRSystem_IVRSystem_006_ComputeDistortion( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_006_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, Hmd_Eye eEye) { + struct cppIVRSystem_IVRSystem_006_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_006_GetEyeToHeadTransform(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_006_GetEyeToHeadTransform( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_006_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { - bool _ret; + struct cppIVRSystem_IVRSystem_006_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); - return _ret; + cppIVRSystem_IVRSystem_006_GetTimeSinceLastVsync( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_006_GetD3D9AdapterIndex(struct w_steam_iface *_this) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_006_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetD3D9AdapterIndex(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_006_GetD3D9AdapterIndex( ¶ms ); + return params._ret; } extern void __thiscall winIVRSystem_IVRSystem_006_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex); bool __thiscall winIVRSystem_IVRSystem_006_AttachToWindow(struct w_steam_iface *_this, void *hWnd) { - bool _ret; + struct cppIVRSystem_IVRSystem_006_AttachToWindow_params params = + { + .linux_side = _this->u_iface, + .hWnd = hWnd, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_AttachToWindow(_this->u_iface, hWnd); - return _ret; + cppIVRSystem_IVRSystem_006_AttachToWindow( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { + struct cppIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_006_ResetSeatedZeroPose(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_006_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_ResetSeatedZeroPose(_this->u_iface); + cppIVRSystem_IVRSystem_006_ResetSeatedZeroPose( ¶ms ); } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass( ¶ms ); + return params._ret; } EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { - EDeviceActivityLevel _ret; + struct cppIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); - return _ret; + cppIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel( ¶ms ); + return params._ret; } TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_006_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - TrackedDeviceClass _ret; + struct cppIVRSystem_IVRSystem_006_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_006_GetTrackedDeviceClass( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_006_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - bool _ret; + struct cppIVRSystem_IVRSystem_006_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_006_IsTrackedDeviceConnected( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { - bool _ret; + struct cppIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty( ¶ms ); + return params._ret; } float __thiscall winIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { - float _ret; + struct cppIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { - uint64_t _ret; + struct cppIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError *pError) { + struct cppIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); - return _ret; + cppIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum(struct w_steam_iface *_this, TrackedPropertyError error) { - const char * _ret; + struct cppIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_006_PollNextEvent(struct w_steam_iface *_this, VREvent_t *pEvent) { - bool _ret; + struct cppIVRSystem_IVRSystem_006_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_PollNextEvent(_this->u_iface, pEvent); - return _ret; + cppIVRSystem_IVRSystem_006_PollNextEvent( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_006_PollNextEventWithPose(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) { - bool _ret; + struct cppIVRSystem_IVRSystem_006_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_006_PollNextEventWithPose( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum(_this->u_iface, eType); - return _ret; + cppIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum( ¶ms ); + return params._ret; } HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_006_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, Hmd_Eye eEye) { + struct cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_006_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0910 *pControllerState) { - bool _ret; + struct cppIVRSystem_IVRSystem_006_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState); - return _ret; + cppIVRSystem_IVRSystem_006_GetControllerState( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_006_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_006_GetControllerStateWithPose( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_006_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { + struct cppIVRSystem_IVRSystem_006_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_006_TriggerHapticPulse( ¶ms ); } const char * __thiscall winIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { - const char * _ret; + struct cppIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); - return _ret; + cppIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); - return _ret; + cppIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_006_CaptureInputFocus(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_006_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_CaptureInputFocus(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_006_CaptureInputFocus( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_006_ReleaseInputFocus(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_006_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_ReleaseInputFocus(_this->u_iface); + cppIVRSystem_IVRSystem_006_ReleaseInputFocus( ¶ms ); } bool __thiscall winIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_006_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); - return _ret; + cppIVRSystem_IVRSystem_006_DriverDebugRequest( ¶ms ); + return params._ret; } VRFirmwareError __thiscall winIVRSystem_IVRSystem_006_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - VRFirmwareError _ret; + struct cppIVRSystem_IVRSystem_006_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_006_PerformFirmwareUpdate( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_006_IsDisplayOnDesktop(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_006_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_IsDisplayOnDesktop(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_006_IsDisplayOnDesktop( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_006_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { - bool _ret; + struct cppIVRSystem_IVRSystem_006_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_006_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); - return _ret; + cppIVRSystem_IVRSystem_006_SetDisplayVisibility( ¶ms ); + return params._ret; } extern vtable_ptr winIVRSystem_IVRSystem_006_vtable; @@ -1839,307 +2684,528 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt, 4 void __thiscall winIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { + struct cppIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize( ¶ms ); } HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_009_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) { + struct cppIVRSystem_IVRSystem_009_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + .eProjType = eProjType, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_009_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ, eProjType); - return _ret; + cppIVRSystem_IVRSystem_009_GetProjectionMatrix( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_009_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { + struct cppIVRSystem_IVRSystem_009_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_009_GetProjectionRaw( ¶ms ); } DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_009_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, EVREye eEye, float fU, float fV) { + struct cppIVRSystem_IVRSystem_009_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fU = fU, + .fV = fV, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_009_ComputeDistortion(_this->u_iface, eEye, fU, fV); - return _ret; + cppIVRSystem_IVRSystem_009_ComputeDistortion( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_009_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { + struct cppIVRSystem_IVRSystem_009_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_009_GetEyeToHeadTransform(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_009_GetEyeToHeadTransform( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_009_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { - bool _ret; + struct cppIVRSystem_IVRSystem_009_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); - return _ret; + cppIVRSystem_IVRSystem_009_GetTimeSinceLastVsync( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_009_GetD3D9AdapterIndex(struct w_steam_iface *_this) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_009_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetD3D9AdapterIndex(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_009_GetD3D9AdapterIndex( ¶ms ); + return params._ret; } extern void __thiscall winIVRSystem_IVRSystem_009_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); bool __thiscall winIVRSystem_IVRSystem_009_IsDisplayOnDesktop(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_009_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_IsDisplayOnDesktop(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_009_IsDisplayOnDesktop( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_009_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { - bool _ret; + struct cppIVRSystem_IVRSystem_009_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); - return _ret; + cppIVRSystem_IVRSystem_009_SetDisplayVisibility( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { + struct cppIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_009_ResetSeatedZeroPose(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_009_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_ResetSeatedZeroPose(_this->u_iface); + cppIVRSystem_IVRSystem_009_ResetSeatedZeroPose( ¶ms ); } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass( ¶ms ); + return params._ret; } EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { - EDeviceActivityLevel _ret; + struct cppIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); - return _ret; + cppIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_009_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { + struct cppIVRSystem_IVRSystem_009_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_009_ApplyTransform( ¶ms ); } ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_009_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedDeviceClass _ret; + struct cppIVRSystem_IVRSystem_009_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_009_GetTrackedDeviceClass( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_009_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - bool _ret; + struct cppIVRSystem_IVRSystem_009_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_009_IsTrackedDeviceConnected( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - bool _ret; + struct cppIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty( ¶ms ); + return params._ret; } float __thiscall winIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - float _ret; + struct cppIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - uint64_t _ret; + struct cppIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { + struct cppIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); - return _ret; + cppIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { - const char * _ret; + struct cppIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_009_PollNextEvent(struct w_steam_iface *_this, VREvent_t *pEvent) { - bool _ret; + struct cppIVRSystem_IVRSystem_009_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_PollNextEvent(_this->u_iface, pEvent); - return _ret; + cppIVRSystem_IVRSystem_009_PollNextEvent( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_009_PollNextEventWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) { - bool _ret; + struct cppIVRSystem_IVRSystem_009_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_009_PollNextEventWithPose( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum(_this->u_iface, eType); - return _ret; + cppIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum( ¶ms ); + return params._ret; } HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_009_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye) { + struct cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_009_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0912 *pControllerState) { - bool _ret; + struct cppIVRSystem_IVRSystem_009_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState); - return _ret; + cppIVRSystem_IVRSystem_009_GetControllerState( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_009_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_009_GetControllerStateWithPose( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_009_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { + struct cppIVRSystem_IVRSystem_009_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_009_TriggerHapticPulse( ¶ms ); } const char * __thiscall winIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { - const char * _ret; + struct cppIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); - return _ret; + cppIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); - return _ret; + cppIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_009_CaptureInputFocus(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_009_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_CaptureInputFocus(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_009_CaptureInputFocus( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_009_ReleaseInputFocus(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_009_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_ReleaseInputFocus(_this->u_iface); + cppIVRSystem_IVRSystem_009_ReleaseInputFocus( ¶ms ); } bool __thiscall winIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_009_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); - return _ret; + cppIVRSystem_IVRSystem_009_DriverDebugRequest( ¶ms ); + return params._ret; } EVRFirmwareError __thiscall winIVRSystem_IVRSystem_009_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - EVRFirmwareError _ret; + struct cppIVRSystem_IVRSystem_009_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_009_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_009_PerformFirmwareUpdate( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting(_this->u_iface); + cppIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt(_this->u_iface); + cppIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt( ¶ms ); } extern vtable_ptr winIVRSystem_IVRSystem_009_vtable; @@ -2326,335 +3392,574 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PerformanceTestReportFidelity void __thiscall winIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { + struct cppIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize( ¶ms ); } HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_010_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) { + struct cppIVRSystem_IVRSystem_010_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + .eProjType = eProjType, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_010_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ, eProjType); - return _ret; + cppIVRSystem_IVRSystem_010_GetProjectionMatrix( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_010_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { + struct cppIVRSystem_IVRSystem_010_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_010_GetProjectionRaw( ¶ms ); } DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_010_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, EVREye eEye, float fU, float fV) { + struct cppIVRSystem_IVRSystem_010_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fU = fU, + .fV = fV, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_010_ComputeDistortion(_this->u_iface, eEye, fU, fV); - return _ret; + cppIVRSystem_IVRSystem_010_ComputeDistortion( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_010_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { + struct cppIVRSystem_IVRSystem_010_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_010_GetEyeToHeadTransform(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_010_GetEyeToHeadTransform( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_010_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { - bool _ret; + struct cppIVRSystem_IVRSystem_010_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); - return _ret; + cppIVRSystem_IVRSystem_010_GetTimeSinceLastVsync( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_010_GetD3D9AdapterIndex(struct w_steam_iface *_this) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_010_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetD3D9AdapterIndex(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_010_GetD3D9AdapterIndex( ¶ms ); + return params._ret; } extern void __thiscall winIVRSystem_IVRSystem_010_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); bool __thiscall winIVRSystem_IVRSystem_010_IsDisplayOnDesktop(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_010_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_IsDisplayOnDesktop(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_010_IsDisplayOnDesktop( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_010_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { - bool _ret; + struct cppIVRSystem_IVRSystem_010_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); - return _ret; + cppIVRSystem_IVRSystem_010_SetDisplayVisibility( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { + struct cppIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_010_ResetSeatedZeroPose(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_010_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_ResetSeatedZeroPose(_this->u_iface); + cppIVRSystem_IVRSystem_010_ResetSeatedZeroPose( ¶ms ); } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass( ¶ms ); + return params._ret; } EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { - EDeviceActivityLevel _ret; + struct cppIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); - return _ret; + cppIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_010_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { + struct cppIVRSystem_IVRSystem_010_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_010_ApplyTransform( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, ETrackedControllerRole unDeviceType) { - TrackedDeviceIndex_t _ret; + struct cppIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole_params params = + { + .linux_side = _this->u_iface, + .unDeviceType = unDeviceType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole(_this->u_iface, unDeviceType); - return _ret; + cppIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole( ¶ms ); + return params._ret; } ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedControllerRole _ret; + struct cppIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex( ¶ms ); + return params._ret; } ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_010_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedDeviceClass _ret; + struct cppIVRSystem_IVRSystem_010_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_010_GetTrackedDeviceClass( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_010_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - bool _ret; + struct cppIVRSystem_IVRSystem_010_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_010_IsTrackedDeviceConnected( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - bool _ret; + struct cppIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty( ¶ms ); + return params._ret; } float __thiscall winIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - float _ret; + struct cppIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - uint64_t _ret; + struct cppIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { + struct cppIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); - return _ret; + cppIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { - const char * _ret; + struct cppIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_010_PollNextEvent(struct w_steam_iface *_this, VREvent_t *pEvent) { - bool _ret; + struct cppIVRSystem_IVRSystem_010_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_PollNextEvent(_this->u_iface, pEvent); - return _ret; + cppIVRSystem_IVRSystem_010_PollNextEvent( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_010_PollNextEventWithPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, VREvent_t *pEvent, TrackedDevicePose_t *pTrackedDevicePose) { - bool _ret; + struct cppIVRSystem_IVRSystem_010_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_010_PollNextEventWithPose( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum(_this->u_iface, eType); - return _ret; + cppIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum( ¶ms ); + return params._ret; } HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_010_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye) { + struct cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_010_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0914 *pControllerState) { - bool _ret; + struct cppIVRSystem_IVRSystem_010_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState); - return _ret; + cppIVRSystem_IVRSystem_010_GetControllerState( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_010_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_010_GetControllerStateWithPose( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_010_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { + struct cppIVRSystem_IVRSystem_010_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_010_TriggerHapticPulse( ¶ms ); } const char * __thiscall winIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { - const char * _ret; + struct cppIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); - return _ret; + cppIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); - return _ret; + cppIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_010_CaptureInputFocus(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_010_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_CaptureInputFocus(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_010_CaptureInputFocus( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_010_ReleaseInputFocus(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_010_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_ReleaseInputFocus(_this->u_iface); + cppIVRSystem_IVRSystem_010_ReleaseInputFocus( ¶ms ); } bool __thiscall winIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_010_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); - return _ret; + cppIVRSystem_IVRSystem_010_DriverDebugRequest( ¶ms ); + return params._ret; } EVRFirmwareError __thiscall winIVRSystem_IVRSystem_010_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - EVRFirmwareError _ret; + struct cppIVRSystem_IVRSystem_010_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_010_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_010_PerformFirmwareUpdate( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting(_this->u_iface); + cppIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt(_this->u_iface); + cppIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_010_PerformanceTestEnableCapture(struct w_steam_iface *_this, bool bEnable) { + struct cppIVRSystem_IVRSystem_010_PerformanceTestEnableCapture_params params = + { + .linux_side = _this->u_iface, + .bEnable = bEnable, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_PerformanceTestEnableCapture(_this->u_iface, bEnable); + cppIVRSystem_IVRSystem_010_PerformanceTestEnableCapture( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange(struct w_steam_iface *_this, int nFidelityLevel) { + struct cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange_params params = + { + .linux_side = _this->u_iface, + .nFidelityLevel = nFidelityLevel, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange(_this->u_iface, nFidelityLevel); + cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange( ¶ms ); } extern vtable_ptr winIVRSystem_IVRSystem_010_vtable; @@ -2849,335 +4154,576 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PerformanceTestReportFidelity void __thiscall winIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { + struct cppIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize( ¶ms ); } HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_011_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) { + struct cppIVRSystem_IVRSystem_011_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + .eProjType = eProjType, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_011_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ, eProjType); - return _ret; + cppIVRSystem_IVRSystem_011_GetProjectionMatrix( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_011_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { + struct cppIVRSystem_IVRSystem_011_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_011_GetProjectionRaw( ¶ms ); } DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_011_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, EVREye eEye, float fU, float fV) { + struct cppIVRSystem_IVRSystem_011_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fU = fU, + .fV = fV, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_011_ComputeDistortion(_this->u_iface, eEye, fU, fV); - return _ret; + cppIVRSystem_IVRSystem_011_ComputeDistortion( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_011_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { + struct cppIVRSystem_IVRSystem_011_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_011_GetEyeToHeadTransform(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_011_GetEyeToHeadTransform( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_011_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { - bool _ret; + struct cppIVRSystem_IVRSystem_011_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); - return _ret; + cppIVRSystem_IVRSystem_011_GetTimeSinceLastVsync( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_011_GetD3D9AdapterIndex(struct w_steam_iface *_this) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_011_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetD3D9AdapterIndex(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_011_GetD3D9AdapterIndex( ¶ms ); + return params._ret; } extern void __thiscall winIVRSystem_IVRSystem_011_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); bool __thiscall winIVRSystem_IVRSystem_011_IsDisplayOnDesktop(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_011_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_IsDisplayOnDesktop(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_011_IsDisplayOnDesktop( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_011_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { - bool _ret; + struct cppIVRSystem_IVRSystem_011_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); - return _ret; + cppIVRSystem_IVRSystem_011_SetDisplayVisibility( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { + struct cppIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_011_ResetSeatedZeroPose(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_011_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_ResetSeatedZeroPose(_this->u_iface); + cppIVRSystem_IVRSystem_011_ResetSeatedZeroPose( ¶ms ); } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass( ¶ms ); + return params._ret; } EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { - EDeviceActivityLevel _ret; + struct cppIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); - return _ret; + cppIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_011_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { + struct cppIVRSystem_IVRSystem_011_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_011_ApplyTransform( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, ETrackedControllerRole unDeviceType) { - TrackedDeviceIndex_t _ret; + struct cppIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole_params params = + { + .linux_side = _this->u_iface, + .unDeviceType = unDeviceType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole(_this->u_iface, unDeviceType); - return _ret; + cppIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole( ¶ms ); + return params._ret; } ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedControllerRole _ret; + struct cppIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex( ¶ms ); + return params._ret; } ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_011_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedDeviceClass _ret; + struct cppIVRSystem_IVRSystem_011_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_011_GetTrackedDeviceClass( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_011_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - bool _ret; + struct cppIVRSystem_IVRSystem_011_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_011_IsTrackedDeviceConnected( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - bool _ret; + struct cppIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty( ¶ms ); + return params._ret; } float __thiscall winIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - float _ret; + struct cppIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - uint64_t _ret; + struct cppIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { + struct cppIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); - return _ret; + cppIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { - const char * _ret; + struct cppIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_011_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_0918 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVRSystem_IVRSystem_011_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_PollNextEvent(_this->u_iface, pEvent, uncbVREvent); - return _ret; + cppIVRSystem_IVRSystem_011_PollNextEvent( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_011_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_011_PollNextEventWithPose( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum(_this->u_iface, eType); - return _ret; + cppIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum( ¶ms ); + return params._ret; } HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_011_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye) { + struct cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_011_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0918 *pControllerState) { - bool _ret; + struct cppIVRSystem_IVRSystem_011_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState); - return _ret; + cppIVRSystem_IVRSystem_011_GetControllerState( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_011_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_011_GetControllerStateWithPose( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_011_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { + struct cppIVRSystem_IVRSystem_011_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_011_TriggerHapticPulse( ¶ms ); } const char * __thiscall winIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { - const char * _ret; + struct cppIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); - return _ret; + cppIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); - return _ret; + cppIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_011_CaptureInputFocus(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_011_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_CaptureInputFocus(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_011_CaptureInputFocus( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_011_ReleaseInputFocus(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_011_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_ReleaseInputFocus(_this->u_iface); + cppIVRSystem_IVRSystem_011_ReleaseInputFocus( ¶ms ); } bool __thiscall winIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_011_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); - return _ret; + cppIVRSystem_IVRSystem_011_DriverDebugRequest( ¶ms ); + return params._ret; } EVRFirmwareError __thiscall winIVRSystem_IVRSystem_011_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - EVRFirmwareError _ret; + struct cppIVRSystem_IVRSystem_011_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_011_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_011_PerformFirmwareUpdate( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting(_this->u_iface); + cppIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt(_this->u_iface); + cppIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_011_PerformanceTestEnableCapture(struct w_steam_iface *_this, bool bEnable) { + struct cppIVRSystem_IVRSystem_011_PerformanceTestEnableCapture_params params = + { + .linux_side = _this->u_iface, + .bEnable = bEnable, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_PerformanceTestEnableCapture(_this->u_iface, bEnable); + cppIVRSystem_IVRSystem_011_PerformanceTestEnableCapture( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange(struct w_steam_iface *_this, int nFidelityLevel) { + struct cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange_params params = + { + .linux_side = _this->u_iface, + .nFidelityLevel = nFidelityLevel, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange(_this->u_iface, nFidelityLevel); + cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange( ¶ms ); } extern vtable_ptr winIVRSystem_IVRSystem_011_vtable; @@ -3370,323 +4916,554 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt, 4 void __thiscall winIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { + struct cppIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize( ¶ms ); } HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_012_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) { + struct cppIVRSystem_IVRSystem_012_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + .eProjType = eProjType, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_012_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ, eProjType); - return _ret; + cppIVRSystem_IVRSystem_012_GetProjectionMatrix( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_012_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { + struct cppIVRSystem_IVRSystem_012_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_012_GetProjectionRaw( ¶ms ); } DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_012_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, EVREye eEye, float fU, float fV) { + struct cppIVRSystem_IVRSystem_012_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fU = fU, + .fV = fV, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_012_ComputeDistortion(_this->u_iface, eEye, fU, fV); - return _ret; + cppIVRSystem_IVRSystem_012_ComputeDistortion( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_012_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { + struct cppIVRSystem_IVRSystem_012_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_012_GetEyeToHeadTransform(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_012_GetEyeToHeadTransform( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_012_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { - bool _ret; + struct cppIVRSystem_IVRSystem_012_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); - return _ret; + cppIVRSystem_IVRSystem_012_GetTimeSinceLastVsync( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_012_GetD3D9AdapterIndex(struct w_steam_iface *_this) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_012_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetD3D9AdapterIndex(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_012_GetD3D9AdapterIndex( ¶ms ); + return params._ret; } extern void __thiscall winIVRSystem_IVRSystem_012_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); bool __thiscall winIVRSystem_IVRSystem_012_IsDisplayOnDesktop(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_012_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_IsDisplayOnDesktop(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_012_IsDisplayOnDesktop( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_012_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { - bool _ret; + struct cppIVRSystem_IVRSystem_012_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); - return _ret; + cppIVRSystem_IVRSystem_012_SetDisplayVisibility( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { + struct cppIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_012_ResetSeatedZeroPose(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_012_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_ResetSeatedZeroPose(_this->u_iface); + cppIVRSystem_IVRSystem_012_ResetSeatedZeroPose( ¶ms ); } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass( ¶ms ); + return params._ret; } EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { - EDeviceActivityLevel _ret; + struct cppIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); - return _ret; + cppIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_012_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { + struct cppIVRSystem_IVRSystem_012_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_012_ApplyTransform( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, ETrackedControllerRole unDeviceType) { - TrackedDeviceIndex_t _ret; + struct cppIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole_params params = + { + .linux_side = _this->u_iface, + .unDeviceType = unDeviceType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole(_this->u_iface, unDeviceType); - return _ret; + cppIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole( ¶ms ); + return params._ret; } ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedControllerRole _ret; + struct cppIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex( ¶ms ); + return params._ret; } ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_012_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedDeviceClass _ret; + struct cppIVRSystem_IVRSystem_012_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_012_GetTrackedDeviceClass( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_012_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - bool _ret; + struct cppIVRSystem_IVRSystem_012_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_012_IsTrackedDeviceConnected( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - bool _ret; + struct cppIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty( ¶ms ); + return params._ret; } float __thiscall winIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - float _ret; + struct cppIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - uint64_t _ret; + struct cppIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { + struct cppIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); - return _ret; + cppIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { - const char * _ret; + struct cppIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_012_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_103 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVRSystem_IVRSystem_012_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_PollNextEvent(_this->u_iface, pEvent, uncbVREvent); - return _ret; + cppIVRSystem_IVRSystem_012_PollNextEvent( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_012_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_012_PollNextEventWithPose( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum(_this->u_iface, eType); - return _ret; + cppIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum( ¶ms ); + return params._ret; } HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_012_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye) { + struct cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_012_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_103 *pControllerState) { - bool _ret; + struct cppIVRSystem_IVRSystem_012_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState); - return _ret; + cppIVRSystem_IVRSystem_012_GetControllerState( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_012_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_012_GetControllerStateWithPose( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_012_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { + struct cppIVRSystem_IVRSystem_012_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_012_TriggerHapticPulse( ¶ms ); } const char * __thiscall winIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { - const char * _ret; + struct cppIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); - return _ret; + cppIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); - return _ret; + cppIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_012_CaptureInputFocus(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_012_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_CaptureInputFocus(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_012_CaptureInputFocus( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_012_ReleaseInputFocus(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_012_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_ReleaseInputFocus(_this->u_iface); + cppIVRSystem_IVRSystem_012_ReleaseInputFocus( ¶ms ); } bool __thiscall winIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_012_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); - return _ret; + cppIVRSystem_IVRSystem_012_DriverDebugRequest( ¶ms ); + return params._ret; } EVRFirmwareError __thiscall winIVRSystem_IVRSystem_012_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - EVRFirmwareError _ret; + struct cppIVRSystem_IVRSystem_012_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_012_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_012_PerformFirmwareUpdate( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting(_this->u_iface); + cppIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt(_this->u_iface); + cppIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt( ¶ms ); } extern vtable_ptr winIVRSystem_IVRSystem_012_vtable; @@ -3875,324 +5652,557 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt, 4 void __thiscall winIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { + struct cppIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize( ¶ms ); } HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_014_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) { + struct cppIVRSystem_IVRSystem_014_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + .eProjType = eProjType, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_014_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ, eProjType); - return _ret; + cppIVRSystem_IVRSystem_014_GetProjectionMatrix( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_014_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { + struct cppIVRSystem_IVRSystem_014_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_014_GetProjectionRaw( ¶ms ); } bool __thiscall winIVRSystem_IVRSystem_014_ComputeDistortion(struct w_steam_iface *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) { - bool _ret; + struct cppIVRSystem_IVRSystem_014_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .fU = fU, + .fV = fV, + .pDistortionCoordinates = pDistortionCoordinates, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_ComputeDistortion(_this->u_iface, eEye, fU, fV, pDistortionCoordinates); - return _ret; + cppIVRSystem_IVRSystem_014_ComputeDistortion( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_014_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { + struct cppIVRSystem_IVRSystem_014_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_014_GetEyeToHeadTransform(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_014_GetEyeToHeadTransform( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_014_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { - bool _ret; + struct cppIVRSystem_IVRSystem_014_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); - return _ret; + cppIVRSystem_IVRSystem_014_GetTimeSinceLastVsync( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_014_GetD3D9AdapterIndex(struct w_steam_iface *_this) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_014_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetD3D9AdapterIndex(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_014_GetD3D9AdapterIndex( ¶ms ); + return params._ret; } extern void __thiscall winIVRSystem_IVRSystem_014_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); bool __thiscall winIVRSystem_IVRSystem_014_IsDisplayOnDesktop(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_014_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_IsDisplayOnDesktop(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_014_IsDisplayOnDesktop( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_014_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { - bool _ret; + struct cppIVRSystem_IVRSystem_014_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); - return _ret; + cppIVRSystem_IVRSystem_014_SetDisplayVisibility( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { + struct cppIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_014_ResetSeatedZeroPose(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_014_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_ResetSeatedZeroPose(_this->u_iface); + cppIVRSystem_IVRSystem_014_ResetSeatedZeroPose( ¶ms ); } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass( ¶ms ); + return params._ret; } EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { - EDeviceActivityLevel _ret; + struct cppIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); - return _ret; + cppIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_014_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { + struct cppIVRSystem_IVRSystem_014_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_014_ApplyTransform( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, ETrackedControllerRole unDeviceType) { - TrackedDeviceIndex_t _ret; + struct cppIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole_params params = + { + .linux_side = _this->u_iface, + .unDeviceType = unDeviceType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole(_this->u_iface, unDeviceType); - return _ret; + cppIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole( ¶ms ); + return params._ret; } ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedControllerRole _ret; + struct cppIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex( ¶ms ); + return params._ret; } ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_014_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedDeviceClass _ret; + struct cppIVRSystem_IVRSystem_014_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_014_GetTrackedDeviceClass( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_014_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - bool _ret; + struct cppIVRSystem_IVRSystem_014_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_014_IsTrackedDeviceConnected( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - bool _ret; + struct cppIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty( ¶ms ); + return params._ret; } float __thiscall winIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - float _ret; + struct cppIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - uint64_t _ret; + struct cppIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { + struct cppIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); - return _ret; + cppIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { - const char * _ret; + struct cppIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_014_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_104 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVRSystem_IVRSystem_014_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_PollNextEvent(_this->u_iface, pEvent, uncbVREvent); - return _ret; + cppIVRSystem_IVRSystem_014_PollNextEvent( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_014_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_014_PollNextEventWithPose( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum(_this->u_iface, eType); - return _ret; + cppIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum( ¶ms ); + return params._ret; } HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_014_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) { + struct cppIVRSystem_IVRSystem_014_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .type = type, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_014_GetHiddenAreaMesh(_this->u_iface, eEye, type); - return _ret; + cppIVRSystem_IVRSystem_014_GetHiddenAreaMesh( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_014_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_104 *pControllerState, uint32_t unControllerStateSize) { - bool _ret; + struct cppIVRSystem_IVRSystem_014_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState, unControllerStateSize); - return _ret; + cppIVRSystem_IVRSystem_014_GetControllerState( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_014_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_014_GetControllerStateWithPose( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_014_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { + struct cppIVRSystem_IVRSystem_014_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_014_TriggerHapticPulse( ¶ms ); } const char * __thiscall winIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { - const char * _ret; + struct cppIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); - return _ret; + cppIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); - return _ret; + cppIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_014_CaptureInputFocus(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_014_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_CaptureInputFocus(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_014_CaptureInputFocus( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_014_ReleaseInputFocus(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_014_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_ReleaseInputFocus(_this->u_iface); + cppIVRSystem_IVRSystem_014_ReleaseInputFocus( ¶ms ); } bool __thiscall winIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_014_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); - return _ret; + cppIVRSystem_IVRSystem_014_DriverDebugRequest( ¶ms ); + return params._ret; } EVRFirmwareError __thiscall winIVRSystem_IVRSystem_014_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - EVRFirmwareError _ret; + struct cppIVRSystem_IVRSystem_014_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_014_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_014_PerformFirmwareUpdate( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting(_this->u_iface); + cppIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt(_this->u_iface); + cppIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt( ¶ms ); } extern vtable_ptr winIVRSystem_IVRSystem_014_vtable; @@ -4381,324 +6391,556 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt, 4 void __thiscall winIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { + struct cppIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize( ¶ms ); } HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_015_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ) { + struct cppIVRSystem_IVRSystem_015_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_015_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ); - return _ret; + cppIVRSystem_IVRSystem_015_GetProjectionMatrix( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_015_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { + struct cppIVRSystem_IVRSystem_015_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_015_GetProjectionRaw( ¶ms ); } bool __thiscall winIVRSystem_IVRSystem_015_ComputeDistortion(struct w_steam_iface *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) { - bool _ret; + struct cppIVRSystem_IVRSystem_015_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .fU = fU, + .fV = fV, + .pDistortionCoordinates = pDistortionCoordinates, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_ComputeDistortion(_this->u_iface, eEye, fU, fV, pDistortionCoordinates); - return _ret; + cppIVRSystem_IVRSystem_015_ComputeDistortion( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_015_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { + struct cppIVRSystem_IVRSystem_015_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_015_GetEyeToHeadTransform(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_015_GetEyeToHeadTransform( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_015_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { - bool _ret; + struct cppIVRSystem_IVRSystem_015_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); - return _ret; + cppIVRSystem_IVRSystem_015_GetTimeSinceLastVsync( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_015_GetD3D9AdapterIndex(struct w_steam_iface *_this) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_015_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetD3D9AdapterIndex(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_015_GetD3D9AdapterIndex( ¶ms ); + return params._ret; } extern void __thiscall winIVRSystem_IVRSystem_015_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); bool __thiscall winIVRSystem_IVRSystem_015_IsDisplayOnDesktop(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_015_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_IsDisplayOnDesktop(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_015_IsDisplayOnDesktop( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_015_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { - bool _ret; + struct cppIVRSystem_IVRSystem_015_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); - return _ret; + cppIVRSystem_IVRSystem_015_SetDisplayVisibility( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { + struct cppIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_015_ResetSeatedZeroPose(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_015_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_ResetSeatedZeroPose(_this->u_iface); + cppIVRSystem_IVRSystem_015_ResetSeatedZeroPose( ¶ms ); } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass( ¶ms ); + return params._ret; } EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { - EDeviceActivityLevel _ret; + struct cppIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); - return _ret; + cppIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_015_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { + struct cppIVRSystem_IVRSystem_015_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_015_ApplyTransform( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, ETrackedControllerRole unDeviceType) { - TrackedDeviceIndex_t _ret; + struct cppIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole_params params = + { + .linux_side = _this->u_iface, + .unDeviceType = unDeviceType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole(_this->u_iface, unDeviceType); - return _ret; + cppIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole( ¶ms ); + return params._ret; } ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedControllerRole _ret; + struct cppIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex( ¶ms ); + return params._ret; } ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_015_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedDeviceClass _ret; + struct cppIVRSystem_IVRSystem_015_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_015_GetTrackedDeviceClass( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_015_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - bool _ret; + struct cppIVRSystem_IVRSystem_015_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_015_IsTrackedDeviceConnected( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - bool _ret; + struct cppIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty( ¶ms ); + return params._ret; } float __thiscall winIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - float _ret; + struct cppIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - uint64_t _ret; + struct cppIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { + struct cppIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); - return _ret; + cppIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { - const char * _ret; + struct cppIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_015_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_107 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVRSystem_IVRSystem_015_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_PollNextEvent(_this->u_iface, pEvent, uncbVREvent); - return _ret; + cppIVRSystem_IVRSystem_015_PollNextEvent( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_015_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_015_PollNextEventWithPose( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum(_this->u_iface, eType); - return _ret; + cppIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum( ¶ms ); + return params._ret; } HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_015_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) { + struct cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .type = type, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh(_this->u_iface, eEye, type); - return _ret; + cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_015_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_107 *pControllerState, uint32_t unControllerStateSize) { - bool _ret; + struct cppIVRSystem_IVRSystem_015_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState, unControllerStateSize); - return _ret; + cppIVRSystem_IVRSystem_015_GetControllerState( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_015_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_015_GetControllerStateWithPose( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_015_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { + struct cppIVRSystem_IVRSystem_015_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_015_TriggerHapticPulse( ¶ms ); } const char * __thiscall winIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { - const char * _ret; + struct cppIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); - return _ret; + cppIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); - return _ret; + cppIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_015_CaptureInputFocus(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_015_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_CaptureInputFocus(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_015_CaptureInputFocus( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_015_ReleaseInputFocus(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_015_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_ReleaseInputFocus(_this->u_iface); + cppIVRSystem_IVRSystem_015_ReleaseInputFocus( ¶ms ); } bool __thiscall winIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_015_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); - return _ret; + cppIVRSystem_IVRSystem_015_DriverDebugRequest( ¶ms ); + return params._ret; } EVRFirmwareError __thiscall winIVRSystem_IVRSystem_015_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - EVRFirmwareError _ret; + struct cppIVRSystem_IVRSystem_015_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_015_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_015_PerformFirmwareUpdate( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting(_this->u_iface); + cppIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt(_this->u_iface); + cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt( ¶ms ); } extern vtable_ptr winIVRSystem_IVRSystem_015_vtable; @@ -4888,330 +7130,568 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt, 4 void __thiscall winIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { + struct cppIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize( ¶ms ); } HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_016_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ) { + struct cppIVRSystem_IVRSystem_016_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_016_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ); - return _ret; + cppIVRSystem_IVRSystem_016_GetProjectionMatrix( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_016_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { + struct cppIVRSystem_IVRSystem_016_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_016_GetProjectionRaw( ¶ms ); } bool __thiscall winIVRSystem_IVRSystem_016_ComputeDistortion(struct w_steam_iface *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) { - bool _ret; + struct cppIVRSystem_IVRSystem_016_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .fU = fU, + .fV = fV, + .pDistortionCoordinates = pDistortionCoordinates, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_ComputeDistortion(_this->u_iface, eEye, fU, fV, pDistortionCoordinates); - return _ret; + cppIVRSystem_IVRSystem_016_ComputeDistortion( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_016_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { + struct cppIVRSystem_IVRSystem_016_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_016_GetEyeToHeadTransform(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_016_GetEyeToHeadTransform( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_016_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { - bool _ret; + struct cppIVRSystem_IVRSystem_016_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); - return _ret; + cppIVRSystem_IVRSystem_016_GetTimeSinceLastVsync( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_016_GetD3D9AdapterIndex(struct w_steam_iface *_this) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_016_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetD3D9AdapterIndex(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_016_GetD3D9AdapterIndex( ¶ms ); + return params._ret; } extern void __thiscall winIVRSystem_IVRSystem_016_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); void __thiscall winIVRSystem_IVRSystem_016_GetOutputDevice(struct w_steam_iface *_this, uint64_t *pnDevice, ETextureType textureType) { + struct cppIVRSystem_IVRSystem_016_GetOutputDevice_params params = + { + .linux_side = _this->u_iface, + .pnDevice = pnDevice, + .textureType = textureType, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_GetOutputDevice(_this->u_iface, pnDevice, textureType); + cppIVRSystem_IVRSystem_016_GetOutputDevice( ¶ms ); } bool __thiscall winIVRSystem_IVRSystem_016_IsDisplayOnDesktop(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_016_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_IsDisplayOnDesktop(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_016_IsDisplayOnDesktop( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_016_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { - bool _ret; + struct cppIVRSystem_IVRSystem_016_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); - return _ret; + cppIVRSystem_IVRSystem_016_SetDisplayVisibility( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { + struct cppIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_016_ResetSeatedZeroPose(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_016_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_ResetSeatedZeroPose(_this->u_iface); + cppIVRSystem_IVRSystem_016_ResetSeatedZeroPose( ¶ms ); } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass( ¶ms ); + return params._ret; } EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { - EDeviceActivityLevel _ret; + struct cppIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); - return _ret; + cppIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_016_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { + struct cppIVRSystem_IVRSystem_016_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_016_ApplyTransform( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, ETrackedControllerRole unDeviceType) { - TrackedDeviceIndex_t _ret; + struct cppIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole_params params = + { + .linux_side = _this->u_iface, + .unDeviceType = unDeviceType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole(_this->u_iface, unDeviceType); - return _ret; + cppIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole( ¶ms ); + return params._ret; } ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedControllerRole _ret; + struct cppIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex( ¶ms ); + return params._ret; } ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_016_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedDeviceClass _ret; + struct cppIVRSystem_IVRSystem_016_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_016_GetTrackedDeviceClass( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_016_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - bool _ret; + struct cppIVRSystem_IVRSystem_016_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_016_IsTrackedDeviceConnected( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - bool _ret; + struct cppIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty( ¶ms ); + return params._ret; } float __thiscall winIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - float _ret; + struct cppIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - uint64_t _ret; + struct cppIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { + struct cppIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); - return _ret; + cppIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { - const char * _ret; + struct cppIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_016_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_109 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVRSystem_IVRSystem_016_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_PollNextEvent(_this->u_iface, pEvent, uncbVREvent); - return _ret; + cppIVRSystem_IVRSystem_016_PollNextEvent( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_016_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_016_PollNextEventWithPose( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum(_this->u_iface, eType); - return _ret; + cppIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum( ¶ms ); + return params._ret; } HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_016_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) { + struct cppIVRSystem_IVRSystem_016_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .type = type, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_016_GetHiddenAreaMesh(_this->u_iface, eEye, type); - return _ret; + cppIVRSystem_IVRSystem_016_GetHiddenAreaMesh( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_016_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_109 *pControllerState, uint32_t unControllerStateSize) { - bool _ret; + struct cppIVRSystem_IVRSystem_016_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState, unControllerStateSize); - return _ret; + cppIVRSystem_IVRSystem_016_GetControllerState( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_016_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_016_GetControllerStateWithPose( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_016_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { + struct cppIVRSystem_IVRSystem_016_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_016_TriggerHapticPulse( ¶ms ); } const char * __thiscall winIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { - const char * _ret; + struct cppIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); - return _ret; + cppIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); - return _ret; + cppIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_016_CaptureInputFocus(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_016_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_CaptureInputFocus(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_016_CaptureInputFocus( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_016_ReleaseInputFocus(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_016_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_ReleaseInputFocus(_this->u_iface); + cppIVRSystem_IVRSystem_016_ReleaseInputFocus( ¶ms ); } bool __thiscall winIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_016_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); - return _ret; + cppIVRSystem_IVRSystem_016_DriverDebugRequest( ¶ms ); + return params._ret; } EVRFirmwareError __thiscall winIVRSystem_IVRSystem_016_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - EVRFirmwareError _ret; + struct cppIVRSystem_IVRSystem_016_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_016_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_016_PerformFirmwareUpdate( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting(_this->u_iface); + cppIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt(_this->u_iface); + cppIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt( ¶ms ); } extern vtable_ptr winIVRSystem_IVRSystem_016_vtable; @@ -5403,52 +7883,96 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt, 4 void __thiscall winIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { + struct cppIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize( ¶ms ); } HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_017_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ) { + struct cppIVRSystem_IVRSystem_017_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_017_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ); - return _ret; + cppIVRSystem_IVRSystem_017_GetProjectionMatrix( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_017_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { + struct cppIVRSystem_IVRSystem_017_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_017_GetProjectionRaw( ¶ms ); } bool __thiscall winIVRSystem_IVRSystem_017_ComputeDistortion(struct w_steam_iface *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) { - bool _ret; + struct cppIVRSystem_IVRSystem_017_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .fU = fU, + .fV = fV, + .pDistortionCoordinates = pDistortionCoordinates, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_ComputeDistortion(_this->u_iface, eEye, fU, fV, pDistortionCoordinates); - return _ret; + cppIVRSystem_IVRSystem_017_ComputeDistortion( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_017_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { + struct cppIVRSystem_IVRSystem_017_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_017_GetEyeToHeadTransform(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_017_GetEyeToHeadTransform( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_017_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { - bool _ret; + struct cppIVRSystem_IVRSystem_017_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); - return _ret; + cppIVRSystem_IVRSystem_017_GetTimeSinceLastVsync( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_017_GetD3D9AdapterIndex(struct w_steam_iface *_this) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_017_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetD3D9AdapterIndex(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_017_GetD3D9AdapterIndex( ¶ms ); + return params._ret; } extern void __thiscall winIVRSystem_IVRSystem_017_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); @@ -5457,272 +7981,460 @@ extern void __thiscall winIVRSystem_IVRSystem_017_GetOutputDevice(struct w_steam bool __thiscall winIVRSystem_IVRSystem_017_IsDisplayOnDesktop(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_017_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_IsDisplayOnDesktop(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_017_IsDisplayOnDesktop( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_017_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { - bool _ret; + struct cppIVRSystem_IVRSystem_017_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); - return _ret; + cppIVRSystem_IVRSystem_017_SetDisplayVisibility( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { + struct cppIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_017_ResetSeatedZeroPose(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_017_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_ResetSeatedZeroPose(_this->u_iface); + cppIVRSystem_IVRSystem_017_ResetSeatedZeroPose( ¶ms ); } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass( ¶ms ); + return params._ret; } EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { - EDeviceActivityLevel _ret; + struct cppIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); - return _ret; + cppIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_017_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { + struct cppIVRSystem_IVRSystem_017_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_017_ApplyTransform( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, ETrackedControllerRole unDeviceType) { - TrackedDeviceIndex_t _ret; + struct cppIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole_params params = + { + .linux_side = _this->u_iface, + .unDeviceType = unDeviceType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole(_this->u_iface, unDeviceType); - return _ret; + cppIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole( ¶ms ); + return params._ret; } ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedControllerRole _ret; + struct cppIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex( ¶ms ); + return params._ret; } ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_017_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedDeviceClass _ret; + struct cppIVRSystem_IVRSystem_017_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_017_GetTrackedDeviceClass( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_017_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - bool _ret; + struct cppIVRSystem_IVRSystem_017_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_017_IsTrackedDeviceConnected( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - bool _ret; + struct cppIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty( ¶ms ); + return params._ret; } float __thiscall winIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - float _ret; + struct cppIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - uint64_t _ret; + struct cppIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { + struct cppIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); - return _ret; + cppIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { - const char * _ret; + struct cppIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_017_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_1011 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVRSystem_IVRSystem_017_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_PollNextEvent(_this->u_iface, pEvent, uncbVREvent); - return _ret; + cppIVRSystem_IVRSystem_017_PollNextEvent( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_017_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_017_PollNextEventWithPose( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum(_this->u_iface, eType); - return _ret; + cppIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum( ¶ms ); + return params._ret; } HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_017_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) { + struct cppIVRSystem_IVRSystem_017_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .type = type, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_017_GetHiddenAreaMesh(_this->u_iface, eEye, type); - return _ret; + cppIVRSystem_IVRSystem_017_GetHiddenAreaMesh( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_017_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1011 *pControllerState, uint32_t unControllerStateSize) { - bool _ret; + struct cppIVRSystem_IVRSystem_017_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState, unControllerStateSize); - return _ret; + cppIVRSystem_IVRSystem_017_GetControllerState( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_017_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_017_GetControllerStateWithPose( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_017_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { + struct cppIVRSystem_IVRSystem_017_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_017_TriggerHapticPulse( ¶ms ); } const char * __thiscall winIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { - const char * _ret; + struct cppIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); - return _ret; + cppIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); - return _ret; + cppIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_017_CaptureInputFocus(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_017_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_CaptureInputFocus(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_017_CaptureInputFocus( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_017_ReleaseInputFocus(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_017_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_ReleaseInputFocus(_this->u_iface); + cppIVRSystem_IVRSystem_017_ReleaseInputFocus( ¶ms ); } bool __thiscall winIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_017_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); - return _ret; + cppIVRSystem_IVRSystem_017_DriverDebugRequest( ¶ms ); + return params._ret; } EVRFirmwareError __thiscall winIVRSystem_IVRSystem_017_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - EVRFirmwareError _ret; + struct cppIVRSystem_IVRSystem_017_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_017_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_017_PerformFirmwareUpdate( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting(_this->u_iface); + cppIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt(_this->u_iface); + cppIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt( ¶ms ); } extern vtable_ptr winIVRSystem_IVRSystem_017_vtable; @@ -5916,52 +8628,96 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt, 4 void __thiscall winIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { + struct cppIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize( ¶ms ); } HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_019_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ) { + struct cppIVRSystem_IVRSystem_019_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_019_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ); - return _ret; + cppIVRSystem_IVRSystem_019_GetProjectionMatrix( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_019_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { + struct cppIVRSystem_IVRSystem_019_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_019_GetProjectionRaw( ¶ms ); } bool __thiscall winIVRSystem_IVRSystem_019_ComputeDistortion(struct w_steam_iface *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) { - bool _ret; + struct cppIVRSystem_IVRSystem_019_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .fU = fU, + .fV = fV, + .pDistortionCoordinates = pDistortionCoordinates, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_ComputeDistortion(_this->u_iface, eEye, fU, fV, pDistortionCoordinates); - return _ret; + cppIVRSystem_IVRSystem_019_ComputeDistortion( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_019_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { + struct cppIVRSystem_IVRSystem_019_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_019_GetEyeToHeadTransform(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_019_GetEyeToHeadTransform( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_019_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { - bool _ret; + struct cppIVRSystem_IVRSystem_019_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); - return _ret; + cppIVRSystem_IVRSystem_019_GetTimeSinceLastVsync( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_019_GetD3D9AdapterIndex(struct w_steam_iface *_this) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_019_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetD3D9AdapterIndex(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_019_GetD3D9AdapterIndex( ¶ms ); + return params._ret; } extern void __thiscall winIVRSystem_IVRSystem_019_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); @@ -5970,290 +8726,489 @@ extern void __thiscall winIVRSystem_IVRSystem_019_GetOutputDevice(struct w_steam bool __thiscall winIVRSystem_IVRSystem_019_IsDisplayOnDesktop(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_019_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_IsDisplayOnDesktop(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_019_IsDisplayOnDesktop( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_019_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { - bool _ret; + struct cppIVRSystem_IVRSystem_019_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); - return _ret; + cppIVRSystem_IVRSystem_019_SetDisplayVisibility( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { + struct cppIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_019_ResetSeatedZeroPose(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_019_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_ResetSeatedZeroPose(_this->u_iface); + cppIVRSystem_IVRSystem_019_ResetSeatedZeroPose( ¶ms ); } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass( ¶ms ); + return params._ret; } EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { - EDeviceActivityLevel _ret; + struct cppIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); - return _ret; + cppIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_019_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { + struct cppIVRSystem_IVRSystem_019_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_019_ApplyTransform( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, ETrackedControllerRole unDeviceType) { - TrackedDeviceIndex_t _ret; + struct cppIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole_params params = + { + .linux_side = _this->u_iface, + .unDeviceType = unDeviceType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole(_this->u_iface, unDeviceType); - return _ret; + cppIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole( ¶ms ); + return params._ret; } ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedControllerRole _ret; + struct cppIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex( ¶ms ); + return params._ret; } ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_019_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedDeviceClass _ret; + struct cppIVRSystem_IVRSystem_019_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_019_GetTrackedDeviceClass( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_019_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - bool _ret; + struct cppIVRSystem_IVRSystem_019_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_019_IsTrackedDeviceConnected( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - bool _ret; + struct cppIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty( ¶ms ); + return params._ret; } float __thiscall winIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - float _ret; + struct cppIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - uint64_t _ret; + struct cppIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { + struct cppIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .propType = propType, + .pBuffer = pBuffer, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, propType, pBuffer, unBufferSize, pError); - return _ret; + cppIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); - return _ret; + cppIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { - const char * _ret; + struct cppIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_019_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_1418 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVRSystem_IVRSystem_019_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_PollNextEvent(_this->u_iface, pEvent, uncbVREvent); - return _ret; + cppIVRSystem_IVRSystem_019_PollNextEvent( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_019_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_019_PollNextEventWithPose( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum(_this->u_iface, eType); - return _ret; + cppIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum( ¶ms ); + return params._ret; } HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_019_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) { + struct cppIVRSystem_IVRSystem_019_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .type = type, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_019_GetHiddenAreaMesh(_this->u_iface, eEye, type); - return _ret; + cppIVRSystem_IVRSystem_019_GetHiddenAreaMesh( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_019_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1418 *pControllerState, uint32_t unControllerStateSize) { - bool _ret; + struct cppIVRSystem_IVRSystem_019_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState, unControllerStateSize); - return _ret; + cppIVRSystem_IVRSystem_019_GetControllerState( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_019_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_019_GetControllerStateWithPose( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_019_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { + struct cppIVRSystem_IVRSystem_019_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_019_TriggerHapticPulse( ¶ms ); } const char * __thiscall winIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { - const char * _ret; + struct cppIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); - return _ret; + cppIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); - return _ret; + cppIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_019_IsInputAvailable(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_019_IsInputAvailable_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_IsInputAvailable(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_019_IsInputAvailable( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_019_ShouldApplicationPause(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_019_ShouldApplicationPause_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_ShouldApplicationPause(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_019_ShouldApplicationPause( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_019_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_DriverDebugRequest(_this->u_iface, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); - return _ret; + cppIVRSystem_IVRSystem_019_DriverDebugRequest( ¶ms ); + return params._ret; } EVRFirmwareError __thiscall winIVRSystem_IVRSystem_019_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - EVRFirmwareError _ret; + struct cppIVRSystem_IVRSystem_019_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_019_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_019_PerformFirmwareUpdate( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting(_this->u_iface); + cppIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt(_this->u_iface); + cppIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt( ¶ms ); } extern vtable_ptr winIVRSystem_IVRSystem_019_vtable; @@ -6452,52 +9407,96 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetRuntimeVersion, 4) void __thiscall winIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { + struct cppIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize( ¶ms ); } HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_020_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ) { + struct cppIVRSystem_IVRSystem_020_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_020_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ); - return _ret; + cppIVRSystem_IVRSystem_020_GetProjectionMatrix( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_020_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { + struct cppIVRSystem_IVRSystem_020_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_020_GetProjectionRaw( ¶ms ); } bool __thiscall winIVRSystem_IVRSystem_020_ComputeDistortion(struct w_steam_iface *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) { - bool _ret; + struct cppIVRSystem_IVRSystem_020_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .fU = fU, + .fV = fV, + .pDistortionCoordinates = pDistortionCoordinates, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_ComputeDistortion(_this->u_iface, eEye, fU, fV, pDistortionCoordinates); - return _ret; + cppIVRSystem_IVRSystem_020_ComputeDistortion( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_020_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { + struct cppIVRSystem_IVRSystem_020_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_020_GetEyeToHeadTransform(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_020_GetEyeToHeadTransform( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_020_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { - bool _ret; + struct cppIVRSystem_IVRSystem_020_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); - return _ret; + cppIVRSystem_IVRSystem_020_GetTimeSinceLastVsync( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_020_GetD3D9AdapterIndex(struct w_steam_iface *_this) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_020_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetD3D9AdapterIndex(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_020_GetD3D9AdapterIndex( ¶ms ); + return params._ret; } extern void __thiscall winIVRSystem_IVRSystem_020_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); @@ -6506,298 +9505,498 @@ extern void __thiscall winIVRSystem_IVRSystem_020_GetOutputDevice(struct w_steam bool __thiscall winIVRSystem_IVRSystem_020_IsDisplayOnDesktop(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_020_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_IsDisplayOnDesktop(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_020_IsDisplayOnDesktop( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_020_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { - bool _ret; + struct cppIVRSystem_IVRSystem_020_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); - return _ret; + cppIVRSystem_IVRSystem_020_SetDisplayVisibility( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { + struct cppIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_020_ResetSeatedZeroPose(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_020_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_ResetSeatedZeroPose(_this->u_iface); + cppIVRSystem_IVRSystem_020_ResetSeatedZeroPose( ¶ms ); } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass( ¶ms ); + return params._ret; } EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { - EDeviceActivityLevel _ret; + struct cppIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); - return _ret; + cppIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_020_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { + struct cppIVRSystem_IVRSystem_020_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_020_ApplyTransform( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, ETrackedControllerRole unDeviceType) { - TrackedDeviceIndex_t _ret; + struct cppIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole_params params = + { + .linux_side = _this->u_iface, + .unDeviceType = unDeviceType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole(_this->u_iface, unDeviceType); - return _ret; + cppIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole( ¶ms ); + return params._ret; } ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedControllerRole _ret; + struct cppIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex( ¶ms ); + return params._ret; } ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_020_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedDeviceClass _ret; + struct cppIVRSystem_IVRSystem_020_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_020_GetTrackedDeviceClass( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_020_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - bool _ret; + struct cppIVRSystem_IVRSystem_020_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_020_IsTrackedDeviceConnected( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - bool _ret; + struct cppIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty( ¶ms ); + return params._ret; } float __thiscall winIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - float _ret; + struct cppIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - uint64_t _ret; + struct cppIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { + struct cppIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .propType = propType, + .pBuffer = pBuffer, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, propType, pBuffer, unBufferSize, pError); - return _ret; + cppIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); - return _ret; + cppIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { - const char * _ret; + struct cppIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_020_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_1715 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVRSystem_IVRSystem_020_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_PollNextEvent(_this->u_iface, pEvent, uncbVREvent); - return _ret; + cppIVRSystem_IVRSystem_020_PollNextEvent( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_020_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_020_PollNextEventWithPose( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum(_this->u_iface, eType); - return _ret; + cppIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum( ¶ms ); + return params._ret; } HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_020_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) { + struct cppIVRSystem_IVRSystem_020_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .type = type, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_020_GetHiddenAreaMesh(_this->u_iface, eEye, type); - return _ret; + cppIVRSystem_IVRSystem_020_GetHiddenAreaMesh( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_020_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1715 *pControllerState, uint32_t unControllerStateSize) { - bool _ret; + struct cppIVRSystem_IVRSystem_020_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState, unControllerStateSize); - return _ret; + cppIVRSystem_IVRSystem_020_GetControllerState( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_020_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_020_GetControllerStateWithPose( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_020_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { + struct cppIVRSystem_IVRSystem_020_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_020_TriggerHapticPulse( ¶ms ); } const char * __thiscall winIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { - const char * _ret; + struct cppIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); - return _ret; + cppIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); - return _ret; + cppIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_020_IsInputAvailable(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_020_IsInputAvailable_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_IsInputAvailable(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_020_IsInputAvailable( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_020_ShouldApplicationPause(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_020_ShouldApplicationPause_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_ShouldApplicationPause(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_020_ShouldApplicationPause( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork( ¶ms ); + return params._ret; } EVRFirmwareError __thiscall winIVRSystem_IVRSystem_020_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - EVRFirmwareError _ret; + struct cppIVRSystem_IVRSystem_020_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_020_PerformFirmwareUpdate( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting(_this->u_iface); + cppIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt(_this->u_iface); + cppIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt( ¶ms ); } uint32_t __thiscall winIVRSystem_IVRSystem_020_GetAppContainerFilePaths(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize) { - uint32_t _ret; + struct cppIVRSystem_IVRSystem_020_GetAppContainerFilePaths_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetAppContainerFilePaths(_this->u_iface, pchBuffer, unBufferSize); - return _ret; + cppIVRSystem_IVRSystem_020_GetAppContainerFilePaths( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_020_GetRuntimeVersion(struct w_steam_iface *_this) { - const char * _ret; + struct cppIVRSystem_IVRSystem_020_GetRuntimeVersion_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_020_GetRuntimeVersion(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_020_GetRuntimeVersion( ¶ms ); + return params._ret; } extern vtable_ptr winIVRSystem_IVRSystem_020_vtable; @@ -6997,52 +10196,96 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetRuntimeVersion, 4) void __thiscall winIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { + struct cppIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize( ¶ms ); } HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_021_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ) { + struct cppIVRSystem_IVRSystem_021_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_021_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ); - return _ret; + cppIVRSystem_IVRSystem_021_GetProjectionMatrix( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_021_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { + struct cppIVRSystem_IVRSystem_021_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_021_GetProjectionRaw( ¶ms ); } bool __thiscall winIVRSystem_IVRSystem_021_ComputeDistortion(struct w_steam_iface *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) { - bool _ret; + struct cppIVRSystem_IVRSystem_021_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .fU = fU, + .fV = fV, + .pDistortionCoordinates = pDistortionCoordinates, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_ComputeDistortion(_this->u_iface, eEye, fU, fV, pDistortionCoordinates); - return _ret; + cppIVRSystem_IVRSystem_021_ComputeDistortion( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_021_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { + struct cppIVRSystem_IVRSystem_021_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_021_GetEyeToHeadTransform(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_021_GetEyeToHeadTransform( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_021_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { - bool _ret; + struct cppIVRSystem_IVRSystem_021_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); - return _ret; + cppIVRSystem_IVRSystem_021_GetTimeSinceLastVsync( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_021_GetD3D9AdapterIndex(struct w_steam_iface *_this) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_021_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetD3D9AdapterIndex(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_021_GetD3D9AdapterIndex( ¶ms ); + return params._ret; } extern void __thiscall winIVRSystem_IVRSystem_021_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); @@ -7051,292 +10294,488 @@ extern void __thiscall winIVRSystem_IVRSystem_021_GetOutputDevice(struct w_steam bool __thiscall winIVRSystem_IVRSystem_021_IsDisplayOnDesktop(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_021_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_IsDisplayOnDesktop(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_021_IsDisplayOnDesktop( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_021_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { - bool _ret; + struct cppIVRSystem_IVRSystem_021_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); - return _ret; + cppIVRSystem_IVRSystem_021_SetDisplayVisibility( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { + struct cppIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose( ¶ms ); } void __thiscall winIVRSystem_IVRSystem_021_ResetSeatedZeroPose(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_021_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_ResetSeatedZeroPose(_this->u_iface); + cppIVRSystem_IVRSystem_021_ResetSeatedZeroPose( ¶ms ); } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass( ¶ms ); + return params._ret; } EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { - EDeviceActivityLevel _ret; + struct cppIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); - return _ret; + cppIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_021_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { + struct cppIVRSystem_IVRSystem_021_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_021_ApplyTransform( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, ETrackedControllerRole unDeviceType) { - TrackedDeviceIndex_t _ret; + struct cppIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole_params params = + { + .linux_side = _this->u_iface, + .unDeviceType = unDeviceType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole(_this->u_iface, unDeviceType); - return _ret; + cppIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole( ¶ms ); + return params._ret; } ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedControllerRole _ret; + struct cppIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex( ¶ms ); + return params._ret; } ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_021_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedDeviceClass _ret; + struct cppIVRSystem_IVRSystem_021_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_021_GetTrackedDeviceClass( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_021_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - bool _ret; + struct cppIVRSystem_IVRSystem_021_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_021_IsTrackedDeviceConnected( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - bool _ret; + struct cppIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty( ¶ms ); + return params._ret; } float __thiscall winIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - float _ret; + struct cppIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - uint64_t _ret; + struct cppIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { + struct cppIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .propType = propType, + .pBuffer = pBuffer, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, propType, pBuffer, unBufferSize, pError); - return _ret; + cppIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); - return _ret; + cppIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { - const char * _ret; + struct cppIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_021_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_1125 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVRSystem_IVRSystem_021_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_PollNextEvent(_this->u_iface, pEvent, uncbVREvent); - return _ret; + cppIVRSystem_IVRSystem_021_PollNextEvent( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_021_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_021_PollNextEventWithPose( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum(_this->u_iface, eType); - return _ret; + cppIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum( ¶ms ); + return params._ret; } HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_021_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) { + struct cppIVRSystem_IVRSystem_021_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .type = type, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_021_GetHiddenAreaMesh(_this->u_iface, eEye, type); - return _ret; + cppIVRSystem_IVRSystem_021_GetHiddenAreaMesh( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_021_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1125 *pControllerState, uint32_t unControllerStateSize) { - bool _ret; + struct cppIVRSystem_IVRSystem_021_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState, unControllerStateSize); - return _ret; + cppIVRSystem_IVRSystem_021_GetControllerState( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_021_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_021_GetControllerStateWithPose( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_021_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { + struct cppIVRSystem_IVRSystem_021_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_021_TriggerHapticPulse( ¶ms ); } const char * __thiscall winIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { - const char * _ret; + struct cppIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); - return _ret; + cppIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); - return _ret; + cppIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_021_IsInputAvailable(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_021_IsInputAvailable_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_IsInputAvailable(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_021_IsInputAvailable( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_021_ShouldApplicationPause(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_021_ShouldApplicationPause_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_ShouldApplicationPause(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_021_ShouldApplicationPause( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork( ¶ms ); + return params._ret; } EVRFirmwareError __thiscall winIVRSystem_IVRSystem_021_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - EVRFirmwareError _ret; + struct cppIVRSystem_IVRSystem_021_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_021_PerformFirmwareUpdate( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting(_this->u_iface); + cppIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting( ¶ms ); } uint32_t __thiscall winIVRSystem_IVRSystem_021_GetAppContainerFilePaths(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize) { - uint32_t _ret; + struct cppIVRSystem_IVRSystem_021_GetAppContainerFilePaths_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetAppContainerFilePaths(_this->u_iface, pchBuffer, unBufferSize); - return _ret; + cppIVRSystem_IVRSystem_021_GetAppContainerFilePaths( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_021_GetRuntimeVersion(struct w_steam_iface *_this) { - const char * _ret; + struct cppIVRSystem_IVRSystem_021_GetRuntimeVersion_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_021_GetRuntimeVersion(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_021_GetRuntimeVersion( ¶ms ); + return params._ret; } extern vtable_ptr winIVRSystem_IVRSystem_021_vtable; @@ -7533,52 +10972,96 @@ DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetRuntimeVersion, 4) void __thiscall winIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) { + struct cppIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize(_this->u_iface, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize( ¶ms ); } HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_022_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, EVREye eEye, float fNearZ, float fFarZ) { + struct cppIVRSystem_IVRSystem_022_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_022_GetProjectionMatrix(_this->u_iface, eEye, fNearZ, fFarZ); - return _ret; + cppIVRSystem_IVRSystem_022_GetProjectionMatrix( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_022_GetProjectionRaw(struct w_steam_iface *_this, EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) { + struct cppIVRSystem_IVRSystem_022_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_GetProjectionRaw(_this->u_iface, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_022_GetProjectionRaw( ¶ms ); } bool __thiscall winIVRSystem_IVRSystem_022_ComputeDistortion(struct w_steam_iface *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) { - bool _ret; + struct cppIVRSystem_IVRSystem_022_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .fU = fU, + .fV = fV, + .pDistortionCoordinates = pDistortionCoordinates, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_ComputeDistortion(_this->u_iface, eEye, fU, fV, pDistortionCoordinates); - return _ret; + cppIVRSystem_IVRSystem_022_ComputeDistortion( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_022_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, EVREye eEye) { + struct cppIVRSystem_IVRSystem_022_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_022_GetEyeToHeadTransform(_this->u_iface, eEye); - return _ret; + cppIVRSystem_IVRSystem_022_GetEyeToHeadTransform( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_022_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) { - bool _ret; + struct cppIVRSystem_IVRSystem_022_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetTimeSinceLastVsync(_this->u_iface, pfSecondsSinceLastVsync, pulFrameCounter); - return _ret; + cppIVRSystem_IVRSystem_022_GetTimeSinceLastVsync( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_022_GetD3D9AdapterIndex(struct w_steam_iface *_this) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_022_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetD3D9AdapterIndex(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_022_GetD3D9AdapterIndex( ¶ms ); + return params._ret; } extern void __thiscall winIVRSystem_IVRSystem_022_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); @@ -7587,286 +11070,478 @@ extern void __thiscall winIVRSystem_IVRSystem_022_GetOutputDevice(struct w_steam bool __thiscall winIVRSystem_IVRSystem_022_IsDisplayOnDesktop(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_022_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_IsDisplayOnDesktop(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_022_IsDisplayOnDesktop( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_022_SetDisplayVisibility(struct w_steam_iface *_this, bool bIsVisibleOnDesktop) { - bool _ret; + struct cppIVRSystem_IVRSystem_022_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_SetDisplayVisibility(_this->u_iface, bIsVisibleOnDesktop); - return _ret; + cppIVRSystem_IVRSystem_022_SetDisplayVisibility( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { + struct cppIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose(_this->u_iface, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose( ¶ms ); } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) { + struct cppIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(_this->u_iface, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass( ¶ms ); + return params._ret; } EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceId) { - EDeviceActivityLevel _ret; + struct cppIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel(_this->u_iface, unDeviceId); - return _ret; + cppIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_022_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) { + struct cppIVRSystem_IVRSystem_022_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_ApplyTransform(_this->u_iface, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_022_ApplyTransform( ¶ms ); } TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, ETrackedControllerRole unDeviceType) { - TrackedDeviceIndex_t _ret; + struct cppIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole_params params = + { + .linux_side = _this->u_iface, + .unDeviceType = unDeviceType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole(_this->u_iface, unDeviceType); - return _ret; + cppIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole( ¶ms ); + return params._ret; } ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedControllerRole _ret; + struct cppIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex( ¶ms ); + return params._ret; } ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_022_GetTrackedDeviceClass(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - ETrackedDeviceClass _ret; + struct cppIVRSystem_IVRSystem_022_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetTrackedDeviceClass(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_022_GetTrackedDeviceClass( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_022_IsTrackedDeviceConnected(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - bool _ret; + struct cppIVRSystem_IVRSystem_022_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_IsTrackedDeviceConnected(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_022_IsTrackedDeviceConnected( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - bool _ret; + struct cppIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty( ¶ms ); + return params._ret; } float __thiscall winIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - float _ret; + struct cppIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty( ¶ms ); + return params._ret; } int32_t __thiscall winIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - int32_t _ret; + struct cppIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty( ¶ms ); + return params._ret; } uint64_t __thiscall winIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { - uint64_t _ret; + struct cppIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty( ¶ms ); + return params._ret; } HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError) { + struct cppIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pError); - return _ret; + cppIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .propType = propType, + .pBuffer = pBuffer, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, propType, pBuffer, unBufferSize, pError); - return _ret; + cppIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty(_this->u_iface, unDeviceIndex, prop, pchValue, unBufferSize, pError); - return _ret; + cppIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum(struct w_steam_iface *_this, ETrackedPropertyError error) { - const char * _ret; + struct cppIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum(_this->u_iface, error); - return _ret; + cppIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_022_PollNextEvent(struct w_steam_iface *_this, winVREvent_t_1267 *pEvent, uint32_t uncbVREvent) { - bool _ret; + struct cppIVRSystem_IVRSystem_022_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_PollNextEvent(_this->u_iface, pEvent, uncbVREvent); - return _ret; + cppIVRSystem_IVRSystem_022_PollNextEvent( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_022_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_PollNextEventWithPose(_this->u_iface, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_022_PollNextEventWithPose( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum(struct w_steam_iface *_this, EVREventType eType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum(_this->u_iface, eType); - return _ret; + cppIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum( ¶ms ); + return params._ret; } HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_022_GetHiddenAreaMesh(struct w_steam_iface *_this, HiddenAreaMesh_t *_ret, EVREye eEye, EHiddenAreaMeshType type) { + struct cppIVRSystem_IVRSystem_022_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .type = type, + }; TRACE("%p\n", _this); - *_ret = cppIVRSystem_IVRSystem_022_GetHiddenAreaMesh(_this->u_iface, eEye, type); - return _ret; + cppIVRSystem_IVRSystem_022_GetHiddenAreaMesh( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_022_GetControllerState(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1267 *pControllerState, uint32_t unControllerStateSize) { - bool _ret; + struct cppIVRSystem_IVRSystem_022_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetControllerState(_this->u_iface, unControllerDeviceIndex, pControllerState, unControllerStateSize); - return _ret; + cppIVRSystem_IVRSystem_022_GetControllerState( ¶ms ); + return params._ret; } 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; + struct cppIVRSystem_IVRSystem_022_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + .pTrackedDevicePose = pTrackedDevicePose, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetControllerStateWithPose(_this->u_iface, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); - return _ret; + cppIVRSystem_IVRSystem_022_GetControllerStateWithPose( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_022_TriggerHapticPulse(struct w_steam_iface *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { + struct cppIVRSystem_IVRSystem_022_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_TriggerHapticPulse(_this->u_iface, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_022_TriggerHapticPulse( ¶ms ); } const char * __thiscall winIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum(struct w_steam_iface *_this, EVRButtonId eButtonId) { - const char * _ret; + struct cppIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum(_this->u_iface, eButtonId); - return _ret; + cppIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, EVRControllerAxisType eAxisType) { - const char * _ret; + struct cppIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum(_this->u_iface, eAxisType); - return _ret; + cppIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_022_IsInputAvailable(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_022_IsInputAvailable_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_IsInputAvailable(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_022_IsInputAvailable( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_022_ShouldApplicationPause(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_022_ShouldApplicationPause_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_ShouldApplicationPause(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_022_ShouldApplicationPause( ¶ms ); + return params._ret; } bool __thiscall winIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork(struct w_steam_iface *_this) { - bool _ret; + struct cppIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork( ¶ms ); + return params._ret; } EVRFirmwareError __thiscall winIVRSystem_IVRSystem_022_PerformFirmwareUpdate(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex) { - EVRFirmwareError _ret; + struct cppIVRSystem_IVRSystem_022_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_PerformFirmwareUpdate(_this->u_iface, unDeviceIndex); - return _ret; + cppIVRSystem_IVRSystem_022_PerformFirmwareUpdate( ¶ms ); + return params._ret; } void __thiscall winIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) { + struct cppIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting(_this->u_iface); + cppIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting( ¶ms ); } uint32_t __thiscall winIVRSystem_IVRSystem_022_GetAppContainerFilePaths(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize) { - uint32_t _ret; + struct cppIVRSystem_IVRSystem_022_GetAppContainerFilePaths_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetAppContainerFilePaths(_this->u_iface, pchBuffer, unBufferSize); - return _ret; + cppIVRSystem_IVRSystem_022_GetAppContainerFilePaths( ¶ms ); + return params._ret; } const char * __thiscall winIVRSystem_IVRSystem_022_GetRuntimeVersion(struct w_steam_iface *_this) { - const char * _ret; + struct cppIVRSystem_IVRSystem_022_GetRuntimeVersion_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRSystem_IVRSystem_022_GetRuntimeVersion(_this->u_iface); - return _ret; + cppIVRSystem_IVRSystem_022_GetRuntimeVersion( ¶ms ); + return params._ret; } extern vtable_ptr winIVRSystem_IVRSystem_022_vtable; diff --git a/vrclient_x64/vrclient_x64/winIVRTrackedCamera.c b/vrclient_x64/vrclient_x64/winIVRTrackedCamera.c index 2a9a6288..11ec2323 100644 --- a/vrclient_x64/vrclient_x64/winIVRTrackedCamera.c +++ b/vrclient_x64/vrclient_x64/winIVRTrackedCamera.c @@ -39,146 +39,236 @@ DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjec bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_HasCamera(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex) { - bool _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_001_HasCamera_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_HasCamera(_this->u_iface, nDeviceIndex); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_001_HasCamera( ¶ms ); + return params._ret; } bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, char *pBuffer, uint32_t nBufferLen) { - bool _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pBuffer = pBuffer, + .nBufferLen = nBufferLen, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription(_this->u_iface, nDeviceIndex, pBuffer, nBufferLen); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription( ¶ms ); + return params._ret; } bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, ECameraVideoStreamFormat nVideoStreamFormat, uint32_t *pWidth, uint32_t *pHeight) { - bool _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .nVideoStreamFormat = nVideoStreamFormat, + .pWidth = pWidth, + .pHeight = pHeight, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions(_this->u_iface, nDeviceIndex, nVideoStreamFormat, pWidth, pHeight); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions( ¶ms ); + return params._ret; } bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, ECameraVideoStreamFormat nVideoStreamFormat) { - bool _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .nVideoStreamFormat = nVideoStreamFormat, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat(_this->u_iface, nDeviceIndex, nVideoStreamFormat); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat( ¶ms ); + return params._ret; } ECameraVideoStreamFormat __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex) { - ECameraVideoStreamFormat _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat(_this->u_iface, nDeviceIndex); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat( ¶ms ); + return params._ret; } bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, bool bEnable) { - bool _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .bEnable = bEnable, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming(_this->u_iface, nDeviceIndex, bEnable); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming( ¶ms ); + return params._ret; } bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex) { - bool _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream(_this->u_iface, nDeviceIndex); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream( ¶ms ); + return params._ret; } bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex) { - bool _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream(_this->u_iface, nDeviceIndex); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream( ¶ms ); + return params._ret; } bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex) { - bool _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive(_this->u_iface, nDeviceIndex); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive( ¶ms ); + return params._ret; } float __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex) { - float _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime(_this->u_iface, nDeviceIndex); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime( ¶ms ); + return params._ret; } const CameraVideoStreamFrame_t * __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex) { - const CameraVideoStreamFrame_t * _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame(_this->u_iface, nDeviceIndex); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame( ¶ms ); + return params._ret; } bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, const CameraVideoStreamFrame_t *pFrameImage) { - bool _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pFrameImage = pFrameImage, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame(_this->u_iface, nDeviceIndex, pFrameImage); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame( ¶ms ); + return params._ret; } bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, bool bEnable) { - bool _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .bEnable = bEnable, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure(_this->u_iface, nDeviceIndex, bEnable); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure( ¶ms ); + return params._ret; } bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex) { - bool _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream(_this->u_iface, nDeviceIndex); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream( ¶ms ); + return params._ret; } bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex) { - bool _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream(_this->u_iface, nDeviceIndex); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream( ¶ms ); + return params._ret; } bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex) { - bool _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused(_this->u_iface, nDeviceIndex); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused( ¶ms ); + return params._ret; } bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, float flInputU, float flInputV, float *pflOutputU, float *pflOutputV) { - bool _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .flInputU = flInputU, + .flInputV = flInputV, + .pflOutputU = pflOutputU, + .pflOutputV = pflOutputV, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion(_this->u_iface, nDeviceIndex, flInputU, flInputV, pflOutputU, pflOutputV); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .flWidthPixels = flWidthPixels, + .flHeightPixels = flHeightPixels, + .flZNear = flZNear, + .flZFar = flZFar, + .pProjection = pProjection, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection(_this->u_iface, nDeviceIndex, flWidthPixels, flHeightPixels, flZNear, flZFar, pProjection); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection( ¶ms ); + return params._ret; } extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_001_vtable; @@ -279,66 +369,116 @@ DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamF const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum(struct w_steam_iface *_this, EVRTrackedCameraError eCameraError) { - const char * _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eCameraError = eCameraError, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum(_this->u_iface, eCameraError); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum( ¶ms ); + return params._ret; } EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_HasCamera(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera) { - EVRTrackedCameraError _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_002_HasCamera_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pHasCamera = pHasCamera, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_HasCamera(_this->u_iface, nDeviceIndex, pHasCamera); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_002_HasCamera( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + .pnFrameBufferSize = pnFrameBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize(_this->u_iface, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize( ¶ms ); + return params._ret; } EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) { - EVRTrackedCameraError _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pFocalLength = pFocalLength, + .pCenter = pCenter, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics(_this->u_iface, nDeviceIndex, eFrameType, pFocalLength, pCenter); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .flZNear = flZNear, + .flZFar = flZFar, + .pProjection = pProjection, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection(_this->u_iface, nDeviceIndex, eFrameType, flZNear, flZFar, pProjection); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection( ¶ms ); + return params._ret; } EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t *pHandle) { - EVRTrackedCameraError _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService(_this->u_iface, nDeviceIndex, pHandle); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService( ¶ms ); + return params._ret; } EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera) { - EVRTrackedCameraError _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService(_this->u_iface, hTrackedCamera); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pFrameBuffer = pFrameBuffer, + .nFrameBufferSize = nFrameBufferSize, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer(_this->u_iface, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer( ¶ms ); + return params._ret; } extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_002_vtable; @@ -423,98 +563,178 @@ DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStr const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum(struct w_steam_iface *_this, EVRTrackedCameraError eCameraError) { - const char * _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eCameraError = eCameraError, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum(_this->u_iface, eCameraError); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum( ¶ms ); + return params._ret; } EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_HasCamera(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera) { - EVRTrackedCameraError _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_003_HasCamera_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pHasCamera = pHasCamera, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_HasCamera(_this->u_iface, nDeviceIndex, pHasCamera); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_003_HasCamera( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + .pnFrameBufferSize = pnFrameBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize(_this->u_iface, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize( ¶ms ); + return params._ret; } EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) { - EVRTrackedCameraError _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pFocalLength = pFocalLength, + .pCenter = pCenter, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics(_this->u_iface, nDeviceIndex, eFrameType, pFocalLength, pCenter); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .flZNear = flZNear, + .flZFar = flZFar, + .pProjection = pProjection, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection(_this->u_iface, nDeviceIndex, eFrameType, flZNear, flZFar, pProjection); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection( ¶ms ); + return params._ret; } EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t *pHandle) { - EVRTrackedCameraError _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService(_this->u_iface, nDeviceIndex, pHandle); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService( ¶ms ); + return params._ret; } EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera) { - EVRTrackedCameraError _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService(_this->u_iface, hTrackedCamera); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pFrameBuffer = pFrameBuffer, + .nFrameBufferSize = nFrameBufferSize, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer(_this->u_iface, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pTextureBounds = pTextureBounds, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize(_this->u_iface, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11(_this->u_iface, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pglTextureId = pglTextureId, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL(_this->u_iface, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL( ¶ms ); + return params._ret; } EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) { - EVRTrackedCameraError _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .glTextureId = glTextureId, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(_this->u_iface, hTrackedCamera, glTextureId); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL( ¶ms ); + return params._ret; } extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_003_vtable; @@ -607,98 +827,178 @@ DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStr const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum(struct w_steam_iface *_this, EVRTrackedCameraError eCameraError) { - const char * _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eCameraError = eCameraError, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum(_this->u_iface, eCameraError); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum( ¶ms ); + return params._ret; } EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_HasCamera(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera) { - EVRTrackedCameraError _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_004_HasCamera_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pHasCamera = pHasCamera, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_HasCamera(_this->u_iface, nDeviceIndex, pHasCamera); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_004_HasCamera( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + .pnFrameBufferSize = pnFrameBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize(_this->u_iface, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize( ¶ms ); + return params._ret; } EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) { - EVRTrackedCameraError _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pFocalLength = pFocalLength, + .pCenter = pCenter, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics(_this->u_iface, nDeviceIndex, eFrameType, pFocalLength, pCenter); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .flZNear = flZNear, + .flZFar = flZFar, + .pProjection = pProjection, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection(_this->u_iface, nDeviceIndex, eFrameType, flZNear, flZFar, pProjection); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection( ¶ms ); + return params._ret; } EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t *pHandle) { - EVRTrackedCameraError _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService(_this->u_iface, nDeviceIndex, pHandle); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService( ¶ms ); + return params._ret; } EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera) { - EVRTrackedCameraError _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService(_this->u_iface, hTrackedCamera); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pFrameBuffer = pFrameBuffer, + .nFrameBufferSize = nFrameBufferSize, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer(_this->u_iface, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pTextureBounds = pTextureBounds, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize(_this->u_iface, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11(_this->u_iface, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pglTextureId = pglTextureId, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL(_this->u_iface, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL( ¶ms ); + return params._ret; } EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) { - EVRTrackedCameraError _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .glTextureId = glTextureId, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(_this->u_iface, hTrackedCamera, glTextureId); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL( ¶ms ); + return params._ret; } extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_004_vtable; @@ -791,98 +1091,180 @@ DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStr const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum(struct w_steam_iface *_this, EVRTrackedCameraError eCameraError) { - const char * _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eCameraError = eCameraError, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum(_this->u_iface, eCameraError); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum( ¶ms ); + return params._ret; } EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_HasCamera(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera) { - EVRTrackedCameraError _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_005_HasCamera_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pHasCamera = pHasCamera, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_HasCamera(_this->u_iface, nDeviceIndex, pHasCamera); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_005_HasCamera( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + .pnFrameBufferSize = pnFrameBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize(_this->u_iface, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .nCameraIndex = nCameraIndex, + .eFrameType = eFrameType, + .pFocalLength = pFocalLength, + .pCenter = pCenter, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics(_this->u_iface, nDeviceIndex, nCameraIndex, eFrameType, pFocalLength, pCenter); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .nCameraIndex = nCameraIndex, + .eFrameType = eFrameType, + .flZNear = flZNear, + .flZFar = flZFar, + .pProjection = pProjection, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection(_this->u_iface, nDeviceIndex, nCameraIndex, eFrameType, flZNear, flZFar, pProjection); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection( ¶ms ); + return params._ret; } EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t *pHandle) { - EVRTrackedCameraError _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService(_this->u_iface, nDeviceIndex, pHandle); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService( ¶ms ); + return params._ret; } EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera) { - EVRTrackedCameraError _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService(_this->u_iface, hTrackedCamera); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pFrameBuffer = pFrameBuffer, + .nFrameBufferSize = nFrameBufferSize, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer(_this->u_iface, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pTextureBounds = pTextureBounds, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize(_this->u_iface, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11(_this->u_iface, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pglTextureId = pglTextureId, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL(_this->u_iface, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL( ¶ms ); + return params._ret; } EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) { - EVRTrackedCameraError _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .glTextureId = glTextureId, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(_this->u_iface, hTrackedCamera, glTextureId); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL( ¶ms ); + return params._ret; } extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_005_vtable; @@ -977,112 +1359,202 @@ DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTracki const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum(struct w_steam_iface *_this, EVRTrackedCameraError eCameraError) { - const char * _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eCameraError = eCameraError, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum(_this->u_iface, eCameraError); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum( ¶ms ); + return params._ret; } EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_HasCamera(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera) { - EVRTrackedCameraError _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_006_HasCamera_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pHasCamera = pHasCamera, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_HasCamera(_this->u_iface, nDeviceIndex, pHasCamera); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_006_HasCamera( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + .pnFrameBufferSize = pnFrameBufferSize, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize(_this->u_iface, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .nCameraIndex = nCameraIndex, + .eFrameType = eFrameType, + .pFocalLength = pFocalLength, + .pCenter = pCenter, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics(_this->u_iface, nDeviceIndex, nCameraIndex, eFrameType, pFocalLength, pCenter); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .nCameraIndex = nCameraIndex, + .eFrameType = eFrameType, + .flZNear = flZNear, + .flZFar = flZFar, + .pProjection = pProjection, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection(_this->u_iface, nDeviceIndex, nCameraIndex, eFrameType, flZNear, flZFar, pProjection); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection( ¶ms ); + return params._ret; } EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService(struct w_steam_iface *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t *pHandle) { - EVRTrackedCameraError _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pHandle = pHandle, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService(_this->u_iface, nDeviceIndex, pHandle); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService( ¶ms ); + return params._ret; } EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera) { - EVRTrackedCameraError _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService(_this->u_iface, hTrackedCamera); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pFrameBuffer = pFrameBuffer, + .nFrameBufferSize = nFrameBufferSize, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer(_this->u_iface, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pTextureBounds = pTextureBounds, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize(_this->u_iface, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11(_this->u_iface, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11( ¶ms ); + return params._ret; } 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; + struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pglTextureId = pglTextureId, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL(_this->u_iface, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL( ¶ms ); + return params._ret; } EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(struct w_steam_iface *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) { - EVRTrackedCameraError _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .glTextureId = glTextureId, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(_this->u_iface, hTrackedCamera, glTextureId); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL( ¶ms ); + return params._ret; } void __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eUniverse) { + struct cppIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eUniverse = eUniverse, + }; TRACE("%p\n", _this); - cppIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace(_this->u_iface, eUniverse); + cppIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace( ¶ms ); } ETrackingUniverseOrigin __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace(struct w_steam_iface *_this) { - ETrackingUniverseOrigin _ret; + struct cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - _ret = cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace(_this->u_iface); - return _ret; + cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace( ¶ms ); + return params._ret; } extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_006_vtable;